Showing results for 
Search instead for 
Did you mean: 

tape drive connecting problem

Go to solution
Occasional Advisor

tape drive connecting problem

Dear all

I am connect tape drive hp c1533A on hpux 11iv2. It show in ioscan out put but it is not creating dev file in dev directory.

Can any tell me how to create device file for tape drive.

Thanks in advance for help

Sandeep Daphal
Steven E. Protter
Exalted Contributor

Re: tape drive connecting problem

Shalom Sandeep,

For proper tape drive functionality a driver called stape must be compiled into the kernel

Kernel Configuration
Make sure stape is in.

You will be prompted to recompile the kernel and boot the system.

After this assuming there is no SCSI device conflict, you should see the tape drivers and be able to use the tape device.

Steven E Protter
Owner of ISN Corporation
V. Nyga
Honored Contributor

Re: tape drive connecting problem


what have you tried till now?
For creating the dev file use:
'insf -C tape'

*** Say 'Thanks' with Kudos ***
Trusted Contributor

Re: tape drive connecting problem

Hi Sandeep,

If the stape drive is not set to static, set it to static in the kernel using sam or else use command "kcmodule stape=static". Please note that you would require a reboot after this. But if the drive is showing in ioscan, that means the driver is enabled & you probaby have a scsi id problem due to which the device file is not created.
Paste the "ioscan -fnC tape" output here. Also, try changing the SCSI id behind the drive. Note that you will have to remove power to the drive before changing the SCSI ID & then power it on again. It would be better if you remove the scsi cable as well before changing the SCSI ID.

Acclaimed Contributor

Re: tape drive connecting problem

Please post the result of

# model
# ioscan -fn

To include the stape driver run

# # kcmodule stape=static
NOTE: The configuration being loaded contains the following change(s)
that cannot be applied immediately and which will be held for
the next boot:
-- The configuration is supposed to include a module 'stape' which
is not available without a kernel rebuild.
WARNING: The automatic 'backup' configuration currently contains the
configuration that was in use before the last reboot of this
==> Do you wish to update it to contain the current configuration
before making the requested change? y
* The automatic 'backup' configuration has been updated.
* Building a new kernel for configuration 'nextboot'...
* Adding version information to new kernel...
* The requested changes have been saved, and will take effect at
next boot.
Module State Cause
stape (now) unused
(next boot) static explicit

Hope this helps!

There are only 10 types of people in the world -
those who understand binary, and those who don't.

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Trusted Contributor

Re: tape drive connecting problem

Give the output of below command

ioscan -fnC tape

Check stape module to be set as static ( You can use SAM-Kernal configuration)


insf -eC tape
ioscan -fnC tape


Occasional Advisor

Re: tape drive connecting problem


The Driver for this tape drive will be available in hpux 11v2, you can check with other one drive also

Try :

insf -eC tape
ioscan -fnC tape
Occasional Advisor

Re: tape drive connecting problem

thanks for help problem is solve after kernal module update.