Date: Mon, 20 Jul 2015 23:21:30 -0700 From: Adrian Chadd <adrian.chadd@gmail.com> To: Mateusz Guzik <mjg@freebsd.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r285125 - in head/sys: kern sys Message-ID: <CAJ-VmokSbajFxOKPU=u4AQgPmtPqJXvzfbp4%2Bhrcd-PsCYq7PA@mail.gmail.com> In-Reply-To: <201507040654.t646sGO7044196@repo.freebsd.org> References: <201507040654.t646sGO7044196@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bad mjg! this happend whilst doing 'sysctl -vmstat 1' in one window, 'top' in another window, and 'kldunload uhci' as root: Unread portion of the kernel message buffer: uhci5: detached panic: sleepq_add: td 0xc75d06a0 to sleep on wchan 0xc0b3e8e4 with sleeping prohibited cpuid =3D 1 KDB: stack backtrace: db_trace_self_wrapper(c09f8c12,20676e69,686f7270,74696269,a6465,...) at db_trace_self_wrapper+0x2a/frame 0xeaa61838 kdb_backtrace(c0a3f06b,1,c09fa9f1,eaa61920,1,...) at kdb_backtrace+0x2d/frame 0xeaa618a0 vpanic(c09fa9f1,eaa61920,c09fa9f1,eaa61920,c75d06a0,...) at vpanic+0x117/frame 0xeaa618d4 kassert_panic(c09fa9f1,c09faa29,c75d06a0,c0b3e8e4,c06f40cc,...) at kassert_panic+0x15c/frame 0xeaa61914 sleepq_add(c0b3e8e4,0,c09f2d20,3,0,...) at sleepq_add+0x2eb/frame 0xeaa6194= 0 _sx_xlock_hard(c0b3e8e4,c75d06a0,0,c09f2d35,19b,...) at _sx_xlock_hard+0x6cb/frame 0xeaa619ec _sx_xlock(c0b3e8e4,0,c09f2d35,19b,c0b3e8e4,...) at _sx_xlock+0xe1/frame 0xeaa61a1c _rm_rlock(c0b3e8cc,eaa61ad0,0,aa,0,...) at _rm_rlock+0x1f0/frame 0xeaa61a4c _rm_rlock_debug(c0b3e8cc,eaa61ad0,0,c09f4c54,aa,...) at _rm_rlock_debug+0x11d/frame 0xeaa61a78 sysctl_root_handler_locked(0,eaa61b28,eaa61ad0,0,eaa61b28,...) at sysctl_root_handler_locked+0x104/frame 0xeaa61aa8 sysctl_root(eaa61b28,28,2,c75f5720,eaa61be8,...) at sysctl_root+0x1b1/frame 0xeaa61b08 userland_sysctl(c75d06a0,eaa61bac,2,28803040,bfbfecf8,...) at userland_sysctl+0x172/frame 0xeaa61b70 sys___sysctl(c75d06a0,eaa61ca8,c09ebfdf,4,eaa61c4c,...) at sys___sysctl+0x98/frame 0xeaa61c18 syscall(eaa61ce8) at syscall+0x33e/frame 0xeaa61cdc Xint0x80_syscall() at Xint0x80_syscall+0x2c/frame 0xeaa61cdc --- syscall (202, FreeBSD ELF32, sys___sysctl), eip =3D 0x281b4547, esp =3D 0xbfbfeca0, ebp =3D 0xbfbfeccc --- KDB: enter: panic Reading symbols from /boot/kernel/if_tap.ko.symbols...done. Loaded symbols for /boot/kernel/if_tap.ko.symbols Reading symbols from /boot/kernel/if_tun.ko.symbols...done. Loaded symbols for /boot/kernel/if_tun.ko.symbols Reading symbols from /boot/kernel/if_em.ko.symbols...done. Loaded symbols for /boot/kernel/if_em.ko.symbols Reading symbols from /boot/kernel/sound.ko.symbols...done. Loaded symbols for /boot/kernel/sound.ko.symbols Reading symbols from /boot/kernel/snd_hda.ko.symbols...done. Loaded symbols for /boot/kernel/snd_hda.ko.symbols Reading symbols from /boot/kernel/usb.ko.symbols...done. Loaded symbols for /boot/kernel/usb.ko.symbols Reading symbols from /boot/kernel/ukbd.ko.symbols...done. Loaded symbols for /boot/kernel/ukbd.ko.symbols Reading symbols from /boot/kernel/umass.ko.symbols...done. Loaded symbols for /boot/kernel/umass.ko.symbols Reading symbols from /boot/kernel/agp.ko.symbols...done. Loaded symbols for /boot/kernel/agp.ko.symbols Reading symbols from /boot/kernel/acpi_video.ko.symbols...done. Loaded symbols for /boot/kernel/acpi_video.ko.symbols Reading symbols from /boot/kernel/firmware.ko.symbols...done. Loaded symbols for /boot/kernel/firmware.ko.symbols Reading symbols from /boot/kernel/acpi_ibm.ko.symbols...done. Loaded symbols for /boot/kernel/acpi_ibm.ko.symbols Reading symbols from /boot/kernel/sem.ko.symbols...done. Loaded symbols for /boot/kernel/sem.ko.symbols Reading symbols from /boot/kernel/cpufreq.ko.symbols...done. Loaded symbols for /boot/kernel/cpufreq.ko.symbols Reading symbols from /boot/kernel/ata.ko.symbols...done. Loaded symbols for /boot/kernel/ata.ko.symbols Reading symbols from /boot/kernel/atapci.ko.symbols...done. Loaded symbols for /boot/kernel/atapci.ko.symbols Reading symbols from /boot/kernel/ahci.ko.symbols...done. Loaded symbols for /boot/kernel/ahci.ko.symbols Reading symbols from /boot/kernel/uhci.ko.symbols...done. Loaded symbols for /boot/kernel/uhci.ko.symbols Reading symbols from /boot/kernel/ehci.ko.symbols...done. Loaded symbols for /boot/kernel/ehci.ko.symbols Reading symbols from /boot/kernel/pccard.ko.symbols...done. Loaded symbols for /boot/kernel/pccard.ko.symbols Reading symbols from /boot/kernel/cbb.ko.symbols...done. Loaded symbols for /boot/kernel/cbb.ko.symbols Reading symbols from /boot/kernel/exca.ko.symbols...done. Loaded symbols for /boot/kernel/exca.ko.symbols Reading symbols from /boot/kernel/cardbus.ko.symbols...done. Loaded symbols for /boot/kernel/cardbus.ko.symbols Reading symbols from /boot/kernel/wlan.ko.symbols...done. Loaded symbols for /boot/kernel/wlan.ko.symbols Reading symbols from /boot/kernel/wlan_ccmp.ko.symbols...done. Loaded symbols for /boot/kernel/wlan_ccmp.ko.symbols Reading symbols from /boot/kernel/wlan_tkip.ko.symbols...done. Loaded symbols for /boot/kernel/wlan_tkip.ko.symbols Reading symbols from /boot/kernel/wlan_wep.ko.symbols...done. Loaded symbols for /boot/kernel/wlan_wep.ko.symbols Reading symbols from /boot/kernel/wlan_amrr.ko.symbols...done. Loaded symbols for /boot/kernel/wlan_amrr.ko.symbols Reading symbols from /boot/kernel/wlan_xauth.ko.symbols...done. Loaded symbols for /boot/kernel/wlan_xauth.ko.symbols Reading symbols from /boot/kernel/cuse.ko.symbols...done. Loaded symbols for /boot/kernel/cuse.ko.symbols Reading symbols from /boot/kernel/ng_ubt.ko.symbols...done. Loaded symbols for /boot/kernel/ng_ubt.ko.symbols Reading symbols from /boot/kernel/netgraph.ko.symbols...done. Loaded symbols for /boot/kernel/netgraph.ko.symbols Reading symbols from /boot/kernel/ng_hci.ko.symbols...done. Loaded symbols for /boot/kernel/ng_hci.ko.symbols Reading symbols from /boot/kernel/ng_bluetooth.ko.symbols...done. Loaded symbols for /boot/kernel/ng_bluetooth.ko.symbols Reading symbols from /boot/kernel/ng_l2cap.ko.symbols...done. Loaded symbols for /boot/kernel/ng_l2cap.ko.symbols Reading symbols from /boot/kernel/ng_btsocket.ko.symbols...done. Loaded symbols for /boot/kernel/ng_btsocket.ko.symbols Reading symbols from /boot/kernel/ng_socket.ko.symbols...done. Loaded symbols for /boot/kernel/ng_socket.ko.symbols Reading symbols from /boot/kernel/ipfw.ko.symbols...done. Loaded symbols for /boot/kernel/ipfw.ko.symbols Reading symbols from /boot/kernel/i915kms.ko.symbols...done. Loaded symbols for /boot/kernel/i915kms.ko.symbols Reading symbols from /boot/kernel/drm2.ko.symbols...done. Loaded symbols for /boot/kernel/drm2.ko.symbols Reading symbols from /boot/kernel/iicbus.ko.symbols...done. Loaded symbols for /boot/kernel/iicbus.ko.symbols Reading symbols from /boot/kernel/iic.ko.symbols...done. Loaded symbols for /boot/kernel/iic.ko.symbols Reading symbols from /boot/kernel/iicbb.ko.symbols...done. Loaded symbols for /boot/kernel/iicbb.ko.symbols Reading symbols from /boot/kernel/wlan_rssadapt.ko.symbols...done. Loaded symbols for /boot/kernel/wlan_rssadapt.ko.symbols Reading symbols from /boot/kernel/if_ath.ko.symbols...done. Loaded symbols for /boot/kernel/if_ath.ko.symbols Reading symbols from /boot/kernel/if_ath_pci.ko.symbols...done. Loaded symbols for /boot/kernel/if_ath_pci.ko.symbols Reading symbols from /boot/kernel/if_iwn.ko.symbols...done. Loaded symbols for /boot/kernel/if_iwn.ko.symbols Reading symbols from /boot/kernel/if_wpi.ko.symbols...done. Loaded symbols for /boot/kernel/if_wpi.ko.symbols #0 doadump (textdump=3D-1061434632) at pcpu.h:205 205 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump (textdump=3D-1061434632) at pcpu.h:205 #1 0xc050bc1d in db_fncall (dummy1=3D-358214152, dummy2=3Dfalse, dummy3=3D-960040368, dummy4=3D0xeaa615e4 "'>S=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF= =BF=BD=EF=BF=BD") at /usr/home/adrian/work/freebsd/head/src/sys/ddb/db_command.c:568 #2 0xc050b9f6 in db_command (cmd_table=3D<value optimized out>) at /usr/home/adrian/work/freebsd/head/src/sys/ddb/db_command.c:440 #3 0xc050b640 in db_command_loop () at /usr/home/adrian/work/freebsd/head/src/sys/ddb/db_command.c:493 #4 0xc050e086 in db_trap (code=3D<value optimized out>) at /usr/home/adrian/work/freebsd/head/src/sys/ddb/db_main.c:251 #5 0xc06e8387 in kdb_trap (tf=3D<value optimized out>) at /usr/home/adrian/work/freebsd/head/src/sys/kern/subr_kdb.c:654 #6 0xc0969de2 in trap (frame=3D<value optimized out>) at /usr/home/adrian/work/freebsd/head/src/sys/i386/i386/trap.c:693 #7 0xc0955bb7 in calltrap () at /usr/home/adrian/work/freebsd/head/src/sys/i386/i386/exception.s:172 #8 0xc06e7c1d in kdb_enter (why=3D0xc09f3c1c "panic", msg=3D<value optimized out>) at cpufunc.h:60 #9 0xc06a8967 in vpanic (fmt=3D<value optimized out>, ap=3D<value optimized out>) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_shutdown.c:737 #10 0xc06a882c in kassert_panic (fmt=3D<value optimized out>) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_shutdown.c:634 #11 0xc06f449b in sleepq_add (wchan=3D0xc0b3e8e4, wmesg=3D<value optimized out>, flags=3D<value optimized out>, queue=3D<value optimized out>) at /usr/home/adrian/work/freebsd/head/src/sys/kern/subr_sleepqueue.c:308 #12 0xc06b167b in _sx_xlock_hard (sx=3D0xc0b3e8e4, tid=3D<value optimized out>, opts=3D<value optimized out>, file=3D0x0, line=3D18) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_sx.c:697 #13 0xc06b0841 in _sx_xlock (sx=3D0xc0b3e8e4, opts=3D<value optimized out>, file=3D0xc09f2d35 "/usr/home/adrian/work/freebsd/head/src/sys/kern/kern_rmlock.c", line=3D411) at sx.h:154 #14 0xc06a4510 in _rm_rlock (rm=3D0xc0b3e8cc, tracker=3D0xeaa61ad0, trylock=3D<value optimized out>) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_rmlock.c:411 #15 0xc06a4e2d in _rm_rlock_debug (rm=3D0xc0b3e8cc, tracker=3D0xeaa61ad0, trylock=3D0) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_rmlock= .c:665 #16 0xc06b5da4 in sysctl_root_handler_locked (oid=3D0xc0a6ee20, arg1=3D<value optimized out>, arg2=3D<value optimized out>, req=3D<value optimized out>, tracker=3D0xeaa61ad0) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_sysctl.c:170 #17 0xc06b5531 in sysctl_root (arg1=3D<value optimized out>, arg2=3D<value optimized out>) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_sysctl.c:1692 #18 0xc06b5ac2 in userland_sysctl (td=3D<value optimized out>, name=3D<value optimized out>, namelen=3D2, old=3D<value optimized out>, oldlenp=3D<value optimized out>, inkernel=3D<value optimized out>, new=3D<value optimized out>, newlen=3D<value optimized out>, retval=3D0x12, flags=3D<value optimized out>) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_sysctl.c:1797 #19 0xc06b5908 in sys___sysctl (uap=3D0xeaa61ca8) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_sysctl.c:1724 #20 0xc096aaee in syscall (frame=3D<value optimized out>) at subr_syscall.c= :133 #21 0xc0955c5c in Xint0x80_syscall () at /usr/home/adrian/work/freebsd/head/src/sys/i386/i386/exception.s:278 #22 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) Current language: auto; currently minimal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokSbajFxOKPU=u4AQgPmtPqJXvzfbp4%2Bhrcd-PsCYq7PA>