Date: Thu, 03 Aug 2006 11:33:03 +0200 From: =?UTF-8?B?Ikpvc8OpIE0uIEZhbmRpw7FvIg==?= <freebsd4@fadesa.es> To: freebsd-hackers@freebsd.org Subject: Re: ural(4) and panic on sleeping thread (6.1-R) Message-ID: <44D1C2CF.1020403@fadesa.es> In-Reply-To: <200608011429.42407.jhb@freebsd.org> References: <44CF7A28.6020704@fadesa.es> <200608011429.42407.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote: > In kgdb, do 'proc 783', and then 'where' to get a stack trace of the th= read=20 > that did the wrong thing. (The thread that panics is just an innocent= =20 > victim that bumped into the miscreant.) (kgdb) proc 783 (kgdb) where #0 0xc065f2c7 in sched_switch (td=3D0xc283e900, newtd=3D0xc2535780, flag= s=3D1) at /usr/src/sys/kern/sched_4bsd.c:973 #1 0xc06544e2 in mi_switch (flags=3D1, newtd=3D0x0) at /usr/src/sys/kern/kern_synch.c:336 #2 0xc066c012 in sleepq_switch (wchan=3D0x0) at /usr/src/sys/kern/subr_sleepqueue.c:445 #3 0xc066c102 in sleepq_wait (wchan=3D0xc2cfda00) at /usr/src/sys/kern/subr_sleepqueue.c:525 #4 0xc065422d in msleep (ident=3D0xc2cfda00, mtx=3D0x0, priority=3D76, wmesg=3D0xc08a076d "usbsyn", timo=3D0) at /usr/src/sys/kern/kern_syn= ch.c:209 #5 0xc05ee105 in usbd_transfer (xfer=3D0xc2cfda00) at /usr/src/sys/dev/usb/usbdi.c:344 #6 0xc05ee125 in usbd_sync_transfer (xfer=3D0x0) at /usr/src/sys/dev/usb/usbdi.c:355 #7 0xc05ee901 in usbd_do_request_flags_pipe (dev=3D0xc276cc00, pipe=3D0x= 0, req=3D0xd4bf2a4c, data=3D0xd4bf2a4a, flags=3D0, actlen=3D0x0, timeou= t=3D5000) at /usr/src/sys/dev/usb/usbdi.c:982 #8 0xc05ee8a0 in usbd_do_request_flags (dev=3D0x0, req=3D0xd4bf2a4c, data=3D0xd4bf2a4a, flags=3D0, actlen=3D0x0, timo=3D5000) at /usr/src/sys/dev/usb/usbdi.c:953 #9 0xc05ee87e in usbd_do_request (dev=3D0xc276cc00, req=3D0xd4bf2a4c, data=3D0xd4bf2a4a) at /usr/src/sys/dev/usb/usbdi.c:945 #10 0xc05d7876 in ural_read (sc=3D0xc2768000, reg=3D0) at /usr/src/sys/dev/usb/if_ural.c:1545 #11 0xc05d7a43 in ural_bbp_write (sc=3D0xc2768000, reg=3D22 '\026', val=3D= 8 '\b') at /usr/src/sys/dev/usb/if_ural.c:1619 #12 0xc05d83d5 in ural_bbp_init (sc=3D0xc2768000) at /usr/src/sys/dev/usb/if_ural.c:1998 #13 0xc05d85bd in ural_init (priv=3D0xc2768000) at /usr/src/sys/dev/usb/if_ural.c:2104 #14 0xc05d76ae in ural_ioctl (ifp=3D0xc2796400, cmd=3D2149607696, data=3D0xd4bf2b08 "@1\222=C3=80|-\222=C3=800+=C2=BF=C3=94") at /usr/src/sys/dev/usb/if_ural.c:1470 #15 0xc06b9c54 in if_setflag (ifp=3D0xc2796400, flag=3D0, pflag=3D0, refcount=3D0xc2796444, onswitch=3D0) at /usr/src/sys/net/if.c:1664
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D1C2CF.1020403>