From owner-freebsd-bugs@FreeBSD.ORG Fri Jan 6 18:00:21 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org 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 67C9516A41F for ; Fri, 6 Jan 2006 18:00:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E98543D46 for ; Fri, 6 Jan 2006 18:00:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06I0KcY009522 for ; Fri, 6 Jan 2006 18:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06I0Kuu009521; Fri, 6 Jan 2006 18:00:20 GMT (envelope-from gnats) Resent-Date: Fri, 6 Jan 2006 18:00:20 GMT Resent-Message-Id: <200601061800.k06I0Kuu009521@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugene Grosbein Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8835016A41F for ; Fri, 6 Jan 2006 17:59:16 +0000 (GMT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC0D643D48 for ; Fri, 6 Jan 2006 17:59:15 +0000 (GMT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.3/8.13.3) with ESMTP id k06HxCKZ052543 for ; Sat, 7 Jan 2006 00:59:12 +0700 (KRAT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.3/8.13.3/Submit) id k06HxC7P052542; Sat, 7 Jan 2006 00:59:12 +0700 (KRAT) (envelope-from eugen) Message-Id: <200601061759.k06HxC7P052542@www.svzserv.kemerovo.su> Date: Sat, 7 Jan 2006 00:59:12 +0700 (KRAT) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/91408: ata(4) failure: SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !! X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2006 18:00:21 -0000 >Number: 91408 >Category: kern >Synopsis: ata(4) failure: SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !! >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 06 18:00:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 6.0-RELEASE i386 >Organization: Svyaz-Service JSC >Environment: System: FreeBSD 6.0-RELEASE with GENERIC kernel, ACPI enabled, Iwill BD100+ motherboard, Promise Ultra100 TX2 EIDE controller. ad6 is a boot device holding installation of 6.0-RELEASE. ad4 is additional hard drive. >Description: Under heavy load (linking GENERIC kernel.debug and running /usr/libexec/locate.updatedb in parallel) a kernel starts to fill console with messages: ad4: req=0xc25d77d0 SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !! ad4: req=0xc25d77d0 SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !! ad4: req=0xc25d77d0 SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !! New line is added after every 4 seconds. All disk activity is stopped since this moment; correct system reset is impossible, power cycle is required to revive system. ad4 is connected to Promise Ultra100 TX2 and runs at UDMA100. Here is output of "pciconv -lv": atapci1@pci0:18:0: class=0x018085 card=0x4d68105a chip=0x4d68105a rev=0x02 hdr=0x00 vendor = 'Promise Technology Inc' device = 'PDC20268 Ultra100 TX2 EIDE Controller' class = mass storage This is reproduceable when system is booted with ACPI enabled. This is NOT reproduceable when any of next contidions are met: - ACPI is disabled or - ad4 is attached to onboard Intel PIIX4 IDE controller: atapci0@pci0:7:1: class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M IDE Controller' class = mass storage subclass = ATA When ad4 is attached to onboard controller, it runs at UDMA33. Note that ad4 hold an installation of 4.11-STABLE and runs without a problem at UDMA100 when attached to Promise Ultra100 TX2. ad4 also holds installations of Windows 98SE and Windows XP SP2, they run without a problem with Promise Ultra at UDMA100. 5.4-STABLE does have problems with this hardware configuration, see http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/80815 Please note that I'm no longer interested to migrate from 4.11 to 5.x, I rather migrate to 6.x, so kern/80815 may be closed. Here comes dmesg.boot when ad4 is at Promise Ultra and ACPI is enabled. Copyright (c) 1992-2005 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 6.0-RELEASE #1: Fri Jan 6 20:35:37 KRAT 2006 root@grosbein.pp.ru:/mnt/usr/local/obj6/usr/src/sys/DADV WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Celeron (902.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 603914240 (575 MB) avail memory = 581697536 (554 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 11 on acpi0 pci_link1: irq 9 on acpi0 pci_link2: irq 10 on acpi0 pci_link3: irq 9 on acpi0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff,0x4000-0x4041,0x5000-0x500f on acpi0 pci0: on pcib0 agp0: mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0xa000-0xa01f irq 9 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] 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 pci0: at device 7.3 (no driver attached) fxp0: port 0xa400-0xa41f mem 0xf0104000-0xf0104fff,0xf0000000-0xf00fffff irq 9 at device 16.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:a0:c9:89:95:1f fxp0: [GIANT-LOCKED] atapci1: port 0xa800-0xa807,0xac00-0xac03,0xb000-0xb007,0xb400-0xb403,0xb800-0xb80f mem 0xf0100000-0xf0103fff irq 10 at device 18.0 on pci0 ata2: on atapci1 ata3: on atapci1 uhci1: port 0xbc00-0xbc1f irq 9 at device 19.0 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xc000-0xc01f irq 11 at device 19.1 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xf0105000-0xf01050ff irq 9 at device 19.2 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 4 ports with 4 removable, self powered fwohci0: port 0xc400-0xc47f mem 0xf0106000-0xf01067ff irq 9 at device 19.3 on pci0 fwohci0: [GIANT-LOCKED] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:11:06:66:00:00:0d:c9 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 sbp0: on firewire0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:11:06:00:0d:c9 fwe0: Ethernet address: 02:11:06:00:0d:c9 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) acpi_tz0: on acpi0 fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model NetMouse/NetScroll Optical, device ID 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xccfff,0xd0000-0xd27ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 uscanner0: Hewlett-Packard HP ScanJet 2200C, rev 1.10/1.00, addr 2 uhid0: American Power Conversion Back-UPS 500 FW: 6.5.I USB FW: c1, rev 1.10/1.00, addr 3, iclass 3/0 Timecounter "TSC" frequency 902050315 Hz quality 800 Timecounters tick every 1.000 msec IPsec: Initialized Security Association Processing. ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to deny, logging disabled acd0: DVDR at ata0-master UDMA33 ad4: 76319MB at ata2-master UDMA100 ad6: 2441MB at ata3-master UDMA33 Trying to mount root from ufs:/dev/ad6s1a >How-To-Repeat: Take Iwill BD100+ motherboard, attach HDD to Promise Ultra100 TX2 EIDE controller, boot 6.0-RELEASE/GENERIC with ACPI enabled and make disk load (f.e., run make buildworld). >Fix: Unknown. >Release-Note: >Audit-Trail: >Unformatted: