LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SCSI Tape - No such device- debian woody (https://www.linuxquestions.org/questions/linux-hardware-18/scsi-tape-no-such-device-debian-woody-232094/)

kimc 09-18-2004 06:10 AM

SCSI Tape - No such device- debian woody
 
I have the following happening:
<output of dmesg>
Linux version 2.4.18.05 (root@sloth) (gcc version 2.95.4 20011002 (Debian
…
…
PCI: Sharing IRQ 5 with 00:09.0
ahc_pci:0:11:0: Host Adapter Bios disabled. Using default SCSI device parameters
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.4
<Adaptec aic7850 SCSI adapter>
aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs

= = = = = =

Script started on Wed Sep 1 20:42:37 2004
bash-2.05a# lsmod
Module Size Used by Not tainted
st 26996 0 (unused)
vfat 9340 1 (autoclean)
fat 29944 0 (autoclean) [vfat]
dummy 960 0 (unused)

bash-2.05a# mt status

/dev/tape: No such device

bash-2.05a# mt status

/dev/st0: No such device

bash-2.05a# mt -f /dev/st0 status

/dev/nst0: No such device

bash-2.05a# ls –la

bash-2.05a# ls -l /dev/tape
lrwxrwxrwx 1 root root 9 Aug 31 10:21 /dev/tape -> /dev/nst0
============

Oh where is my scsi tape drive?

TIA

Kim

michaelk 09-18-2004 07:16 AM

What does the output of the following show:
cat /proc/scsi/scsi

Also, I see the tape module being loaded but not the SCSI controller module. Is it compiled into the kernel? What about the other modules, scsi_mod? Does dmesg show the tape drive being recognized too?

kimc 09-20-2004 08:22 AM

cat /proc/scsi/scsi
Attached devices: none

I have messed and hacked around with it a bit so i have a renewed list below of some things that may be of interest.

Somehow i LOST the st module (Now compiled into kernel) does that matter?
====

bash-2.05a# modprobe aic7xxx
bash-2.05a# insmod st
insmod: st: no module by that name found
bash-2.05a# lsmod
Module Size Used by Not tainted
aic7xxx 104640 0 (unused)
vfat 9340 1 (autoclean)
fat 29944 0 (autoclean) [vfat]
iptable_filter 1728 0 (unused)
ip_tables 13696 1 [iptable_filter]
dummy 960 0 (unused)
bash-2.05a# mt -f /dev/nst0 status
/dev/nst0: Inappropriate ioctl for device
bash-2.05a# mt -f /dev/nst0 status
/dev/st0: No such device
bash-2.05a# mt -f /dev/st0 status
/dev/tape: No such device
bash-2.05a# ls -la /dev/nst0
crw-rw---- 1 root root 7, 0 Sep 4 13:08 /dev/nst0
bash-2.05a# ls -la /dev/nst0
crw-rw---- 1 root tape 9, 0 Sep 4 11:03 /dev/st0
bash-2.05a# ls -la /dev/tape
lrwxrwxrwx 1 root root 8 Sep 20 16:30 /dev/tape -> /dev/st0

Cheers

Kim

kimc 09-20-2004 08:26 AM

This also is listed

cat /proc/scsi/aic7xxx/0

Adaptec AIC7xxx driver version: 6.2.4
aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
Channel A Target 0 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 255)
Channel A Target 1 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 255)
Channel A Target 2 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 255)
Channel A Target 3 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 255)
Channel A Target 4 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 255)
Channel A Target 5 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 255)
Channel A Target 6 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 255)
Channel A Target 7 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 255)

===
Kim


All times are GMT -5. The time now is 02:24 PM.