Date: Thu, 11 Jun 1998 19:06:47 +0200 From: "Gerard Metrailler Jr." <gmetrail@scdi.org> To: "aic7xxx@FreeBSD.ORG" <aic7xxx@FreeBSD.ORG> Subject: Re: SCSI Timeout with Adaptec 2940UW Rev. E (Bios 1.32) Message-ID: <35800EA7.20C12B8F@scdi.org> References: <Pine.QUAD.3.96.980604142307.8320A-100000@quad.quadrunner.com> <3577866E.C605A6BA@scdi.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Gerard Metrailler Jr. wrote: > > Hello, > > Doug Ledford wrote: > > Try the 5.0.18 aic7xxx driver and let me know if this still happens. > > The timeout dissapeared !!! Everything seemed to work fine. I took the > 2.0.33 cleak kernel and applied the 5.0.18 driver. After a compilation > and a reboot, I made the dd if=/dev/zero of=test test and I created, > whithout any problem, a 200Mb file ;-) > > But I haven't made a much longer test now. I hope it will be possible > for me to do it this week-end ;-) Bad news, the timeout is still there, but I now have to "try harder" to get it ;-) I am using a 2.0.34 (final) kernel with the full 5.0.18 archive extracted over it. I hope the problem does not come from that. Else I will try with the explanations I've seen in this mailing list. The distribution is RedHat 5.1. Here are a few logs and infos. If you need any other information, just tell me and I'll do my best ;-) Here is the interesting part (I hope) and more of /var/log/messages ;-) ---<CUT HERE>--- Jun 11 16:20:02 marvin syslogd 1.3-3: restart. Jun 11 16:20:02 marvin kernel: klogd 1.3-3, log source = /proc/kmsg started. Jun 11 16:20:02 marvin kernel: Loaded 3479 symbols from /usr/src/linux/System.map. Jun 11 16:20:02 marvin kernel: Symbols match kernel version 2.0.34. Jun 11 16:20:02 marvin kernel: No module symbols loaded. Jun 11 16:20:02 marvin kernel: Console: 16 point font, 400 scans Jun 11 16:20:02 marvin kernel: Console: colour VGA+ 80x25, 1 virtual console (max 63) Jun 11 16:20:02 marvin kernel: pcibios_init : BIOS32 Service Directory structure at 0x000fad00 Jun 11 16:20:02 marvin kernel: pcibios_init : BIOS32 Service Directory entry at 0xfb180 Jun 11 16:20:02 marvin kernel: pcibios_init : PCI BIOS revision 2.10 entry at 0xfb1b0 Jun 11 16:20:02 marvin kernel: Probing PCI hardware. Jun 11 16:20:02 marvin kernel: Warning : Unknown PCI device (1033:46). Please read include/linux/pci.h Jun 11 16:20:02 marvin kernel: Calibrating delay loop.. ok - 199.07 BogoMIPS Jun 11 16:20:02 marvin kernel: Memory: 127876k/131072k available (704k kernel code, 384k reserved, 2108k data) Jun 11 16:20:02 marvin kernel: Swansea University Computer Society NET3.035 for Linux 2.0 Jun 11 16:20:02 marvin kernel: NET3: Unix domain sockets 0.13 for Linux NET3.035. Jun 11 16:20:02 marvin kernel: Swansea University Computer Society TCP/IP for NET3.034 Jun 11 16:20:02 marvin kernel: IP Protocols: ICMP, UDP, TCP Jun 11 16:20:02 marvin kernel: VFS: Diskquotas version dquot_5.6.0 initialized Jun 11 16:20:02 marvin kernel: Jun 11 16:20:02 marvin kernel: Checking 386/387 coupling... Ok, fpu using exception 16 error reporting. Jun 11 16:20:02 marvin kernel: Checking 'hlt' instruction... Ok. Jun 11 16:20:02 marvin kernel: Linux version 2.0.34 (root@marvin.scdi.org) (gcc version 2.7.2.3) #3 Tue Jun 9 10:22:45 CEST 1998 Jun 11 16:20:02 marvin kernel: Starting kswapd v 1.4.2.2 Jun 11 16:20:02 marvin kernel: Serial driver version 4.13 with no serial options enabled Jun 11 16:20:02 marvin kernel: tty00 at 0x03f8 (irq = 4) is a 16550A Jun 11 16:20:02 marvin kernel: tty01 at 0x02f8 (irq = 3) is a 16550A Jun 11 16:20:02 marvin kernel: PS/2 auxiliary pointing device detected -- driver installed. Jun 11 16:20:02 marvin kernel: Floppy drive(s): fd0 is 1.44M Jun 11 16:20:02 marvin kernel: FDC 0 is a post-1991 82077 Jun 11 16:20:02 marvin kernel: aic7xxx: Warning - detected auto-termination on controller: Jun 11 16:20:02 marvin kernel: aic7xxx: <Adaptec AHA-294X Ultra SCSI host adapter> at PCI 14/0 Jun 11 16:20:02 marvin kernel: aic7xxx: Please verify driver detected settings are correct. Jun 11 16:20:02 marvin kernel: aic7xxx: If not, then please properly set the device termination Jun 11 16:20:02 marvin kernel: aic7xxx: in the Adaptec SCSI BIOS by hitting CTRL-A when prompted Jun 11 16:20:02 marvin kernel: aic7xxx: during machine bootup. Jun 11 16:20:02 marvin kernel: aic7xxx: Cables present (Int-50 YES, Int-68 YES, Ext-68 NO) Jun 11 16:20:02 marvin kernel: aic7xxx: Termination (Low OFF, High ON) Jun 11 16:20:02 marvin kernel: (scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 14/0 Jun 11 16:20:02 marvin kernel: (scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs Jun 11 16:20:02 marvin kernel: (scsi0) BIOS enabled, IO Port 0x8100, IRQ 15 Jun 11 16:20:02 marvin kernel: (scsi0) IO Memory at 0xe1c14000, MMAP Memory at 0x8805000 Jun 11 16:20:02 marvin kernel: (scsi0) Resetting channel Jun 11 16:20:02 marvin kernel: (scsi0) Downloading sequencer code... 413 instructions downloaded Jun 11 16:20:02 marvin kernel: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.0.18/3.2.4 Jun 11 16:20:02 marvin kernel: <Adaptec AHA-294X Ultra SCSI host adapter> Jun 11 16:20:02 marvin kernel: scsi : 1 host. Jun 11 16:20:02 marvin kernel: (scsi0:0:-1:-1) Scanning channel for devices. Jun 11 16:20:02 marvin kernel: Vendor: DEC Model: DSP3210S Rev: X441 Jun 11 16:20:02 marvin kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 11 16:20:02 marvin kernel: Detected scsi disk sda at scsi0, channel 0, id 0, lun 0 Jun 11 16:20:02 marvin kernel: Vendor: IBM Model: DORS-32160W Rev: WA6A Jun 11 16:20:02 marvin kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 11 16:20:02 marvin kernel: Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0 Jun 11 16:20:02 marvin kernel: Vendor: QUANTUM Model: VIKING 4.5 WSE Rev: 880R Jun 11 16:20:02 marvin kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 11 16:20:02 marvin kernel: Detected scsi disk sdc at scsi0, channel 0, id 2, lun 0 Jun 11 16:20:02 marvin kernel: Vendor: SONY Model: CD-ROM CDU-415 Rev: 1.1n Jun 11 16:20:02 marvin kernel: Type: CD-ROM ANSI SCSI revision: 02 Jun 11 16:20:02 marvin kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0 Jun 11 16:20:02 marvin kernel: Vendor: SONY Model: CD-R CDU924S Rev: 1.1d Jun 11 16:20:02 marvin kernel: Type: CD-ROM ANSI SCSI revision: 02 Jun 11 16:20:02 marvin kernel: Detected scsi CD-ROM sr1 at scsi0, channel 0, id 5, lun 0 Jun 11 16:20:02 marvin kernel: Vendor: IOMEGA Model: ZIP 100 PLUS Rev: J.66 Jun 11 16:20:02 marvin kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 11 16:20:02 marvin kernel: Detected scsi removable disk sdd at scsi0, channel 0, id 6, lun 0 Jun 11 16:20:02 marvin kernel: scsi : detected 2 SCSI cdroms 4 SCSI disks total. Jun 11 16:20:02 marvin kernel: (scsi0:0:0:0) Synchronous at 10.0MHz, offset 15. Jun 11 16:20:02 marvin kernel: SCSI device sda: hdwr sector= 512 bytes. Sectors= 4197520 [2049 MB] [2.0 GB] Jun 11 16:20:02 marvin kernel: (scsi0:0:1:0) Using wide (16 bit) transfers. Jun 11 16:20:02 marvin kernel: (scsi0:0:1:0) Synchronous at 20.0MHz, offset 8. Jun 11 16:20:02 marvin kernel: SCSI device sdb: hdwr sector= 512 bytes. Sectors= 4226725 [2063 MB] [2.1 GB] Jun 11 16:20:02 marvin kernel: (scsi0:0:2:0) Using wide (16 bit) transfers. Jun 11 16:20:02 marvin kernel: (scsi0:0:2:0) Synchronous at 20.0MHz, offset 8. Jun 11 16:20:02 marvin kernel: SCSI device sdc: hdwr sector= 512 bytes. Sectors= 8899737 [4345 MB] [4.3 GB] Jun 11 16:20:02 marvin kernel: sdd : READ CAPACITY failed. Jun 11 16:20:02 marvin kernel: sdd : status = 1, message = 00, host = 0, driver = 28 Jun 11 16:20:02 marvin kernel: sdd : extended sense code = 2 Jun 11 16:20:02 marvin kernel: sdd : block size assumed to be 512 bytes, disk size 1GB. Jun 11 16:20:02 marvin kernel: ne2k-pci.c:v0.99L 2/7/98 D. Becker/P. Gortmaker http://cesdis.gsfc.nasa.gov/linux/drivers/ne2k-pci.html Jun 11 16:20:02 marvin kernel: ne2k-pci.c: PCI NE2000 clone 'RealTek RTL-8029' at I/O 0x8000, IRQ 11. Jun 11 16:20:02 marvin kernel: eth0: PCI NE2000 found at 0x8000, IRQ 11, 00:00:1C:30:3B:61. Jun 11 16:20:02 marvin kernel: Partition check: Jun 11 16:20:02 marvin kernel: sda: sda1 sda2 < sda5 sda6 sda7 > Jun 11 16:20:02 marvin kernel: sdb: sdb1 Jun 11 16:20:02 marvin kernel: sdc: sdc1 sdc2 sdc3 Jun 11 16:20:02 marvin kernel: sdd:scsidisk I/O error: dev 08:30, sector 0, absolute sector 0 Jun 11 16:20:02 marvin kernel: unable to read partition table Jun 11 16:20:02 marvin kernel: VFS: Mounted root (ext2 filesystem) readonly. [...] Jun 11 17:33:06 marvin kernel: (scsi0:0:4:0) Synchronous at 10.0MHz, offset 15. [...] Jun 11 17:43:36 marvin kernel: scsi : aborting command due to timeout : pid 25160, scsi0, channel 0, id 0, lun 0 Write (10) 00 00 3c be 02 00 00 c0 00 Jun 11 17:43:36 marvin kernel: scsi : aborting command due to timeout : pid 25161, scsi0, channel 0, id 0, lun 0 Read (10) 00 00 32 da 18 00 00 98 00 Jun 11 17:43:36 marvin kernel: scsi : aborting command due to timeout : pid 25162, scsi0, channel 0, id 0, lun 0 Write (6) 1e 08 22 02 00 Jun 11 17:43:39 marvin kernel: SCSI host 0 abort (pid 25160) timed out - resetting Jun 11 17:43:39 marvin kernel: SCSI bus is being reset for host 0 channel 0. Jun 11 17:44:01 marvin kernel: SCSI host 0 abort (pid 25161) timed out - resetting Jun 11 17:44:01 marvin kernel: SCSI bus is being reset for host 0 channel 0. Jun 11 17:44:01 marvin kernel: SCSI host 0 abort (pid 25160) timed out - resetting Jun 11 17:44:01 marvin kernel: SCSI bus is being reset for host 0 channel 0. Jun 11 17:44:01 marvin kernel: SCSI host 0 abort (pid 25162) timed out - resetting Jun 11 17:44:01 marvin kernel: SCSI bus is being reset for host 0 channel 0. Jun 11 17:44:01 marvin kernel: SCSI host 0 abort (pid 25160) timed out - resetting Jun 11 17:44:01 marvin kernel: SCSI bus is being reset for host 0 channel 0. Jun 11 17:44:01 marvin kernel: SCSI host 0 channel 0 reset (pid 25162) timed out - trying harder Jun 11 17:44:01 marvin kernel: SCSI bus is being reset for host 0 channel 0. Jun 11 17:44:02 marvin kernel: SCSI host 0 channel 0 reset (pid 25160) timed out - trying harder Jun 11 17:44:02 marvin kernel: SCSI bus is being reset for host 0 channel 0. Jun 11 17:44:02 marvin kernel: SCSI host 0 reset (pid 25162) timed out - trying to shake it loose Jun 11 17:44:02 marvin kernel: SCSI bus is being reset for host 0 channel 0. Jun 11 17:44:02 marvin kernel: SCSI host 0 reset (pid 25160) timed out - trying to shake it loose Jun 11 17:44:02 marvin kernel: SCSI bus is being reset for host 0 channel 0. Jun 11 17:44:02 marvin kernel: SCSI host 0 reset (pid 25162) timed out again - Jun 11 17:44:02 marvin kernel: probably an unrecoverable SCSI bus or device hang. Jun 11 17:44:03 marvin kernel: SCSI host 0 reset (pid 25160) timed out again - Jun 11 17:44:03 marvin kernel: probably an unrecoverable SCSI bus or device hang. Jun 11 17:44:03 marvin kernel: (scsi0:0:0:0) Synchronous at 10.0MHz, offset 15. Jun 11 17:45:26 marvin identd[985]: from: 192.168.42.100 ( compute-one.scdi.org ) for: 1726, 25 Jun 11 17:45:26 marvin identd[985]: Successful lookup: 1726 , 25 : root.root Jun 11 17:45:47 marvin identd[992]: from: 192.168.42.100 ( compute-one.scdi.org ) for: 1727, 25 Jun 11 17:45:47 marvin identd[992]: Successful lookup: 1727 , 25 : root.root Jun 11 17:46:47 marvin kernel: (scsi0:0:4:0) Synchronous at 10.0MHz, offset 15. ---<CUT HERE>--- and here is a "cat /proc/scsi/aic7xxx/0" if I remember well. ---<CUT HERE>--- Adaptec AIC7xxx driver version: 5.0.18/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 : Enabled Adapter Configuration: SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter Ultra Wide Controller PCI MMAPed I/O Base: 0xe1c14000 Adaptec SCSI BIOS: Enabled IRQ: 15 SCBs: Active 0, Max Active 2, Allocated 30, HW 16, Page 255 Interrupts: 26411 BIOS Control Word: 0x1826 Adapter Control Word: 0x005b Extended Translation: Disabled Disconnect Enable Flags: 0x00ff Ultra Enable Flags: 0xffe6 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: (scsi0:0:0:0) nxfers 26205 (19075 read;7130 written) blks(512) rd=766169; blks(512) wr=363742 < 512 512-1K 1-2K 2-4K 4-8K 8-16K 16-32K 32-64K 64-128K >128K Reads: 0 1 6137 382 2357 3747 1730 2262 2459 0 Writes: 0 0 4476 615 295 192 33 60 1459 0 (scsi0:0:1:0) nxfers 2 (2 read;0 written) blks(512) rd=3; blks(512) wr=0 < 512 512-1K 1-2K 2-4K 4-8K 8-16K 16-32K 32-64K 64-128K >128K Reads: 0 1 1 0 0 0 0 0 0 0 Writes: 0 0 0 0 0 0 0 0 0 0 (scsi0:0:2:0) nxfers 2 (2 read;0 written) blks(512) rd=3; blks(512) wr=0 < 512 512-1K 1-2K 2-4K 4-8K 8-16K 16-32K 32-64K 64-128K >128K Reads: 0 1 1 0 0 0 0 0 0 0 Writes: 0 0 0 0 0 0 0 0 0 0 (scsi0:0:4:0) nxfers 57 (57 read;0 written) blks(512) rd=1758; blks(512) wr=0 < 512 512-1K 1-2K 2-4K 4-8K 8-16K 16-32K 32-64K 64-128K >128K Reads: 0 2 0 14 16 14 2 1 8 0 Writes: 0 0 0 0 0 0 0 0 0 0 ---<CUT HERE>--- Thank you for helping, Best regards, Gerard Metrailler Jr. -- ------------------------------------------------------------------------ SCDI Technologies - Gerard Metrailler Jr. (Founder And President) - EMail: gmetrail@scdi.org http://www.scdi.org - http://www.scdi.org/~gmetrail ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35800EA7.20C12B8F>