From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 25 21:10:05 2009 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 A705E1065670 for ; Fri, 25 Sep 2009 21:10:05 +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 949C08FC24 for ; Fri, 25 Sep 2009 21:10:04 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8PLA2h3006051 for ; Fri, 25 Sep 2009 21:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8PLA2ob006050; Fri, 25 Sep 2009 21:10:02 GMT (envelope-from gnats) Date: Fri, 25 Sep 2009 21:10:02 GMT Message-Id: <200909252110.n8PLA2ob006050@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Olivier Cochard-Labbe Cc: Subject: kern/139143: [regression] PATA hard drive not detected with 8.0-RC1 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Olivier Cochard-Labbe List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2009 21:10:05 -0000 The following reply was made to PR kern/139143; it has been noted by GNATS. From: Olivier Cochard-Labbe To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: kern/139143: [regression] PATA hard drive not detected with 8.0-RC1 Date: Fri, 25 Sep 2009 20:53:11 GMT >Number: 139143 >Category: kern >Synopsis: [regression] PATA hard drive not detected with 8.0-RC1 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 25 21:00:12 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Olivier Cochard-Labbe >Release: 8.0 RC1 >Organization: FreeNAS/BSDRP >Environment: >Description: Hi, I meet a regression since 8.0 Beta1 to 8.0 RC1. They can't detect my PATA (UDMA?100) hard drive (which works great under FreeBSD 7.2). During bootup, I've got lot's of theses error messages: ad0: FAILURE - READ_DMA48 timed out LBA=586072366 ad0: TIMEOUT - READ_DMA retrying (1 retries left) LBA=0 ad0: FAILURE - READ_DMA48 timed out LBA=586072351 ad0: TIMEOUT - READ_DMA retrying (0 retries left) LBA=0 ad0: FAILURE - READ_DMA48 timed out LBA=586072351 (...) ad0: FAILURE - READ_DMA48 status=51 error=10 LBA=596072367 ad0: FAILURE - READ_DMA48 timed out LBA=586072366 ad0: TIMEOUT - READ_DMA retrying (1 retries left) LBA=128 ad0: TIMEOUT - READ_DMA retrying (0 retries left) LBA=128 ad0: FAILURE - READ_DMA48 timed out LBA=586072351 (...) This scan step takes a long times (about 5 minutes), then it continue to boot, but without detecting the hard drive. My system use an Asus K8N4-E Delux motherboard (nVidia nForce CK804 UDMA133 controller). You can found on the attached file, the dmesge and pcinfo -lv from my working FreeBSD 7.2. Thanks, >How-To-Repeat: Booting the system with FreeBSD 8.0 RC1 memstick release. >Fix: Patch attached with submission follows: [olivier@dev64]~>dmesg Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3000+ (2010.31-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x20fc2 Stepping = 2 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 usable memory = 2134417408 (2035 MB) avail memory = 2058027008 (1962 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7fef0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xd3003000-0xd3003fff irq 21 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 10 ports with 10 removable, self powered atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd800-0xd80f mem 0xd3002000-0xd3002fff irq 22 at device 7.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] atapci2: port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc400-0xc40f mem 0xd3001000-0xd3001fff irq 23 at device 8.0 on pci0 atapci2: [ITHREAD] ata4: on atapci2 ata4: [ITHREAD] ata5: on atapci2 ata5: [ITHREAD] pcib1: at device 9.0 on pci0 pci5: on pcib1 nfe0: port 0xb000-0xb007 mem 0xd3000000-0xd3000fff irq 21 at device 10.0 on pci0 miibus0: on nfe0 e1000phy0: PHY 15 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto nfe0: Ethernet address: 00:13:d4:d6:3a:7b nfe0: [FILTER] pcib2: at device 11.0 on pci0 pci4: on pcib2 pcib3: at device 12.0 on pci0 pci3: on pcib3 pcib4: at device 13.0 on pci0 pci2: on pcib4 pcib5: at device 14.0 on pci0 pci1: on pcib5 vgapci0: mem 0xd0000000-0xd0ffffff,0xc0000000-0xcfffffff,0xd1000000-0xd1ffffff irq 18 at device 0.0 on pci1 acpi_tz0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] cpu0: on acpi0 acpi_throttle0: on cpu0 powernow0: on cpu0 orm0: at iomem 0xd0000-0xd3fff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> 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 uhub1: on uhub0 uhub1: 2 ports with 1 removable, bus powered ukbd0: on uhub1 kbd2 at ukbd0 uhid0: on uhub1 ums0: on uhub1 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 2010312369 Hz quality 800 Timecounters tick every 1.000 msec ad0: 286168MB at ata0-master UDMA100 ad8: 953869MB at ata4-master SATA150 GEOM: ad0: the secondary GPT table is corrupt or invalid. GEOM: ad0: using the primary only -- recovery suggested. GEOM_LABEL: Label for provider ad0p1 is ufsid/477f45096d16161b. GEOM_LABEL: Label for provider ad0p1 is ufs/Disque1. GEOM_LABEL: Label for provider ad0s1a is ufsid/4a675b954a5764b7. GEOM_LABEL: Label for provider ad8p1 is ufsid/499c8ec590cbe4cd. GEOM_LABEL: Label for provider ad8p1 is ufs/1TB3. Trying to mount root from ufs:/dev/ad0s1a GEOM_LABEL: Label ufs/Disque1 removed. GEOM_LABEL: Label ufsid/477f45096d16161b removed. GEOM_LABEL: Label ufsid/4a675b954a5764b7 removed. GEOM_LABEL: Label for provider ad0s1a is ufsid/4a675b954a5764b7. GEOM_LABEL: Label ufsid/4a675b954a5764b7 removed. GEOM_LABEL: Label ufsid/499c8ec590cbe4cd removed. WARNING: /mnt was not properly dismounted kqemu version 0x00010400 kqemu: KQEMU installed, max_locked_mem=1042196kB. [olivier@dev64]~>pciconf -lv none0@pci0:0:0:0: class=0x058000 card=0x815a1043 chip=0x005e10de rev=0xa3 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce4 Memory Controller' class = memory isab0@pci0:0:1:0: class=0x060100 card=0x815a1043 chip=0x005010de rev=0xa3 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce4 PCI to ISA Bridge' class = bridge subclass = PCI-ISA none1@pci0:0:1:1: class=0x0c0500 card=0x815a1043 chip=0x005210de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce4 SMBus' class = serial bus subclass = SMBus ohci0@pci0:0:2:0: class=0x0c0310 card=0x815a1043 chip=0x005a10de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce4 USB Controller' class = serial bus subclass = USB atapci0@pci0:0:6:0: class=0x01018a card=0x815a1043 chip=0x005310de rev=0xf2 hdr=0x00 vendor = 'Nvidia Corp' device = 'NVidia nForce 4 SLI IDE Controller' class = mass storage subclass = ATA atapci1@pci0:0:7:0: class=0x010185 card=0x815a1043 chip=0x005410de rev=0xf3 hdr=0x00 vendor = 'Nvidia Corp' device = 'NVidia nForce 4 SLI IDE Controller' class = mass storage subclass = ATA atapci2@pci0:0:8:0: class=0x010185 card=0x815a1043 chip=0x005510de rev=0xf3 hdr=0x00 vendor = 'Nvidia Corp' device = 'NVidia nForce 4 SLI IDE Controller' class = mass storage subclass = ATA pcib1@pci0:0:9:0: class=0x060401 card=0x00000000 chip=0x005c10de rev=0xa2 hdr=0x01 vendor = 'Nvidia Corp' device = 'nForce4 PCI Bridge' class = bridge subclass = PCI-PCI nfe0@pci0:0:10:0: class=0x068000 card=0x81411043 chip=0x005710de rev=0xa3 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce4 Ultra NVidia Network Bus Enumerator' class = bridge pcib2@pci0:0:11:0: class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01 vendor = 'Nvidia Corp' device = 'nForce4 PCIe Bridge' class = bridge subclass = PCI-PCI pcib3@pci0:0:12:0: class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01 vendor = 'Nvidia Corp' device = 'nForce4 PCIe Bridge' class = bridge subclass = PCI-PCI pcib4@pci0:0:13:0: class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01 vendor = 'Nvidia Corp' device = 'nForce4 PCIe Bridge' class = bridge subclass = PCI-PCI pcib5@pci0:0:14:0: class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01 vendor = 'Nvidia Corp' device = 'nForce4 PCIe Bridge' class = bridge subclass = PCI-PCI hostb0@pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = '(K8) Athlon 64/Opteron HyperTransport Technology Configuration' class = bridge subclass = HOST-PCI hostb1@pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = '(K8) Athlon 64/Opteron Address Map' class = bridge subclass = HOST-PCI hostb2@pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = '(K8) Athlon 64/Opteron DRAM Controller' class = bridge subclass = HOST-PCI hostb3@pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = '(K8) Athlon 64/Opteron Miscellaneous Control' class = bridge subclass = HOST-PCI vgapci0@pci0:1:0:0: class=0x030000 card=0x00000000 chip=0x01d310de rev=0xa1 hdr=0x00 vendor = 'Nvidia Corp' device = 'GeForce 7300 SE' class = display subclass = VGA >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"