From owner-aic7xxx Sat Mar 20 12:54: 5 1999 Delivered-To: aic7xxx@freebsd.org Received: from step.polymtl.ca (step.polymtl.ca [132.207.4.32]) by hub.freebsd.org (Postfix) with ESMTP id 1493914BCD for ; Sat, 20 Mar 1999 12:53:59 -0800 (PST) (envelope-from coyote@step.polymtl.ca) Received: from localhost (coyote@localhost) by step.polymtl.ca (8.9.0/8.9.0) with ESMTP id PAA02770 for ; Sat, 20 Mar 1999 15:54:22 -0500 (EST) Date: Sat, 20 Mar 1999 15:54:22 -0500 (EST) From: Vincent Cojot To: aic7xxx@freebsd.org Subject: 2.0.36 finally working... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-aic7xxx@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Everyone, Are the recent aic7xxx drivers working out of the box for anyone? New versions haven't worked for me since pre-10+2.0.35. (Update!! I've just found a workaround: no_reset). I have tested: So far here are my results: 2.0.35 + aic7xxx-5.1.0-pre10 = OK 2.0.35 + aic7xxx-5.1.2 = Not OK 2.0.36 + aic7xxx-5.1.x (default, 5.1.5 I think) = Not OK 2.0.36 + aic7xxx-5.1.6 = Not OK 2.0.36 + aic7xxx-5.1.12 = Not OK This always results in the system going into a continous loop with: scsi: aborting command due to timeout: pid 46, scsi0, channel 0, id5, lun 0 inquiry 00 00 00 ff 00 (scsi0:0:5:0) Aborting scb 14, flags 0x4 (scsi0:0:5:0) SCB found on hardware waiting list and aborted (scsi0:0:5:0) Aborting scb 14 (scsi0:-1:-1:-1) 1 commands found and queued for completion scsi0:0:5:0 is my Tape Drive (HP SureStore dat8i) and I have only TWO devices on scsi0, the other being a SCSI cdrom: Host: scsi0 Channel: 00 Id: 07 Lun: 00 Vendor: PLEXTOR Model: CD-ROM PX-32CS Rev: 1.00 Type: CD-ROM ANSI SCSI revision: 02 Furthermore, with 2.2.3, the system finds exactly 0 SCSI hosts (I have one 3940 UW and TWO on-board 2940UW in my PC Server 704). FYI, I always boot with this in /etc/lilo.conf: append="mem=256M aic7xxx=extended,verbose" Also, I use "make bzImage" to compile my kernel and most, if not all, of the modules are compield into the kernel. ************ UPDATE!!!!: ********* Also, I have just noticed that it works if I boot with "no_reset"!!!! append="mem=256M aic7xxx=no_reset,verbose,extended" This is with 2.0.36 with aic7xxx 5.1.12 Here is the result: kernel: klogd 1.3-3, log source = /proc/kmsg started. kernel: Loaded 5669 symbols from /boot/System.map-2.0.36. kernel: Symbols match kernel version 2.0.36. kernel: No module symbols loaded. kernel: CI-Fast SCSI) 5.1.12/3.2.4 kernel: Detected scsi tape st0 at scsi0, channel 0, id 5, lun 0 kernel: (scsi0:0:5:0) Synchronous at 10.0 Mbyte/sec, offset 15. kernel: (scsi0:0:6:0) Synchronous at 10.0 Mbyte/sec, offset 15. kernel: (scsi2:0:8:0) Aborting scb 14, flags 0x4 kernel: (scsi2:0:8:0) SCB is currently active. Waiting on completion. kernel: (scsi2:0:8:0) Reset called, scb 14, flags 0x84 kernel: (scsi2:0:8:0) Bus device reset stupid when other action has failed. kernel: (scsi2:0:-1:-1) Reset channel called, will initiate reset. kernel: (scsi2:0:-1:-1) Resetting currently active channel. kernel: (scsi2:0:-1:-1) Channel reset kernel: (scsi2:0:-1:-1) Reset device, active_scb 0 kernel: (scsi2:0:0:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:1:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:2:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:3:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:4:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:5:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:6:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:8:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:9:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:10:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:11:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:12:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:13:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:14:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:15:-1) Cleaning up status information and delayed_scbs. kernel: (scsi2:0:-1:-1) Cleaning QINFIFO. kernel: (scsi2:0:-1:-1) Cleaning waiting_scbs. kernel: (scsi2:0:-1:-1) Cleaning waiting for selection list. kernel: (scsi2:0:-1:-1) Cleaning disconnected scbs list. kernel: (scsi2:0:8:0:tag14) matches search criteria (scsi2:0:-1:-1:tag255) kernel: (scsi2:0:8:0:tag14) matches search criteria (scsi2:0:-1:-1:tag255) kernel: (scsi2:0:8:0) Aborting scb 14 kernel: (scsi2:-1:-1:-1) 1 commands found and queued for completion. kernel: (scsi2:0:8:0) Synchronous at 40.0 Mbyte/sec, offset 8. kernel: (scsi2:0:8:0) Synchronous at 40.0 Mbyte/sec, offset 8. kernel: (scsi2:0:10:0) Synchronous at 40.0 Mbyte/sec, offset 8. kernel: (scsi2:0:10:0) Synchronous at 40.0 Mbyte/sec, offset 8. kernel: (scsi3:0:3:0) Aborting scb 14, flags 0xc kernel: (scsi3:0:3:0) SCB is currently active. Waiting on completion. kernel: (scsi3:0:3:0) Reset called, scb 14, flags 0x8c kernel: (scsi3:0:3:0) Bus device reset stupid when other action has failed. kernel: (scsi3:0:-1:-1) Reset channel called, will initiate reset. kernel: (scsi3:0:-1:-1) Resetting currently active channel. kernel: (scsi3:0:-1:-1) Channel reset kernel: (scsi3:0:-1:-1) Reset device, active_scb 0 kernel: (scsi3:0:0:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:1:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:2:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:3:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:4:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:5:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:6:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:8:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:9:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:10:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:11:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:12:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:13:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:14:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:15:-1) Cleaning up status information and delayed_scbs. kernel: (scsi3:0:-1:-1) Cleaning QINFIFO. kernel: (scsi3:0:-1:-1) Cleaning waiting_scbs. kernel: (scsi3:0:-1:-1) Cleaning waiting for selection list. kernel: (scsi3:0:-1:-1) Cleaning disconnected scbs list. kernel: (scsi3:0:3:0:tag14) matches search criteria (scsi3:0:-1:-1:tag255) kernel: (scsi3:0:3:0:tag14) matches search criteria (scsi3:0:-1:-1:tag255) kernel: (scsi3:0:3:0) Aborting scb 14 kernel: (scsi3:-1:-1:-1) 1 commands found and queued for completion. kernel: (scsi3:0:3:0) Synchronous at 5.0 Mbyte/sec, offset 8. kernel: (scsi3:0:4:0) Synchronous at 8.0 Mbyte/sec, offset 15. ,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-, Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~ Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,. Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._ coyote@info.polymtl.ca http://step.polymtl.ca/~coyote _.,-*~'`^`'~*-,._ coyote@step.polymtl.ca Here's the info from my working 2.0.35 kernel: root@palanthas:[/proc/scsi/aic7xxx]# cat 0 Adaptec AIC7xxx driver version: 5.1.0pre10/3.2.4 Compile Options: AIC7XXX_RESET_DELAY : 15 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 AIC-7895 Ultra SCSI host adapter Ultra Wide Controller Channel A PCI MMAPed I/O Base: 0xf89fc000 Adaptec SCSI BIOS: Enabled IRQ: 11 SCBs: Active 0, Max Active 1, Allocated 15, HW 32, Page 255 Interrupts: 88 BIOS Control Word: 0x19a6 Adapter Control Word: 0x005d Extended Translation: Enabled Disconnect Enable Flags: 0xffff Ultra Enable Flags: 0x0000 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: root@palanthas:[/proc/scsi/aic7xxx]# cat 1 Adaptec AIC7xxx driver version: 5.1.0pre10/3.2.4 Compile Options: AIC7XXX_RESET_DELAY : 15 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 AIC-7895 Ultra SCSI host adapter Ultra Wide Controller Channel B PCI MMAPed I/O Base: 0xf89fd000 Adaptec SCSI BIOS: Enabled IRQ: 11 SCBs: Active 0, Max Active 1, Allocated 15, HW 32, Page 255 Interrupts: 45 BIOS Control Word: 0x19a6 Adapter Control Word: 0x005d Extended Translation: Enabled Disconnect Enable Flags: 0xffff Ultra Enable Flags: 0x0000 Tag Queue Enable Flags: 0x0000 Ordered Queue Tag Flags: 0x0000 Default Tag Queue Depth: 8 Tagged Queue By Device array for aic7xxx host instance 1: {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 1: {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} Statistics: root@palanthas:[/proc/scsi/aic7xxx]# cat 2 Adaptec AIC7xxx driver version: 5.1.0pre10/3.2.4 Compile Options: AIC7XXX_RESET_DELAY : 15 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 AIC-7880 Ultra SCSI host adapter Ultra Wide Controller PCI MMAPed I/O Base: 0xf89ff000 Adaptec SCSI BIOS: Disabled IRQ: 15 SCBs: Active 0, Max Active 2, Allocated 15, HW 16, Page 255 Interrupts: 15116 BIOS Control Word: 0x0000 Adapter Control Word: 0x0000 Extended Translation: Enabled Disconnect Enable Flags: 0xffff Ultra Enable Flags: 0x0500 Tag Queue Enable Flags: 0x0000 Ordered Queue Tag Flags: 0x0000 Default Tag Queue Depth: 8 Tagged Queue By Device array for aic7xxx host instance 2: {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 2: {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} Statistics: (scsi2:0:8:0) Device using Wide/Sync transfers at 40.0 MByte/sec, offset 8 Total transfers 2614 (2593 read;21 written) blks(512) rd=5625; blks(512) wr=48 (scsi2:0:10:0) Device using Wide/Sync transfers at 40.0 MByte/sec, offset 8 Total transfers 12381 (9252 read;3129 written) blks(512) rd=86167; blks(512) wr=8152 root@palanthas:[/proc/scsi/aic7xxx]# cat 3 Adaptec AIC7xxx driver version: 5.1.0pre10/3.2.4 Compile Options: AIC7XXX_RESET_DELAY : 15 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 AIC-7880 Ultra SCSI host adapter Ultra Wide Controller PCI MMAPed I/O Base: 0xf89fe000 Adaptec SCSI BIOS: Disabled IRQ: 14 SCBs: Active 0, Max Active 1, Allocated 15, HW 16, Page 255 Interrupts: 139 BIOS Control Word: 0x0000 Adapter Control Word: 0x0000 Extended Translation: Enabled Disconnect Enable Flags: 0xffff Ultra Enable Flags: 0x0000 Tag Queue Enable Flags: 0x0000 Ordered Queue Tag Flags: 0x0000 Default Tag Queue Depth: 8 Tagged Queue By Device array for aic7xxx host instance 3: {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 3: {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} Statistics: raistlin@palanthas:[/tmp]$ cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 05 Lun: 00 Vendor: HP Model: C1533A Rev: A612 Type: Sequential-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 07 Lun: 00 Vendor: PLEXTOR Model: CD-ROM PX-32CS Rev: 1.00 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 04 Lun: 00 Vendor: HP Model: C2520A Rev: 3503 Type: Processor ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 06 Lun: 00 Vendor: ESG-SHV Model: SCA HSBP M1 Rev: 1.05 Type: Processor ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 08 Lun: 00 Vendor: IBM Model: DGVS09Y Rev: 03B0 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 10 Lun: 00 Vendor: IBM Model: DGVS09Y Rev: 03B0 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi3 Channel: 00 Id: 03 Lun: 00 Vendor: FUJITSU Model: M2512A Rev: 1312 Type: Optical Device ANSI SCSI revision: 02 Host: scsi3 Channel: 00 Id: 04 Lun: 00 Vendor: NEC Model: CD-ROM DRIVE:502 Rev: 2.0r Type: CD-ROM ANSI SCSI revision: 02 Host: scsi3 Channel: 00 Id: 06 Lun: 00 Vendor: ESG-SHV Model: SCA HSBP M1 Rev: 1.05 Type: Processor ANSI SCSI revision: 02 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message