AHA-2940UW, DLT, alpha & aic driver

fox at crisp.demon.co.uk fox at crisp.demon.co.uk
Tue Feb 29 15:22:33 PST 2000


cc: aic7xxx at freebsd.org
X-Mailer: CRiSP-Mail v4.0


> Hello,
> 
> I'm having slight problems while using HP SureStore DLT40 connected to
> AHA2940UW on Linux/Alpha.
> 
> My system is alpha, running basically RedHat 5.1 with kernel 2.2 patches
> and kernel 2.2.14. I'm using stock aic driver.
> 
> My problem real problem is, that 'mt -f /dev/nst0 fsf' doesn't do
> anything. 'mt -f /dev/nst rewi' works fine, 'mt -f /dev/nst0 status'
> prints some meaningful data.
> 
> There's some funny thing about /proc/scsi/aic7xxx/0 contents: statisctics
> for the DLT never change while statistics for disks do change.
> 
> I wonder if the things are better with some recent aic7xxx version?
> 
> Here's /proc/scsi/aic7xxx/0:

The aic7xxx driver in Linux 2.2 and 2.3 is a disastrous and utter
garbled mess.

I got a new machine with an 2940UW Pro and it caused me no end
of disaster. I tried 2.2.9/10/12/14, 2.3.47 all no good.

Heres what I did. Start with 2.2.14 (5.1.21). Go to 
http://people.redhat.com/dlerner, and download patches for the AIC driver
22-27. Apply each patch in turn til you get to 27. Rebuild
your kernel and hopefully things will be a lot better.

Why the 2.3 kernel is so bad - I dont know. Why 2.2.14 (and .15-pre
is also awful) I will never know.

So many people put a lot of good hard effort in to all aspects of
the Unix clones, but some things just get overlooked and its up to
the hackers to figure it out.

Oh and for anyone that cares - GNU fileutils 4.0 (specifically /bin/df)
is broke for 4k block filesystems.

regards

> --------------------------------
> 
> Adaptec AIC7xxx driver version: 5.1.21/3.2.4
> Compile Options:
>   TCQ Enabled By Default : Enabled
>   AIC7XXX_PROC_STATS     : Enabled
>   AIC7XXX_RESET_DELAY    : 5
> 
> Adapter Configuration:
>            SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
>                            Ultra Wide Controller
>     Programmed I/O Base: 8800
>     PCI Bus 0x00 Device 0x48
>  Adapter SEEPROM Config: SEEPROM found and used.
>       Adaptec SCSI BIOS: Enabled
>                     IRQ: 24
>                    SCBs: Active 1, Max Active 1,
>                          Allocated 7, HW 16, Page 255
>              Interrupts: 1361219
>       BIOS Control Word: 0x18b6
>    Adapter Control Word: 0x005d
>    Extended Translation: Enabled
> Disconnect Enable Flags: 0xffff
>      Ultra Enable Flags: 0x0000
>  Tag Queue Enable Flags: 0x0000
> Ordered Queue Tag Flags: 0x0000
> Default Tag Queue Depth: 8
>     Tagged Queue By Device array for aic7xxx host instance 0:
>       {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
>     Actual queue depth per device for aic7xxx host instance 0:
>       {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
> 
> Statistics:
> 
> (scsi0:0:3:0)
>   Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
>   Transinfo settings: current(25/15/0/0), goal(25/15/0/0), user(25/15/1/0)
>   Total transfers 0 (0 reads and 0 writes)
>              < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
>    Reads:       0       0       0       0       0       0       0       0
>   Writes:       0       0       0       0       0       0       0       0
> 
> --------------------------------
> This is after some reading from DLT. The number of interrupts is quite
> high, while statistics show no activity.
> 
> Details about card:
> 
>   Bus  0, device   9, function  0:
>     SCSI storage controller: Adaptec AIC-7881U (rev 0).
>       Medium devsel.  Fast back-to-back capable.  IRQ 24.  Master Capable. Latency=32.  Min Gnt=8.Max Lat=8.
>       I/O at 0x8800 [0x8801].
>       Non-prefetchable 32 bit memory at 0x19001000 [0x19001000].
> 
> Details about initialization:
> 
> (scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 9/0
> (scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
> (scsi0) Warning - detected auto-termination
> (scsi0) Please verify driver detected settings are correct.
> (scsi0) If not, then please properly set the device termination
> (scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
> (scsi0) during machine bootup.
> (scsi0) Cables present (Int-50 NO, Int-68 NO, Ext-68 YES)
> (scsi0) Downloading sequencer code... 413 instructions downloaded
> scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.21/3.2.4
>        <Adaptec AHA-294X Ultra SCSI host adapter>
> scsi : 1 host.
> (scsi0:0:3:0) Synchronous at 10.0 Mbyte/sec, offset 15.
>   Vendor: Quantum   Model: DLT4000           Rev: D069
>   Type:   Sequential-Access                  ANSI SCSI revision: 02
> scsi : detected total.
> 
> (SCSI tape support is in module).
> 
> 
> Regards,
>   Metod
> 
> Metod Kozelj
> 
> mailto:Metod.Kozelj at rzs-hm.si            /\  Ne posiljajte mi smeti ker grizem!
> http://www.rzs-hm.si/                   /  \  Don't spam me for I bite!
> _______________________________________/    \__________________________________
> 
> ---- perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo at FreeBSD.org
> with "unsubscribe aic7xxx" in the body of the message
> 
> 
+-------------------------------------------------------------------------+
| Paul David Fox,             | CRiSP (tm) - It's a Web site              |#
| Address: 20 Ridgewood Drive | Internet:           fox at crisp.demon.co.uk |#
| Frimley, Surrey GU16 5QF    | WWW: (mine)  http://www.crisp.demon.co.uk |#
| Tel: +44 (1276) 670603      | WWW:                 http://www.crisp.com |#
|                             | WWW:           http://www.pacemaker.co.uk |#
+-------------------------------------------------------------------------+#
 ###########################################################################



To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message




More information about the aic7xxx mailing list