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
# 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