[1864] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

adaptec 2940 Ultra Wide: Queue full

daemon@ATHENA.MIT.EDU (Karl-Heinz Herrmann)
Tue May 13 20:17:05 1997

Date: 	Wed, 14 May 1997 02:11:45 +0200
From: Karl-Heinz Herrmann <khherrmann@physik.uni-erlangen.de>
To: "linux-scsi@vger.rutgers.edu" <linux-scsi@vger.rutgers.edu>

hallo !

I have all the time the following problem with my Adaptec 2940UW. 
Everytime I have heavy disk-operations (e.g. cron.daily with 
rebuilding the locate database => find on whole filesystem) 
I get the following ``misbehavior'': 
In /var/log/messages appears: 
Apr 15 20:25:21 khh kernel: scsi0: Queue full. 

approx. 10sec later the scsi devices recieve a reset signal 
and the whole Linux is freezed till the Scsireset is 
accomplished(15sec more), the full message script (see below) 
is updated to my message window and everything seems normal again.

Setup: 
2940UW, Bios 1.23 (Boot log see below)
Quantum UW Harddrive
Plextor non-wide CD-Rom (6x) (how do you know it's really Ultra?)
usual Bios setting:
  Ultra and Wide enabled for HD, 
  Initiate Wide negotiation disabled for CD-Rom
  automatic termination       
  synchronous enabled

Kernel: Linux 2.0.29  (had the same problem with 2.0.0)

tried solutions: 
  disabling Ultra speed
  disabling synchronous mode on HD and/or CD-Rom
  changing the setting of SCB paging, number of
  SCB's (2,4,8,16) (=> If queue full occurs linux hangs with 
  fast scrolling error messages)

If you need anything else for a diagnosis, please ask.


Has anybody suggestions how I can get rid of this?

Since Windows NT3.51(adaptec driver), NT4.0 (windows driver) and DOS
(adaptec driver)
don't have the same problem, no matter how much I/O load I produce it
seems
unlikely too me that it is a hardware Problem, so I will follow any
Hardware related suggestion too of course.


Thank you very much for any idea,

Karl-Heinz

------------------------------------------------

/var/log/messages (enabled synchronous mode):

Apr 15 20:25:21 khh kernel: scsi0: Queue full.
Apr 15 20:25:21 khh kernel: scsi : aborting command due to timeout : pid
81204, scsi0, channel 0, id 0, lun 0 Read (6) 04 36 d3 01 00 
Apr 15 20:25:21 khh kernel: aic7xxx: (abort) Aborting scb 0, TCL 0/0/0
Apr 15 20:25:21 khh kernel: scsi : aborting command due to timeout : pid
81205, scsi0, channel 0, id 0, lun 0 Read (10) 00 00 21 26 4e 00 00 08
00 
Apr 15 20:25:21 khh kernel: aic7xxx: (abort) Aborting scb 1, TCL 0/0/0
Apr 15 20:25:21 khh kernel: scsi : aborting command due to timeout : pid
81204, scsi0, channel 0, id 0, lun 0 Read (6) 04 36 d3 01 00 
Apr 15 20:25:21 khh kernel: aic7xxx: (abort) Aborting scb 0, TCL 0/0/0
Apr 15 20:25:21 khh kernel: SCSI host 0 abort (pid 81204) timed out -
resetting
Apr 15 20:25:21 khh kernel: SCSI bus is being reset for host 0 channel
0.
Apr 15 20:25:21 khh kernel: aic7xxx: (reset) target/channel 0/0
Apr 15 20:25:21 khh kernel: aic7xxx: (abort_reset) scb state 0x1,
Data-In phase, SCSISIGI = 0x44
Apr 15 20:25:21 khh kernel: aic7xxx: (abort_scb) asserted ATN - bus
device reset in message buffer.
Apr 15 20:25:21 khh kernel: scsi : aborting command due to timeout : pid
81205, scsi0, channel 0, id 0, lun 0 Read (10) 00 00 21 26 4e 00 00 08
00 
Apr 15 20:25:21 khh kernel: aic7xxx: (abort) Aborting scb 1, TCL 0/0/0
Apr 15 20:25:21 khh kernel: SCSI host 0 abort (pid 81205) timed out -
resetting
Apr 15 20:25:21 khh kernel: SCSI bus is being reset for host 0 channel
0.
Apr 15 20:25:21 khh kernel: aic7xxx: (reset) target/channel 0/0
Apr 15 20:25:21 khh kernel: aic7xxx: (abort_reset) scb state 0x1,
Data-In phase, SCSISIGI = 0x54
Apr 15 20:25:21 khh kernel: aic7xxx: (abort_scb) asserted ATN - bus
device reset in message buffer.
Apr 15 20:25:21 khh kernel: SCSI host 0 channel 0 reset (pid 81204)
timed out - trying harder
Apr 15 20:25:21 khh kernel: SCSI bus is being reset for host 0 channel
0.
Apr 15 20:25:21 khh kernel: aic7xxx: (reset) target/channel 0/0
Apr 15 20:25:21 khh kernel: aic7xxx: (reset_device) target/channel -1/A,
active_scb 0
Apr 15 20:25:21 khh kernel: aic7xxx: (match_scb) comparing
target/channel -1/A to scb 0/A
Apr 15 20:25:21 khh kernel: aic7xxx: (reset_device) aborting SCB 1,
TCL=0/0/0
Apr 15 20:25:21 khh kernel: aic7xxx: (match_scb) comparing
target/channel -1/A to scb 0/A
Apr 15 20:25:21 khh kernel: aic7xxx: (reset_device) aborting SCB 0,
TCL=0/0/0
Apr 15 20:25:21 khh kernel: aic7xxx: (match_scb) comparing
target/channel -1/A to scb 0/A
Apr 15 20:25:21 khh kernel: aic7xxx: (reset_device) aborting SCB 0,
TCL=0/0/0
Apr 15 20:25:21 khh kernel: aic7xxx: (match_scb) comparing
target/channel -1/A to scb 0/A
Apr 15 20:25:21 khh kernel: aic7xxx: (match_scb) comparing
target/channel -1/A to scb 0/A
Apr 15 20:25:21 khh kernel: aic7xxx: (reset_channel) Resetting current
channel A
Apr 15 20:25:21 khh kernel: aic7xxx: (reset_channel) Channel reset,
sequencer restarted
Apr 15 20:25:21 khh kernel: aic7xxx: (done_aborted_scbs) Aborting scb 0,
TCL=0/0/0
Apr 15 20:25:21 khh kernel: aic7xxx: (done_aborted_scbs) Aborting scb 1,
TCL=0/0/0
Apr 15 20:25:21 khh kernel: scsi0: Received MSG_WDTR, Target 0, channel
A needwdtr(0xffff).
Apr 15 20:25:21 khh kernel: scsi0: Target 0, channel A, using 16 bit
transfers.
Apr 15 20:25:21 khh kernel: scsi0: Target 0, channel A, now synchronous
at 10.0MHz, offset 8.
Apr 15 20:28:10 khh kernel: scsi0: Received MSG_WDTR, Target 4, channel
A needwdtr(0xfffe).
Apr 15 20:28:10 khh kernel: scsi0: Target 4, channel A, now synchronous
at 5.0MHz, offset 15.



