xhci broken on 10-CURRENT and 2013 MacBook Air?

From: Lundberg, Johannes <johannes_at_brilliantservice.co.jp>
Date: Mon, 26 Aug 2013 16:42:47 +0100
Hi

I'm trying to install 10-CURRENT on a 2013 MacBook Air and there seem to be
some problem with the xhci driver.

During boot of the memstick image of current from 20130818 I get either of
the following errors:

- Boot freezes during probe of xhci devices.
- Probing times out (immediately) and I get the mountroot> prompt but no
functional keyboard.

I tried an image of 10-current from May but the problem is the same so what
ever change that made this stop working was committed before May.

I also tried disabling xhci with the following steps but without success

- Enter boot prompt
- set hint.xhci.0.disabled=1
- load ehci / uhci
- boot

The 9.1 release successfully detects all usb devices during install but
stop working at the partitioning tool because the PCIe SSD drive isn't
detected. Using 9.1 as LiveCD I managed to pull out the following
information.

-----

MacBook Air 2013, FreeBSD 9.1 LiveCD

dmesg output

xhci0: <XHCI (generic) USB 3.0 controller> mem 0xb0a00000-0xb0a0ffff at
device 20.0 on pci0

pciconf -l output

xhci0_at_pci0:0:20:0: class=0x0c0330 card=0x72708086 chip=0x9c318086 rev=0x04
hdr=0x00

usbconfig output

ugen0.1: <XHCI root hub 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=SAVE
ugen0.2: <BRCM20702 Hub Apple Inc.> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE
ugen0.3: <product 0x820a vendor 0x05ac> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON
ugen0.4: <product 0x820b vendor 0x05ac> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON
ugen0.5: <Bluetooth USB Host Controller Apple Inc.> at usbus0, cfg=0
md=HOST spd=FULL (12Mbps) pwr=ON
ugen0.6: <Apple Internal Keyboard  Trackpad Apple Inc.> at usbus0, cfg=0
md=HOST spd=FULL (12Mbps) pwr=ON
ugen0.7: <USB Flash Disk BUFFALO> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=ON

-----

Anyone has any clue what's going on?

Best regards

Johannes Lundberg
BRILLIANTSERVICE CO., LTD. <http://www.brilliantservice.co.jp>
Received on Mon Aug 26 2013 - 13:43:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC