2.4.0-test9-pre6 -- SCSI initialization is full of timeouts when SCSI support is built as a module.

From: Miles Lane (miles@speakeasy.org)
Date: Sat Sep 23 2000 - 12:42:37 EST


General system info:

Sep 23 09:43:54 aerie kernel: Linux version 2.4.0-test9 (root@aerie)
(gcc version 2.95.2 19991024 (release)) #7 Sat Sep 23 09:36:39 PDT 2000
Sep 23 09:43:54 aerie kernel: Initializing CPU#0
Sep 23 09:43:54 aerie kernel: Memory: 255740k/262016k available (1003k
kernel code, 5888k reserved, 94k data, 196k init, 0k highmem)
Sep 23 09:43:54 aerie kernel: CPU: L1 I Cache: 64K L1 D Cache: 64K (64
bytes/line)
Sep 23 09:43:54 aerie kernel: CPU: L2 Cache: 512K
Sep 23 09:43:54 aerie kernel: CPU: AMD Athlon(tm) Processor stepping 01
Sep 23 09:43:54 aerie kernel: mtrr: v1.36 (20000221) Richard Gooch
(rgooch@atnf.csiro.au)
Sep 23 09:43:54 aerie kernel: PCI: PCI BIOS revision 2.10 entry at
0xfdad1, last bus=1
Sep 23 09:43:54 aerie kernel: PCI: Using configuration type 1
Sep 23 09:43:54 aerie kernel: PCI: Probing PCI hardware

Here are the timeouts:

