SCSI tape drive with Adaptec adapter...

Gregory Gulik greg at gulik.org
Mon Aug 30 18:37:59 UTC 2004


That's exactly it.  The device is appearing to dmesg upon boot or 
modprobe for aic7xxx yet I can't access the device:

PCI: Enabling device 0000:00:0a.0 (0006 -> 0007)
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 11 (level, low) -> IRQ 11
scsi6 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
         <Adaptec 2940 SCSI adapter>
         aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs

(scsi6:A:4): 5.000MB/s transfers (5.000MHz, offset 15)
   Vendor: CONNER    Model: CTT8000-S         Rev: 1.17
   Type:   Sequential-Access                  ANSI SCSI revision: 02
Attached scsi tape st0 at scsi6, channel 0, id 4, lun 0
st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 
1048575
Attached scsi generic sg5 at scsi6, channel 0, id 4, lun 0,  type 1
[root at penguin root]# mt -f /dev/st0 status
/dev/st0: Input/output error
[root at penguin root]#


Charles Curley wrote:
> What do you mean, you can't get to the tape drive? What have you tried
> that lead you to this conclusion? The log excerpts below indicate the
> driver is finding it and attaching it to /dev/st0.
> 
> You should see it with something like this:
> 
> [root at charlesc root]# mt -f /dev/st0 status
> SCSI 2 tape drive:
> File number=-1, block number=-1, partition=0.
> Tape block size 0 bytes. Density code 0x0 (default).
> Soft error count since last status=0
> General status bits on (50000):
>  DR_OPEN IM_REP_EN
> 
> Rather than something like this:
> 
> [root at charlesc root]# mt -f /dev/st3 status
> /dev/st3: No such device or address
> 
> Your drive should be at st0 if it's the first or only SCSI tape drive.
> 
> 
>>Aug 27 12:57:31 penguin kernel: ACPI: PCI interrupt 0000:00:0a.0[A] -> 
>>GSI 11 (level, low) -> IRQ 11
>>Aug 27 12:57:31 penguin kernel: scsi5 : Adaptec AIC7XXX EISA/VLB/PCI 
>>SCSI HBA DRIVER, Rev 6.2.36
>>Aug 27 12:57:31 penguin kernel:         <Adaptec 2940 SCSI adapter>
>>Aug 27 12:57:31 penguin kernel:         aic7870: Single Channel A, SCSI 
>>Id=7, 16/253 SCBs
>>Aug 27 12:57:31 penguin kernel:
>>Aug 27 12:57:49 penguin kernel: (scsi5:A:4): 5.000MB/s transfers 
>>(5.000MHz, offset 15)
>>Aug 27 12:57:49 penguin kernel:   Vendor: CONNER    Model: CTT8000-S 
>>     Rev: 1.17
>>Aug 27 12:57:49 penguin kernel:   Type:   Sequential-Access 
>>     ANSI SCSI revision: 02
>>Aug 27 12:57:49 penguin kernel: Attached scsi tape st0 at scsi5, channel 
>>0, id 4, lun 0
>>Aug 27 12:57:49 penguin kernel: st0: try direct i/o: yes (alignment 512 
>>B), max page reachable by HBA 1048575
>>Aug 27 12:57:49 penguin kernel: Attached scsi generic sg5 at scsi5, 
>>channel 0, id 4, lun 0,  type 1
> 
> 
> This looks like FC2 (2.6 kernel). Here's what my log looks like on
> FC1:
> 
> Aug 22 09:49:19 charlesc kernel: blk: queue dfeb5814, I/O limit 4095Mb (mask 0xffffffff)
> Aug 22 09:49:19 charlesc kernel: (scsi0:A:6): 6.944MB/s transfers (6.944MHz, offset 15)
> Aug 22 09:49:19 charlesc kernel:   Vendor: CONNER    Model: CTT8000-S         Rev: 1.22
> Aug 22 09:49:19 charlesc kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02
> Aug 22 09:49:19 charlesc kernel: blk: queue df5f0614, I/O limit 4095Mb (mask 0xffffffff)
> 
> 
> 
>>ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 11 (level, low) -> IRQ 11
>>scsi5 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
>>        <Adaptec 2940 SCSI adapter>
>>        aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs
>>
>>(scsi5:A:4): 5.000MB/s transfers (5.000MHz, offset 15)
>>  Vendor: CONNER    Model: CTT8000-S         Rev: 1.17
>>  Type:   Sequential-Access                  ANSI SCSI revision: 02
>>Attached scsi tape st0 at scsi5, channel 0, id 4, lun 0
>>st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 
>>1048575
>>Attached scsi generic sg5 at scsi5, channel 0, id 4, lun 0,  type 1
> 
> 
> Aug 22 09:49:19 charlesc kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
> Aug 22 09:49:19 charlesc kernel:         <Adaptec 2940A Ultra SCSI adapter>
> Aug 22 09:49:19 charlesc kernel:         aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
> Aug 22 09:49:19 charlesc kernel: 
> Aug 22 09:49:19 charlesc kernel: blk: queue df5f0414, I/O limit 4095Mb (mask 0xffffffff)
> 
> 
> 
>>>Also, you have firmware rev 1.17. You might want to upgrade it. I seem
>>>to recall problems with 1.17. I have 1.22, and there may be even more
>>>recent firmware.
>>
>>I'll try that next.
>>
>>Now I remember why I avoid SCSI...
>>
>>-- 
>>Greg Gulik                                 http://www.gulik.org/greg/
>>greg @ gulik.org
>>
>>
>>-- 
>>fedora-list mailing list
>>fedora-list at redhat.com
>>To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
> 

-- 
Greg Gulik                                 http://www.gulik.org/greg/
greg @ gulik.org





More information about the fedora-list mailing list