1833997 Members
3361 Online
110063 Solutions
New Discussion

Re: mk_kernel error

 
SOLVED
Go to solution
George Chechakunnil
Frequent Advisor

mk_kernel error

hello Admins

While doing mk_kernel i am getting this error.

Compiling conf.c...
Generating module: emcp...
Generating module: emcpmp...
Generating module: emcpmpc...
Generating module: emcpmpaa...
Generating module: emcpmpap...
Generating module: emcphr...
Generating module: emcpcg...
Generating module: emcpsapi...
Generating module: emcpsc...
Generating module: emcpsm...
Generating module: emcpevm...
Generating module: emcpdpm...
Loading the kernel...
Generating kernel symbol table...
Usage: bstab input_data symbol_cnt strtbl_size kernel_file output_file
*** Error exit code 1

Stop.
config: make did an exit(1)


Any ideas why its is failing?

Please help as i have a scheduled outage to apply patches.
I am like a small boy picking up pebbles in god's vast shore of knowledge --- Sir Issac Newton
12 REPLIES 12
D Block 2
Respected Contributor

Re: mk_kernel error

run:

# unset LDOPTS
# mk_kernel ...


see reference:

http://archives.neohapsis.com/archives/hp/2002-q4/0067.html


This problem was caused by the environment parameter LDOPTS
that was defined with a "-s" included. This will strip the
symbols of the executable and produce the error described
above.

To correct this problem, unset LDOPTS before doing a
mk_kernel(1M). For example:

# unset LDOPTS

# mk_kernel
Generating module: krm...
Compiling /stand/build/conf.c...
Loading the kernel...
Generating kernel symbol table...

Golf is a Good Walk Spoiled, Mark Twain.
RAC_1
Honored Contributor

Re: mk_kernel error

Which OS version? Are you up to date on kernel patches? From errors, it difficult to understand. Also check if you have any problems in configuring the modules or not.
There is no substitute to HARDWORK
George Chechakunnil
Frequent Advisor

Re: mk_kernel error

I tried doing the unset LDOPTS but stil getting the same error

Loading the kernel...
Generating kernel symbol table...
Usage: bstab input_data symbol_cnt strtbl_size kernel_file output_file
*** Error exit code 1

Stop.
config: make did an exit(1)

the OS version is B.11.11. Unless i get this working i cant apply any patches

please help
I am like a small boy picking up pebbles in god's vast shore of knowledge --- Sir Issac Newton
TY 007
Honored Contributor

Re: mk_kernel error

Hello George,

# file /usr/bin/cmp
/usr/bin/cmp: PA-RISC1.1 shared executable dynamically linked

# what /usr/bin/cmp
/usr/bin/cmp:
$Revision: B.11.11_LR

Check on the above file.

Thanks
TY 007
Honored Contributor

Re: mk_kernel error

Hello George,

PHSS_35383 s700_800 11.11 ld(1) and linker tools cumulative patch

Install above Latest OS Linker Patch as well.

Thanks
George Chechakunnil
Frequent Advisor

Re: mk_kernel error

Thanks TY,

The file is there

file /usr/bin/cmp
/usr/bin/cmp: PA-RISC1.1 shared executable dynamically linked

what /usr/bin/cmp
/usr/bin/cmp:
$Revision: B.11.11_LR


I cannot install any patches unless i get mk_kernel to work

please help
I am like a small boy picking up pebbles in god's vast shore of knowledge --- Sir Issac Newton
TY 007
Honored Contributor

Re: mk_kernel error

Hello George,

>> I cannot install any patches unless i get mk_kernel to work

It depends. PHSS_35383 itself does not require mk_kernel.

Thanks
TY 007
Honored Contributor

Re: mk_kernel error

Hello George,

However if you face issue installing PHSS_35383, most likely PHSS_35383 dependency - PHKL_29243 (or newer) is not installed.

In this case, try Older OS Linker Patch (no dependency):
PHSS_33035 s700_800 11.11 ld(1) and linker tools cumulative patch

Thanks
Dennis Handly
Acclaimed Contributor

Re: mk_kernel error

Can you check to see of CCOPTS is exported, unset that too.
Can you find the location of bstab?

>TY 007: most likely PHSS_35383 dependency - PHKL_29243 (or newer) is not installed.

If this is an issue, you can ignore this dependency with:
-x enforce_dependencies=false
(Especially if you don't have vpars.)
TY 007
Honored Contributor

Re: mk_kernel error

>> If this is an issue, you can ignore this dependency with:
>> -x enforce_dependencies=false

Try to ensure PHKL_29243 would be installed "later" after mk_kernel is OK :)
George Chechakunnil
Frequent Advisor

Re: mk_kernel error

the issue was resolved by reinstalling PHSS_33033

thanks a lot
George
I am like a small boy picking up pebbles in god's vast shore of knowledge --- Sir Issac Newton
TY 007
Honored Contributor
Solution

Re: mk_kernel error

Hello George,

PHSS_33033 s700_800 11.11 ld(1) and linker tools cumulative patch

>> the issue was resolved by reinstalling PHSS_33033

Glad to hear this :)

Should consider to load in Latest OS Linker Patch in short future:
PHSS_35383 s700_800 11.11 ld(1) and linker tools cumulative patch

Thanks