Operating System - HP-UX
1833875 Members
1842 Online
110063 Solutions
New Discussion

Internal Error: The kernel discovery failed

 
Eduardo Medina
New Member

Internal Error: The kernel discovery failed

I display this error when try to open Kernel Configuration with SAM:

"...Internal error: The kernel discovery tool used by SAM failed.."
"....getkinfo:Unable to read the kernel file /stand/vmxunix.."

Please tell me what can I do for fixing this problem.

Thanks
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Internal Error: The kernel discovery failed

cd /stand
ll

iv there is no file named vmunix, its been deleted or moved and needs to be restored immediately prior to booting your machine.

There should also a few other files

-rw------- 1 root root 0 Sep 9 2002 .kminstall_lock
-rw-r--r-- 1 root sys 19 Dec 23 13:45 bootconf
drwxr-xr-x 4 root sys 2048 Jan 10 19:55 build
-rw-r--r-- 1 root sys 96543 Mar 31 2003 conf.c
-rw-r--r-- 1 root sys 497128 Mar 31 2003 conf.o
-rwxr--r-- 1 root sys 9345 Mar 31 2003 config.mk
-rwxr--r-- 1 root sys 2860 Mar 31 2003 config.mod
drwxr-xr-x 5 root sys 1024 Jan 10 20:05 dlkm
drwxr-xr-x 6 root sys 1024 Dec 23 13:52 dlkm.vmunix.prev
drwxr-xr-x 5 root sys 1024 Mar 31 2003 dlkm.vmunix_test
-rw-r--r-- 1 root sys 4688 Jan 20 18:48 ioconfig
-rw-r--r-- 1 root sys 4376 Mar 21 2003 ioconfig.sav
-r--r--r-- 1 root sys 82 Jun 10 2002 kernrel
drwxr-xr-x 2 root sys 1024 Jan 20 18:53 krs
drwxr-xr-x 2 root root 1024 Jan 20 18:48 krs_lkg
drwxr-xr-x 2 root root 1024 Jan 20 18:53 krs_tmp
drwxr-xr-x 2 root sys 24 Mar 31 2003 lib
drwxr-xr-x 2 root root 8192 Jun 10 2002 lost+found
drwxr-xr-x 3 root sys 1024 Mar 31 2003 mod_wk.d
-rw------- 1 root root 12 Jan 20 18:48 rootconf
-r--r--r-- 1 root sys 1855 Jan 10 19:53 system
drwxr-xr-x 2 root sys 1024 Dec 23 13:52 system.d
-r--r--r-- 1 root sys 1855 Dec 23 13:45 system.prev
-rw-r--r-- 1 root sys 5088 Mar 31 2003 tune.h
-rwxr-xr-x 1 root sys 18276584 Jan 10 19:55 vmunix
-rwxr-xr-x 1 root sys 18276584 Dec 23 13:45 vmunix.prev
-rw-r--r-- 1 root sys 10160 Mar 31 2003 what_vers.c
-rw-r--r-- 1 root sys 12536 Mar 31 2003 what_vers.o


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Helen French
Honored Contributor

Re: Internal Error: The kernel discovery failed

This normally happens when there is a currupted file (kernel related file) present in the system or a currupted kernel. Check your OS files and see if there is a problem. Run swverify and look for any fileset errors. You can recover the currupted files from a recently created backup or recovery tape. Also, if there is any problem in kernel file itself, rebuild it with new system file.
Life is a promise, fulfill it!
Sridhar Bhaskarla
Honored Contributor

Re: Internal Error: The kernel discovery failed

Hi,

There should have been more error messages prior to internal error: line. Can you post them?

Kernel discover tool is /usr/sam/lbin/getkinfo -b

What errors do you get when you run it manually?.

There may be syntax errors in /stand/system file. If so, you can fix it by running

/usr/lbin/sysadm/system_prep -v -k /stand/vmunix -s /tmp/sys.

Do a "diff /stand/system and /tmp/system". Take a copy of /stand/system and move /tmp/system into /stand.


-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Helen French
Honored Contributor

Re: Internal Error: The kernel discovery failed