From owner-svn-src-head@freebsd.org Tue Jul 21 06:21:31 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E3149A7F3A; Tue, 21 Jul 2015 06:21:31 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 03E6C1CBE; Tue, 21 Jul 2015 06:21:31 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbpg9 with SMTP id pg9so55074931igb.0; Mon, 20 Jul 2015 23:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Kk8sbQT7d9ohmbfjup2YucZSqnrU/1scyZ8rSyYWNyI=; b=On0ZnhVc9TdV2n2akfTC1NwreY+elu6qd04ZqBvZ47G4enX7tZv0Unw5L9++nTL4kY RcVlRM4BTJcLNZTz2psp3H1KNx+EzqU/Zc5w29hBZsddCQKtNdruWQ2YsNm7DWGtpl5P 3pBP3D6MiGHXF7CfTe0Y+Rh0wLhH7t0pZIOytFvXigkgsYzdx3zQSseek0ZCgVWb7eT3 e84XVkyVaplGL83z5IXU7tkm8d8N3dG8g+rCSM6jevR3nvVNO2jy6Ae60gdrZgOJWjPe +A538X55Bqhkl7v/pWkIQ5vQkW8bVPg6/OamFxKMZs/hz8q/52xspDdpmn/QoZye/Oej Q0pA== MIME-Version: 1.0 X-Received: by 10.50.60.100 with SMTP id g4mr20925880igr.41.1437459690308; Mon, 20 Jul 2015 23:21:30 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Mon, 20 Jul 2015 23:21:30 -0700 (PDT) In-Reply-To: <201507040654.t646sGO7044196@repo.freebsd.org> References: <201507040654.t646sGO7044196@repo.freebsd.org> Date: Mon, 20 Jul 2015 23:21:30 -0700 Message-ID: Subject: Re: svn commit: r285125 - in head/sys: kern sys From: Adrian Chadd To: Mateusz Guzik Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 06:21:31 -0000 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) 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) at /usr/home/adrian/work/freebsd/head/src/sys/ddb/db_main.c:251 #5 0xc06e8387 in kdb_trap (tf=3D) at /usr/home/adrian/work/freebsd/head/src/sys/kern/subr_kdb.c:654 #6 0xc0969de2 in trap (frame=3D) 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) at cpufunc.h:60 #9 0xc06a8967 in vpanic (fmt=3D, ap=3D) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_shutdown.c:737 #10 0xc06a882c in kassert_panic (fmt=3D) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_shutdown.c:634 #11 0xc06f449b in sleepq_add (wchan=3D0xc0b3e8e4, wmesg=3D, flags=3D, queue=3D) at /usr/home/adrian/work/freebsd/head/src/sys/kern/subr_sleepqueue.c:308 #12 0xc06b167b in _sx_xlock_hard (sx=3D0xc0b3e8e4, tid=3D, opts=3D, 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, 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) 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, arg2=3D, req=3D, tracker=3D0xeaa61ad0) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_sysctl.c:170 #17 0xc06b5531 in sysctl_root (arg1=3D, arg2=3D) at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_sysctl.c:1692 #18 0xc06b5ac2 in userland_sysctl (td=3D, name=3D, namelen=3D2, old=3D, oldlenp=3D, inkernel=3D, new=3D, newlen=3D, retval=3D0x12, flags=3D) 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) 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