Operating System - HP-UX
1826692 Members
2681 Online
109696 Solutions
New Discussion

Installing kernel Drivers for tape drive fails

 
SOLVED
Go to solution
Hui Kuan ANG
Occasional Advisor

Installing kernel Drivers for tape drive fails

Hi!

I'm trying to install the stape driver from sam->kernel confirguration->drivers on HPUX 11.00. After setting it to "in", building a new kernel and successfully rebooted it, the stape still remains as "out". I've tried to install other drivers as well, but all of them remain as "out" after rebooting.

On top of that, i've tried to add a new tape drive from sam as well. after rebuilding the kernel, the drivers are still reflected as "out".

Does any one know what happens and how to solve it?
4 REPLIES 4
Michael Tully
Honored Contributor
Solution

Re: Installing kernel Drivers for tape drive fails

Hi,

Not sure what happened to doing this in SAM. Have you got the latest cumulative SAM patch installed? If not this may help. In the meantime, this how to do it on the command line.

as root

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system (and add "stape" somewhere near the top without the double quotes)
save the file

# /usr/sbin/mk_kernel -s system
# /usr/sbin/kmupdate

Take note of the existing kernel name, vmunix.prev
# cd /

# shutdown -r -y 0

System reboots and you should be ok

HTH
Michael
Anyone for a Mutiny ?
S.K. Chan
Honored Contributor

Re: Installing kernel Drivers for tape drive fails

It has got to do with either SAM cumulative or stape patches in order to solve this. Anyway to manually configure th drive you can do this.

# cd /stand/build
# /usr/lbin/sysadm/system_prep -v -s system
# kmsystem -S system -c y stape
==> these utilities modify the system file at 11.0
# /usr/sbin/mk_kernel -s ./system
# mv /stand/system /stand/system.prev
# mv /stand/build/system /stand/system
# kmupdate
==> kmupdate automates moving the kernel files into the proper directory
# shutdown -ry 0
Michael Tully
Honored Contributor

Re: Installing kernel Drivers for tape drive fails

Hi,

These could be the patches that your looking for.

SAM Kernel Tunable Parameter Sets(PHSS_20149)
cumulative SAM/ObAM patch(PHCO_23876)

As always make sure that you create a make_recovery tape prior to installing any patch.

# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn (assuming this is your tape drive)

Of course see if you can fix the stape for ther kernel first.

Michael
Anyone for a Mutiny ?
pap
Respected Contributor

Re: Installing kernel Drivers for tape drive fails

I thing you did correct.
The thing is that you might not have checked the box "PUT the new kernel in place and overwrite the existing kernel" .
Please try to install the stape driver again select that box and then reboot the server.

This will do.If at your problem remains alive then do following.

You can manually reconfigure the kernel.

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system (and add "stape" at the bottom)and
save the file

# /usr/sbin/mk_kernel -s system
# /usr/sbin/kmupdate

# shutdown -r -y 0

System reboots and you should be ok
"Winners don't do different things , they do things differently"