1828823 Members
2597 Online
109985 Solutions
New Discussion

Kernel Fault

 
Chris Frangandonis
Regular Advisor

Kernel Fault

Hi All,

I tried to change the Kernel parameters and when attempting to create a new Kernel it gave me the follwing message:

----- Attempting to create a new kernel from the SAM internal data structures
----- Creating new kernel
* Building a kernel from the description in /stand/build/system.SAM.
* Executing the following command:
cd /stand/build; /usr/sbin/config -c conf.SAM.c -l config.SAM.mk /stand/build/system.SAM
* Command completed with exit status 1.
ERROR Sat Sep 7 13:02:00 2002 Failed at creating a new kernel.
ERROR Cannot build a kernel using /usr/sbin/mk_kernel. The standard output of
the command is shown below:
/usr/ccs/bin/ld: Duplicate symbol "st_ats_enabled" in files conf.SAM.o
and /usr/conf/lib/libhp-ux.a(scsi_tape.o)
/usr/ccs/bin/ld: Unsatisfied symbols:
kpageoutcnt (data)
/usr/ccs/bin/ld: Found 1 duplicate symbol(s)
/usr/ccs/bin/ld: (Warning) Linker features were used that may not be
supported in future releases. The +vallcompatwarnings option can be used
to display more details, and the ld(1) man page contains additional
information. This warning can be suppressed with the +vnocompatwarnings
option.
Stop.
config: make did an exit(1)
The command exitted with exitcode -71.
* Executing the following command:
/usr/sam/bin/samlog_viewer -Z9422
* Command completed with exit status 0.
* Executing the following command:
/usr/sam/bin/samlog_viewer -Z9422

Is there a fix to this?

Many Thanks
Chris
16 REPLIES 16
Chris Frangandonis
Regular Advisor

Re: Kernel Fault

Hi All,

I know that this question(s) has come up before but I need to found out will the patch PHKL_20590 ( SR: 8606102798 DTS: JAGab68793) can do the fix for me, or should I remove the stape from /stand/system, then mk_kernel, or any other suggestions.


Many Thanks
Chris
eran maor
Honored Contributor

Re: Kernel Fault

Hi

i will try , because it seem that you have a problem with the st_ats_enabled .

i will advise you to install the new version of the patch stape :
PHKL_22854 - see that if have dep. !!!

As you know, you have to set the following options:

[X] reinstall filesets even the same revision exists
[ ] enforce dependency analysis errors on agent
[ ] enforce script failures

please try it and give an input if it help you
love computers
Dietmar Konermann
Honored Contributor

Re: Kernel Fault

Hi, Chris!

Assuming we talk about 11.00... maybe someone accidently re-installed the Line In The Sand Patch PHKL_18543?

If yes, I would strongly recommend to check the system using the check_patches script. Please use the latest one delivered by PHCO_24347.

Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Chris Frangandonis
Regular Advisor

Re: Kernel Fault

Hi ,

Thanks Eran, Dietmar, my version is 10.20.

Thanks
Chris
eran maor
Honored Contributor

Re: Kernel Fault

Hi Again

i saw fro mthe number of the patch that you are working with 10.20 .

on 10.20 you dont have the script check_patches ( from what i know ) .

but like dietmar said it is very recommend script to check the status of your patches in the system .

love computers
Chris Frangandonis
Regular Advisor

Re: Kernel Fault

Hi Eran,

Attacthed is all the patches on this machine.
Hope this helps

Chris
Dietmar Konermann
Honored Contributor

Re: Kernel Fault

Hi, Chris!

Sorry... didn't notice that you were talking about 10.20. There is no check_patchs script for that release, sorry.

Found a document describing a solution... unfortunately there seem to be problems to access the doc via itrc, so I attached it: KBRC00006852

Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
eran maor
Honored Contributor

Re: Kernel Fault

Hi

i check you list of patches .

first it doesnt look good .
all most all your patches are in the state of install and you dont have a lot of patches install on the system .

you didnt do swlist -l product that i would know what are that patches install on the computer .

i would advise to install the last support plus bundle of patches on the system ,
i didnt inderstand which command did you do : swlist -l fileset -a state ?

i also thing that install the stape patch will solve the problem
love computers
Chris Frangandonis
Regular Advisor

Re: Kernel Fault

Hi Eran,Dietmar,

Thank you both for your assistance.
Eran, the patch that you mention is it PHKL_22854, that will solve my stape problem?

Chris
eran maor
Honored Contributor

Re: Kernel Fault

Hi

from what i check in our k-maine docs this list of patches solve the problem :

