1846619 Members
1435 Online
110256 Solutions
New Discussion

Re: kernel build failure

 
T.S.Shivakumar_1
New Member

kernel build failure

Hi,
My hpux 10.20 workstation fails to build kernel
with the foll err.
< berkeley:// >/usr/sbin/mk_kernel
WARNING: No such device, tunable, or cdio mvfs.
Ignoring the following line.
mvfs
Compiling /stand/build/conf.c...
Loading the kernel...
/usr/ccs/bin/ld: Unsatisfied symbols:
init_phys_io_pdir_entry (code)
kpageoutcnt (data)
init_io_pdir_entry (code)
read_64 (code)
write_64 (code)
/usr/ccs/bin/ld: (Warning) Linker features were used that may not be supported i
n future releases. The +vallcompatwarnings option can be used to display more de
tails, and the ld(1) man page contains additional information. This warning can
be suppressed with the +vnocompatwarnings option.
*** Error exit code 1

Stop.
config: make did an exit(1)
< berkeley:// >

I figure out the below
/usr/ccs/bin/ld: Unsatisfied symbols:
init_phys_io_pdir_entry (code)
kpageoutcnt (data)
init_io_pdir_entry (code)
read_64 (code)
write_64 (code)
refer to whiat is contained in /usr/conf/lib/libhp-ux.a archive.
I actually changed this file from a sister m/c which resolved the build problem but the system would not boot with the new kernel. guess libhp-ux.a contains some disk/lvm related obj files which are system specific.
I had to replace with the old kernel and reboot.
How do I rectify this situation.
Because of this I am unable to apply kernel patches / updates / software which require a kernel build.
Would appreciate your help in this.
Thanks,
Shivakumar
success is all about attitude!
6 REPLIES 6
G. Vrijhoeven
Honored Contributor

Re: kernel build failure

Hi T.S.

You can start by verifing the software you installed:

check out swverify. It might give you some patches you need to reinstall or reconfigure.

Hope this will help.

Gideon
harry d brown jr
Honored Contributor

Re: kernel build failure

Sounds like your system is pretty much toast. I agree with Vrijhoeven that a reinstall is the best solution to resolve your kernel rebuild. But first make sure you have at least two good full backups!

live free or die
harry
Live Free or Die
Michael Tully
Honored Contributor

Re: kernel build failure

Hi,

You'd better have your make recovery tape
handy, I fear you may need it. When installing
*any* patch make sure your make recovery tape
is up to date. We in fact keep two sets, one
here in our data centre and one off site. It is
good pracise to have two sets anyway, just in
case something goes wrong.
You can try the 'swverify'
What patches were you trying to install? If
they are any type of reboot patch you should
*always* run them in "preview" mode first.
'swinstall -p -x autoreboot=true -x patch_match_target=true -s

-Michael
Anyone for a Mutiny ?
billy muir
New Member

Re: kernel build failure

Hi
I had exactly the same problem after installing General Release patches. Verify the patches : swverify -l fileset -a state
then : swconfig This will reconfigure any unconfigured patches. If you're still having problems I'll find my notes on it.

cheers

Billy
there's a lady who's sure all that glitters is gold
Bill McNAMARA_1
Honored Contributor

Re: kernel build failure

Try the following:

patch : PHSS_21110 - replace patch PHSS_19981
PHSS_17225

Later,
Bill
It works for me (tm)
T.S.Shivakumar_1
New Member

Re: kernel build failure

Hi All,
Thanks. Will try to find out the screwy patch ... in the mean, do any of you know the exact functionality of the /usr/conf/lib/libhp-ux.a archive?
Just keen to know since this is the one which is screwed!

success is all about attitude!