Operating System - HP-UX
1832576 Members
3870 Online
110043 Solutions
New Discussion

error while building the kernel

 
SOLVED
Go to solution
Reggie Chang
Frequent Advisor

error while building the kernel

Hi everyone,

I would like to modify kernel parameters using
SAM. At the end, it showed

Canot build a kernel using /usr/sbin/mk_kernel.
The standard output of the command is shown below:
config : error in opening file -- /usr/conf/gen/config.sys

The command exited with exit code -71.

Any suggestion is very much appreciated.

Reggie
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: error while building the kernel

Well, the first thing to check is that you have the referenced file on your system. If so, what are the permissions. Here is an ll of that file on my machine:

# ll /usr/conf/gen/config.sys
-r--r--r-- 1 bin bin 6987 Nov 14 2000 /usr/conf/gen/config.sys
S.K. Chan
Honored Contributor

Re: error while building the kernel

Just in case, if it's not permission problem, check /usr/sbin/sam and see if the path /usr/ccs/bin is defined in variable PATH.
Reggie Chang
Frequent Advisor

Re: error while building the kernel

FYI, the result of ll is

-r--r--r-- 1 bin bin 2595 Jun 10 1996 /usr/conf/gen/config.sys


Also, /usr/ccs/bin is in PATH.


Thank you.


Reggie
Reggie Chang
Frequent Advisor

Re: error while building the kernel

Patrick and S.K.,

Really appreciate your input.

I feel that our machine may have some problems. (It happened that sam can not be run sometimes. After logout and login, it worked again.)

The top priority task that I have is related to swap space. I'll post another message for that.

Reggie
James R. Ferguson
Acclaimed Contributor
Solution

Re: error while building the kernel

Hi Reggie:

I think this thread may get a resolution started:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa206a22d6d27d5118fef0090279cd0f9,00.html

Regards!

...JRF...
T. M. Louah
Esteemed Contributor

Re: error while building the kernel

What kernel parm. you r modifying, I know sam has an issue modifying parms. for which the range is mistakingly set in one of the header files used by SAM.

T
Little learning is dangerous!