/var/log/boot.msg: (disabled synchronous mode:  I hadn't a matching log
at hand)

<6>aic7xxx: BurstLen = 8 DWDs, Latency Timer = 32 PCLKS
<6>aic7xxx: AHA-2940 Ultra Rev B.
<6>aic7xxx: devconfig = 0x1580.
<6>aic7xxx: Reading SEEPROM...done.
<6>aic7xxx: Enabling support for Ultra SCSI speed.
<6>aic7xxx: Extended translation enabled.
<6>aic7xxx: Memory check yields 16 SCBs, paging not enabled.
<4>aic7xxx: Enabling wide channel of AHA-2940 Ultra-Wide.
<4>AHA-2940 Ultra-WIDE (PCI-bus), I/O 0x6000, Mem 0xe0800000:
<4>    irq 11
<4>    bus release time 40 bclks
<4>    data fifo threshold 100
<4>    SCSI CHANNEL A:
<4>        scsi id 7
<4>        scsi selection timeout 256 ms
<4>        scsi bus reset at power-on enabled
<4>        scsi bus parity enabled
<4>        scsi bus termination (low byte) disabled
<4>        scsi bus termination (high byte) enabled
<6>aic7xxx: Downloading sequencer code...done.
<4>aic7xxx: Resetting the SCSI bus...done.
<4>scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI)
4.0/3.2/4.0
<4>scsi : 1 host.
<6>scsi0: Scanning channel A for devices.
<6>scsi0: Received MSG_WDTR, Target 0, channel A needwdtr(0xffef).
<6>scsi0: Target 0, channel A, using 16 bit transfers.
<4>  Vendor: Quantum   Model: VP32170           Rev: L912
<4>  Type:   Direct-Access                      ANSI SCSI revision: 02
<4>Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
<4>  Vendor: PLEXTOR   Model: CD-ROM PX-6XCS    Rev: 1.03
<4>  Type:   CD-ROM                             ANSI SCSI revision: 02
<4>Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
<4>scsi : detected 1 SCSI cdrom 1 SCSI disk total.
<4>SCSI device sda: hdwr sector= 512 bytes. Sectors= 4238640 [2069 MB]
[2.1 GB]

home help back first fref pref prev next nref lref last post