Re: xhci controller problem on MBPr2013

2014-04-27 Thread Hans Petter Selasky
Hi, FYI: Here is the final patch: http://svnweb.freebsd.org/changeset/base/265015 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.or

Re: xhci controller problem on MBPr2013

2014-04-27 Thread Huang Wen Hui
xhci0: mem 0xc1e0-0xc1e0 at device 20.0 on pci0 xhci0: 32 byte context size. xhci: IMOD = 0x0fa0 xhci: IMOD = 0x01f4 xhci0: Port routing mask set to 0x usbus0 on xhci0 2014-04-27 22:26 GMT+08:00 Hans Petter Selasky : > Hi, > > I need to get some more debug information:

Re: xhci controller problem on MBPr2013

2014-04-27 Thread Hans Petter Selasky
On 04/27/14 16:28, Huang Wen Hui wrote: Another possible bug is: I have to remove ng_ubt as ubt0 can make xhci0 generate very high Interrupts, about 1200~1300 after booting. This may be not relate to xhci controller. Hi, Maybe you can check that using "usbdump -i usbusX -f Y -s 65536 -vvv" to

Re: xhci controller problem on MBPr2013

2014-04-27 Thread Huang Wen Hui
Another possible bug is: I have to remove ng_ubt as ubt0 can make xhci0 generate very high Interrupts, about 1200~1300 after booting. This may be not relate to xhci controller. Cheers, Huang Wenhui 2014-04-26 23:00 GMT+08:00 Huang Wen Hui : > Hi Hans, > > My MBPr could not boot on recent STABLE

Re: xhci controller problem on MBPr2013

2014-04-27 Thread Hans Petter Selasky
Hi, I need to get some more debug information: Revert all patches. And apply the attached one. Send output from "dmesg | grep xhci". --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe,

Re: xhci controller problem on MBPr2013

2014-04-27 Thread Huang Wen Hui
Hi, In both case, same result: 1. without any external usb device, it stop after xchi message, the last two lines are: xhci0: mem 0xc1e0-0xc1e0 at device 20.0 on pci0 xhci0: 32 byte context size. 2. If I plug my iphone, it pass xchi message, stop after: Timecounter "TSC-low" frequency

Re: xhci controller problem on MBPr2013

2014-04-27 Thread Hans Petter Selasky
On 04/27/14 10:57, Huang Wen Hui wrote: Hi, The system hang at random place after pass xhci message. Before hangs, no usb device can attach in most time. Hi, If you change IMOD_DEFAULT like shown below, does it make any difference? === ./xhcireg.h =

Re: xhci controller problem on MBPr2013

2014-04-27 Thread Huang Wen Hui
Hi, The system hang at random place after pass xhci message. Before hangs, no usb device can attach in most time. Cheers, Huang Wenhui 2014-04-27 14:55 GMT+08:00 Hans Petter Selasky : > On 04/27/14 03:57, Huang Wen Hui wrote: > >> More test: >> system could not boot with "safe mode" in both ca

Re: xhci controller problem on MBPr2013

2014-04-26 Thread Hans Petter Selasky
On 04/27/14 03:57, Huang Wen Hui wrote: More test: system could not boot with "safe mode" in both case XHCI_IMOD_DEFAULT=1F4 or 3E8. Huang Wenhui Hi, Looks like a hardware issue. Does the attached patch for sys/dev/usb/controller/xhci.c make any difference? --HPS ___

Re: xhci controller problem on MBPr2013

2014-04-26 Thread Huang Wen Hui
More test: system could not boot with "safe mode" in both case XHCI_IMOD_DEFAULT=1F4 or 3E8. Huang Wenhui 2014-04-26 23:00 GMT+08:00 Huang Wen Hui : > Hi Hans, > > My MBPr could not boot on recent STABLE-10, it stop after xchi message, > the last two lines are: > > xhci0: mem 0xc1e0-0xc1e

xhci controller problem on MBPr2013

2014-04-26 Thread Huang Wen Hui
Hi Hans, My MBPr could not boot on recent STABLE-10, it stop after xchi message, the last two lines are: xhci0: mem 0xc1e0-0xc1e0 at device 20.0 on pci0 xhci0: 32 byte context size. I revert back r264640(http://svnweb.freebsd.org/changeset/base/264640), the system become normal again.