From owner-freebsd-wireless@FreeBSD.ORG Mon Jun 16 18:18:22 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2EA95EA for ; Mon, 16 Jun 2014 18:18:22 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9FDC2D85 for ; Mon, 16 Jun 2014 18:18:22 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5GIIMss074208 for ; Mon, 16 Jun 2014 19:18:22 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 191090] New: rsu panics when reboot Date: Mon, 16 Jun 2014 18:18:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dchagin@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2014 18:18:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191090 Bug ID: 191090 Summary: rsu panics when reboot Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: Needs Triage Severity: Affects Many People Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: dchagin@FreeBSD.org Mon Jun 16 10:01:48 MSK 2014 FreeBSD dchagin.static.corbina.net 11.0-CURRENT FreeBSD 11.0-CURRENT #5 r267493+5636483(lemul): Mon Jun 16 09:18:14 MSK 2014=20=20=20=20 root@dchagin.static.corbina.net:/home/dchagin/garbage/obj/home/dchagin/head= /sys/YOY amd64 panic: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: <118>Jun 16 09:47:26 dchagin reboot: rebooted by root <118>Jun 16 09:47:26 dchagin syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...7 2 2 1 0 0 0 0 done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done All buffers synced. lock order reversal: 1st 0xfffff8001128e5f0 ufs (ufs) @ /home/dchagin/head/sys/kern/vfs_mount.c:1237 2nd 0xfffff800114d2d50 devfs (devfs) @ /home/dchagin/head/sys/ufs/ffs/ffs_vfsops.c:1412 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe033d1e4= 380 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe033d1e4430 witness_checkorder() at witness_checkorder+0xdc2/frame 0xfffffe033d1e44c0 __lockmgr_args() at __lockmgr_args+0xdca/frame 0xfffffe033d1e4600 vop_stdlock() at vop_stdlock+0x3c/frame 0xfffffe033d1e4620 VOP_LOCK1_APV() at VOP_LOCK1_APV+0x14a/frame 0xfffffe033d1e4670 _vn_lock() at _vn_lock+0xaa/frame 0xfffffe033d1e46e0 ffs_flushfiles() at ffs_flushfiles+0x88/frame 0xfffffe033d1e4740 softdep_flushfiles() at softdep_flushfiles+0x1e3/frame 0xfffffe033d1e47a0 ffs_unmount() at ffs_unmount+0x152/frame 0xfffffe033d1e4800 dounmount() at dounmount+0x445/frame 0xfffffe033d1e4890 vfs_unmountall() at vfs_unmountall+0xb1/frame 0xfffffe033d1e48e0 kern_reboot() at kern_reboot+0x5d0/frame 0xfffffe033d1e4960 sys_reboot() at sys_reboot+0x41/frame 0xfffffe033d1e4980 amd64_syscall() at amd64_syscall+0x27d/frame 0xfffffe033d1e4ab0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe033d1e4ab0 --- syscall (55, FreeBSD ELF64, sys_reboot), rip =3D 0x80086380c, rsp =3D 0x7fffffffe9d8, rbp =3D 0x7fffffffeb40 --- lock order reversal: 1st 0xfffff8001128e5f0 ufs (ufs) @ /home/dchagin/head/sys/kern/vfs_mount.c:1237 2nd 0xffffffff80feefb8 GEOM topology (GEOM topology) @ /home/dchagin/head/sys/ufs/ffs/ffs_vfsops.c:1302 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe033d1e4= 600 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe033d1e46b0 witness_checkorder() at witness_checkorder+0xdc2/frame 0xfffffe033d1e4740 _sx_xlock() at _sx_xlock+0x78/frame 0xfffffe033d1e47a0 ffs_unmount() at ffs_unmount+0x306/frame 0xfffffe033d1e4800 dounmount() at dounmount+0x445/frame 0xfffffe033d1e4890 vfs_unmountall() at vfs_unmountall+0xb1/frame 0xfffffe033d1e48e0 kern_reboot() at kern_reboot+0x5d0/frame 0xfffffe033d1e4960 sys_reboot() at sys_reboot+0x41/frame 0xfffffe033d1e4980 amd64_syscall() at amd64_syscall+0x27d/frame 0xfffffe033d1e4ab0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe033d1e4ab0 --- syscall (55, FreeBSD ELF64, sys_reboot), rip =3D 0x80086380c, rsp =3D 0x7fffffffe9d8, rbp =3D 0x7fffffffeb40 --- lock order reversal: 1st 0xfffff800111f67c8 ufs (ufs) @ /home/dchagin/head/sys/kern/vfs_mount.c:1237 2nd 0xffffffff810090b0 allproc (allproc) @ /home/dchagin/head/sys/kern/kern_descrip.c:2790 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe033d1e4= 610 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe033d1e46c0 witness_checkorder() at witness_checkorder+0xdc2/frame 0xfffffe033d1e4750 _sx_slock() at _sx_slock+0x79/frame 0xfffffe033d1e47b0 mountcheckdirs() at mountcheckdirs+0x47/frame 0xfffffe033d1e4800 dounmount() at dounmount+0x390/frame 0xfffffe033d1e4890 vfs_unmountall() at vfs_unmountall+0xb1/frame 0xfffffe033d1e48e0 kern_reboot() at kern_reboot+0x5d0/frame 0xfffffe033d1e4960 sys_reboot() at sys_reboot+0x41/frame 0xfffffe033d1e4980 amd64_syscall() at amd64_syscall+0x27d/frame 0xfffffe033d1e4ab0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe033d1e4ab0 --- syscall (55, FreeBSD ELF64, sys_reboot), rip =3D 0x80086380c, rsp =3D 0x7fffffffe9d8, rbp =3D 0x7fffffffeb40 --- Uptime: 26m18s Fatal trap 9: general protection fault while in kernel mode cpuid =3D 4; apic id =3D 04 instruction pointer =3D 0x20:0xffffffff806658f8 stack pointer =3D 0x28:0xfffffe0000331680 frame pointer =3D 0x28:0xfffffe00003316a0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 15 (usbus2) Reading symbols from /boot/modules/acpi_call.ko...done. Loaded symbols for /boot/modules/acpi_call.ko Reading symbols from /boot/kernel/acpi_ibm.ko.symbols...done. Loaded symbols for /boot/kernel/acpi_ibm.ko.symbols #0 doadump (textdump=3D-2134647920) at pcpu.h:219 219 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=3D-2134647920) at pcpu.h:219 #1 0xffffffff802ffa75 in db_fncall (dummy1=3D, dummy2=3D, dummy3=3D, dummy4=3D) at /home/dchagin/head/sys/ddb/db_command.c:578 #2 0xffffffff802ff75d in db_command (cmd_table=3D0x0) at /home/dchagin/head/sys/ddb/db_command.c:449 #3 0xffffffff802ff4d4 in db_command_loop () at /home/dchagin/head/sys/ddb/db_command.c:502 #4 0xffffffff80301f50 in db_trap (type=3D, code=3D0) at /home/dchagin/head/sys/ddb/db_main.c:231 #5 0xffffffff8058c3c9 in kdb_trap (type=3D9, code=3D0, tf=3D) at /home/dchagin/head/sys/kern/subr_kdb.c:656 #6 0xffffffff8081b17c in trap_fatal (frame=3D0xfffffe00003315d0, eva=3D) at /home/dchagin/head/sys/amd64/amd64/trap.c:875 #7 0xffffffff8081ae16 in trap (frame=3D) at /home/dchagin/head/sys/amd64/amd64/trap.c:202 #8 0xffffffff807feae2 in calltrap () at /home/dchagin/head/sys/amd64/amd64/exception.S:231 #9 0xffffffff806658f8 in node_free (ni=3D0xfffffe0002e74000) at ieee80211_ratectl.h:84 #10 0xffffffff80451f07 in rsu_detach (self=3D) at /home/dchagin/head/sys/dev/usb/wlan/if_rsu.c:647 #11 0xffffffff8058080f in device_detach (dev=3D0xfffff80011135200) at device_if.h:214 #12 0xffffffff8043c081 in usb_detach_device (udev=3D0xfffff8001111a000, iface_index=3D, flag=3D0 '\0') at /home/dchagin/head/sys/dev/usb/usb_device.c:1141 #13 0xffffffff8043b154 in usb_unconfigure (udev=3D0xfffff8001111a000, flag=3D2 '\002') at /home/dchagin/head/sys/dev/usb/usb_device.c:530 #14 0xffffffff8043e2d6 in usb_free_device (udev=3D0xfffff8001111a000, flag=3D) at /home/dchagin/head/sys/dev/usb/usb_device.c:2168 #15 0xffffffff80446811 in uhub_detach (dev=3D) at /home/dchagin/head/sys/dev/usb/usb_hub.c:1519 #16 0xffffffff8058080f in device_detach (dev=3D0xfffff800110c3000) at device_if.h:214 #17 0xffffffff8043c081 in usb_detach_device (udev=3D0xfffff800110b6000, iface_index=3D, flag=3D0 '\0') at /home/dchagin/head/sys/dev/usb/usb_device.c:1141 #18 0xffffffff8043b154 in usb_unconfigure (udev=3D0xfffff800110b6000, flag=3D2 '\002') at /home/dchagin/head/sys/dev/usb/usb_device.c:530 #19 0xffffffff8043e2d6 in usb_free_device (udev=3D0xfffff800110b6000, flag=3D) at /home/dchagin/head/sys/dev/usb/usb_device.c:2168 #20 0xffffffff80446811 in uhub_detach (dev=3D) at /home/dchagin/head/sys/dev/usb/usb_hub.c:1519 #21 0xffffffff8058080f in device_detach (dev=3D0xfffff80003b07700) at device_if.h:214 #22 0xffffffff8043c081 in usb_detach_device (udev=3D0xfffff80010f41000, iface_index=3D, flag=3D0 '\0') at /home/dchagin/head/sys/dev/usb/usb_device.c:1141 #23 0xffffffff8043b154 in usb_unconfigure (udev=3D0xfffff80010f41000, flag=3D0 '\0') at /home/dchagin/head/sys/dev/usb/usb_device.c:530 #24 0xffffffff8043ab60 in usbd_set_config_index (udev=3D0xfffff80010f41000, index=3D255 '=D0=AA') at /home/dchagin/head/sys/dev/usb/usb_device.c:593 #25 0xffffffff8042eb02 in usb_bus_shutdown (pm=3D) at /home/dchagin/head/sys/dev/usb/controller/usb_controller.c:616 #26 0xffffffff80449c6f in usb_process (arg=3D0xfffffe0000d52db0) at /home/dchagin/head/sys/dev/usb/usb_process.c:177 #27 0xffffffff8051d199 in fork_exit ( callout=3D0xffffffff80449b60 , arg=3D0xfffffe0000d52db0, frame=3D0xfffffe0000331ac0) at /home/dchagin/head/sys/kern/kern_fork.c:= 977 #28 0xffffffff807ff01e in fork_trampoline () at /home/dchagin/head/sys/amd64/amd64/exception.S:605 #29 0x0000000000000000 in ?? () Current language: auto; currently minimal (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.=