Aacraid and DTL: case study

Jean-Paul ARGUDO <jean.paul.argudo-bjgIBc4QTRZCkLs28/[email protected]> Fri, 09 May 2003 10:33:05 +0200
Newsgroups gmane.linux.drivers.aacraid.devel
Message-ID <[email protected]>
[email protected] wrote:
> Today's Topics:
>    1. aacraid+dlt (or dat) (Funk Gabor)

Hi all,

Since I just read some mails from your list about aacraid and dlt, I 
think my experience could (?) help you:

I have a problem -unresolved- since May 5.

My server is a DELL POWEREDGE 1650 with Perc3, 2 scsi disks mirrored.
aacraid works like a charm, no problem AT ALL on disks.

But, I had to buy an extra internal Adaptec card to make external DLT 
Works. Here a cut from dmesg:

"...

SCSI subsystem driver Revision: 1.00
Red Hat/Adaptec aacraid driver, Feb  7 2003
AAC0: kernel 2.7.4 build 3170
AAC0: monitor 2.7.4 build 3170
AAC0: bios 2.7.0 build 3170
AAC0: serial 03d3c10d3
scsi0 : percraid
   Vendor: DELL      Model: PERCRAID Mirror   Rev: V1.0
   Type:   Direct-Access                      ANSI SCSI revision: 02
   Vendor: DELL      Model: PERCRAID Mirror   Rev: V1.0
   Type:   Direct-Access                      ANSI SCSI revision: 02
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
         <Adaptec 3960D Ultra160 SCSI adapter>
         aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

scsi2 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
         <Adaptec 3960D Ultra160 SCSI adapter>
         aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs

   Vendor: COMPAQ    Model: DLT VS 40/80      Rev: 5133
   Type:   Sequential-Access                  ANSI SCSI revision: 02
(scsi1:A:6): 20.000MB/s transfers (10.000MHz, offset 15, 16bit)
st: Version 20020805, bufsize 32768, wrt 30720, max init. bufs 4, s/g 
segs 16
Attached scsi tape st0 at scsi1, channel 0, id 6, lun 0
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi removable disk sdb at scsi0, channel 0, id 1, lun 0
SCSI device sda: 8388608 512-byte hdwr sectors (4295 MB)
sda: Write Protect is off
Partition check:
  sda: sda1 sda2 sda3 sda4
SCSI device sdb: 27155968 512-byte hdwr sectors (13904 MB)
sdb: Write Protect is off
  sdb: sdb1 sdb2
...."


# uname -a
Linux master 2.4.20 #5 SMP Fri Feb 7 10:06:37 CET 2003 i686 unknown

Only the module e1000 is in memory, all other things needed is built in 
kernel.

# lsmod
Module                  Size  Used by    Not tainted
e1000                  47072   1


I use Amanda for 2 months now (got 10 tapes cycling). Everything worked 
just fine, changing tape everyday , etC. But since May 5, my DLT tape 
hangs (all three leds shining). The only thing I found to make it all 
work again, and be able to eject tape is: shutdown server (electrically 
too, if just rebooting, DLT still hanged) and shutdown tape 
(electrically), remove scsi wire. Wait 10 seconds, rewire scsi external 
cable and rebooting all.

Here a sample of what I have (yes, Amanda is running at 2 am) in 
/var/log/messages:

May  6 18:27:40 master kernel: st0: Block limits 2 - 16777214 bytes.
May  6 19:51:48 master kernel: aacraid:Battery charge is now OK
May  7 02:00:01 master kernel: (scsi1:A:6:0): Unexpected busfree in 
Message-in phase
May  7 02:00:01 master kernel: SEQADDR == 0x1a3
May  7 02:00:01 master kernel: st0: Error 10000 (sugg. bt 0x0, driver bt 
0x0, host bt 0x1).

Everything I try to do in command as root got this message:

master:~# mt -f /dev/nst0 eject
/dev/nst0: Input/output error
master:~# mt -f /dev/st0 eject
/dev/st0: Input/output error


So it is probably not a matter of problem with aacraid but:

  - I want to be sure it is not, thus, this could help you (hope so):
	dont hesitate in asking for more infos, extracts, whatever

  - If its a problem with Adaptec card? Will your new aacraid driver will
    help me, letting me the availability of external scsi connector to 
work (so no need of a enventually buggy Adaptec card..)

  - any help welcome, I must admit :-((


Thanks a lot.. Note Im only on this list but "digested" so I put 
reply-to thanks alot.

--
Jean-Paul ARGUDO

_______________________________________________
Linux-aacraid-devel mailing list
[email protected]
http://lists.us.dell.com/mailman/listinfo/linux-aacraid-devel
Please read the FAQ at http://lists.us.dell.com/faq or search the list archives at http://lists.us.dell.com/htdig/