Re: Adding a SCSI controller and SCSI Tape drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm running out of ideas so I'm turning back to the list for help, what I have tried:

3 different SCSI cards (Adaptec 2940, 2940UA, and 29320A)
3 different tape drives (2 DLT drives 20/40, 15/30, and an exabyte 8mm 7/15)

with one exception, the 29320A controller timed out waiting for the exabyte to come ready, the exabyte takes forever and a day and has been a problem in the past because of long wait until ready.

All controllers recognized all drives with their (the controllers) built in bios, All drives were recognized under linux as was seen in the /proc/scsi/aic7xxx/0 file. All drives were listed in dmesg. Each drive was tried with each controller and the same results.

anytime the command "mt -f /dev/st0 stat" was issued the command just hung, I would be unable to kill the processes with a kill -9 as well. If I let the system sit in that state long enough the whole system would become unstable and not respond.

What I do know..
1) All three controllers work fine
2) All three tape drives work fine (sans the long delay to ready on the exabyte)
3) I have no entries in the /etc/modprobe.conf
4) There is a USB flash card reader in the system that also shows up as SCSI
dmesg output (scsi related sections - includes a lot of USB stuff since the USB flash drive shows as scsi controller 1)
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
       <Adaptec 2940A Ultra SCSI adapter>
       aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs

 Vendor: Quantum   Model: DLT4000 CPQ DRV   Rev: D473
 Type:   Sequential-Access                  ANSI SCSI revision: 02
target0:0:2: Beginning Domain Validation
target0:0:2: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 15)
target0:0:2: Domain Validation skipping write tests
target0:0:2: Ending Domain Validation
[...]
scsi 0:0:2:0: Attached scsi generic sg0 type 1
st: Version 20050830, fixed bufsize 32768, s/g segs 256
st 0:0:2:0: Attached scsi tape st0
st0: try direct i/o: yes (alignment 512 B)
[...]
 Vendor: Y-E DATA  Model: CF Card Reader    Rev: 3.02
 Type:   Direct-Access                      ANSI SCSI revision: 00
scsi 1:0:0:0: Attached scsi generic sg1 type 0
 Vendor: Y-E DATA  Model: SM Card Reader    Rev: 3.02
 Type:   Direct-Access                      ANSI SCSI revision: 00
scsi 1:0:0:1: Attached scsi generic sg2 type 0
 Vendor: Y-E DATA  Model: MS Card Reader    Rev: 3.02
 Type:   Direct-Access                      ANSI SCSI revision: 00
scsi 1:0:0:2: Attached scsi generic sg3 type 0
 Vendor: Y-E DATA  Model: SD Card Reader    Rev: 3.02
 Type:   Direct-Access                      ANSI SCSI revision: 00
