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

HPUX11i kernel / SAM issue

 
SOLVED
Go to solution
G.Carslow
Advisor

HPUX11i kernel / SAM issue

Hi,

I have HPUX 11i MC OE running on RP5470. Patched to June 2003. When trying to set kernel parameters with SAM the following error occurs: error handler has gotten the error code 0 NOTE with the associated strings: st_san_safe... and ...cannot find driver/module "" in the current kernel configuration data structures. I have loaded PHKL_29248 but it did not help.

Any assistance would be appreciated.

Thanks
Greg
13 REPLIES 13
Michael Steele_2
Honored Contributor

Re: HPUX11i kernel / SAM issue

Any not 'CLAIMED' reports in 'ioscan'? Please attach.

# ioscan -fnk

Any 'vmunix' errors in /var/adm/syslog/syslog.log? Please attach.

What kernel parameters to change? Please attach.

Got enough room in /stand? '# bdf /stand'.

Finally, here is an alternate to SAM:

cd /stand/build
/usr/lbin/sysadm/system_prep -s /stand/build/system
vi /stand/build/system
(* make changes *)

mk_kernel -s /stand/build/system
kmupdate
cp /stand/system /stand/system_old
cp /stand/build/system /stand/system
cd /
shutdown -r now
Support Fatherhood - Stop Family Law
Robert-Jan Goossens
Honored Contributor

Re: HPUX11i kernel / SAM issue

T G Manikandan
Honored Contributor

Re: HPUX11i kernel / SAM issue

Zeev Schultz
Honored Contributor

Re: HPUX11i kernel / SAM issue

Or use kmtune (no sam).

So computers don't think yet. At least not chess computers. - Seymour Cray
Uday_S_Ankolekar
Honored Contributor

Re: HPUX11i kernel / SAM issue

You get this error generally due to a corrupt file called boot.config in /var/sam

Run /usr/sam/lbin/getkinfo -b to fix this

-USA..
Good Luck..
G.Carslow
Advisor

Re: HPUX11i kernel / SAM issue

Hi,

Thanks for all the input. ioscan -fnk shows no not claimed, stand 21%, syslog no errors from boot. getkinfo -b returns no errors but does not fix the problem. I tried to edit /var/sam/boot.config from a good server's st_san_safe entry. SAM starts but only shows that 1 entry - no other tuneables shown. Running getkinfo -b causes it to fail again. Have restored from backup copy of orig. file. My only alternative is to re-build from cmd line but would like to get SAM fixed as other sys admins have to use as well. Any further assistance would be greatly appreciated.

Thanks
Greg
G.Carslow
Advisor

Re: HPUX11i kernel / SAM issue

HI again,

A further development...kmtune ( to display current config ) fails with the message cant open file -- /stand/.kmsystune_lock. Have checked the permissions and ownership of /stand - all OK. I dont know why as yet.

Thanks
Greg
Robert-Jan Goossens
Honored Contributor

Re: HPUX11i kernel / SAM issue

Greg,

Are you getting below error message;

kmtune: Cannot write file -- /stand/.kmsystune_lock.

check if you are logged in as root.

# id
uid=0(root) gid=3(sys)

Regards,
Robert-Jan
G.Carslow
Advisor

Re: HPUX11i kernel / SAM issue

Hi Robert-Jan,

Confirmed to be root:sys as shown in your reply. I have run touch /stand/testfile and worked OK.

Thanks
Greg
Robert-Jan Goossens
Honored Contributor
Solution

Re: HPUX11i kernel / SAM issue

Hi Greg,

Just to be shure, could you check your system for this patch.

http://www4.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_26061&context=hpux:800:11:11

Kind Regards,
Robert-Jan
T G Manikandan
Honored Contributor

Re: HPUX11i kernel / SAM issue

check for the below patches or their latest

patch PHCO_25342 for HP-UX 11.0 and PHCO_25429 for HP-UX 11i.


G.Carslow
Advisor

Re: HPUX11i kernel / SAM issue

Hi,

PHCO_26061 followed by getkinfo -b done the trick. Thanks very much for the help.

Thank you
Greg
Zeev Schultz
Honored Contributor

Re: HPUX11i kernel / SAM issue

I think it has to deal with SAM and/ or SAM patches. That means using of:check_patches, swlist -a state (for SAM patches) , swverify SystemAdmin etc.
So computers don't think yet. At least not chess computers. - Seymour Cray