System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

gen the kernel before a system reboot

SOLVED
Go to solution
Andrew Kaplan
Super Advisor

gen the kernel before a system reboot

Hi there --

One of our systems, running HP-UX 11.00, is going to be rebooted after being up continuously for over 500 days. Prior to the reboot, it was suggested by an HP technician that we "gen the kernel" to be sure that we can create a valid bootable kernel.

I have not heard of this step, nor the commands that are involved with it. I was hoping someone would know what this is, what the command(s) are, and what it entails.

Thanks.
A Journey In The Quest Of Knowledge
8 REPLIES
Pete Randall
Outstanding Contributor
Solution

Re: gen the kernel before a system reboot

If you're unfamiliar with gen'ing a kernel, the easy answer is to use SAM. It will gen the kernel and then ask if you want to reboot. Answer yes and the reboot will happen or you can leave the question there until you're ready.


Pete

Pete
Patrick Wallek
Honored Contributor

Re: gen the kernel before a system reboot

I'm not sure why they would tell you that.

IF the system has been up and stable, and
IF no PHKL, or other patches requiring kernel updates have been installed,
I wouldn't really worry about it.

What is the time stamp of the /stand/vmunix file? Is it the same as, or older than, the last time the system was booted? If so, I wouldn't regen the kernel.
Michael Steele_2
Honored Contributor

Re: gen the kernel before a system reboot

Hi

Never heard that one. I know of boxes, especially workstations, that stay up for 1000 days and then reboot just fine. No difference. No problem.

I would even say you got bad advice from someone how shouldn't be giving you advice, and commend you for recognizing the bad advice and double checking.

There are people on this forum with lifetimes of expertise in HP-UX, verses paid for support from Costa Rica that uses people who can hardly speak English, or people who never heard the word "HP-UX" before they got their current job.
Support Fatherhood - Stop Family Law
Andrew Kaplan
Super Advisor

Re: gen the kernel before a system reboot

Hi there --

Thanks for that vote of confidence. At this point I am going to hold off on the "gen the kernel" and reboot option.

This issue did give me an idea: Maybe there is a(re) runaway process(es) that is/are taking up swap space and causing this issue. To that end, is there a command that I can use that would show what processes are taking up the most swap space? Thanks.
A Journey In The Quest Of Knowledge
Pete Randall
Outstanding Contributor

Re: gen the kernel before a system reboot

Patrick and Michael both make excellent points but I don't see what it would harm. I've been stuck with a kernel that wouldn't gen and it was not a pleasant experience.

To me, this sounds totally unnecessary, but reassuring. Maybe you could flip a coin.


Pete

Pete
Michael Steele_2
Honored Contributor

Re: gen the kernel before a system reboot

Hi

Could you open another thread? I'm concerned that other members will miss your newest question and consider this thread closed.

Don't forget to assign 0 to 10 points and close the thread. Sometimes they get responded to years after being posted. (* yep, it does happen *)
Support Fatherhood - Stop Family Law
Andrew Kaplan
Super Advisor

Re: gen the kernel before a system reboot

Thanks to everyone for the advice. I am opening a separate ticket to determine what processes are taking up the most swap file space.
A Journey In The Quest Of Knowledge
Dennis Handly
Acclaimed Contributor

Re: gen the kernel before a system reboot

Here is a possible reason for periodic regen of the kernel. Not sure how the files in /usr/conf/ got corrupted? The regen would catch this sooner, rather than having months of ignite backups of useless files.
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1395486