Sep 23 10:04:19 aerie kernel: (scsi0) <Adaptec AIC-7860 Ultra SCSI host
adapter> found at PCI 0/15/0
Sep 23 10:04:19 aerie kernel: (scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs
Sep 23 10:04:19 aerie kernel: (scsi0) Cables present (Int-50 NO, Ext-50
YES)
Sep 23 10:04:19 aerie kernel: (scsi0) Downloading sequencer code... 422
instructions downloaded
Sep 23 10:04:19 aerie kernel: scsi0 : Adaptec AHA274x/284x/294x
(EISA/VLB/PCI-Fast SCSI) 5.2.1/5.2.0
Sep 23 10:04:19 aerie kernel: <Adaptec AIC-7860 Ultra SCSI host
adapter>
Sep 23 10:04:25 aerie kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 0, lun 0 Inquiry 00 00 00 ff 00
Sep 23 10:04:25 aerie kernel: SCSI host 0 abort (pid 0) timed out -
resetting
Sep 23 10:04:26 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:04:29 aerie kernel: (scsi0:0:0:0) Synchronous at 20.0
Mbyte/sec, offset 15.
Sep 23 10:04:29 aerie kernel: Vendor: CWS ORB2 Model: -SE U ID 0
  Rev: D42
Sep 23 10:04:29 aerie kernel: Type: Direct-Access
  ANSI SCSI revision: 02
Sep 23 10:04:29 aerie kernel: Detected scsi removable disk sda at scsi0,
channel 0, id 0, lun 0
Sep 23 10:04:35 aerie kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 1, lun 0 Inquiry 00 00 00 ff 00
Sep 23 10:04:36 aerie kernel: SCSI host 0 abort (pid 0) timed out -
resetting
Sep 23 10:04:36 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:04:37 aerie kernel: SCSI host 0 channel 0 reset (pid 0) timed
out - trying harder
Sep 23 10:04:37 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:04:46 aerie kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 2, lun 0 Inquiry 00 00 00 ff 00
Sep 23 10:04:47 aerie kernel: SCSI host 0 abort (pid 0) timed out -
resetting
Sep 23 10:04:47 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:04:48 aerie kernel: SCSI host 0 channel 0 reset (pid 0) timed
out - trying harder
Sep 23 10:04:49 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:04:57 aerie kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 3, lun 0 Inquiry 00 00 00 ff 00
Sep 23 10:04:58 aerie kernel: SCSI host 0 abort (pid 0) timed out -
resetting
Sep 23 10:04:58 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:04:59 aerie kernel: SCSI host 0 channel 0 reset (pid 0) timed
out - trying harder
Sep 23 10:04:59 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:05:08 aerie kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 4, lun 0 Inquiry 00 00 00 ff 00
Sep 23 10:05:09 aerie kernel: SCSI host 0 abort (pid 0) timed out -
resetting
Sep 23 10:05:09 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:05:10 aerie kernel: SCSI host 0 channel 0 reset (pid 0) timed
out - trying harder
Sep 23 10:05:10 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:05:20 aerie kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 5, lun 0 Inquiry 00 00 00 ff 00
Sep 23 10:05:20 aerie kernel: SCSI host 0 abort (pid 0) timed out -
resetting
Sep 23 10:05:20 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:05:22 aerie kernel: SCSI host 0 channel 0 reset (pid 0) timed
out - trying harder
Sep 23 10:05:22 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:05:31 aerie kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 6, lun 0 Inquiry 00 00 00 ff 00
Sep 23 10:05:31 aerie kernel: SCSI host 0 abort (pid 0) timed out -
resetting
Sep 23 10:05:31 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:05:33 aerie kernel: SCSI host 0 channel 0 reset (pid 0) timed
out - trying harder
Sep 23 10:05:33 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:05:36 aerie kernel: Creative EMU10K1 PCI Audio Driver, version
0.7, 09:40:27 Sep 23 2000
Sep 23 10:05:36 aerie kernel: emu10k1: EMU10K1 rev 7 model 0x8031 found,
IO at 0xff80-0xff9f, IRQ 9
Sep 23 10:05:37 aerie kernel: CSLIP: code copyright 1989 Regents of the
University of California
Sep 23 10:05:37 aerie kernel: PPP generic driver version 2.4.1
Sep 23 10:06:06 aerie kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 0, lun 0 Test Unit Ready 00 00 00 00 00
Sep 23 10:06:06 aerie kernel: SCSI host 0 abort (pid 0) timed out -
resetting
Sep 23 10:06:06 aerie kernel: SCSI bus is being reset for host 0 channel 0.
Sep 23 10:06:10 aerie kernel: (scsi0:0:0:0) Synchronous at 20.0
Mbyte/sec, offset 15.
Sep 23 10:06:17 aerie kernel: PPP BSD Compression module registered
Sep 23 10:06:17 aerie kernel: PPP Deflate Compression module registered
Sep 23 10:06:20 aerie kernel: scsi : aborting command due to timeout :
pid 0, scsi0, channel 0, id 0, lun 0 Prevent/Allow Medium Removal 00 00
00 01 00
Sep 23 10:06:20 aerie kernel: SCSI device sda: 4307184 512-byte hdwr
sectors (2205 MB)
Sep 23 10:06:20 aerie kernel: sda: Write Protect is off
Sep 23 10:06:20 aerie kernel: sda: sda1 sda2 < sda5 sda6 sda7 >

When I build the SCSI stuff into the kernel, I get the following:

(scsi0) <Adaptec AIC-7860 Ultra SCSI host adapter> found at PCI 0/15/0
(scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs
(scsi0) Cables present (Int-50 NO, Ext-50 YES)
(scsi0) Downloading sequencer code... 422 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.1/5.2.0
      <Adaptec AIC-7860 Ultra SCSI host adapter>
(scsi0:0:0:0) Synchronous at 20.0 Mbyte/sec, offset 15.
  Vendor: CWS ORB2 Model: -SE U ID 0 Rev: D42
  Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 4307184 512-byte hdwr sectors (2205 MB)
sda: Write Protect is off
sda: sda1 sda2 < sda5 sda6 sda7 >

Here are the kernel options I am using for the in-kernel build:

CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_AIC7XXX=y
CONFIG_AIC7XXX_CMDS_PER_DEVICE=8
CONFIG_AIC7XXX_RESET_DELAY=5

Here are the options for the module build:

CONFIG_SCSI=m
CONFIG_BLK_DEV_SD=m
CONFIG_SD_EXTRA_DEVS=40
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_AIC7XXX=m
CONFIG_AIC7XXX_CMDS_PER_DEVICE=8
CONFIG_AIC7XXX_RESET_DELAY=5

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



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:28 EST