From owner-freebsd-stable Tue Jul 31 5: 1:26 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.informatik.uni-tuebingen.de (mx1.Informatik.Uni-Tuebingen.De [134.2.12.5]) by hub.freebsd.org (Postfix) with ESMTP id 9F4A137B401 for ; Tue, 31 Jul 2001 05:01:17 -0700 (PDT) (envelope-from sperber@informatik.uni-tuebingen.de) Received: from sams.informatik.uni-tuebingen.de (sams [134.2.12.50]) by mx1.informatik.uni-tuebingen.de (Postfix) with ESMTP id B3FBC4A7; Tue, 31 Jul 2001 14:01:14 +0200 (MST) Received: (from sperber@localhost) by sams.informatik.uni-tuebingen.de (8.11.3/8.11.3) id f6VC0wF34213; Tue, 31 Jul 2001 14:00:58 +0200 (CEST) (envelope-from sperber) To: "Justin T. Gibbs" Cc: Martin Kraemer , Matt Dillon , konecny@web.markiza.sk, freebsd-stable@FreeBSD.ORG Subject: Re: Continuing ahc problems - also cause fxp failure References: <200107271858.f6RIwaU17547@aslan.scsiguy.com> From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) Date: 31 Jul 2001 14:00:58 +0200 In-Reply-To: <200107271858.f6RIwaU17547@aslan.scsiguy.com> ("Justin T. Gibbs"'s message of "Fri, 27 Jul 2001 12:58:36 -0600") Message-ID: Lines: 39 User-Agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.5 (anise) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-=-= >>>>> "Justin" == Justin T Gibbs writes: >> >> IMO it is quite different, as I changed the following parameters: Justin> If you are running stable, perhaps you can try to reproduce the issue Justin> with this patch applied? Justin> http://people.FreeBSD.org/~gibbs/aic7xxx.stable.diffs Justin> This will update you to the same code level as is in -current and Justin> will allow me to better analize the messages that are displayed Justin> during a timeout. I see an identical problem with and without this diff applied on an ASUS motherboard with onboard SCSI. No onboard Ethernet. Here's the dmesg which also includes the SCB timeout at the end: --=-=-= Content-Disposition: attachment; filename=slash.dmesg Content-Description: dmesg Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.3-RELEASE #2: Mon Jul 30 16:54:18 MST 2001 sperber@slash:/usr/local/src/sys/compile/SLASH Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (601.37-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Stepping = 1 Features=0x383f9ff real memory = 134205440 (131060K bytes) config> di pcic0 config> di sn0 config> di lnc0 config> di ie0 config> di fe0 config> di ed0 config> di cs0 config> di bt0 config> di ata1 config> di ata0 config> di aic0 config> di aha0 config> di adv0 config> q avail memory = 126275584 (123316K bytes) Preloaded elf kernel "kernel" at 0xc044e000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc044e09c. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xb800-0xb80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xb400-0xb41f irq 5 at device 4.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: port 0xe800-0xe80f at device 4.3 on pci0 ahc0: port 0xb000-0xb0ff mem 0xe1000000-0xe1000fff irq 5 at device 6.0 on pci0 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xa800-0xa87f mem 0xe0800000-0xe080007f irq 10 at device 10.0 on pci0 xl0: Ethernet address: 00:01:02:0a:b9:af miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 Waiting 15 seconds for SCSI devices to settle Mounting root from ufs:/dev/da0s1a cd0 at ahc0 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C) xfs: cdev: 128, syscall: 210 (da0:ahc0:0:0:0): SCB 0x11 - timed out ahc0: Dumping Card State in Data-out phase, at SEQADDR 0x8a SCSISEQ = 0x12, SBLKCTL = 0xa DFCNTRL = 0x2c, DFSTATUS = 0x82 LASTPHASE = 0x0, SCSISIGI = 0x4, SXFRCTL0 = 0x80 SSTAT0 = 0x0, SSTAT1 = 0x2 STACK == 0x8a, 0x64, 0x165, 0x0 SCB count = 100 Kernel NEXTQSCB = 35 Card NEXTQSCB = 57 QINFIFO entries: 57 3 66 15 19 13 25 Waiting Queue entries: Disconnected Queue entries: QOUTFIFO entries: Sequencer Free SCB List: 23 2 8 14 0 28 29 30 31 5 1 22 10 3 19 20 13 15 9 6 26 16 21 12 11 18 25 7 27 17 24 Pending list: 25 13 19 15 66 3 57 17 Kernel Free SCB list: 16 5 38 58 51 26 49 21 1 20 30 69 40 67 52 7 50 6 47 34 39 45 9 22 56 33 44 24 2 11 37 42 46 18 27 8 32 10 59 12 36 28 48 53 14 41 0 43 23 29 4 31 55 54 68 94 65 95 96 97 98 99 80 81 82 83 84 85 86 87 88 89 70 71 72 73 74 75 76 77 78 79 60 61 62 63 64 93 92 91 90 sg[0] - Addr 0x4a14000 : Length 4096 sg[1] - Addr 0x5615000 : Length 4096 (da0:ahc0:0:0:0): BDR message in message buffer (da0:ahc0:0:0:0): SCB 0x11 - timed out ahc0: Dumping Card State in Data-out phase, at SEQADDR 0x8a SCSISEQ = 0x12, SBLKCTL = 0xa DFCNTRL = 0x2c, DFSTATUS = 0x82 LASTPHASE = 0x0, SCSISIGI = 0x14, SXFRCTL0 = 0x80 SSTAT0 = 0x0, SSTAT1 = 0x2 STACK == 0x8a, 0x64, 0x165, 0x0 SCB count = 100 Kernel NEXTQSCB = 35 Card NEXTQSCB = 57 QINFIFO entries: 57 3 66 15 19 13 25 Waiting Queue entries: Disconnected Queue entries: QOUTFIFO entries: Sequencer Free SCB List: 23 2 8 14 0 28 29 30 31 5 1 22 10 3 19 20 13 15 9 6 26 16 21 12 11 18 25 7 27 17 24 Pending list: 25 13 19 15 66 3 57 17 Kernel Free SCB list: 16 5 38 58 51 26 49 21 1 20 30 69 40 67 52 7 50 6 47 34 39 45 9 22 56 33 44 24 2 11 37 42 46 18 27 8 32 10 59 12 36 28 48 53 14 41 0 43 23 29 4 31 55 54 68 94 65 95 96 97 98 99 80 81 82 83 84 85 86 87 88 89 70 71 72 73 74 75 76 77 78 79 60 61 62 63 64 93 92 91 90 sg[0] - Addr 0x4a14000 : Length 4096 sg[1] - Addr 0x5615000 : Length 4096 (da0:ahc0:0:0:0): no longer in timeout, status = 34b ahc0: Issued Channel A Bus Reset. 8 SCBs aborted pid 2016 (xmcd), uid 0: exited on signal 11 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit And here's pciconf -l: chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x71908086 rev=0x03 hdr=0x00 pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x71918086 rev=0x03 hdr=0x01 isab0@pci0:4:0: class=0x060100 card=0x00000000 chip=0x71108086 rev=0x02 hdr=0x00 atapci0@pci0:4:1: class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00 uhci0@pci0:4:2: class=0x0c0300 card=0x00000000 chip=0x71128086 rev=0x01 hdr=0x00 chip1@pci0:4:3: class=0x068000 card=0x00000000 chip=0x71138086 rev=0x02 hdr=0x00 ahc0@pci0:6:0: class=0x010000 card=0x000f9005 chip=0x001f9005 rev=0x00 hdr=0x00 xl0@pci0:10:0: class=0x020000 card=0x100010b7 chip=0x920010b7 rev=0x74 hdr=0x00 none0@pci1:0:0: class=0x030000 card=0x00441002 chip=0x4c421002 rev=0xdc hdr=0x00 Let me know if I can provide more info. -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message