1840569 Members
2489 Online
110165 Solutions
New Discussion

Re: Kernel rebuild error

 
sunil kattikar
Occasional Advisor

Kernel rebuild error

When rebuilding kernel hpux 11.11 I am geting error
"Warning No such device ,tunable or cdio
Ignorning the line
generating the module:krm
make: dont know how to make /usr/conf/lib/libfddicommon.a
config make dd on exit (1)

Due to this error i am not able to rebuild the kernel. Please suggest
thanks
cutting
5 REPLIES 5
Darrel Louis
Honored Contributor

Re: Kernel rebuild error

Hi,

Can you check your PATH variables, it should at least have /usr/bin;/sbin.

Are generating the kernel via SAM or command-line. If command-line what are the exact commands you're using?

# cd /stand/build
# rm -rf *
# /usr/lbin/sysadm/system_prep -s system
Modify the system file in /stand/build
# mk_kernel -s system
# kmupdate
# mv /stand/system /stand/system.prev
# cp -p system /stand
# cd /
# /usr/sbin/shutdown -r -y 0

Regards

Darrel
sunil kattikar
Occasional Advisor

Re: Kernel rebuild error

Still getting cutting edge errors.. please see the output below
root@Rebuild1:/stand/build>mk_kernel -s system
WARNING: No such device, tunable, or cdio arp.
Ignoring the following line.
arp
WARNING: No such device, tunable, or cdio autofsc.
Ignoring the following line.
autofsc
WARNING: No such device, tunable, or cdio bs_osm.
Ignoring the following line.
bs_osm
WARNING: No such device, tunable, or cdio cachefsc.
Ignoring the following line.
cachefsc
WARNING: No such device, tunable, or cdio i2o_cdio.
Ignoring the following line.
i2o_cdio
WARNING: No such device, tunable, or cdio iether.
Ignoring the following line.
iether
WARNING: No such device, tunable, or cdio igelan.
Ignoring the following line.
igelan
WARNING: No such device, tunable, or cdio inet.
Ignoring the following line.
inet
WARNING: No such device, tunable, or cdio iop_drv.
Ignoring the following line.
iop_drv
WARNING: No such device, tunable, or cdio ip.
Ignoring the following line.
ip
WARNING: No such device, tunable, or cdio netqa.
Ignoring the following line.
netqa
WARNING: No such device, tunable, or cdio nfs_client.
Ignoring the following line.
nfs_client
WARNING: No such device, tunable, or cdio nfs_core.
Ignoring the following line.
nfs_core
WARNING: No such device, tunable, or cdio nfs_server.
Ignoring the following line.
nfs_server
WARNING: No such device, tunable, or cdio nfsm.
Ignoring the following line.
nfsm
WARNING: No such device, tunable, or cdio nms.
Ignoring the following line.
nms
WARNING: No such device, tunable, or cdio nuls.
Ignoring the following line.
nuls
WARNING: No such device, tunable, or cdio rawip.
Ignoring the following line.
rawip
WARNING: No such device, tunable, or cdio rpcmod.
Ignoring the following line.
rpcmod
WARNING: No such device, tunable, or cdio stcpmap.
Ignoring the following line.
stcpmap
WARNING: No such device, tunable, or cdio strtelnet_included.
Ignoring the following line.
strtelnet_included
WARNING: No such device, tunable, or cdio tcp.
Ignoring the following line.
tcp
WARNING: No such device, tunable, or cdio telm.
Ignoring the following line.
telm
WARNING: No such device, tunable, or cdio tels.
Ignoring the following line.
tels
WARNING: No such device, tunable, or cdio tun.
Ignoring the following line.
tun
WARNING: No such device, tunable, or cdio udp.
Ignoring the following line.
udp
Generating module: krm...
Make: Don't know how to make /usr/conf/lib/libfddicommon.a. Stop.
config: make did an exit(1)
root@Rebuild1:/stand/build>path
ksh: path: not found
root@Rebuild1:/stand/build>echo $PATH
/usr/sbin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/local/bin:/usr/contrib/bi
parray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/usr/
/usr/contrib/bin/X11:/opt/mx/bin:/opt/resmon/bin:/opt/perf/bin:/opt/prm/bin:/
bin:/opt/ignite/bin:/opt/langtools/bin:/opt/cobol/bin://opt/perl/bin:/opt/ima
usr/sbin/diag/contrib:/opt/graphics/common/bin:/opt/omni/bin:/fns:/home/scrip
t/cfg2html:/oracle/app/oracle/product/9.2/bin:/usr/local/sbin:/home/scripts/p
n:/usr/sbin:/sbin:/home/root

regards
Cutting
Steven E. Protter
Exalted Contributor

Re: Kernel rebuild error

Shalom,

Your PATH appears more or less normal.

It would appear that there are missing items or lots of missing items in your /stand filesystem.

I'd consider restoring that from a recent backup.

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
Sameer_Nirmal
Honored Contributor

Re: Kernel rebuild error

Hi Sunil,

It seems some of the important core system header files are not present or removed.
Check for core* files in
/usr/conf
/usr/conf/master.d
/usr/conf/space.h.d
/usr/include
/usr/include/sys

Did you attempt any recent changes before you end up with this problem?
Server model?
Darrel Louis
Honored Contributor

Re: Kernel rebuild error

Hi Sunil,

Did you recently install any patches, if yes can you check the state of installed patches.
swlist -a state -l fileset | grep -v -e configured -e ^#

Darrel