From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 5 17:40:01 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5A7A1065671 for ; Fri, 5 Sep 2008 17:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C1D858FC21 for ; Fri, 5 Sep 2008 17:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m85He1Jd002055 for ; Fri, 5 Sep 2008 17:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m85He1EW002054; Fri, 5 Sep 2008 17:40:01 GMT (envelope-from gnats) Resent-Date: Fri, 5 Sep 2008 17:40:01 GMT Resent-Message-Id: <200809051740.m85He1EW002054@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, Alexey Vesnin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D30D106566C for ; Fri, 5 Sep 2008 17:32:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4B54B8FC1B for ; Fri, 5 Sep 2008 17:32:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m85HW6M9049064 for ; Fri, 5 Sep 2008 17:32:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m85HW6I6049031; Fri, 5 Sep 2008 17:32:06 GMT (envelope-from nobody) Message-Id: <200809051732.m85HW6I6049031@www.freebsd.org> Date: Fri, 5 Sep 2008 17:32:06 GMT From: Alexey Vesnin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/127119: incorrect ata device probing 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, 05 Sep 2008 17:40:02 -0000 >Number: 127119 >Category: misc >Synopsis: incorrect ata device probing >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 Sep 05 17:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Alexey Vesnin >Release: 6-CURRENT >Organization: self-employed >Environment: # uname -a FreeBSD 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #0: Wed Sep 3 22:21:04 UTC 2008 root@:/usr/obj/usr/src/sys/BOX i386 >Description: This bug appeared on 6 and 7 branches both. My dmesg output is listed below and the problem is in incorrect ata-device probing. CF-IDE adapters(some of them are working, some are not due to DMA-timeouts), gigabyte i-ram can not work too. In Windows(XP, Vista), Linux(Slackware, Suse, Gentoo) it all works fine without any warnings even in verbose mode. In freebsd verbose boot here's no ripple about that devices. My non-verbose dmesg is below, motherboard is VIA PC3500G : FreeBSD 6.4-PRERELEASE #0: Wed Sep 3 22:21:04 UTC 2008 root@:/usr/obj/usr/src/sys/BOX ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: VIA Esther processor 1500MHz (1499.97-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x6a9 Stepping = 9 Features=0xa7c9bbff Features2=0x1 VIA Padlock Features=0x3fcc real memory = 1005453312 (958 MB) avail memory = 970596352 (925 MB) ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Sep 3 2008 22:20:29) acpi0: on motherboard ACPI-0438: *** Error: Looking up [\\_SB_.PCI0.LNK9] in namespace, AE_NOT_FOUND SearchNode 0xc4d61c20 StartNode 0xc4d61c20 ReturnNode 0 ACPI-0438: *** Error: Looking up [\\_SB_.PCI0.LNK9] in namespace, AE_NOT_FOUND SearchNode 0xc4d61a60 StartNode 0xc4d61a60 ReturnNode 0 ACPI-0438: *** Error: Looking up [\\_SB_.PCI0.LNK9] in namespace, AE_NOT_FOUND SearchNode 0xc4d61620 StartNode 0xc4d61620 ReturnNode 0 ACPI-0438: *** Error: Looking up [\\_SB_.PCI0.LNK9] in namespace, AE_NOT_FOUND SearchNode 0xc4d637e0 StartNode 0xc4d637e0 ReturnNode 0 ACPI-0438: *** Error: Looking up [\\_SB_.PCI0.LNK9] in namespace, AE_NOT_FOUND SearchNode 0xc4d635e0 StartNode 0xc4d635e0 ReturnNode 0 ACPI-0438: *** Error: Looking up [\\_SB_.PCI0.LNK9] in namespace, AE_NOT_FOUND SearchNode 0xc4d67360 StartNode 0xc4d67360 ReturnNode 0 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_hpet0: iomem 0xfe800000-0xfe8003ff on acpi0 device_attach: acpi_hpet0 attach returned 12 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: irq 27 at device 2.0 on pci0 pci2: on pcib2 pcib3: irq 31 at device 3.0 on pci0 pci3: on pcib3 atapci0: port 0xfc00-0xfc07,0xf800-0xf803,0xf400-0xf407,0xf000-0xf003,0xec00-0xec0f,0xe800-0xe8ff irq 21 at device 15.0 on pci0 ata2: on atapci0 ata3: on atapci0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe400-0xe40f at device 15.1 on pci0 ata0: on atapci1 ata1: on atapci1 uhci0: port 0xe000-0xe01f irq 20 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xdc00-0xdc1f irq 22 at device 16.1 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 0xd800-0xd81f irq 21 at device 16.2 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 uhci3: port 0xd400-0xd41f irq 23 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xdffff000-0xdffff0ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered umass0: Generic , . USB2.0 Card Reader, rev 2.00/1.00, addr 2 isab0: at device 17.0 on pci0 isa0: on isab0 pcib4: at device 19.1 on pci0 pci4: on pcib4 vr0: port 0x9c00-0x9cff mem 0xdfaff000-0xdfaff0ff irq 18 at device 14.0 on pci4 vr0: Quirks: 0x0 miibus0: on vr0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:1a:4d:1f:5e:ac pcib5: on acpi0 pci128: on pcib5 pci128: at device 1.0 (no driver attached) acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] acpi_hpet0: iomem 0xfe800000-0xfe8003ff on acpi0 device_attach: acpi_hpet0 attach returned 12 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1499968632 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled hptrr: no controller detected. ad0: DMA limited to UDMA33, device found non-ATA66 cable ad0: FAILURE - SET_MULTI status=51 error=4 ad0: 3887MB at ata0-master UDMA33 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 1947MB (3987456 512 byte sectors: 255H 63S/T 248C) Trying to mount root from ufs:/dev/ad0s1a Post Scriptum ad0=CF-IDE disk, da0=Kingston microSD+usb adaper shipped with it. >How-To-Repeat: just plug it in. >Fix: >Release-Note: >Audit-Trail: >Unformatted: