Date: Fri, 3 Oct 2014 20:49:48 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-usb@freebsd.org Subject: Panic in usb_unref_device Message-ID: <8B31CE4F-F310-49E7-8316-22D6170BF6C6@gsoft.com.au>
next in thread | raw e-mail | index | archive | help
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=3Drevision&revision=3D267240 but = now it panics with=85 #7 0xffffffff80745a07 in usb_unref_device (cpd=3D0xfffffe0004b30680, = crd=3D0xffffff812b6af860) at /usr/src/sys/dev/usb/usb_dev.c:348 #8 0xffffffff80748cbd in usb_ioctl (dev=3D<value optimized out>, = cmd=3D3222040644, addr=3D0xfffffe0026380000 "\002", fflag=3D<value = optimized out>, td=3D0xffffffff81819850) at /usr/src/sys/dev/usb/usb_dev.c:1127 #9 0xffffffff807d05cb in devfs_ioctl_f (fp=3D0xfffffe0061d59190, = com=3D3222040644, data=3D<value optimized out>, cred=3D<value optimized = out>, td=3D0xfffffe0004e37920) at /usr/src/sys/fs/devfs/devfs_vnops.c:758 #10 0xffffffff80938456 in kern_ioctl (td=3D0xfffffe0004e37920, fd=3D3, = com=3D3222040644, data=3D0xfffffe0026380000 "\002") at file.h:311 #11 0xffffffff8093869d in sys_ioctl (td=3D0xfffffe0004e37920, = uap=3D0xffffff812b6afa70) at /usr/src/sys/kern/sys_generic.c:696 And crd->rxfifo is NULL. I haven=92t 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8B31CE4F-F310-49E7-8316-22D6170BF6C6>