Re: Panic in usb_unref_device
On 10/07/14 23:19, Daniel O'Connor wrote: On 3 Oct 2014, at 21:18, Hans Petter Selasky h...@selasky.org 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… There's a minor bug there. Can you test the attached patch? Sorry for the late reply (there was a holiday on Monday here) - the patch seems to have fixed the crash, thanks! You're welcome! --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 3 Oct 2014, at 21:18, Hans Petter Selasky h...@selasky.org 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… There's a minor bug there. Can you test the attached patch? Sorry for the late reply (there was a holiday on Monday here) - the patch seems to have fixed the crash, thanks! -- 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
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