From owner-freebsd-current@FreeBSD.ORG Sun Nov 23 05:13:12 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF850106564A for ; Sun, 23 Nov 2008 05:13:12 +0000 (UTC) (envelope-from yr.retarded@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 976FF8FC08 for ; Sun, 23 Nov 2008 05:13:12 +0000 (UTC) (envelope-from yr.retarded@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so651177yxb.13 for ; Sat, 22 Nov 2008 21:13:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Cd6mmgcqtGPZTPixrLiQ68bG2Kf192KFYBCyz1HKQ2M=; b=HLOsedmu36u1dBvXF6DiEwW7XC6RwXaUZU5bcSAnaOSbBnuLBGQKmX6lZ4gPXz87dL jNCjZnJZeZheUQI1HW0dnyWDoS/M7CZigzIaTTE/qasgpivFeNS4jQGIY3Buq114AXOI 66f1rGr1euMG8bJIZZ8+coQQJM2eNk91M4Iro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=nswnnaz0IVw5VuJj9k/Zj7kCsNgqMzW+ugIXrEfCDFkQIojv1xHTP7csBkVDrS84I4 KFZWnKb9jTN3yk/o1sdez3i6X2rA+0b18loYVuFHx/IILDcfVHDQ/O8z9Wf/DgrPGMi0 7NzI2mJpivBTapTU9pb3VQ9vSWozq8//sSuVM= Received: by 10.151.12.1 with SMTP id p1mr4319092ybi.97.1227415734239; Sat, 22 Nov 2008 20:48:54 -0800 (PST) Received: by 10.151.108.16 with HTTP; Sat, 22 Nov 2008 20:48:54 -0800 (PST) Message-ID: <58c737d70811222048n3e049fe0r9eafad79f52b47d8@mail.gmail.com> Date: Sat, 22 Nov 2008 22:48:54 -0600 From: "Chris Ruiz" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: boot stalls at pci0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2008 05:13:13 -0000 Upon attempting to upgrade my system from 7-STABLE to 8-CURRENT I encountered a show-stopper bug. Important system info: -Intel DQ35JO motherboard w/ most recent BIOS -Core2Duo E6850 cpu -FreeBSD/AMD64 -8gb ram -ZFS root, USB stick UFS boot I never had problems booting the system in the past nor had I experienced any stability issues. Simply, I want to upgrade to -CURRENT because I use zfs, which has recently been updated. I csuped two days ago and successfully built and installed world. I built a custom kernel, installed it and rebooted. This is where my problem lies. The system hangs upon boot at the message: pci0: on pcib0. OK, so I thought maybe this is a problem with my custom kernel, so I tried a GENERIC kernel and received the same hang. So next I did what I should have done before before blindly assuming -CURRENT would boot, I downloaded the 200811 snapshot and tried to boot it. No dice. The 200810 and 200809 snapshots all hang at the same place. Interestingly enough the 200807 snapshot (there is no 200808 for AMD64) booted just like -STABLE had previously. I tried booting and breaking into the debugger with no success. Typing boot -d at the loader prompt gave me an endless sea of scroll. Since I boot off a usb stick, I can easily use VMWare Fusion to build a new kernel for me to test. So my question to essentially is, where did this regression come from and what can I do to help fix this? My best guess is that this is ACPI related but I am obviously not a developer. Attached below is a dmesg from the 200807 AMD64 livecd. Thanks, Chris Ruiz Copyright (c) 1992-2008 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 8.0-CURRENT-200807 #0: Tue Jul 15 00:29:21 UTC 2008 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz (3001.46-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 Features=0xbfebfbff Features2=0xe3f5 AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 8486961152 (8093 MB) avail memory = 8206684160 (7826 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] 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 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x3458-0x345f mem 0xe0380000-0xe03fffff,0xd0000000-0xdfffffff,0xe0200000-0xe02fffff irq 16 at device 2.0 on pci0 vgapci1: mem 0xe0300000-0xe037ffff at device 2.1 on pci0 pci0: at device 3.0 (no driver attached) atapci0: port 0x3450-0x3457,0x346c-0x346f,0x3448-0x344f,0x3468-0x346b,0x3420-0x342f irq 18 at device 3.2 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] pci0: at device 3.3 (no driver attached) em0: port 0x3400-0x341f mem 0xe0400000-0xe041ffff,0xe0424000-0xe0424fff irq 20 at device 25.0 on pci0 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:19:d1:a4:1a:cf uhci0: port 0x30e0-0x30ff irq 18 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x30c0-0x30df irq 21 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x30a0-0x30bf irq 17 at device 26.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xe0426c00-0xe0426fff irq 17 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pci0: at device 27.0 (no driver attached) pcib1: at device 28.0 on pci0 pci1: on pcib1 pcib2: at device 28.1 on pci0 pci2: on pcib2 pcib3: at device 28.2 on pci0 pci3: on pcib3 atapci1: port 0x2018-0x201f,0x2024-0x2027,0x2010-0x2017,0x2020-0x2023,0x2000-0x200f mem 0xe0100000-0xe01001ff irq 18 at device 0.0 on pci3 atapci1: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] pcib4: at device 28.3 on pci0 pci4: on pcib4 pcib5: at device 28.4 on pci0 pci5: on pcib5 uhci3: port 0x3080-0x309f irq 23 at device 29.0 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb4: on uhci3 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered uhci4: port 0x3060-0x307f irq 19 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] usb5: on uhci4 usb5: USB revision 1.0 uhub5: on usb5 uhub5: 2 ports with 2 removable, self powered uhci5: port 0x3040-0x305f irq 18 at device 29.2 on pci0 uhci5: [GIANT-LOCKED] uhci5: [ITHREAD] usb6: on uhci5 usb6: USB revision 1.0 uhub6: on usb6 uhub6: 2 ports with 2 removable, self powered ehci1: mem 0xe0426800-0xe0426bff irq 23 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb7: EHCI version 1.0 usb7: companion controllers, 2 ports each: usb4 usb5 usb6 usb7: on ehci1 usb7: USB revision 2.0 uhub7: on usb7 uhub7: 6 ports with 6 removable, self powered pcib6: at device 30.0 on pci0 pci6: on pcib6 fxp0: port 0x1000-0x103f mem 0xe0021000-0xe0021fff,0xe0000000-0xe001ffff irq 21 at device 0.0 on pci6 miibus0: on fxp0 inphy0: PHY 1 on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: XXX: driver didn't set ifq_maxlen fxp0: Ethernet address: 00:07:e9:01:b9:6a fxp0: [ITHREAD] fwohci0: mem 0xe0020000-0xe0020fff irq 19 at device 3.0 on pci6 fwohci0: [FILTER] fwohci0: OHCI version 1.0 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:90:27:00:01:d0:dc:04 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x274c000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:90:27:d0:dc:04 fwe0: Ethernet address: 02:90:27:d0:dc:04 fwip0: on firewire0 fwip0: Firewire address: 00:90:27:00:01:d0:dc:04 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode isab0: at device 31.0 on pci0 isa0: on isab0 atapci2: port 0x3438-0x343f,0x3464-0x3467,0x3430-0x3437,0x3460-0x3463,0x3020-0x303f mem 0xe0426000-0xe04267ff irq 21 at device 31.2 on pci0 atapci2: [ITHREAD] atapci2: AHCI Version 01.20 controller with 6 ports PM supported ata5: on atapci2 ata5: [ITHREAD] ata6: on atapci2 ata6: [ITHREAD] ata7: on atapci2 ata7: [ITHREAD] ata8: on atapci2 ata8: [ITHREAD] ata9: on atapci2 ata9: [ITHREAD] ata10: on atapci2 ata10: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 p4tcc1: on cpu1 acpi_button0: on acpi0 atrtc0: port 0x70-0x71,0x74-0x77 irq 8 on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] orm0: at iomem 0xce000-0xcf7ff 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> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ugen0: on uhub5 ukbd0: on uhub5 kbd2 at ukbd0 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) md0: Preloaded image 4194304 bytes at 0xffffffff80d464e8 acd0: DMA limited to UDMA33, device found non-ATA66 cable acd0: DVDROM at ata4-master UDMA33 ad10: 476940MB at ata5-master SATA300 ad12: 476940MB at ata6-master SATA300 ad18: 715404MB at ata9-master SATA300 ad20: 715404MB at ata10-master SATA300 GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_LiveFS. GEOM_LABEL: Label for provider ad18 is label/sea750-1. GEOM_LABEL: Label for provider ad20 is label/sea750-2. SMP: AP CPU #1 Launched! WARNING: WITNESS option enabled, expect reduced performance.