1834657 Members
2560 Online
110069 Solutions
New Discussion

kernel fails to rebuild

 
SOLVED
Go to solution
JOHN TURNER_2
Frequent Advisor

kernel fails to rebuild

hi all

im having trouble trying to rebuild my kernel, i have tried to change kernel parameters and also install hp patches that needed the kernel to be rebuilt, however it fails on both accounts when trying to rebuild the kernel. I have tried through sam and through command line and both methods fail





GUI's are for wimps!
12 REPLIES 12
melvyn burnard
Honored Contributor

Re: kernel fails to rebuild

the exact failure messages and OS version would help here
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
A. Clay Stephenson
Acclaimed Contributor

Re: kernel fails to rebuild

Without error messages, it's not possible to be of much help. It could be something as simple as insufficient space in the /stand filesystem but I would prefer to see some of your error messages rather than trying to use The Force to diagnose your problem.
If it ain't broke, I can fix that.
Mridul Shrivastava
Honored Contributor

Re: kernel fails to rebuild

I came across some issues when it was not rebuilding kernel because of some linker patches not available.
May we have details what activity you are doing which requires kernel rebuild and what is the error it gives which will help to give you the correct solution.
Time has a wonderful way of weeding out the trivial
JOHN TURNER_2
Frequent Advisor

Re: kernel fails to rebuild

the error msg, when i try to rebuild the kernel thorugh sam is:

cannot build a kernel using /usr/sbin/config
the standard output of the command is shown below:

Stop
config: make did an exit (1)

the command exitted with exitcode -71.
GUI's are for wimps!
Steven E. Protter
Exalted Contributor

Re: kernel fails to rebuild

Shalom,

You may want to restore /stand Seems you are missing a few files.

What is the OS?

unams -a

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
JOHN TURNER_2
Frequent Advisor

Re: kernel fails to rebuild

steven

i am runnning hpux 11.11, dec 2004 release

GUI's are for wimps!
melvyn burnard
Honored Contributor

Re: kernel fails to rebuild

there should be more details than that, check your log files
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
JOHN TURNER_2
Frequent Advisor

Re: kernel fails to rebuild

this is the full error when i try to manually compile the new kernel

# /usr/sbin/mk_kernel -s ./system
Generating module: krm...
Compiling conf.c...
Loading the kernel...
ld: Unsatisfied symbol "hatcp_enable" in file /usr/conf/lib/libuipc.a[uipc_syscall.o]
ld: Unsatisfied symbol "ip6check_wput_func" in file /usr/conf/lib/libuipc.a[uipc_init.o]
ld: Unsatisfied symbol "so_tcp_xmit_hiwater_def" in file /usr/conf/lib/libuipc.a[sys_socket.o]
ld: Unsatisfied symbol "so_tcp_xmit_hiwater_max" in file /usr/conf/lib/libuipc.a[sys_socket.o]
ld: Unsatisfied symbol "streams_reopen" in file /usr/conf/lib/libuipc.a[uipc_socket.o]
ld: Unsatisfied symbol "inet6domain" in file /usr/conf/lib/libuipc.a[uipc_init.o]
ld: Unsatisfied symbol "cur_net_filter_ipv6" in file /usr/conf/lib/libuipc.a[uipc_init.o]
7 errors.
*** Error exit code 1

Stop.
config: make did an exit(1)
GUI's are for wimps!
Patrick Wallek
Honored Contributor

Re: kernel fails to rebuild

It sounds as if some patches were loaded, but not all prerequisites for those patches were loaded.

What patches did you try to install?
A. Clay Stephenson
Acclaimed Contributor

Re: kernel fails to rebuild

My best guess is that you are missing /usr/conf/lib/libinet.a and libnet.a or have old versions of these libraries.

This typically happens when a PHKL_ or PHNE_ patch is installed and fails and the problem is not immediately corrected. I would also make certain that that I have a kernel (e.g. /stand/vmunix.SAFE) in addition to simply vmunix.prev.

You should examine the .log files under /var/adm/sw in order to find the patch install that failed.
If it ain't broke, I can fix that.
melvyn burnard
Honored Contributor

Re: kernel fails to rebuild

seems like there are networking patches missing.
PHNE_28089, superseded by PHNE_34135 which also has dependencies
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Mridul Shrivastava
Honored Contributor
Solution

Re: kernel fails to rebuild

May be there are some dependency patches missing.I would recommend you to run patch assessment ( please find below the procedure for the same):


1) open the page ==> http://www1.itrc.hp.com/service/patch/assessSystemsPage.do?BC=main|
2) click on "select a system to assess or upload new system information"
3) Download the script "swainv ". Right click on this and save to the system
4) Transfer this file to the HP-UX system. If ftp is used, then select binary mode of transfer.
5) Go to the directory in HP-UX system where the script "swainv " is loaded and give the executable permission by using the command " chmod 700 swainv "
6) Execute the script as " ./swainv "
7) This will generate a file called "inventory.xml" in current directory.
8) Transfer the file to the system which has got access to ITRC site.
9) Use the above link " http://www1.itrc.hp.com/service/patch/assessSystemsPage.do?BC=main " again and upload the "inventory.xml" to ITRC by clicking "submit".
10) click on " display candidate patches". The site will give the recommendations.
11) click on "create assessment report". This will give consolidated report.
12) Check at the line " Patches recommended by InstalledPatchAnalyzer (summary)" for recommendations.
Time has a wonderful way of weeding out the trivial