Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2014 11:01:02 +0800
From:      Huang Wen Hui <huanghwh@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Install 10.0-RC3 on MacBookPro Late 2013
Message-ID:  <CAB8uncZO19Aen%2BuQRgO3whSOTVM%2BftcsGrJuGZZd4Qbd1Zf5mw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to install FreeBSD on MacBookPro Late 2013, I got 3 main
problems:

1. USB problem

This MacBookPro model only have xhci controller, 10.0-RC3 and 9.2R not
working, keyboard and touchpad not respond. Error messages are
"xhci_do_command: Command timeout!" and "USB_ERR_TIMEOUT".
I also try to set "hw.usb.xhci.msi=0", no lucky.

But 9.1R is OK, I copy xhci*.* file from 9.1R to 10.0, with very small
change, and
xhci works under 10.0-RC3!

dmesg in 10.0-RC3: http://sw.gddsn.org.cn/freebsd/dmesg-10.0.txt
vmstat -i in 10.0-RC3: http://sw.gddsn.org.cn/freebsd/vmstat-10.0.txt
pciconf in 10.0-RC3: http://sw.gddsn.org.cn/freebsd/pciconf.txt

dmesg in 10.0 + xhci of 9.1R:
http://sw.gddsn.org.cn/freebsd/dmesg-10.0+9.1.txt
vmstat -i in  + xhci of 9.1R:
http://sw.gddsn.org.cn/freebsd/vmstat-10.0+9.1.txt

2. AHCI timeout problem

After booting, system quickly hit ahci timeout problem, I have to set
"camcontrol tags ada0 -N 1".
this can decrease timeout problem, but still happen when running heavy IO.

"hint.ahci.0.msi=0" seem to fix this problem, but ahci and xhci use same
IRQ 16, this make 10.0+9.1xhci
unstable:( Internal keyboard and touchpad not working,  external keyboard
and mouse working.

vmstat -i in 10.0+9.1xhci with "hint.ahci.0.msi=0":
http://sw.gddsn.org.cn/freebsd/vmstat-10.0+9.1+msi.txt
camcontrol identify: http://sw.gddsn.org.cn/freebsd/cam-identify.txt
smartctl: http://sw.gddsn.org.cn/freebsd/smartctl.txt

3. Random hang

Sometimes the system(10.0+9.1xhci) hang without any message, keyboard,
mouse and ping ping not respond.
console no message, ctrl+alt+esc also could not break into ddb, I may try
firewire/dcons, help it can get some
useful information.

I really like to have a working freebsd on MacBookPro, anything I can
provide or any ideas?

Cheers,
Huang Wen Hui



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB8uncZO19Aen%2BuQRgO3whSOTVM%2BftcsGrJuGZZd4Qbd1Zf5mw>