Weird problem

Metod Kozelj metod.kozelj at rzs-hm.si
Wed May 16 01:38:03 PDT 2001


Hello,

A short question: with AIC7xxx v6.1.13 / linux v2.4.4, is it possible to
limit Tagged opennings/Max command opennings per device?

Problem description:
I'm running linux 2.4.4, aic7xxx 6.1.13 on alpha SX164. I have 2940UW
(lspci says it's a "00:06.0 SCSI storage controller: Adaptec AIC-7881U"),
with following devices attached:

Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST34572N         Rev: 0784
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: DEC      Model: RZ28D    (C) DEC Rev: 0008
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: NEC      Model: CD-ROM DRIVE:465 Rev: 1.03
  Type:   CD-ROM                           ANSI SCSI revision: 02

The device 0:1:0 (aka RZ28D) is actually a Seagate ST32556W with DEC'
firmware (sold as "Alpha Station Option"). This is the only wide device,
the other two are narrow.

The problematic device seems to be this particular HD. Everything runs
fine until some massive write to this device (reading is fine, though).
After that the system freezes solid and only cure is to hit the reset
button. It seems to me that this disk actually locks up the SCSI bus as
the SCSI controler led lights up and the led on that particular disk also.

The system freeze doesn't happen if the massive write happens to the other
disk. And there wasn't any problem with this particular disk drive while
running linux 2.2.19 with aic7xxx v5.1.33 with max tagged comands set to
16.

Any hint?

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);'




PS. /proc/scsi/aic7xxx/0 entries:

Adaptec AIC7xxx driver version: 6.1.13
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs
Channel A Target 0 Negotiation Settings
        User: 40.000MB/s transfers (20.000MHz, offset 255, 16bit)
        Goal: 20.000MB/s transfers (20.000MHz, offset 15)
        Curr: 20.000MB/s transfers (20.000MHz, offset 15)
        Channel A Target 0 Lun 0 Settings
                Commands Queued 10858
                Commands Active 0
                Command Openings 63
                Max Tagged Openings 253
                Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
        User: 40.000MB/s transfers (20.000MHz, offset 255, 16bit)
        Goal: 20.000MB/s transfers (10.000MHz, offset 8, 16bit)
        Curr: 20.000MB/s transfers (10.000MHz, offset 8, 16bit)
        Channel A Target 1 Lun 0 Settings
                Commands Queued 6535
                Commands Active 0
                Command Openings 63
                Max Tagged Openings 253
                Device Queue Frozen Count 0
Channel A Target 4 Negotiation Settings
        User: 40.000MB/s transfers (20.000MHz, offset 255, 16bit)
        Goal: 20.000MB/s transfers (20.000MHz, offset 15)
        Curr: 3.300MB/s transfers
        Channel A Target 4 Lun 0 Settings
                Commands Queued 1
                Commands Active 0
                Command Openings 1
                Max Tagged Openings 0
                Device Queue Frozen Count 0



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