1830350 Members
1790 Online
110001 Solutions
New Discussion

Rebuild kernel

 
MPAR
Occasional Advisor

Rebuild kernel

Dear All,

I am facing problem to rebuild the kernel. Can anyone help me regrading this issue.

Generating module: krm...
Compiling /stand/build/conf.c...
Loading the kernel...
ld: Invalid archive library format detected in /usr/conf/lib/libtd.a
Fatal error.
*** Error exit code 1

Stop.
make failure.
Thanks
Masud
10 REPLIES 10
Piergiacomo Perini
Trusted Contributor

Re: Rebuild kernel

Hi Masud and welcome to this forum!

In my opinion, in this case, is better using SAM.

hth
pg

p.s. =as Peter Godron says

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
MPAR
Occasional Advisor

Re: Rebuild kernel

Hi pg,

I tried in SAM 1st and to make sure i used cli. Both has same problem.

Thanks
Masud
Piergiacomo Perini
Trusted Contributor

Re: Rebuild kernel

oops...i beg your pardon..
so probably could be an issue with your
libtd.a (maybe regarding driver for Fibre Channel).
Some usefull info could be found on this forum with search word "libtd.a".

hth
pg
B.MariappaN
Advisor

Re: Rebuild kernel

Hi ,
Is this happening after any change to kernel ,then check the value of that parameter or driver details. What about OS version and HW platform.These details would help us more in finding the cause.

Regards,
B.MariappaN
MPAR
Occasional Advisor

Re: Rebuild kernel

Hello,

Model: rp3410
OS : hpux 11.11

Thanks
Masud
Dennis Handly
Acclaimed Contributor

Re: Rebuild kernel

Is this a 64 or 32 bit kernel?

You may want to do a swverify on your system to see if libtd.a changed. It might be faster to find the filesets that have libtd.a and then use swverify:
$ swlist -l file | fgrep /usr/conf/lib/libtd.a

What does file(1) say about that archive?
MPAR
Occasional Advisor

Re: Rebuild kernel

It is 64 bit kernel.

This library file is related to FC HBA which is connected to the tape MSL 6030 and EVA 4000.

This problem still not resolve.

Thanks
Masud
Dennis Handly
Acclaimed Contributor

Re: Rebuild kernel

Again, What does file(1) say about that archive?
You may have a 32 bit version?
Any obvious errors with:
$ /usr/ccs/bin/elfdump -a /usr/conf/lib/libtd.a
MPAR
Occasional Advisor

Re: Rebuild kernel

Hello,

This is the output.

# /usr/ccs/bin/elfdump -a /usr/conf/lib/libtd.a
Memory fault(coredump)

Thanks
Masud
Dennis Handly
Acclaimed Contributor

Re: Rebuild kernel

# /usr/ccs/bin/elfdump -a /usr/conf/lib/libtd.a
Memory fault(coredump)

This implies this is either corrupted or not a 64 bit archive. What did swverify report?
# swverify FC-TACHYON-TL

In a temp directory, can you do:
ar -xv /usr/conf/lib/libtd.a
Then: file *