Please be careful, because there are
more recent patches and you shuold install them .
[PHKL_16751/PACHRDME/English] :LVM:JFS:PCI:SCSI:SIG_IGN:SIGCLD:LITS:
[PHCO_16591/PACHRDME/English] :fsck_vxfs:VxFS:JFS:cumulative:
[PHCO_18563/PACHRDME/English] :LVM:commands:cumulative:y2k:year2000:
[PHNE_19936/PACHRDME/English] :PANIC:XPORT:ARPA:Transport:cumulative:
[PHKL_16957/PACHRDME/English] :physical:dump:devices:configuration:
[PHKL_21661/PACHRDME/English] :panic:LOFS:lo_realvfs:
[PHKL_20611/PACHRDME/English] :UFS:inodes:process:hang:sleep:
[PHKL_17858/PACHRDME/English] :unrecognized:filesystem:mount:access:disc:
[PHKL_21595/PACHRDME/English] :VxFS:JFS:mount:fsck:cumulative:
[PHKL_19756/PACHRDME/English] :buffer:cache:hang:performance:cumulative:
[PHKL_22286/PACHRDME/English] :stape:tape2:DLT1:Ultrium-1:cumulative:

As you know, you have to set the following options:
[X] reinstall filesets even the same revision exists
[ ] enforce dependency analysis errors on agent
[ ] enforce script failures


i have one more que.
the kernel param that you change , did you change the shemem = 0 ?
love computers
Chris Frangandonis
Regular Advisor

Re: Kernel Fault

Hi Eran,

Kernel parameters are as follows:

Kernel Configuration

The following drivers or parameters are configured into your system's
kernel. After installing HP-UX, use the sam(1m) command to configure
the following items into the kernel:
maxdsiz 134217728
maxswapchunks 4595
maxuprc 200
msgmax 32767
msgmnb 65535
msgmni 300
msgseg 32767
msgssz 64
msgtql 4800
nproc 800
nstrpty 60
semmni 250
semmns 300
semmnu 300
shmmax 134217728
shmmni 250

So that means that I have to re-install the June-2000 patch bundle?

Once again many Thanks
Chris
Dietmar Konermann
Honored Contributor

Re: Kernel Fault

Hi, Chris!

Yes, re-installing the bundle will solve your problem.

Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
eran maor
Honored Contributor

Re: Kernel Fault

Hi

my recommend it to install this bundle but to trubleshoot this problem you need to install the bundle that i told you to install .

i ask about the kernel param because i had hte same problem in hp-ux 11.00 with sema kernel params that this is not this issue now .
love computers
Dietmar Konermann
Honored Contributor

Re: Kernel Fault

Hi, Chris!

Here some explanations why I stress on re-installing the bundle.

Your mk_kernel failure is NOT only stape-related. There is an additional message:

/usr/ccs/bin/ld: Unsatisfied symbols:
kpageoutcnt (data)

This has nothing to do with stape. This comes from a completely different area...

It typically indicates that the kernel's vm_vhand.o object was downgraded by a PHKL_16751 re-installation.

This can be checked using:

# what /usr/conf/lib/libhp-ux.a |grep vm_vhand

If you see there e.g. PHKL_14013 then you are in trouble.

The problem is that this may be only the tip of the iceberg! PHKL_16751 contains 202 objects! You should then either check the solution I attached above _or_ re-install the complete bundle.

Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Chris Frangandonis
Regular Advisor

Re: Kernel Fault

Hi Eran,Dietmar,

Many thanks for your assistance.
Dietmar you are spot on with #what /usr/conf/lib/libhp-ux.a |grep vm_vhand= PHKL_14013. What does this mean?.

Thanks
Chris

Dietmar Konermann
Honored Contributor

Re: Kernel Fault

Chris,

your swlist shows PHKL_19756. This patch contains:

what(1) Output:
/usr/conf/lib/libhp-ux.a(ufs_mchdep.o):
ufs_mchdep.c $Date: 99/09/13 10:04:29 $ $Revision: 1
.18.98.10 $ PATCH_10.20 (PHKL_19756)
/usr/conf/lib/libhp-ux.a(vfs_bio.o):
vfs_bio.c $Date: 99/09/13 10:05:07 $ $Revision: 1.26
.98.32 $ PATCH_10.20 (PHKL_19756)
/usr/conf/lib/libhp-ux.a(vfs_vm.o):
vfs_vm.c $Date: 99/02/17 14:18:42 $ $Revision: 1.17.
98.19 $ PATCH_10.20 (PHKL_17625)
/usr/conf/lib/libhp-ux.a(vm_devswap.o):
vm_devswap.c $Date: 99/02/17 14:23:50 $ $Revision
: 1.19.98.8 $ PATCH_10.20 (PHKL_17625)
/usr/conf/lib/libhp-ux.a(vm_sched.o):
vm_sched.c $Date: 99/02/17 14:24:58 $ $Revision:
1.58.98.13 $ PATCH_10.20 (PHKL_17625)
/usr/conf/lib/libhp-ux.a(vm_swp.o):
vm_swp.c $Date: 99/02/17 14:25:34 $ $Revision: 1.
49.98.4 $ PATCH_10.20 (PHKL_17625)
/usr/conf/lib/libhp-ux.a(vm_vhand.o):
vm_vhand.c $Date: 99/02/17 14:26:10 $ $Revision:
1.20.98.8 $ PATCH_10.20 (PHKL_17625)


So your vm_vhand object _should_ show what string PHKL_17626. But it doesn't. Instead it shows the string of the version delivered with PHKL_16751 indicating a re-installation.

See resolution hints above.


Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)