From nobody@FreeBSD.org  Sat Jan 14 07:32:22 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 416EA106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 14 Jan 2012 07:32:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 2F0A08FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 14 Jan 2012 07:32:22 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q0E7WLXW012066
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 14 Jan 2012 07:32:21 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q0E7WLE2012065;
	Sat, 14 Jan 2012 07:32:21 GMT
	(envelope-from nobody)
Message-Id: <201201140732.q0E7WLE2012065@red.freebsd.org>
Date: Sat, 14 Jan 2012 07:32:21 GMT
From: Matthieu Volat <mazhe@alkumuna.eu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 9.0-RELEASE installations mediums fails to boot
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         164116
>Category:       amd64
>Synopsis:       [boot] FreeBSD 9.0-RELEASE installations mediums fails to boot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 14 07:40:10 UTC 2012
>Closed-Date:    Thu Mar 06 14:40:45 UTC 2014
>Last-Modified:  Thu Mar 06 14:40:45 UTC 2014
>Originator:     Matthieu Volat
>Release:        9.0
>Organization:
>Environment:
--
>Description:
Using either the USB memstick or bootonly CDROM image, loading the installation system fails with :

usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored)
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, ignored)
ugen1.2: <Unknown> at usbus1 (disconnected)
uhub_reattach_port: could not allocate new device
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config

After what the root filesystem cannot be mount. 

* Disabling the firewire chipset in the BIOS did not help.
* System works with FreeBSD 8.2 (with or without firewire chipset enabled)

I have joined the dmesg log from my 8.2 installation to describe the setup (Asus P5NE SLI + Core 2 6320 + 2Go ram).

Interrestingly, soft reset cannot reboot in 8.2 after this failure (same error), I have to stop the machine and restart it with power button.
>How-To-Repeat:
Booting the installation media (I suppose an installed version would have the same problem) on my setup.
>Fix:
--

Patch attached with submission follows:

