FreeBSD hangs while booting with USB legacy support off

Hans Petter Selasky hselasky at c2i.net
Sun Jan 16 11:47:27 UTC 2011


On Sunday 16 January 2011 07:48:21 Norihiko Murase wrote:
> Hi,
> 
> My name is Norihiko Murase. I would like you to give me the
> comments/suggestions about the symptom described below.
> 
> 
> When I started the FreeBSD installation system via DVD
> (FreeBSD-***-RELEASE-i386-dvd1.iso), the system hangs while
> the devices are being probed.
> 
> The last lines displayed was the following::
>   pci4: <ACPI PCI bus> on pcib4
>   pci4: domain=0, physical bus=4
> 
> Curiously, the system does NOT hang at all if the bios
> setting of the box is changed as follows:
>   <USB Legacy Function> = "Enabled" (from "Disabled")
> # opposite to PR#91906 ?!
> # http://www.freebsd.org/cgi/query-pr.cgi?pr=91906
> 
> After I change the bios setting as described above, the
> following lines are displayed::
>   pci4: <ACPI PCI bus> on pcib4
>   pci4: domain=0, physical bus=4
>   found-> vendor=0x1033, dev=0x0194, revid=0x03
>           domain=0, bus=4, slot=0, func=0
>           class=0c-03-30, hdrtype=0x00, mfdev=0
>           cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
>           lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>           intpin=a, irq=12
>           powerspec 3  supports D0 D3  current D0
>           MSI supports 8 messages, 64 bit
>           MSI-X supports 8 messages in map 0x10
>           map[10]: type Memory, range 64, base 0xfbcfe000, size 13, enabled
>   pcib4: requested memory range 0xfbcfe000-0xfbcfffff: good
>   pcib4: matched entry for 4.0.INTA
>   pcib4: slot 0 INTA hardwired to IRQ 18
>   pci4: <serial bus, USB> at device 0.0 (no driver attached)
> 
> 
> Detail of the environment under which I tried is as follows:
>   * OS: FreeBSD
>       6.4-RELEASE
>       7.3-RELEASE
>       8.1-RELEASE
>   * Motherboard: GIGABYTE GA-P55A-UD5
>     http://www.gigabyte.com/products/product-page.aspx?pid=3237
>     ----------
>     (1) BIOS ver = F12 (latest)
>     (2) Chipset: Intel P55 Express
>     (3) Only one PS/2 connector is available.
>     (4) USB 3.0 ports are available as well as USB 2.0/1.1 ones.
> 

We currently don't have the USB 3.0 code in place to switch off the legacy 
mode during bootup. This might be the root cause. Does your BIOS suppor the 
USB 3.0 controller?

Reference:

src/sys/dev/pci/pci.c:#include <dev/usb/controller/ehcireg.h>
src/sys/dev/pci/pci.c:#include <dev/usb/controller/ohcireg.h>
src/sys/dev/pci/pci.c:#include <dev/usb/controller/uhcireg.h>
src/sys/dev/pci/pci.c:static int pci_usb_takeover = 1;
src/sys/dev/pci/pci.c:static int pci_usb_takeover = 0;
src/sys/dev/pci/pci.c:TUNABLE_INT("hw.pci.usb_early_takeover", 
&pci_usb_takeover);

--HPS


More information about the freebsd-usb mailing list