1835202 Members
2425 Online
110077 Solutions
New Discussion

Re: mk_kernel fails

 
Sandra_8
Occasional Contributor

mk_kernel fails

Hi

I'm trying to change a kernel parameter so I have to recompile the kernel. To do it I execute mk_kernel but it fails with the following message:

# /usr/sbin/mk_kernel -s ./system
Building a new kernel based on template file "./system"
Compiling conf.c...
Loading the kernel...
/usr/ccs/bin/ld: (Warning) Ignoring +nodefaultmap. The option is currently not supp
orted in a 32-bit PA link.
/usr/ccs/bin/ld: Unrecognized argument: +Accept
/usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld [options] [flags] files
*** Error exit code 1

Stop.
config: make did an exit(1)
config failure.

Any ideas on what could be failing??

Thanks,
Sandra

4 REPLIES 4
melvyn burnard
Honored Contributor

Re: mk_kernel fails

Any changes made to the system recently?
When was the last time a kernel was succesfully created?
If you do:
swlist -l fileset -a state | grep -e corrupt -e transient -a installed
do you get anything listed?

You could also run:
swverify \* >/tmp/swverify.out
what shows up in the output file
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Sandip Ghosh
Honored Contributor

Re: mk_kernel fails

What type of changes you were trying to do in the kernel? What are the system parameters you were changing in the system file? Extract the present system file from present Kernel, then make the change.

Sandip
Good Luck!!!
System Unix
Frequent Advisor

Re: mk_kernel fails

Hi Sandra .
Ive received exactly the same error .
I've solved it by installing the latest linker
patch - PHSS_30965 for HP-UX 11.0
Good luck .
Michael .
Reuven
Prashant Zanwar_4
Respected Contributor

Re: mk_kernel fails

Hi,

This issue shall be related to patches than anything. Few days back I remember there was similar discussion in forum here which had patch resolution.

and backup your kernel before you proceed.
hope you are doing system_prep before you do mk_kernel. Follow the standard procedure so as not to end up in a problem
Hope this helps
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."