From owner-aic7xxx Wed Nov 18 01:22:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA07176 for aic7xxx-outgoing; Wed, 18 Nov 1998 01:22:50 -0800 (PST) (envelope-from owner-aic7xxx@FreeBSD.ORG) Received: from audrey.Ivy.NET (audrey.Ivy.NET [204.183.93.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA07168 for ; Wed, 18 Nov 1998 01:22:36 -0800 (PST) (envelope-from carton@Ivy.NET) Received: from localhost (carton@localhost) by audrey.Ivy.NET (8.8.7/8.8.7) with SMTP id JAA15830 for ; Wed, 18 Nov 1998 09:22:40 GMT Date: Wed, 18 Nov 1998 02:22:36 -0700 (MST) From: Miles Nordin To: aic7xxx@FreeBSD.ORG Subject: problem on Linux/Alpha, but not Linux/i386 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-aic7xxx@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have a configuration that causes endless SCSI bus resets on Linux Alpha, but works perfectly on Linux i386. I'm using a PCI 2940W (not UW) card with Linux 2.1.128 (driver 5.1.4) on both platforms. Since one obcious difference between the two platforms is that the Alpha doesn't run the BIOS init code, while the i386 does, I attempted to determine if the problem was a driver dependency on BIOS initialization or an Alpha-specific driver bug, by doing the following: o loading the module with options aic7xxx aic7xxx="override_term:0x03.stpwlev:0x00" on both platforms o using the BIOS config util to disable the BIOS in the SEEPROM on the i386, before both tests o physically removing the socketed BIOS EPROM before both tests. this last one cause the big red Activity LED on the card to stay lit from power-up until the driver loads on both platforms, so I think it's fair. The hang occursconsistently within 30sec of starting the following command, and only occurs on the Alpha: dd if=/dev/sda3 of=/dev/sdb4 bs=1024 without the bs=1024, neither machine hangs. the partition sizes are such that this copies about 4GB of data (on the i386). mke2fs and a mounted filesystem can also cause the hang after a little actiivty (on the Alpha). override_term is appropriate for my cabling, a single internal 68-pin ribbon cable connected from the controller to the two IBM UltraStar series drives. stpwlev was determined to be correct using the experimental procedure described in README.aic7xxx. The i386 is an AMD486 120MHz with some junky SiS chipset, and the Alpha is an Avanti. Some factors which I hope are not influencing the problem: o The Alpha uses a prebuilt MILO, so the first driver to touch the card is actually scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.0/3.2/4.0 o The Alpha has another SCSI controller in it, an ncr53c8xx, while the i386 is NFS-rooted and has no other controller. o The i386 has scsi_mod and sd_mod modules, while these are linked into the kernel on the Alpha. below is the kernel output on the Alpha, and the contents of /proc/scsi/aic7xxx/1 before and after the card hangs. If someone on the list has the time, skill, and interest to work on this, I can certainly run more tests, and would probably be willing to loan the card, cable, and one of the drives. I'm a poor college student and would be pressed financially to buy a better controller -- the Adaptec was a hand-me-down -- so I'm stuck until this gets fixed anyway. This kernel output was generated with the module load options: options aic7xxx aic7xxx="override_term:0x03.stpwlev:0x00.verbose=0xffff" --------8<---------- Nov 16 19:56:32 frannie kernel: (scsi1) found at PCI 12/0 Nov 16 19:56:32 frannie kernel: (scsi1) Wide Channel, SCSI ID=7, 16/255 SCBs Nov 16 19:56:32 frannie kernel: (scsi1) Downloading sequencer code... 412 instructions downloaded Nov 16 19:56:32 frannie kernel: scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.4/3.2.4 Nov 16 19:56:32 frannie kernel: Nov 16 19:56:32 frannie kernel: scsi : 2 hosts. Nov 16 19:56:35 frannie kernel: Vendor: IBM OEM Model: DCHS09W Rev: 2222 Nov 16 19:56:35 frannie kernel: Type: Direct-Access ANSI SCSI revision: 02 Nov 16 19:56:35 frannie kernel: Detected scsi disk sdb at scsi1, channel 0, id 5, lun 0 Nov 16 19:56:35 frannie kernel: Vendor: IBM OEM Model: DCHS09W Rev: 2222 Nov 16 19:56:35 frannie kernel: Type: Direct-Access ANSI SCSI revision: 02 Nov 16 19:56:35 frannie kernel: Detected scsi disk sdc at scsi1, channel 0, id 6, lun 0 Nov 16 19:56:39 frannie kernel: (scsi1:0:5:0) Synchronous at 20.0 Mbyte/sec, offset 8. Nov 16 19:56:40 frannie kernel: SCSI device sdb: hdwr sector= 512 bytes. Sectors= 17796077 [8689 MB] [8.7 GB] Nov 16 19:56:40 frannie kernel: sdb: Nov 16 19:56:40 frannie kernel: Dev 08:10 Sun disklabel: bad magic 0000 Nov 16 19:56:40 frannie kernel: sdb1 sdb2 sdb3 sdb4 Nov 16 19:56:40 frannie kernel: (scsi1:0:6:0) Synchronous at 20.0 Mbyte/sec, offset 8. Nov 16 19:56:40 frannie kernel: SCSI device sdc: hdwr sector= 512 bytes. Sectors= 17796077 [8689 MB] [8.7 GB] Nov 16 19:56:40 frannie kernel: sdc: Nov 16 19:56:40 frannie kernel: Dev 08:20 Sun disklabel: bad magic 0000 Nov 16 19:56:40 frannie kernel: sdc1 sdc2 sdc3 sdc4 Nov 16 19:58:15 frannie kernel: scsi : aborting command due to timeout : pid 23520, scsi1, channel 0, id 6, lun 0 Write (10) 00 00 90 45 bc 00 00 ee 00 Nov 16 19:58:15 frannie kernel: (scsi1:0:6:0) Aborting scb 2, flags 0x4 Nov 16 19:58:15 frannie kernel: (scsi1:0:6:0) SCB disconnected. Queueing Abort SCB. Nov 16 19:58:15 frannie kernel: (scsi1:0:6:0) Abort message mailed. Nov 16 19:58:15 frannie kernel: scsi : aborting command due to timeout : pid 23527, scsi1, channel 0, id 5, lun 0 Read (6) 00 4f 42 78 00 Nov 16 19:58:15 frannie kernel: (scsi1:0:6:0) SCB 2 abort delivered. Nov 16 19:58:15 frannie kernel: (scsi1:0:6:-1) Reset device, active_scb 1 Nov 16 19:58:15 frannie kernel: (scsi1:0:6:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:15 frannie kernel: (scsi1:0:6:-1) Cleaning QINFIFO. Nov 16 19:58:15 frannie kernel: (scsi1:0:6:-1) Cleaning waiting_scbs. Nov 16 19:58:15 frannie kernel: (scsi1:0:6:-1) Cleaning waiting for selection list. Nov 16 19:58:15 frannie kernel: (scsi1:0:6:-1) Cleaning disconnected scbs list. Nov 16 19:58:15 frannie kernel: (scsi1:0:6:0:tag2) matches search criteria (scsi1:0:6:-1:tag255) Nov 16 19:58:15 frannie kernel: (scsi1:0:6:0:tag2) matches search criteria (scsi1:0:6:-1:tag255) Nov 16 19:58:15 frannie kernel: (scsi1:0:5:0:tag6) doesn't match search criteria (scsi1:0:6:-1:tag255) Nov 16 19:58:15 frannie kernel: (scsi1:0:6:0) Aborting scb 2 Nov 16 19:58:15 frannie kernel: (scsi1:-1:-1:-1) 1 commands found and queued for completion. Nov 16 19:58:15 frannie kernel: (scsi1:0:5:0) Aborting scb 6, flags 0x4 Nov 16 19:58:15 frannie kernel: (scsi1:0:5:0) SCB disconnected. Queueing Abort SCB. Nov 16 19:58:15 frannie kernel: (scsi1:0:5:0) Abort message mailed. Nov 16 19:58:15 frannie kernel: (scsi1:0:5:0) SCB 6 abort delivered. Nov 16 19:58:15 frannie kernel: (scsi1:0:5:-1) Reset device, active_scb 1 Nov 16 19:58:15 frannie kernel: (scsi1:0:5:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:15 frannie kernel: (scsi1:0:5:-1) Cleaning QINFIFO. Nov 16 19:58:15 frannie kernel: (scsi1:0:5:-1) Cleaning waiting_scbs. Nov 16 19:58:15 frannie kernel: (scsi1:0:5:-1) Cleaning waiting for selection list. Nov 16 19:58:15 frannie kernel: (scsi1:0:5:-1) Cleaning disconnected scbs list. Nov 16 19:58:15 frannie kernel: (scsi1:0:5:0:tag6) matches search criteria (scsi1:0:5:-1:tag255) Nov 16 19:58:15 frannie kernel: (scsi1:0:6:0:tag2) doesn't match search criteria (scsi1:0:5:-1:tag255) Nov 16 19:58:15 frannie kernel: (scsi1:0:5:0:tag6) matches search criteria (scsi1:0:5:-1:tag255) Nov 16 19:58:15 frannie kernel: (scsi1:0:5:0) Aborting scb 6 Nov 16 19:58:15 frannie kernel: (scsi1:-1:-1:-1) 1 commands found and queued for completion. Nov 16 19:58:34 frannie kernel: SCSI host 1 abort (pid 23520) timed out - resetting Nov 16 19:58:34 frannie kernel: SCSI bus is being reset for host 1 channel 0. Nov 16 19:58:34 frannie kernel: (scsi1:0:6:0) Reset called, scb 2, flags 0x6 Nov 16 19:58:34 frannie kernel: (scsi1:0:6:0) Bus Device reset, scb flags 0x6, while idle, LASTPHASE = 0x1 Nov 16 19:58:34 frannie kernel: (scsi1:0:6:0) SCSISIGI 0x0, SEQADDR 0x8, SSTAT0 0x5, SSTAT1 0x2 Nov 16 19:58:34 frannie kernel: (scsi1:0:6:0) Queueing device reset command. Nov 16 19:58:34 frannie kernel: (scsi1:-1:-1:-1) 0 commands found and queued for completion. Nov 16 19:58:34 frannie kernel: (scsi1:0:6:0) Bus device reset mailed. Nov 16 19:58:34 frannie kernel: (scsi1:0:6:-1) Reset device, active_scb 1 Nov 16 19:58:34 frannie kernel: (scsi1:0:6:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:34 frannie kernel: (scsi1:0:6:0:tag2) matches search criteria (scsi1:0:6:-1:tag255) Nov 16 19:58:34 frannie kernel: (scsi1:0:6:-1) Cleaning QINFIFO. Nov 16 19:58:34 frannie kernel: (scsi1:0:6:-1) Cleaning waiting_scbs. Nov 16 19:58:34 frannie kernel: (scsi1:0:6:-1) Cleaning waiting for selection list. Nov 16 19:58:34 frannie kernel: (scsi1:0:6:-1) Cleaning disconnected scbs list. Nov 16 19:58:34 frannie kernel: (scsi1:0:6:0:tag2) matches search criteria (scsi1:0:6:-1:tag255) Nov 16 19:58:34 frannie kernel: (scsi1:0:5:0:tag6) doesn't match search criteria (scsi1:0:6:-1:tag255) Nov 16 19:58:34 frannie kernel: (scsi1:0:6:-1) Bus Device Reset delivered. Nov 16 19:58:34 frannie kernel: (scsi1:0:6:0) Aborting scb 2 Nov 16 19:58:34 frannie kernel: (scsi1:-1:-1:-1) 1 commands found and queued for completion. Nov 16 19:58:34 frannie kernel: SCSI host 1 abort (pid 23527) timed out - resetting Nov 16 19:58:34 frannie kernel: SCSI bus is being reset for host 1 channel 0. Nov 16 19:58:34 frannie kernel: (scsi1:0:5:0) Reset called, scb 6, flags 0x6 Nov 16 19:58:34 frannie kernel: (scsi1:0:5:0) Bus Device reset, scb flags 0x6, while idle, LASTPHASE = 0x1 Nov 16 19:58:34 frannie kernel: (scsi1:0:5:0) SCSISIGI 0x0, SEQADDR 0x8, SSTAT0 0x5, SSTAT1 0x2 Nov 16 19:58:34 frannie kernel: (scsi1:0:5:0) Queueing device reset command. Nov 16 19:58:34 frannie kernel: (scsi1:-1:-1:-1) 0 commands found and queued for completion. Nov 16 19:58:34 frannie kernel: (scsi1:0:5:0) Bus device reset mailed. Nov 16 19:58:34 frannie kernel: (scsi1:0:5:-1) Reset device, active_scb 1 Nov 16 19:58:34 frannie kernel: (scsi1:0:5:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:34 frannie kernel: (scsi1:0:5:0:tag6) matches search criteria (scsi1:0:5:-1:tag255) Nov 16 19:58:34 frannie kernel: (scsi1:0:5:-1) Cleaning QINFIFO. Nov 16 19:58:34 frannie kernel: (scsi1:0:5:-1) Cleaning waiting_scbs. Nov 16 19:58:34 frannie kernel: (scsi1:0:5:-1) Cleaning waiting for selection list. Nov 16 19:58:34 frannie kernel: (scsi1:0:5:-1) Cleaning disconnected scbs list. Nov 16 19:58:34 frannie kernel: (scsi1:0:5:0:tag6) matches search criteria (scsi1:0:5:-1:tag255) Nov 16 19:58:34 frannie kernel: (scsi1:0:6:0:tag2) doesn't match search criteria (scsi1:0:5:-1:tag255) Nov 16 19:58:34 frannie kernel: (scsi1:0:6:0:tag4) doesn't match search criteria (scsi1:0:5:-1:tag255) Nov 16 19:58:34 frannie kernel: (scsi1:0:5:-1) Bus Device Reset delivered. Nov 16 19:58:34 frannie kernel: (scsi1:0:5:0) Aborting scb 6 Nov 16 19:58:34 frannie kernel: (scsi1:-1:-1:-1) 1 commands found and queued for completion. Nov 16 19:58:54 frannie kernel: SCSI host 1 channel 0 reset (pid 23520) timed out - trying harder Nov 16 19:58:54 frannie kernel: SCSI bus is being reset for host 1 channel 0. Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0) Reset called, scb 2, flags 0x6 Nov 16 19:58:54 frannie kernel: (scsi1:0:-1:-1) Reset channel called, will initiate reset. Nov 16 19:58:54 frannie kernel: (scsi1:0:-1:-1) Resetting currently active channel. Nov 16 19:58:54 frannie kernel: (scsi1:0:-1:-1) Channel reset Nov 16 19:58:54 frannie kernel: (scsi1:0:-1:-1) Reset device, active_scb 1 Nov 16 19:58:54 frannie kernel: (scsi1:0:0:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:1:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:2:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:3:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:4:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:5:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:5:0:tag5) matches search criteria (scsi1:0:-1:-1:tag255) Nov 16 19:58:54 frannie kernel: (scsi1:0:5:0:tag6) matches search criteria (scsi1:0:-1:-1:tag255) Nov 16 19:58:54 frannie kernel: (scsi1:0:6:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0:tag4) matches search criteria (scsi1:0:-1:-1:tag255) Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0:tag2) matches search criteria (scsi1:0:-1:-1:tag255) Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0:tag1) matches search criteria (scsi1:0:-1:-1:tag255) Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0:tag3) matches search criteria (scsi1:0:-1:-1:tag255) Nov 16 19:58:54 frannie kernel: (scsi1:0:7:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:8:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:9:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:10:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:11:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:12:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:13:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:14:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:15:-1) Cleaning up status information and delayed_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:-1:-1) Cleaning QINFIFO. Nov 16 19:58:54 frannie kernel: (scsi1:0:-1:-1) Cleaning waiting_scbs. Nov 16 19:58:54 frannie kernel: (scsi1:0:-1:-1) Cleaning waiting for selection list. Nov 16 19:58:54 frannie kernel: (scsi1:0:-1:-1) Cleaning disconnected scbs list. Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0) Aborting scb 1 Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0) Aborting scb 2 Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0) Aborting scb 3 Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0) Aborting scb 4 Nov 16 19:58:54 frannie kernel: (scsi1:0:5:0) Aborting scb 5 Nov 16 19:58:54 frannie kernel: (scsi1:0:5:0) Aborting scb 6 Nov 16 19:58:54 frannie kernel: (scsi1:-1:-1:-1) 6 commands found and queued for completion. Nov 16 19:58:54 frannie kernel: SCSI host 1 abort (pid 23520) timed out - resetting Nov 16 19:58:54 frannie kernel: SCSI bus is being reset for host 1 channel 0. Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0) Reset called with recycled SCB for cmd. Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0) Reset, cmd not found, failing. Nov 16 19:58:54 frannie kernel: scsi : aborting command due to timeout : pid 23699, scsi1, channel 0, id 6, lun 0 Write (10) 00 00 90 46 aa 00 00 fe 00 Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0) Abort called for already completed command. Nov 16 19:58:54 frannie kernel: scsi : aborting command due to timeout : pid 23700, scsi1, channel 0, id 6, lun 0 Write (10) 00 00 90 47 a8 00 00 fe 00 Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0) Abort called for already completed command. Nov 16 19:58:54 frannie kernel: (scsi1:0:5:0) Synchronous at 20.0 Mbyte/sec, offset 8. Nov 16 19:58:54 frannie kernel: SCSI host 1 channel 0 reset (pid 23520) timed out - trying harder Nov 16 19:58:54 frannie kernel: SCSI bus is being reset for host 1 channel 0. Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0) Reset called with recycled SCB for cmd. Nov 16 19:58:54 frannie kernel: (scsi1:0:6:0) Reset, cmd not found, failing. Nov 16 19:58:55 frannie kernel: SCSI host 1 reset (pid 23520) timed out again - Nov 16 19:58:55 frannie kernel: probably an unrecoverable SCSI bus or device hang. Nov 16 19:59:16 frannie kernel: SCSI host 1 channel 0 reset (pid 23527) timed out - trying harder Nov 16 19:59:16 frannie kernel: SCSI bus is being reset for host 1 channel 0. Nov 16 19:59:16 frannie kernel: (scsi1:0:5:0) Reset called, scb 6, flags 0x6 Nov 16 19:59:16 frannie kernel: (scsi1:0:-1:-1) Reset channel called, will initiate reset. Nov 16 19:59:16 frannie kernel: (scsi1:0:-1:-1) Resetting currently active channel. Nov 16 19:59:16 frannie kernel: (scsi1:0:-1:-1) Channel reset Nov 16 19:59:16 frannie kernel: (scsi1:0:-1:-1) Reset device, active_scb 1 Nov 16 19:59:16 frannie kernel: (scsi1:0:0:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:1:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:2:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:3:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:4:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:5:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:5:0:tag6) matches search criteria (scsi1:0:-1:-1:tag255) Nov 16 19:59:16 frannie kernel: (scsi1:0:6:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:7:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:8:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:9:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:10:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:11:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:12:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:13:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:14:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:15:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:-1:-1) Cleaning QINFIFO. Nov 16 19:59:16 frannie kernel: (scsi1:0:-1:-1) Cleaning waiting_scbs. Nov 16 19:59:16 frannie kernel: (scsi1:0:-1:-1) Cleaning waiting for selection list. Nov 16 19:59:16 frannie kernel: (scsi1:0:-1:-1) Cleaning disconnected scbs list. Nov 16 19:59:16 frannie kernel: (scsi1:0:5:0:tag5) matches search criteria (scsi1:0:-1:-1:tag255) Nov 16 19:59:16 frannie kernel: (scsi1:0:5:0) Aborting scb 5 Nov 16 19:59:16 frannie kernel: (scsi1:0:5:0) Aborting scb 6 Nov 16 19:59:16 frannie kernel: (scsi1:-1:-1:-1) 2 commands found and queued for completion. Nov 16 19:59:16 frannie kernel: (scsi1:0:5:0) Synchronous at 20.0 Mbyte/sec, offset 8. Nov 16 19:59:33 frannie kernel: SCSI host 1 abort (pid 23527) timed out - resetting Nov 16 19:59:33 frannie kernel: SCSI bus is being reset for host 1 channel 0. Nov 16 19:59:33 frannie kernel: (scsi1:0:5:0) Reset called, scb 6, flags 0x6 Nov 16 19:59:33 frannie kernel: (scsi1:0:5:0) Bus Device reset, scb flags 0x6, while idle, LASTPHASE = 0x1 Nov 16 19:59:33 frannie kernel: (scsi1:0:5:0) SCSISIGI 0x0, SEQADDR 0xa, SSTAT0 0x5, SSTAT1 0xa Nov 16 19:59:33 frannie kernel: (scsi1:0:5:0) Queueing device reset command. Nov 16 19:59:33 frannie kernel: (scsi1:-1:-1:-1) 0 commands found and queued for completion. Nov 16 19:59:33 frannie kernel: (scsi1:0:5:0) Bus device reset mailed. Nov 16 19:59:33 frannie kernel: (scsi1:0:5:-1) Reset device, active_scb 1 Nov 16 19:59:33 frannie kernel: (scsi1:0:5:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:33 frannie kernel: (scsi1:0:5:0:tag6) matches search criteria (scsi1:0:5:-1:tag255) Nov 16 19:59:33 frannie kernel: (scsi1:0:5:-1) Cleaning QINFIFO. Nov 16 19:59:33 frannie kernel: (scsi1:0:5:-1) Cleaning waiting_scbs. Nov 16 19:59:33 frannie kernel: (scsi1:0:5:-1) Cleaning waiting for selection list. Nov 16 19:59:33 frannie kernel: (scsi1:0:5:-1) Cleaning disconnected scbs list. Nov 16 19:59:33 frannie kernel: (scsi1:0:5:0:tag6) matches search criteria (scsi1:0:5:-1:tag255) Nov 16 19:59:33 frannie kernel: (scsi1:0:5:0:tag5) matches search criteria (scsi1:0:5:-1:tag255) Nov 16 19:59:33 frannie kernel: (scsi1:0:5:-1) Bus Device Reset delivered. Nov 16 19:59:33 frannie kernel: (scsi1:0:5:0) Aborting scb 5 Nov 16 19:59:33 frannie kernel: (scsi1:0:5:0) Aborting scb 6 Nov 16 19:59:33 frannie kernel: (scsi1:-1:-1:-1) 2 commands found and queued for completion. Nov 16 19:59:55 frannie kernel: SCSI host 1 channel 0 reset (pid 23527) timed out - trying harder Nov 16 19:59:55 frannie kernel: SCSI bus is being reset for host 1 channel 0. Nov 16 19:59:55 frannie kernel: (scsi1:0:5:0) Reset called, scb 6, flags 0x6 Nov 16 19:59:55 frannie kernel: (scsi1:0:-1:-1) Reset channel called, will initiate reset. Nov 16 19:59:55 frannie kernel: (scsi1:0:-1:-1) Resetting currently active channel. Nov 16 19:59:55 frannie kernel: (scsi1:0:-1:-1) Channel reset Nov 16 19:59:55 frannie kernel: (scsi1:0:-1:-1) Reset device, active_scb 1 Nov 16 19:59:55 frannie kernel: (scsi1:0:0:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:1:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:2:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:3:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:4:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:5:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:5:0:tag5) matches search criteria (scsi1:0:-1:-1:tag255) Nov 16 19:59:55 frannie kernel: (scsi1:0:5:0:tag6) matches search criteria (scsi1:0:-1:-1:tag255) Nov 16 19:59:55 frannie kernel: (scsi1:0:6:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:7:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:8:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:9:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:10:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:11:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:12:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:13:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:14:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:15:-1) Cleaning up status information and delayed_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:-1:-1) Cleaning QINFIFO. Nov 16 19:59:55 frannie kernel: (scsi1:0:-1:-1) Cleaning waiting_scbs. Nov 16 19:59:55 frannie kernel: (scsi1:0:-1:-1) Cleaning waiting for selection list. Nov 16 19:59:55 frannie kernel: (scsi1:0:-1:-1) Cleaning disconnected scbs list. Nov 16 19:59:55 frannie kernel: (scsi1:0:5:0) Aborting scb 5 Nov 16 19:59:55 frannie kernel: (scsi1:0:5:0) Aborting scb 6 Nov 16 19:59:55 frannie kernel: (scsi1:-1:-1:-1) 2 commands found and queued for completion. Nov 16 19:59:55 frannie kernel: (scsi1:0:5:0) Synchronous at 20.0 Mbyte/sec, offset 8. --------8<---------- /proc/scsi/aic7xxx/1 before the card hangs --------8<---------- Adaptec AIC7xxx driver version: 5.1.4/3.2.4 Compile Options: AIC7XXX_RESET_DELAY : 5 AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled Check below to see which devices use tagged queueing AIC7XXX_PAGE_ENABLE : Enabled (This is no longer an option) AIC7XXX_PROC_STATS : Disabled Adapter Configuration: SCSI Adapter: Adaptec AHA-294X SCSI host adapter Wide Controller Programmed I/O Base: 9000 Adapter SEEPROM Config: SEEPROM found and used. Adaptec SCSI BIOS: Disabled IRQ: 14 SCBs: Active 0, Max Active 1, Allocated 7, HW 16, Page 255 Interrupts: 170 BIOS Control Word: 0x0010 Adapter Control Word: 0x005c Extended Translation: Disabled Disconnect Enable Flags: 0xffff 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: {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255} 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: (scsi1:0:5:0) Device using Wide/Sync transfers at 20.0 MByte/sec, offset 8 Device Negotiation Settings Period Offset Bus Width User 025 008 1 Goal 025 008 1 Current 025 008 1 Total transfers 23 (23 read;0 written) blks(512) rd=29; blks(512) wr=0 (scsi1:0:6:0) Device using Wide/Sync transfers at 20.0 MByte/sec, offset 8 Device Negotiation Settings Period Offset Bus Width User 025 008 1 Goal 025 008 1 Current 025 008 1 Total transfers 23 (23 read;0 written) blks(512) rd=29; blks(512) wr=0 --------8<---------- /proc/scsi/aic7xxx/1 after the card hangs --------8<---------- Adaptec AIC7xxx driver version: 5.1.4/3.2.4 Compile Options: AIC7XXX_RESET_DELAY : 5 AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled Check below to see which devices use tagged queueing AIC7XXX_PAGE_ENABLE : Enabled (This is no longer an option) AIC7XXX_PROC_STATS : Disabled Adapter Configuration: SCSI Adapter: Adaptec AHA-294X SCSI host adapter Wide Controller Programmed I/O Base: 9000 Adapter SEEPROM Config: SEEPROM found and used. Adaptec SCSI BIOS: Disabled IRQ: 14 SCBs: Active 1, Max Active 2, Allocated 7, HW 16, Page 255 Interrupts: 615 BIOS Control Word: 0x0010 Adapter Control Word: 0x005c Extended Translation: Disabled Disconnect Enable Flags: 0xffff 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: {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255} 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: (scsi1:0:5:0) Device using Wide/Sync transfers at 20.0 MByte/sec, offset 8 Device Negotiation Settings Period Offset Bus Width User 025 008 1 Goal 025 008 1 Current 025 008 1 Total transfers 308 (308 read;0 written) blks(512) rd=20191; blks(512) wr=0 (scsi1:0:6:0) Device using Wide/Sync transfers at 20.0 MByte/sec, offset 8 Device Negotiation Settings Period Offset Bus Width User 025 008 1 Goal 025 008 1 Current 025 008 1 Total transfers 94 (23 read;71 written) blks(512) rd=29; blks(512) wr=17724 --------8<---------- -- Miles Nordin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-aic7xxx" in the body of the message