From owner-freebsd-bugs@FreeBSD.ORG Sun Mar 7 08:50:25 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C32416A4CE for ; Sun, 7 Mar 2004 08:50:25 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C9CB43D31 for ; Sun, 7 Mar 2004 08:50:25 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i27GoPbv013497 for ; Sun, 7 Mar 2004 08:50:25 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i27GoPSi013496; Sun, 7 Mar 2004 08:50:25 -0800 (PST) (envelope-from gnats) Date: Sun, 7 Mar 2004 08:50:25 -0800 (PST) Message-Id: <200403071650.i27GoPSi013496@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Antti Louko Subject: Re: misc/62440: ATA problems X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Antti Louko List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2004 16:50:25 -0000 The following reply was made to PR misc/62440; it has been noted by GNATS. From: Antti Louko To: freebsd-gnats-submit@FreeBSD.org, manlix@demonized.net Cc: Subject: Re: misc/62440: ATA problems Date: Sun, 07 Mar 2004 18:40:23 +0200 I decided to report my findings with this (I assume it is the same) bug. For me it happens only when I have a SATA drive attached to its controller. What is more interesting, if I reboot the machine, detach the SATA drive without switching power off, timeouts and failures keep appearing (they appear on one particular ATA drive, not the SATA one) until I make a proper power down/up sequence without the SATA drive attached. I have tried with both 5.2.1 kernel and -CURRENT. APIC is disabled (or is it?): /boot/device.hints: hint.apic.0.disabled="1" and in the -CURRENT kernel the apic is commented out. Here is the kernel printf: Copyright (c) 1992-2004 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 5.2-CURRENT #0: Sat Mar 6 19:56:32 EET 2004 alo@alo99.louko.com:/u4/alo/FreeBSD/sys-src-current/src/sys/i386/compile/ALOIFP2 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a4a000. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2400.09-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff real memory = 1073725440 (1023 MB) avail memory = 1041203200 (992 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Found $PIR table, 11 entries at 0xc00f2320 pcib0: at pcibus 0 on motherboard pci0: on pcib0 $PIR: 0:29 INTA routed to irq 11 $PIR: ROUTE_INTERRUPT failed. $PIR: ROUTE_INTERRUPT failed. $PIR: ROUTE_INTERRUPT failed. $PIR: ROUTE_INTERRUPT failed. $PIR: ROUTE_INTERRUPT failed. agp0: mem 0xf0000000-0xf3ffffff at device 0.0 on pci0 pcib1: mem 0xe8000000-0xebffffff at device 1.0 on pci0 pci1: on pcib1 $PIR: 1:0 INTA routed to irq 11 pci1: at device 0.0 (no driver attached) uhci0: port 0xd800-0xd81f irq 11 at device 29.0 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 ums0: Logitech USB Receiver, rev 1.10/9.10, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. uhci1: port 0xd400-0xd41f irq 9 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xd000-0xd01f irq 9 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 $PIR: 2:2 INTA routed to irq 9 $PIR: 2:3 INTA routed to irq 5 $PIR: 2:4 INTA routed to irq 9 $PIR: 2:5 INTA routed to irq 9 fxp0: port 0xb800-0xb83f mem 0xe3000000-0xe301ffff,0xe3800000-0xe3800fff irq 9 at device 2.0 on pci2 fxp0: Ethernet address 00:02:b3:c0:ca:3d miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fwohci0: mem 0xe2000000-0xe2003fff,0xe2800000-0xe28007ff irq 5 at device 3.0 on pci2 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:e0:18:00:00:15:a2:bb fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:e0:18:15:a2:bb sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) atapci0: port 0xa000-0xa00f,0xa400-0xa403,0xa800-0xa807,0xb000-0xb003,0xb400-0xb407 mem 0xe1800000-0xe18001ff irq 9 at device 4.0 on pci2 atapci0: [MPSAFE] ata2: at 0xe1800000 on atapci0 ata2: [MPSAFE] ata3: at 0xe1800000 on atapci0 ata3: [MPSAFE] bge0: mem 0xe1000000-0xe100ffff irq 9 at device 5.0 on pci2 bge0: Ethernet address: 00:0c:6e:0d:dc:e4 miibus1: on bge0 brgphy0: on miibus1 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 9 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci1 ata1: [MPSAFE] pci0: at device 31.5 (no driver attached) orm0: