cancel
Showing results for 
Search instead for 
Did you mean: 

tape drive connecting problem

SOLVED
Go to solution
sandeepd
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
7 REPLIES
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

sam
Kernel Configuration
Drivers
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.

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
V. Nyga
Honored Contributor

Re: tape drive connecting problem

Hi,

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

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Vihang.
Trusted Contributor
Solution

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.


Regards,
Vihang.
Torsten.
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
system.
==> 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!
Regards
Torsten.

__________________________________________________
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!   
SKR_1
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)

Do

insf -eC tape
ioscan -fnC tape

Thanks

SKR
G.Sivakumar
Occasional Advisor

Re: tape drive connecting problem

Hi

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
sandeepd
Occasional Advisor

Re: tape drive connecting problem

thanks for help problem is solve after kernal module update.