AIC7XXX problem on 2.4.0test5/6

From: Anders Fugmann (anders.fugmann@framfab.dk)
Date: Tue Aug 08 2000 - 04:40:30 EST


Hi.

I have an ASUS P2B-DS with two Quantum ATLAS 10K 9WLS scsi harddisks
attached (no other scsi devices attached.)
Kernel 2.2.14-smp (from redhat 6.2) works fine, but with kernel
2.4.0-test5/6 the driver cannot detect the harddisks correctly.

It enters a reset loop, and if it finds any scsi devices, their names
are usually wrong, and type id seems random (printer, scanner, etc.).

Using the bootparameter: aic7xxx=no_reset, helps, as the harddisk
usually (not always) are detected correctly, though timeouts still
occur. Below is a snip from the kernel log, using the no_reset
parameter.

Aug 7 15:58:37 lagoon kernel: (scsi0) <Adaptec AIC-7890/1 Ultra2 SCSI
host adapter> found at PCI 0/6/0
Aug 7 15:58:37 lagoon kernel: (scsi0) Wide Channel, SCSI ID=7, 32/255
SCBs
Aug 7 15:58:37 lagoon kernel: (scsi0) Downloading sequencer code... 392
instructions downloaded
Aug 7 15:58:37 lagoon kernel: (scsi0) Not resetting SCSI bus. Note:
Don't use the no_reset
Aug 7 15:58:37 lagoon kernel: (scsi0) option unless you have a
verifiable need for it.
Aug 7 15:58:37 lagoon kernel: scsi0 : Adaptec AHA274x/284x/294x
(EISA/VLB/PCI-Fast SCSI) 5.2.1/5.2.0
Aug 7 15:58:37 lagoon kernel: <Adaptec AIC-7890/1 Ultra2 SCSI
host adapter>
Aug 7 15:58:37 lagoon kernel: scsi : 1 host.
Aug 7 15:58:37 lagoon kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 0, lun 0 Inquiry 00 00 00 ff 00
Aug 7 15:58:37 lagoon kernel: SCSI host 0 abort (pid 0) timed out -
resetting
Aug 7 15:58:37 lagoon kernel: SCSI bus is being reset for host 0
channel 0.
Aug 7 15:58:37 lagoon kernel: Vendor: QUANTUM Model: ATLAS 10K
9WLS Rev: UCP0
Aug 7 15:58:37 lagoon kernel: Type:
Direct-Access ANSI SCSI revision: 03
Aug 7 15:58:37 lagoon kernel: Detected scsi disk sda at scsi0, channel
0, id 0, lun 0
Aug 7 15:58:37 lagoon kernel: (scsi0:0:1:0) Synchronous at 80.0
Mbyte/sec, offset 31.
Aug 7 15:58:37 lagoon kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 1, lun 0 Inquiry 00 00 00 ff 00
Aug 7 15:58:37 lagoon kernel: SCSI host 0 abort (pid 0) timed out -
resetting
Aug 7 15:58:37 lagoon kernel: SCSI bus is being reset for host 0
channel 0.
Aug 7 15:58:37 lagoon kernel: SCSI host 0 channel 0 reset (pid 0) timed
out - trying harder
Aug 7 15:58:37 lagoon kernel: SCSI bus is being reset for host 0
channel 0.
Aug 7 15:58:37 lagoon kernel: SCSI host 0 channel 0 reset (pid 0) timed
out - trying harder
Aug 7 15:58:37 lagoon kernel: SCSI bus is being reset for host 0
channel 0.
Aug 7 15:58:37 lagoon kernel: (scsi0:0:1:0) Synchronous at 80.0
Mbyte/sec, offset 31.
Aug 7 15:58:37 lagoon kernel: Vendor: QUANTUM Model: ATLAS 10K
9WLS Rev: UCP0
Aug 7 15:58:37 lagoon kernel: Type:
Direct-Access ANSI SCSI revision: 03
Aug 7 15:58:37 lagoon kernel: Detected scsi disk sdb at scsi0, channel
0, id 1, lun 0
Aug 7 15:58:37 lagoon kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 2, lun 0 Inquiry 00 00 00 ff 00
Aug 7 15:58:37 lagoon kernel: SCSI host 0 abort (pid 0) timed out -
resetting
Aug 7 15:58:37 lagoon kernel: SCSI bus is being reset for host 0
channel 0.
Aug 7 15:58:37 lagoon kernel: scsi : detected 2 SCSI disks total.
Aug 7 15:58:37 lagoon kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 0, lun 0
 Test Unit Ready 00 00 00 00 00
Aug 7 15:58:37 lagoon kernel: SCSI host 0 abort (pid 0) timed out -
resetting
Aug 7 15:58:37 lagoon kernel: SCSI bus is being reset for host 0
channel 0.
Aug 7 15:58:37 lagoon kernel: SCSI host 0 channel 0 reset (pid 0) timed
out - trying harder
Aug 7 15:58:37 lagoon kernel: SCSI bus is being reset for host 0
channel 0.
Aug 7 15:58:37 lagoon kernel: (scsi0:0:0:0) Synchronous at 80.0
Mbyte/sec, offset 31.
Aug 7 15:58:37 lagoon kernel: SCSI device sda: hdwr sector= 512 bytes.
Sectors= 17938986 [8759 MB] [8.8 GB].

I've tried a number of combinations of other AIC7XXX boot parameters,
but nothing seems to do any difference.
I've also tried to remove the AIC7XXX_STRICT_PCI_SETUP definition, but
this did not help either.

Any suggenstions?

Btw.
the ASUS P2B-DS uses an daptec AIC-7890/1 controller. below the
/proc/pci

Bus 0, device 6, function 0:
  SCSI storage controller: Adaptec AIC-7890/1 (rev 0).
     Medium devsel. Fast back-to-back capable. BIST capable. IRQ 5.
Master Capable. Latency=32. Min Gnt=39.Max Lat=25.
     I/O at 0xd000 [0xd001].
     Non-prefetchable 64 bit memory at 0xe0000000 [0xe0000004].

And the scsi part of .config (the "# CONFIG_SCSI_XXX is not set" entries
is removed.)
#
# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
CONFIG_SCSI_CONSTANTS=y
#
# SCSI low-level drivers
#
CONFIG_SCSI_AIC7XXX=y
CONFIG_AIC7XXX_TCQ_ON_BY_DEFAULT=y
CONFIG_AIC7XXX_CMDS_PER_DEVICE=8
CONFIG_AIC7XXX_RESET_DELAY=5

Thanks in advance.
Anders Fugmann

-- 
. . . . . . . . . . . . F r a m f a b   A / S . . . . . . . . . . . . .
Anders Fugmann                                 Livjægergade 17A, 2.sal.
Systems Developer                              DK-2100 København Ø.
E-mail: anders.fugmann@framfab.dk              Telefon: +45 39 17 48 48
Direkte: +45 39 17 48 38                       http://www.framfab.dk
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:14 EST