Operating System - HP-UX
1842724 Members
2994 Online
110208 Solutions
New Discussion

Problem while modifying the kernel parameters

 
Hemanth Kumar_1
New Member

Problem while modifying the kernel parameters

I am updating the standard template of the kernel paramters. Thru SAM, i selected the kernel parameter set file. While processing the new kernel, then /usr/sbin/config is exited with following errors:

config: make did an exit(1)

/usr/sbin/config exit (-71)

Please anyone troubleshooted this problem, reply at the earliest.


hemanth
2 REPLIES 2
Alex Glennie
Honored Contributor

Re: Problem while modifying the kernel parameters

some ideas ....

try regenning the kernel manually we may see more errors.

dmesg contents ? I suspect this could be a resource issue eg file table full or similar

# what /usr/bin/cc ?

uname -a ?

the above error has been seen when the /usr/bin/cc binary was for HP-UX 11.00, not 10.20



Steve Steel
Honored Contributor

Re: Problem while modifying the kernel parameters

Hi

Is this all the errors shown.

1)make sure you have the latest sam patch.


2)Make the kernel by hand otherwise
2a)Go to dir

cd /stand/build

2b)HPUX creates a new system file from the active kernel.

/usr/lbin/sysadm/system_prep -s /stand/build/system

NOTE: system_prep captures values directly from the kernel. Thus if this is HP-UX 11i using the newly introduced dynamic tunable parameters, create a kernel template by copying /stand/system to /stand/build/system. By default, kmtune will update /stand/system file for any dynamic tunable parameter changes.
(See man kmtune(1m) and 11.11 Release Notes for information.)

2c)Change template system file for recommended values with either

vi /stand/build/system
or
kmtune(1m).

Example set nfile to 4000:
kmtune -s nfile=4000 -S /stand/build/system

2d)Create the kernel.

/usr/sbin/mk_kernel -s /stand/build/system

2e)Backup old system and vmunix files so the system can still boot from the old kernel in extremis.

mv /stand/system /stand/system.prev

2f)Move new system and kernel files for boot strap.

mv /stand/build/system /stand/system
kmupdate /stand/build/vmunix_test

NOTE: kmupdate will rename /stand/vmunix to /stand/vmunix.prev and move the new kernel to /stand/vmunix.

2g)Reboot the system to use the new kernel.

cd /
shutdown -r

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)