Re: xhci problem on UEFI boot MacBookPro 11,3
On 10/03/14 05:55, Huang Wen Hui wrote: I found that how to connect EHCI controller, use bless command in MacOSX with --legacy option: 1. open MacOSX terminal, mkdir /Volumes/EFI 2. mount -t msdos /dev/disk0s1 /Volumes/EFI 3. bless --setBoot --mount /Volumes/EFI --legacy 4. reboot MacOSX, press option key, you can feel firmware start a little slow than without --legacy. I think firmware do some extra things:( 5. select both UEFI and BIOS boot FreeBSD, system can connect EHCI and XHCI controller. 6. I think BootCamp assistant also add --legacy option. Cheers, Huang Wen Hui Hi, Sounds good! Thanks for figuring this out. At least I found one or two minors in the XHCI driver while debugging this :-) --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.org
Re: xhci problem on UEFI boot MacBookPro 11,3
But xhci should works under freebsd,like Linux without this trick. If you want to debug this further, ping me , I will be free after 2 hours;) Huang Wen Hui 在 2014年10月3日,14:15,Hans Petter Selasky h...@selasky.org 写道: On 10/03/14 05:55, Huang Wen Hui wrote: I found that how to connect EHCI controller, use bless command in MacOSX with --legacy option: 1. open MacOSX terminal, mkdir /Volumes/EFI 2. mount -t msdos /dev/disk0s1 /Volumes/EFI 3. bless --setBoot --mount /Volumes/EFI --legacy 4. reboot MacOSX, press option key, you can feel firmware start a little slow than without --legacy. I think firmware do some extra things:( 5. select both UEFI and BIOS boot FreeBSD, system can connect EHCI and XHCI controller. 6. I think BootCamp assistant also add --legacy option. Cheers, Huang Wen Hui Hi, Sounds good! Thanks for figuring this out. At least I found one or two minors in the XHCI driver while debugging this :-) --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.org
Panic in usb_unref_device
Hi, I have a custom USB device based on the Cypress FX2 and we are finding that with some older kernels it hangs - this was fixed in https://svnweb.freebsd.org/base?view=revisionrevision=267240 but now it panics with… #7 0x80745a07 in usb_unref_device (cpd=0xfe0004b30680, crd=0xff812b6af860) at /usr/src/sys/dev/usb/usb_dev.c:348 #8 0x80748cbd in usb_ioctl (dev=value optimized out, cmd=3222040644, addr=0xfe002638 \002, fflag=value optimized out, td=0x81819850) at /usr/src/sys/dev/usb/usb_dev.c:1127 #9 0x807d05cb in devfs_ioctl_f (fp=0xfe0061d59190, com=3222040644, data=value optimized out, cred=value optimized out, td=0xfe0004e37920) at /usr/src/sys/fs/devfs/devfs_vnops.c:758 #10 0x80938456 in kern_ioctl (td=0xfe0004e37920, fd=3, com=3222040644, data=0xfe002638 \002) at file.h:311 #11 0x8093869d in sys_ioctl (td=0xfe0004e37920, uap=0xff812b6afa70) at /usr/src/sys/kern/sys_generic.c:696 And crd-rxfifo is NULL. I haven’t looked very hard at this yet, but it is quite easy to reproduce. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: Panic in usb_unref_device
On 10/03/14 13:19, Daniel O'Connor wrote: Hi, I have a custom USB device based on the Cypress FX2 and we are finding that with some older kernels it hangs - this was fixed in https://svnweb.freebsd.org/base?view=revisionrevision=267240 but now it panics with… Hi, There's a minor bug there. Can you test the attached patch? --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.org
Re: Panic in usb_unref_device
On 10/03/14 13:48, Hans Petter Selasky wrote: On 10/03/14 13:19, Daniel O'Connor wrote: Hi, I have a custom USB device based on the Cypress FX2 and we are finding that with some older kernels it hangs - this was fixed in https://svnweb.freebsd.org/base?view=revisionrevision=267240 but now it panics with… Hi, This commit should fix it: https://svnweb.freebsd.org/changeset/base/272480 If not, let me know. Thank you! --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.org