NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/51458: usb athn panic



The following reply was made to PR kern/51458; it has been noted by GNATS.

From: Ben Gergely <pr%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/51458: usb athn panic
Date: Mon, 12 Sep 2016 11:13:52 +0100

 So if the device is present on boot then there is just the aforementioned hang but if attached after boot it still panics:
 
 savecore: reboot after panic: panic: kernel diagnostic assertion "xfer->ux_state == XFER_BUSY" failed: file "/usr/src/sys/dev/usb/usbdi.c", line 1006 
 
 #0  0xffffffff80119a85 in cpu_reboot (howto=howto@entry=260, bootstr=bootstr@entry=0x0)
     at /usr/src/sys/arch/amd64/amd64/machdep.c:676
 #1  0xffffffff8083011c in vpanic (
     fmt=0xffffffff80ec4158 "kernel %sassertion \"%s\" failed: file \"%s\", line %d ", 
     ap=ap@entry=0xfffffe8045d74928) at /usr/src/sys/kern/subr_prf.c:342
 #2  0xffffffff80a456f5 in kern_assert (
     fmt=fmt@entry=0xffffffff80ec4158 "kernel %sassertion \"%s\" failed: file \"%s\", line %d ")
     at /usr/src/sys/lib/libkern/kern_assert.c:51
 #3  0xffffffff80324fd3 in usb_insert_transfer (xfer=xfer@entry=0xfffffe80b99dee18)
     at /usr/src/sys/dev/usb/usbdi.c:1006
 #4  0xffffffff804e8aea in ehci_device_intr_transfer (xfer=0xfffffe80b99dee18)
     at /usr/src/sys/dev/usb/ehci.c:3993
 #5  0xffffffff80323f67 in usbd_transfer (xfer=0xfffffe80b99dee18)
     at /usr/src/sys/dev/usb/usbdi.c:323
 #6  0xffffffff803925a3 in athn_usb_wmi_xcmd (usc=usc@entry=0xffff800006867000, 
     cmd_id=cmd_id@entry=24, ibuf=ibuf@entry=0xffff800006869cd0, ilen=<optimized out>, 
     obuf=obuf@entry=0x0) at /usr/src/sys/dev/usb/if_athn_usb.c:1124
 #7  0xffffffff8039265a in athn_usb_wmi_xcmd (obuf=0x0, ilen=<optimized out>, 
     ibuf=0xffff800006869cd0, cmd_id=24, usc=0xffff800006867000)
     at /usr/src/sys/dev/usb/if_athn_usb.c:1229
 #8  athn_usb_write_barrier (sc=sc@entry=0xffff800006867000)
     at /usr/src/sys/dev/usb/if_athn_usb.c:1228
 #9  0xffffffff80392692 in athn_usb_read (sc=0xffff800006867000, addr=28740)
     at /usr/src/sys/dev/usb/if_athn_usb.c:1189
 #10 0xffffffff809103cd in athn_set_power_awake (sc=sc@entry=0xffff800006867000)
     at /usr/src/sys/dev/ic/athn.c:689
 #11 0xffffffff80392ac9 in athn_usb_init (ifp=ifp@entry=0xffff800006867d30)
     at /usr/src/sys/dev/usb/if_athn_usb.c:2613
 #12 0xffffffff80393c66 in athn_usb_ioctl (ifp=0xffff800006867d30, cmd=<optimized out>, 
     data=0xfffffe80b7f540d0) at /usr/src/sys/dev/usb/if_athn_usb.c:2530
 #13 0xffffffff808be9da in doifioctl (so=0xfffffe80bde3d000, cmd=2156947728, 
     data=<optimized out>, l=0xfffffe80be1886c0) at /usr/src/sys/net/if.c:2862
 #14 0xffffffff80846cc5 in soo_ioctl (fp=<optimized out>, cmd=2156947728, data=0xfffffe80b7f540d0)
     at /usr/src/sys/kern/sys_socket.c:202
 #15 0xffffffff8083ba28 in sys_ioctl (l=<optimized out>, uap=0xfffffe8045d74f00, 
     retval=<optimized out>) at /usr/src/sys/kern/sys_generic.c:681
 #16 0xffffffff8013bbbc in sy_call (rval=0xfffffe8045d74eb0, uap=0xfffffe8045d74f00, 
     l=0xfffffe80be1886c0, sy=0xffffffff81169070 <sysent+1296>)
     at /usr/src/sys/sys/syscallvar.h:65
 #17 sy_invoke (code=54, rval=0xfffffe8045d74eb0, uap=0xfffffe8045d74f00, l=0xfffffe80be1886c0, 
     sy=0xffffffff81169070 <sysent+1296>) at /usr/src/sys/sys/syscallvar.h:94
 #18 syscall (frame=0xfffffe8045d74f00) at /usr/src/sys/arch/x86/x86/syscall.c:156
 #19 0xffffffff80100761 in Xsyscall ()
 



Home | Main Index | Thread Index | Old Index