Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Kernel Recompile Issue 1

Status
Not open for further replies.

jjk3

MIS
Nov 18, 2002
31
US
I have an HP-UX 11.11 system that fails when I try and recompile the kernel.

# uname -a
HP-UX qa12-hp B.11.11 U 9000/800 543720538 unlimited-user license
# /usr/lbin/sysadm/system_prep -s system
# mk_kernel -s system
Generating module: krm...
kmckintfc: cannot find file -- mod_wk.d/krm/mod.o
*** Error exit code 1

Stop.
config: make did an exit(1)

The recompile also fails via SAM.

I have looked through the forums and have tried to check everything that people have suggested. Just to run through the things I have checked

# bdf | grep stand
/dev/vg00/lvol1 255253 22432 207295 10% /stand
# ls -ld /usr/conf
dr-xr-xr-x 23 bin bin 1024 Apr 12 14:57 /usr/conf
# ls -l /usr/bin/cc
lrwxrwxrwx 1 root sys 15 Jun 11 12:11 /usr/bin/cc -> /usr/ccs/bin/cc
# ls -l /usr/bin/ld
lr-xr-xr-t 1 root sys 15 Apr 12 14:50 /usr/bin/ld -> /usr/ccs/bin/ld

Now there does seem to be one patch that is corrupt state, but I am not sure if it’s effecting the recompile, nor how to get in “un-corrupt”

# swlist -l fileset -a state|grep -v -i -e configured -e \#

PHSS_30262.MOTIF-SHLIB corrupt
PHSS_30262.X11-FONT-AUX corrupt
PHSS_30262.X11-FONT-MIN corrupt
PHSS_30262.X11-TCH-B-MSG corrupt

I tried running swverify and swconfig to resolve the corrupt state with no luck. The filesets it’s complaining about are installed.

I’m mostly a Solaris guy, but have been picking up on HP-UX, any help on resolving this issue would really be appreciated.

Thanks

Joe

---------------------------------------
Joe Keegan - Joe@jjk3.com
SANS GSEC & GCFW
CCSE, CCNA, CCSA & Sun Certified
 
Hello Joe,

I think you're taking the right approach - look for what's corrupt and fix that first.

My idea would be to uninstall and re-install those corrupt patches - and I'd get fresh downloads of them first as well.

Let us know how you get on, interesting problem.

Mike

"Deliver me from the bane of civilised life; teddy bear envy."

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

 
I was unable to resolve this issue and reinstalled the OS.

For those that are interested please view all the troubleshooting steps located at the HP forums.


Joe

---------------------------------------
Joe Keegan - Joe@jjk3.com
SANS GSEC & GCFW
CCSE, CCNA, CCSA & Sun Certified
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top