Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Lundberg, Johannes
What I got so far is this; USB driver from current stops after xhci0: 32 byte context size While driver from 9.1 continues to the next step which is usbus0 on xhci0 xhci0: usbpf: Attached ... I can try adding some printf's in the code and see if I get some more.. On Tuesday, August 27, 2013,

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Hans Petter Selasky
On 08/30/13 08:09, Lundberg, Johannes wrote: What I got so far is this; USB driver from current stops after xhci0: 32 byte context size While driver from 9.1 continues to the next step which is usbus0 on xhci0 xhci0: usbpf: Attached ... I can try adding some printf's in the code and see if I

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Lundberg, Johannes
Hi Hans I tried the patch and the result is the same. However, I found the command that causes the freeze. Also, it is not always it freezes but maybe 9/10 reboots or more frequently. At the end of the function xhci_start_controller(..) there is a for loop: 487for (i = 0; i != 100; i++)

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Hans Petter Selasky
On 08/30/13 11:35, Lundberg, Johannes wrote: Hi Hans I tried the patch and the result is the same. However, I found the command that causes the freeze. Also, it is not always it freezes but maybe 9/10 reboots or more frequently. At the end of the function xhci_start_controller(..) there is a

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Lundberg, Johannes
Still got the same behaviour after applying the patch... Johannes Lundberg BRILLIANTSERVICE CO., LTD. http://www.brilliantservice.co.jp On Fri, Aug 30, 2013 at 12:13 PM, Hans Petter Selasky h...@bitfrost.nowrote: On 08/30/13 11:35, Lundberg, Johannes wrote: Hi Hans I tried the patch and

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Hans Petter Selasky
On 08/30/13 13:54, Lundberg, Johannes wrote: Still got the same behaviour after applying the patch... Johannes Lundberg BRILLIANTSERVICE CO., LTD. http://www.brilliantservice.co.jp I've seen something similar with my mac, that the boot menu counter is not always counting stable. I think this

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Lundberg, Johannes
Hi Hans I tried that too and no change... But, the variable overflow you introduced, it is never increased, right? So, it will never become zero... Johannes Lundberg BRILLIANTSERVICE CO., LTD. http://www.brilliantservice.co.jp On Fri, Aug 30, 2013 at 2:26 PM, Hans Petter Selasky

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Hans Petter Selasky
On 08/30/13 15:19, Lundberg, Johannes wrote: Hi Hans I tried that too and no change... But, the variable overflow you introduced, it is never increased, right? So, it will never become zero... It will become zero when it wraps. Maybe 2**32 is too long. You could add a printf while it is

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Lundberg, Johannes
I added printf at every 100,000th iteration in both locations but I didn't get any output at all.. Seems it stuck in some other place. During my test I actually passed that stage a couple of times but still the xhci_do_command times out and I get the mountroot prompt With the 9.1 driver I

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Hans Petter Selasky
On 08/30/13 15:53, Lundberg, Johannes wrote: I added printf at every 100,000th iteration in both locations but I didn't get any output at all.. Seems it stuck in some other place. During my test I actually passed that stage a couple of times but still the xhci_do_command times out and I get the

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-27 Thread Hans Petter Selasky
On 08/26/13 21:02, Lundberg, Johannes wrote: Hi Hans Thanks but nothing of that makes any difference. Well, it's gonna be difficult to find the diff I think... The oldest image I could find was from May. What I'm doing now is compiling a bootonly.iso of current with a xhci.h/c that's reverted

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-27 Thread Lundberg, Johannes
Hi Hans Sure, I will try it out later and mail the results. Now I'm running current with usb part reverted to 9.1. It gets me pass the usb probing to the part that I really wanted to confirm. If FreeBSD supports the SSD drive on the new MacBook Air. It seems that it doesn't so that one more

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-27 Thread Adrian Chadd
Hm! Is there a Linux driver for this SSD? Does Linux approximately boot on this thing? -adrian ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-27 Thread Lundberg, Johannes
The SSD controller driver is hopefully fixed now with the patch I submitted to -current mailing list. I will compile a new system with usb as a loadable module so that it is easier to test different versions and possible fixes and then do some testing maybe tomorrow. Johannes Lundberg

xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-26 Thread Lundberg, Johannes
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

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-26 Thread Lundberg, Johannes
Just looked through the PR mail that came today and found possible duplicates. o usb/180726 usbXHCI umass support breaks between r248085 and r252560 o usb/179342 usbFreebsd 10.0-current USB 3.0 not working (xhci_do_coma Johannes Lundberg BRILLIANTSERVICE CO., LTD.

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-26 Thread Hans Petter Selasky
On 08/26/13 17:55, Lundberg, Johannes wrote: Just looked through the PR mail that came today and found possible duplicates. o usb/180726 usbXHCI umass support breaks between r248085 and r252560 o usb/179342 usbFreebsd 10.0-current USB 3.0 not working (xhci_do_coma Hi,

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-26 Thread Lundberg, Johannes
Hi Hans Thanks but nothing of that makes any difference. Well, it's gonna be difficult to find the diff I think... The oldest image I could find was from May. What I'm doing now is compiling a bootonly.iso of current with a xhci.h/c that's reverted to 9.1 release version to see if that will