Operating System - Linux
1752594 Members
3070 Online
108788 Solutions
New Discussion юеВ

Re: How to get the tape working - 20/40 dat

 
SOLVED
Go to solution
Gwendeline
Advisor

How to get the tape working - 20/40 dat

dmesg | grep -B 5 -A 5 -i "scsi"
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 297k freed
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8

aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8

aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs

blk: queue dfda1c18, I/O limit 4095Mb (mask 0xffffffff)
HP CISS Driver (v 2.4.42)
cciss: Device 0x46 has been found at bus 5 dev 2 func 0
cciss: using DAC cycles


[root@localhost root]# lsmod
Module Size Used by Not tainted
ide-cd 35772 0 (autoclean)
cdrom 34176 0 (autoclean) [ide-cd]
parport_pc 19204 1 (autoclean)
lp 9188 0 (autoclean)
parport 39072 1 (autoclean) [parport_pc lp]
nfsd 81104 8 (autoclean)
lockd 59536 1 (autoclean) [nfsd]
sunrpc 87516 1 (autoclean) [nfsd lockd]
autofs 13684 0 (autoclean) (unused)
tg3 52904 1
keybdev 2976 0 (unused)
mousedev 5656 1
hid 22308 0 (unused)
input 6208 0 [keybdev mousedev hid]
usb-ohci 22216 0 (unused)
usbcore 82592 1 [hid usb-ohci]
ext3 73376 3
jbd 56336 3 [ext3]
cciss 44420 4
aic7xxx 142548 0 (unused)
sd_mod 13452 0 (unused)
scsi_mod 110488 2 [cciss aic7xxx sd_mod]


[root@localhost root]# insmod 'tape module'
insmod: tape module: no module by that name found

20 REPLIES 20
Steven E. Protter
Exalted Contributor

Re: How to get the tape working - 20/40 dat

looks to me like you have a scsi id conflict or a bad cable.

eyeball time.

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
Gwendeline
Advisor

Re: How to get the tape working - 20/40 dat

Can you please guide me how to confirm the problem ? I'm very new in linux.
Stuart Browne
Honored Contributor

Re: How to get the tape working - 20/40 dat

When your machine boots up, the SCSI BIOS' will show what is connected to them.

Did you se eyour tape drive show up at this stage?

Oh, and the module you need for your tape is 'st' (scsi tape). If the kernel sees a tape attached to your SCSI bus during boot-up, it should automatically insert it anyway.

So steps to fix.. First things first, the SCSI BIOS. Does it see your tape. What ID is it at?

If it does, reboot. If it's not, check cabling, and termination on the tape device.

Check the contents of /proc/scsi/scsi, see if a 'Sequential Access' device is listed there. If it is, then your tape should be working.
One long-haired git at your service...
Martin P.J. Zinser
Honored Contributor

Re: How to get the tape working - 20/40 dat

Hello,

another easy way to check if the device is
seen on the bus is to run cdrecord -scanbus.

Greetings, Martin

Re: How to get the tape working - 20/40 dat

Someone solved this problem for me by...

Assuming that your are using the 5i+ or another array controller that uses cciss, put the following script (in a file called compaq_cciss_scsi) in /etc/rc.d/init.d:

for x in /proc/driver/cciss/cciss[0-9]*
do
echo "engage scsi" > $x
done

The echo command will engage the cciss scsi support and the script will keep the setup going across reboots.
Gwendeline
Advisor

Re: How to get the tape working - 20/40 dat

I have upgraded from red hat 9 to fedora ( rh 10 ) when i boot up when it come to the part where it scan for scsi devices . it give error :
No scsi boot device found
SCSI BIOS not installed.
Gwendeline
Advisor

Re: How to get the tape working - 20/40 dat

cdrecord -clone 2.0.1a19 (1686-redhat-linux-gnu)
cdrecord : no such file or directory , cannot open ' dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible target try 'cdrecord -scanbus' make sure you are root
cdrecord: for posible transport specifiers try 'cdresord dev=help'



i can't find the file in init.d
Gwendeline
Advisor

Re: How to get the tape working - 20/40 dat

>insmod st
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/scsi/st.o

what does this mean?
Alexander Chuzhoy
Honored Contributor

Re: How to get the tape working - 20/40 dat

In modulary kernel you have the ability to load modules without recompile the kernel.
Thus the command 'insmod st' means load the modules name st, while the second line shows the full path to the loaded module...