Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-25 Thread Gavin Atkinson
On Tue, 7 Jan 2014, Lundberg, Johannes wrote: I have also experienced random hangs. However, I'm not sure if they are really hangs or just the USB driver stopped working. Since mouse pad, keyboard everything is run through USB I couldn't tell really what happened. It seems that the frequency

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-11 Thread Hans Petter Selasky
On 01/11/14 05:14, Huang Wen Hui wrote: Hi, I got one problem when I unplug/plug Buffalo WLI-UC-GNM, it is USB WLAN. All USB devices become to disconnected after unplug and plug: Try this: http://svnweb.freebsd.org/changeset/base/260535 --HPS ___

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-11 Thread Huang Wen Hui
I try many times plug/unplug, this patch basically works, but I still got the previous problem one time. Cheers, Huang Wen Hui 2014/1/11 Hans Petter Selasky h...@bitfrost.no On 01/11/14 05:14, Huang Wen Hui wrote: Hi, I got one problem when I unplug/plug Buffalo WLI-UC-GNM, it is USB

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-10 Thread Huang Wen Hui
Hi, I got one problem when I unplug/plug Buffalo WLI-UC-GNM, it is USB WLAN. All USB devices become to disconnected after unplug and plug: ugen0.9: Ralink at usbus0 run0: 1.0 on usbus0 run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address 4c:e6:76:d4:c9:5e wlan0: Ethernet address:

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-09 Thread Lundberg, Johannes
Huang's MBP: xhci0@pci0:0:20:0:class=0x0c0330 card=0x72708086 chip=0x8c318086 rev=0x05 hdr=0x00 seems to be different from my MBA. Is there any more information I can provide that can help us come closer to finding a solution? -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Wed, Jan 8,

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-07 Thread Hans Petter Selasky
On 01/07/14 08:07, Huang Wen Hui wrote: Hi, This patch fixed my problem! Thanks, Huang Wen Hui. http://svnweb.freebsd.org/changeset/base/260388 --HPS ___ freebsd-current@freebsd.org mailing list

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-07 Thread Huang Wen Hui
Hi, After USB problem fixed, I run some test: builworld/builkernel, mate, chrome and eclipse, every thing is fine, no random hang! I guess the hang problem is gone with USB problem fixed... Cheers, Huang Wen Hui 2014/1/7 Huang Wen Hui huang...@gmail.com USB problem fixed by revert to r245731,

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-07 Thread Lundberg, Johannes
Lucky you! I tried the latest src just now, made memstick on amd64 and ran on MBA2013 but no luck. Reverting xhci* to 243780 as I've done before made it pass the boot sequence and to the installer. Was hoping the same fix applied to Air as well :( On Tuesday, January 7, 2014, Huang Wen Hui

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-07 Thread Hans Petter Selasky
On 01/07/14 14:22, Lundberg, Johannes wrote: Lucky you! I tried the latest src just now, made memstick on amd64 and ran on MBA2013 but no luck. Reverting xhci* to 243780 as I've done before made it pass the boot sequence and to the installer. Was hoping the same fix applied to Air as

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-07 Thread Lundberg, Johannes
Hi Hans Yeah I made sure I got the latest source that contained your latest commit. Sorry no patch at this moment. I've been busy with other things lately so I haven't worked on this for some time now but felt the urge to give it a try when it seemed to be OK on MBP.. Output from pciconf -lv

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Huang Wen Hui
The xhci code from 9.1R is OK, but there are a lot of USB_ERR_TIMEOUT in 9.2R... 2014/1/6 Adrian Chadd adr...@freebsd.org .. are you getting this USB_ERR_TIMEOUT even with the xhci code from -9? -a On 5 January 2014 23:10, Hans Petter Selasky h...@bitfrost.no wrote: On 01/06/14 05:11,

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Hans Petter Selasky
On 01/06/14 09:19, Huang Wen Hui wrote: The xhci code from 9.1R is OK, but there are a lot of USB_ERR_TIMEOUT in 9.2R... Have you copied the USB code from 9.1R to 9.2R and made a build? --HPS ___ freebsd-current@freebsd.org mailing list

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Huang Wen Hui
Hans, I got this message, and full log in http://sw.gddsn.org.cn/freebsd/dmesg-xhci-debug.txt Cheers, Huang Wen Hui. % grep xhci dmesg-xhci-debug.txt | more xhci0: Intel Lynx Point USB 3.0 controller mem 0xc1e0-0xc1e0 at device 20.0 on pci0 xhci0: attempting to allocate 1 MSI vectors (8

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Hans Petter Selasky
On 01/06/14 10:41, Huang Wen Hui wrote: % grep xhci dmesg-xhci-debug.txt | more xhci0: Intel Lynx Point USB 3.0 controller mem 0xc1e0-0xc1e0 at device 20.0 on pci0 xhci0: attempting to allocate 1 MSI vectors (8 supported) xhci0: using IRQ 266 for MSI xhci0: MSI enabled Those USB

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Huang Wen Hui
2014/1/6 Hans Petter Selasky h...@bitfrost.no On 01/06/14 10:41, Huang Wen Hui wrote: % grep xhci dmesg-xhci-debug.txt | more xhci0: Intel Lynx Point USB 3.0 controller mem 0xc1e0-0xc1e0 at device 20.0 on pci0 xhci0: attempting to allocate 1 MSI vectors (8 supported) xhci0: using

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Hans Petter Selasky
On 01/06/14 11:15, Huang Wen Hui wrote: 2014/1/6 Hans Petter Selasky h...@bitfrost.no On 01/06/14 10:41, Huang Wen Hui wrote: % grep xhci dmesg-xhci-debug.txt | more xhci0: Intel Lynx Point USB 3.0 controller mem 0xc1e0-0xc1e0 at device 20.0 on pci0 xhci0: attempting to allocate 1

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Huang Wen Hui
No, from pciconf -lv, I only found one USB is xhci driver, other none I don't think is a USB controller. # pciconf -lv hostb0@pci0:0:0:0:class=0x06 card=0x012f106b chip=0x0d048086 rev=0x08 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = HOST-PCI

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Huang Wen Hui
Yes, I did it, works like 9.1R. 2014/1/6 Hans Petter Selasky h...@bitfrost.no On 01/06/14 09:19, Huang Wen Hui wrote: The xhci code from 9.1R is OK, but there are a lot of USB_ERR_TIMEOUT in 9.2R... Have you copied the USB code from 9.1R to 9.2R and made a build? --HPS

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Adrian Chadd
Right, but it used to work. That's the confusing bit. How'd you make it not work? :) -a On 6 January 2014 01:52, Hans Petter Selasky h...@bitfrost.no wrote: On 01/06/14 10:41, Huang Wen Hui wrote: % grep xhci dmesg-xhci-debug.txt | more xhci0: Intel Lynx Point USB 3.0 controller mem

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Hans Petter Selasky
On 01/06/14 15:17, Adrian Chadd wrote: Right, but it used to work. That's the confusing bit. How'd you make it not work? :) Binary sect the sys/dev/usb/controller/xhci.c revision history? There has been several bug reports for the Lynx point, and others XHCI chipsets are working just fine.

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Hans Petter Selasky
On 01/06/14 16:28, Hans Petter Selasky wrote: On 01/06/14 15:17, Adrian Chadd wrote: Right, but it used to work. That's the confusing bit. How'd you make it not work? :) Binary sect the sys/dev/usb/controller/xhci.c revision history? There has been several bug reports for the Lynx point, and

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Huang Wen Hui
Hans, This wild guess do NOT works. I binary sect xhci.c in SVN, found that *r245732 *http://svnweb.freebsd.org/base?view=revisionrevision=245732* introduce the bug.* http://svnweb.freebsd.org/base?view=revisionrevision=245732 revert to r345731 fixed this USB problem in 9.2R I also copy

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Huang Wen Hui
USB problem fixed by revert to r245731, set hint.ahci.0.msi=0 seem to fixed timeout problem of AHCI. Random hang I think still exist, will check later... Cheers, Huang Wen Hui 2014/1/7 Lundberg, Johannes johan...@brilliantservice.co.jp Hi Huang Good job!! By works, which parts do you mean

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Lundberg, Johannes
Hi Huang Good job!! By works, which parts do you mean has been fixed? 1. USB problem or 2. AHCI timeout problem or 3. Random hang Best regards! -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Tue, Jan 7, 2014 at 11:30 AM, Huang Wen Hui huang...@gmail.com wrote: Hans, This wild guess

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Lundberg, Johannes
Hi Huang I have also experienced random hangs. However, I'm not sure if they are really hangs or just the USB driver stopped working. Since mouse pad, keyboard everything is run through USB I couldn't tell really what happened. Did you have any problems with the identifier of the ssd? When I

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Hans Petter Selasky
On 01/07/14 03:30, Huang Wen Hui wrote: Hans, This wild guess do NOT works. I binary sect xhci.c in SVN, found that *r245732 *http://svnweb.freebsd.org/base?view=revisionrevision=245732* introduce the bug.* http://svnweb.freebsd.org/base?view=revisionrevision=245732 revert to r345731 fixed

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Huang Wen Hui
Hi, 2014/1/7 Lundberg, Johannes johan...@brilliantservice.co.jp Hi Huang I have also experienced random hangs. However, I'm not sure if they are really hangs or just the USB driver stopped working. Since mouse pad, keyboard everything is run through USB I couldn't tell really what happened.

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Huang Wen Hui
Hi, This patch fixed my problem! Thanks, Huang Wen Hui. 2014/1/7 Hans Petter Selasky h...@bitfrost.no On 01/07/14 03:30, Huang Wen Hui wrote: Hans, This wild guess do NOT works. I binary sect xhci.c in SVN, found that *r245732

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-05 Thread Adrian Chadd
Hi! Would you mind a recent 11-amd64 snapshot? Hans has committed a few fixes to the driver recently. Thanks! -a On 5 January 2014 19:01, Huang Wen Hui huang...@gmail.com wrote: Hi, I am trying to install FreeBSD on MacBookPro Late 2013, I got 3 main problems: 1. USB problem This

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-05 Thread Huang Wen Hui
Hi, I also install 11-amd64 snapshot 2 days ago, I remember AHCI is OK, but USB and random hang are still existed. I will confirm it later. Cheers, Huang Wen Hui. 2014/1/6 Adrian Chadd adr...@freebsd.org Hi! Would you mind a recent 11-amd64 snapshot? Hans has committed a few fixes to the

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-05 Thread Lundberg, Johannes
Hi Huang I have also been working on getting FreeBSD running on the new MBA and I'm basically at the same place as you. Please post any progress you have to the current mailing list. -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Mon, Jan 6, 2014 at 12:20 PM, Huang Wen Hui

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-05 Thread Huang Wen Hui
Hi, USB still have a lot of USB_ERR_TIMEOUT, but Internal keyboard and external keyboard found and works! usb disk also found, but booting stop at: Mounting from ufs:/dev/da0a failed with error 6. or a lot of cam Retrying command. Cheers, Huang Wen Hui 2014/1/6 Huang Wen Hui

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-05 Thread Hans Petter Selasky
On 01/06/14 05:11, Huang Wen Hui wrote: Hi, USB still have a lot of USB_ERR_TIMEOUT, but Internal keyboard and external keyboard found and works! usb disk also found, but booting stop at: Mounting from ufs:/dev/da0a failed with error 6. or a lot of cam Retrying command. Cheers, Huang Wen Hui

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-05 Thread Adrian Chadd
.. are you getting this USB_ERR_TIMEOUT even with the xhci code from -9? -a On 5 January 2014 23:10, Hans Petter Selasky h...@bitfrost.no wrote: On 01/06/14 05:11, Huang Wen Hui wrote: Hi, USB still have a lot of USB_ERR_TIMEOUT, but Internal keyboard and external keyboard found and