Operating System - HP-UX
1830938 Members
1693 Online
110017 Solutions
New Discussion

Re: Kernel Building error

 
P. Prinsloo
Advisor

Kernel Building error

Please Assist

I am running :

1. HPUX-11.00 64 bits,
2. System Model : N4000
3. General Release Patches is November 1999
4. Quality Pack and Hardware Enabled Patches that I installed are for March 2002
5. Online JFS (Advanced VxFS) is installed

I installed everything mentioned above, and everything was fine, then the problem occured only after installing Online JFS (Advanced VxFS) and we cannot uninstall it now.

I get an error when I try to run swinstall

Error : Cannot build a kernel using /usr/sbin/config.
Config: make did an exit (1)
The command exited with exitcode -71
Wally
3 REPLIES 3
Paula J Frazer-Campbell
Honored Contributor

Re: Kernel Building error

Hi

If you are trying to remove software then :-

swremove

My 11.00 has this config file:-

-r-xr-xr-x 1 bin sys 102400 Oct 15 1998 config


HTH

Paula
If you can spell SysAdmin then you is one - anon
P. Prinsloo
Advisor

Re: Kernel Building error

I gives us the same error.
Wally
Steve Steel
Honored Contributor

Re: Kernel Building error

Hi

The JFS probably overwrote some patches

You can

1)reinstall 4 with option to allow reinstall of same softare

2)Rebuild manually and check on errors
2a) # cd /stand/build
# /usr/lbin/sysadm/system_prep -v -k -s system
2b) REBuild the kernel.
Creating dlkm.vmunix_test and vmunix_test in directory /stand/build
# mk_kernel -v -s system

2c)If it works then Move new system file and new kernel into place. backup system, vmunix, dlkm for current kernel.

# mv /stand/build/system /stand/system
# cd /
# kmupdate /stand/build/vmunix_test
# shutdown -ry 0

NOTE Dont use reboot instead of the shutdown -ry 0 in thelast step.

The shutdown is necessary for the success of this process.
Please halt all applications before the
shutdown command (if you have a problem with an process there is a chance of hanging the shutdown).

If any errors occur post them

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