scsi 1:0:0:3: Attached scsi generic sg4 type 0
usb-storage: device scan complete
sd 1:0:0:0: Attached scsi removable disk sda
sd 1:0:0:1: Attached scsi removable disk sdb
sd 1:0:0:2: Attached scsi removable disk sdc
sd 1:0:0:3: Attached scsi removable disk sdd
[...]
usb 2-5: reset high speed USB device using ehci_hcd and address 2
usb 2-5: device not accepting address 2, error -110
usb 2-5: reset high speed USB device using ehci_hcd and address 2
usb 2-5: device not accepting address 2, error -110
usb 2-5: reset high speed USB device using ehci_hcd and address 2
usb 2-5: device not accepting address 2, error -110
usb 2-5: reset high speed USB device using ehci_hcd and address 2
usb 2-5: device not accepting address 2, error -110
sd 1:0:0:1: scsi: Device offlined - not ready after error recovery
usb 2-5: USB disconnect, address 2
scsi 1:0:0:2: rejecting I/O to dead device
scsi 1:0:0:2: rejecting I/O to dead device
scsi 1:0:0:2: rejecting I/O to dead device
scsi 1:0:0:2: rejecting I/O to dead device
sdc : READ CAPACITY failed.
sdc : status=0, message=00, host=1, driver=00
sdc : sense not available.
scsi 1:0:0:2: rejecting I/O to dead device
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
scsi 1:0:0:2: rejecting I/O to dead device
scsi 1:0:0:2: rejecting I/O to dead device
scsi 1:0:0:2: rejecting I/O to dead device
scsi 1:0:0:2: rejecting I/O to dead device
scsi 1:0:0:2: rejecting I/O to dead device
sdc : READ CAPACITY failed.
sdc : status=0, message=00, host=1, driver=00
sdc : sense not available.
scsi 1:0:0:2: rejecting I/O to dead device
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
sdc:<3>scsi 1:0:0:2: rejecting I/O to dead device
Buffer I/O error on device sdc, logical block 0
scsi 1:0:0:2: rejecting I/O to dead device
Buffer I/O error on device sdc, logical block 0
scsi 1:0:0:2: rejecting I/O to dead device
Buffer I/O error on device sdc, logical block 0
unable to read partition table
scsi 1:0:0:2: rejecting I/O to dead device
scsi 1:0:0:0: rejecting I/O to dead device
scsi 1:0:0:0: rejecting I/O to dead device
scsi 1:0:0:0: rejecting I/O to dead device
sda : READ CAPACITY failed.
sda : status=0, message=00, host=1, driver=00
sda : sense not available.
scsi 1:0:0:0: rejecting I/O to dead device
sda: Write Protect is off
sda: Mode Sense: 00 00 00 00
sda: assuming drive cache: write through
scsi 1:0:0:0: rejecting I/O to dead device
scsi 1:0:0:0: rejecting I/O to dead device
scsi 1:0:0:0: rejecting I/O to dead device
scsi 1:0:0:0: rejecting I/O to dead device
scsi 1:0:0:0: rejecting I/O to dead device
sda : READ CAPACITY failed.
sda : status=0, message=00, host=1, driver=00
sda : sense not available.
scsi 1:0:0:0: rejecting I/O to dead device
sda: Write Protect is off
sda: Mode Sense: 00 00 00 00
sda: assuming drive cache: write through
sda:<3>scsi 1:0:0:0: rejecting I/O to dead device
Buffer I/O error on device sda, logical block 0
scsi 1:0:0:0: rejecting I/O to dead device
Buffer I/O error on device sda, logical block 0
scsi 1:0:0:0: rejecting I/O to dead device
Buffer I/O error on device sda, logical block 0
unable to read partition table
scsi 1:0:0:0: rejecting I/O to dead device
sdd : READ CAPACITY failed.
sdd : status=0, message=00, host=1, driver=00
sdd : sense not available.
sdd: Write Protect is off
sdd: Mode Sense: 00 00 00 00
sdd: assuming drive cache: write through
sdd : READ CAPACITY failed.
sdd : status=0, message=00, host=1, driver=00
sdd : sense not available.
sdd: Write Protect is off
sdd: Mode Sense: 00 00 00 00
sdd: assuming drive cache: write through
sdd:<3>scsi 1:0:0:3: rejecting I/O to device being removed
Buffer I/O error on device sdd, logical block 0
scsi 1:0:0:3: rejecting I/O to device being removed
Buffer I/O error on device sdd, logical block 0
scsi 1:0:0:3: rejecting I/O to device being removed
Buffer I/O error on device sdd, logical block 0
unable to read partition table
usb 2-5: new high speed USB device using ehci_hcd and address 3
usb 2-5: device not accepting address 3, error -110
usb 2-5: new high speed USB device using ehci_hcd and address 4
usb 2-5: device not accepting address 4, error -110
usb 2-5: new high speed USB device using ehci_hcd and address 5
usb 2-5: device not accepting address 5, error -110
usb 2-5: new high speed USB device using ehci_hcd and address 6
usb 2-5: device not accepting address 6, error -110


Any help would be greatly appreciated!

Thanks, Jeff


Jeffrey Ross wrote:
Ok, just tried another tape drive same deal, when I attempt to access the
drive with "mt -f /dev/st0 stat" the command hangs, I'm unable to kill the
process either (same as before)

Jeff


You are right, its "st" and it shows up
scsi_transport_spi     25281  1 aic7xxx
scsi_mod              134761  6
sd_mod,usb_storage,st,sg,aic7xxx,scsi_transport_spi


also dmesg shows the following entries:
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
        <Adaptec 2940 SCSI adapter>
        aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs

  Vendor: Quantum   Model: DLT4000 CPQ DRV   Rev: D473
  Type:   Sequential-Access                  ANSI SCSI revision: 02
 target0:0:6: Beginning Domain Validation
 target0:0:6: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 15)
 target0:0:6: Domain Validation skipping write tests
 target0:0:6: Ending Domain Validation

and then further down:


scsi 0:0:6:0: Attached scsi generic sg0 type 1
st: Version 20050830, fixed bufsize 32768, s/g segs 256
st 0:0:6:0: Attached scsi tape st0
st0: try direct i/o: yes (alignment 512 B)


So the system definitely sees the controller and tape drive, just any IO
to it hangs.  I'm wondering, do I have a good drive?



On Wed, Nov 08, 2006 at 16:18:10 -0500,
  Jeffrey Ross <jeff@xxxxxxxxxx> wrote:
When I send any commands to /dev/st0 the application just sits there, a
"mt -f /dev/st0 stat" just hangs

lsmod does not show the "mt" device, should it be there and if so, how
do
I load it?
I have a dat tape on a scsi controller on an fc5 system and I don't see
an 'mt' module loaded using lsmod.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux