So I found out the reason why my HPUX kernel parameters weren’t sticking the other day.

The steps that I was following to rebuild the kernel looked something like this:

cd /stand/build
/usr/lbin/sysadm/system_prep -s system
vi system (make your changes and save the file)
mk_kernel -s system
kmupdate
cd /
reboot your system

Well what was happening was that when I generated the system file, I thought it would put the system file in the /stand/build directory, but it put it in a subdirectory under /stand/build. So when I compiled the kernel, it was using the wrong system file (one was already there).

Once mk_kernel got pointed at the right system file, the kernel parameters took and everything was good.

Leave a Reply

You must be logged in to post a comment.