Copyright (c) 1992-2011 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.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011
    root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 CPU          6320  @ 1.86GHz (1866.66-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f6  Family = 6  Model = f  Stepping = 6
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 2147483648 (2048 MB)
avail memory = 2034978816 (1940 MB)
ACPI APIC Table: <Nvidia ASUSACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 4
ioapic0 <Version 1.1> irqs 0-23 on motherboard
Cuse4BSD v0.1.23 @ /dev/cuse
kbd1 at kbdmux0
acpi0: <Nvidia ASUSACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7fdf0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
pci0: <memory, RAM> at device 0.6 (no driver attached)
pci0: <memory, RAM> at device 0.7 (no driver attached)
pci0: <memory, RAM> at device 1.0 (no driver attached)
pci0: <memory, RAM> at device 1.1 (no driver attached)
pci0: <memory, RAM> at device 1.2 (no driver attached)
pci0: <memory, RAM> at device 1.3 (no driver attached)
pci0: <memory, RAM> at device 1.4 (no driver attached)
pci0: <memory, RAM> at device 1.5 (no driver attached)
pci0: <memory, RAM> at device 1.6 (no driver attached)
pci0: <memory, RAM> at device 2.0 (no driver attached)
pci0: <memory, RAM> at device 2.1 (no driver attached)
pci0: <memory, RAM> at device 2.2 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xbc00-0xbc7f mem 0xfa000000-0xfaffffff,0xe0000000-0xefffffff,0xf8000000-0xf9ffffff irq 16 at device 0.0 on pci1
nvidia0: <GeForce 8800 GT> on vgapci0
vgapci0: child nvidia0 requested pci_enable_busmaster
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia0: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> at device 7.0 on pci0
pci2: <ACPI PCI bus> on pcib2
atapci0: <JMicron JMB360 SATA300 controller> port 0x9c00-0x9c07,0x9800-0x9803,0x9400-0x9407,0x9000-0x9003,0x8c00-0x8c0f mem 0xfddfe000-0xfddfffff irq 16 at device 0.0 on pci2
atapci0: [ITHREAD]
atapci1: <AHCI SATA controller> on atapci0
atapci1: [ITHREAD]
atapci1: AHCI v1.00 controller with 1 3Gbps ports, PM supported
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
pci0: <memory, RAM> at device 9.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 10.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 10.1 (no driver attached)
pci0: <memory, RAM> at device 10.2 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff at device 11.0 on pci0
ohci0: [ITHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe02e000-0xfe02e0ff at device 11.1 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <EHCI (generic) USB 2.0 controller> on ehci0
atapci2: <nVidia nForce MCP51 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf400-0xf40f at device 13.0 on pci0
ata0: <ATA channel 0> on atapci2
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci2
ata1: [ITHREAD]
atapci3: <nVidia nForce MCP51 SATA300 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f mem 0xfe02d000-0xfe02dfff irq 20 at device 14.0 on pci0
atapci3: [ITHREAD]
ata3: <ATA channel 0> on atapci3
ata3: [ITHREAD]
ata4: <ATA channel 1> on atapci3
ata4: [ITHREAD]
atapci4: <nVidia nForce MCP51 SATA300 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xcc00-0xcc0f mem 0xfe02c000-0xfe02cfff irq 21 at device 15.0 on pci0
atapci4: [ITHREAD]
ata5: <ATA channel 0> on atapci4
ata5: [ITHREAD]
ata6: <ATA channel 1> on atapci4
ata6: [ITHREAD]
pcib3: <ACPI PCI-PCI bridge> at device 16.0 on pci0
pci3: <ACPI PCI bus> on pcib3
hdac0: <NVidia MCP51 High Definition Audio Controller> mem 0xfe024000-0xfe027fff irq 22 at device 16.1 on pci0
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
nfe0: <NVIDIA nForce 430 MCP13 Networking Adapter> port 0xc800-0xc807 mem 0xfe02b000-0xfe02bfff irq 23 at device 20.0 on pci0
miibus0: <MII bus> on nfe0
e1000phy0: <Marvell 88E1116 Gigabit PHY> PHY 1 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
nfe0: Ethernet address: 00:1d:60:ca:f9:c7
nfe0: [FILTER]
acpi_tz0: <Thermal Zone> on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfeff0000-0xfeff03ff irq 0,8 on acpi0
Timecounter "HPET" frequency 25000000 Hz quality 900
atrtc0: <AT realtime clock> port 0x70-0x73 on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model MouseMan+, device ID 0
orm0: <ISA Option ROMs> at iomem 0xd0000-0xd7fff,0xd8000-0xd97ff,0xda000-0xdbfff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 72a072a0600062a
device_attach: est0 attach returned 6
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 72a072a0600062a
device_attach: est1 attach returned 6
p4tcc1: <CPU Frequency Thermal Control> on cpu1
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
acd0: CDRW <SONY CD-RW CRX230E/QYS1> at ata0-master UDMA33 
ugen0.1: <nVidia> at usbus0
uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <nVidia> at usbus1
uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
acd1: DVDROM <CREATIVEDVD6630E/b13A> at ata0-slave PIO4 
ad6: 143089MB <WDC WD1500HLFS-01MZUV0 04.05G04> at ata3-master UDMA100 SATA 3Gb/s
ad8: 476940MB <SAMSUNG HD502IJ 1AA01113> at ata4-master UDMA100 SATA 3Gb/s
hdac0: HDA Codec #0: Realtek ALC883
pcm0: <HDA Realtek ALC883 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Realtek ALC883 PCM #1 Analog> at cad 0 nid 1 on hdac0
pcm2: <HDA Realtek ALC883 PCM #2 Digital> at cad 0 nid 1 on hdac0
SMP: AP CPU #1 Launched!
uhub0: 8 ports with 8 removable, self powered
uhub1: 8 ports with 8 removable, self powered
ugen1.2: <vendor 0x13fe> at usbus1
umass0: <vendor 0x13fe silicon-power, class 0/0, rev 2.00/1.00, addr 2> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x0000
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
umass0:3:0:-1: Attached to scbus3
(probe1:ata0:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe1:ata0:0:1:0): CAM status: SCSI Status Error
(probe1:ata0:0:1:0): SCSI status: Check Condition
(probe1:ata0:0:1:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
cd0 at ata0 bus 0 scbus0 target 0 lun 0
cd0: <SONY CD-RW  CRX230E QYS1> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: cd present [71107 x 2048 byte records]
da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0: < silicon-power PMAP> Removable Direct Access SCSI-0 device 
da0: 40.000MB/s transfers
da0: 15272MB (31277056 512 byte sectors: 255H 63S/T 1946C)
cd1 at ata0 bus 0 scbus0 target 1 lun 0
cd1: <CREATIVE DVD6630E b13A> Removable CD-ROM SCSI-0 device 
cd1: 16.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 
(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 1 15 c2 0 0 1 0 
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: MEDIUM ERROR info?:115c2 asc:11,5 (L-EC uncorrectable error)
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 
(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 1 15 c2 0 0 1 0 
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: MEDIUM ERROR info?:115c2 asc:11,5 (L-EC uncorrectable error)
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 
(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 1 15 c2 0 0 1 0 
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: MEDIUM ERROR info?:115c2 asc:11,5 (L-EC uncorrectable error)
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 
(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 1 15 c2 0 0 1 0 
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: MEDIUM ERROR info?:115c2 asc:11,5 (L-EC uncorrectable error)
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 
(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 1 15 c2 0 0 1 0 
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: MEDIUM ERROR info?:115c2 asc:11,5 (L-EC uncorrectable error)
(cd0:ata0:0:0:0): cddone: got error 0x5 back
GEOM: da0: geometry does not match label (64h,33s != 255h,63s).
GEOM: da0: media size does not match label.
Trying to mount root from ufs:/dev/ad8s1a
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
acd1: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 ascq=0x00 


>Release-Note:
>Audit-Trail:

From: Matthieu Volat <mazhe@alkumuna.eu>
To: bug-followup@FreeBSD.org, mazhe@alkumuna.eu
Cc:  
Subject: Re: amd64/164116: [boot] FreeBSD 9.0-RELEASE installations mediums
 fails to boot
Date: Thu, 19 Jan 2012 22:30:14 +0100

 I also tried to disable USB in the BIOS, with no avail.
 
 -- 
 Matthieu Volat <mazhe@alkumuna.eu>
State-Changed-From-To: open->closed 
State-Changed-By: gjb 
State-Changed-When: Thu Mar 6 14:40:20 UTC 2014 
State-Changed-Why:  
Closed at submitter's request, fixed in 9.1. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=164116 
>Unformatted:
