1833313 Members
3187 Online
110051 Solutions
New Discussion

mk_kernel problems

 
SOLVED
Go to solution
Robin King_1
Regular Advisor

mk_kernel problems

I've just created a new logical volume, on a virgin install of HP-ux 11.11. For some reason at the same time most of the contents of /stand disappeared.
I've managed to recreate /stand/system, using kminstall. I'm now trying to run the mk_kernel, and I'm getting the following error:

# mk_kernel -s /stand/system
WARNING: No such device, tunable, or cdio root.
Ignoring the following line.
root
WARNING: No such device, tunable, or cdio ehci.
Ignoring the following line.
ehci
WARNING: No such device, tunable, or cdio side_ba.
Ignoring the following line.
side_ba
WARNING: No such device, tunable, or cdio tgt.
Ignoring the following line.
tgt
Generating module: krm...
Compiling /stand/build/conf.c...
(Bundled) cc: "/stand/build/space.h", line 17: error 1588: "vxdmp_tunables" undefined.
(Bundled) cc: "/stand/build/space.h", line 17: error 1521: Incorrect initialization.
(Bundled) cc: "/stand/build/space.h", line 17: error 1588: "vxvm_tunables" undefined.
(Bundled) cc: "/stand/build/space.h", line 17: error 1521: Incorrect initialization.
*** Error exit code 1

Stop.
config: make did an exit(1)


Presumably it's complaining about 4 entries in /stand/system. Is it safe to remove these? What other options have I got?

Thanks

10 REPLIES 10
harry d brown jr
Honored Contributor
Solution

Re: mk_kernel problems


To be safe, I'd re-install the OS.

live free or die
harry d brown jr
Live Free or Die
Stephen Keane
Honored Contributor

Re: mk_kernel problems

What happens if you do a mkfs -m on the LV that /stand is mounted from

(The -m is very important !!)

e.g.

# # mkfs -F hfs -m /dev/vg00/lvol1
mkfs -F hfs -L /dev/vg00/lvol1 114688 22 7 8192 1024 16 10 60 6334


Robin King_1
Regular Advisor

Re: mk_kernel problems

This is what I get:

mkfs -F vxfs -o ninode=unlimited,bsize=8192,version=4,inosize=256,logsize=256,nolargefiles /dev/vg00/lvol3 212992
Gordon  Morrison
Trusted Contributor

Re: mk_kernel problems

I think you'll find that /stand has to be hfs.
vxfs will never work. You'll have to re-install the O/S with /stand as hfs
What does this button do?
Robin King_1
Regular Advisor

Re: mk_kernel problems

That was actually the root FS. Just realised /stand should have it's own FS. It doesn't seem to be there. Something has screwed up big time.

Reinstall it is.

Thanks guys.
harry d brown jr
Honored Contributor

Re: mk_kernel problems

Gordon is correct, /stand MUST be hfs, thus you must reinstall.

live free or die
harry d brown jr
Live Free or Die
RAC_1
Honored Contributor

Re: mk_kernel problems

You just blew away /stand. Looks like you created a vxfs system on it. Do you have latest backup of /stand?? And are you logged onto system?? If you have, restore it and you should be fine. Else re-install would be good.

Anil
There is no substitute to HARDWORK
Stephen Keane
Honored Contributor

Re: mk_kernel problems

are you sure you haven't just unmounted /stand?
Robin King_1
Regular Advisor

Re: mk_kernel problems

Yep, somehow I must have blown away /stand. I did check and it's not just been unmounted, the lv is missing from vg00.

It was a fresh system delivered last week, so we hadn't taken a backup. No major loss, I'll just start again.

Cheers
David Rayment_3
New Member

Re: mk_kernel problems

For side_ba, ehci ensure the cd-rom/dvd drive is plugged in and working.
for some reason the C8000s complain when rebuilding, when the drive is not available.


Dunno about the space.h complaints.