Marko Cupać
2013-Sep-15 12:48 UTC
reproducible dump possibly related to ath and virtualbox
I just had another core dump on 9.2-PRERELEASE #1 r255487 amd64, and I think i see a pattern. Every now and then, at least once per day, my Atheros AR9285 hangs. Ifconfig shows it as associated, it does not loose IP adress, i can ping 127.0.0.1 but nothing else. As it happens quite often, I made an alias for it in .tcshrc: sudo ifconfig wlan0 destroy && sleep 3 && sudo ifconfig wlan0 create wlandev ath0 If virtualbox is running with guest with bridged adapter my system crashes: kaa.mimar.rs dumped core - see /var/crash/vmcore.3 Sun Sep 15 08:26:41 CEST 2013 FreeBSD kaa.mimar.rs 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #1 r255487: Thu Sep 12 10:15:25 CEST 2013 root at kaa.mimar.rs:/usr/obj/usr/src/sys/KAAGEN amd64 panic: page fault 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 conditions. 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: Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0x0 fault code = supervisor read instruction, page not present instruction pointer = 0x20:0x0 stack pointer = 0x28:0xffffff8127e4e4a0 frame pointer = 0x28:0xffffff8127e4e4e0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 5945 (VirtualBox) trap number = 12 timeout stopping cpus panic: page fault cpuid = 2 KDB: stack backtrace: #0 0xffffffff80948ab6 at kdb_backtrace+0x66 #1 0xffffffff8090e5ee at panic+0x1ce #2 0xffffffff80cf33f0 at trap_fatal+0x290 #3 0xffffffff80cf3751 at trap_pfault+0x211 #4 0xffffffff80cf3d04 at trap+0x344 #5 0xffffffff80cdd033 at calltrap+0x8 #6 0xffffffff8285dcb4 at vboxNetFltPortXmit+0x64 #7 0xffffffff828c83e8 at fuse_germ_vnops+0x55ce8 #8 0xffffffff828c8984 at fuse_germ_vnops+0x56284 #9 0xffffffff828ca172 at fuse_germ_vnops+0x57a72 #10 0xffffffff828caf02 at fuse_germ_vnops+0x58802 #11 0xffffffff82889647 at fuse_germ_vnops+0x16f47 #12 0xffffffff828898a8 at fuse_germ_vnops+0x171a8 #13 0xffffffff825993b2 at supdrvIOCtl+0x1d12 #14 0xffffffff8259eef0 at VBoxDrvFreeBSDIOCtl+0x1d0 #15 0xffffffff807f530b at devfs_ioctl_f+0x7b #16 0xffffffff8095b576 at kern_ioctl+0x106 #17 0xffffffff8095b7bd at sys_ioctl+0xfd Uptime: 1d15h20m51s Dumping 733 out of 3984 MB:..3%..11%..22%..31%..42%..51%..62%..72%..81%..92% Reading symbols from /boot/kernel/acpi_video.ko...Reading symbols from /boot/kernel/acpi_video.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi_video.ko Reading symbols from /boot/modules/nvidia.ko...done. Loaded symbols for /boot/modules/nvidia.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/modules/vboxdrv.ko...done. Loaded symbols for /boot/modules/vboxdrv.ko Reading symbols from /boot/kernel/tmpfs.ko...Reading symbols from /boot/kernel/tmpfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/tmpfs.ko Reading symbols from /boot/kernel/ng_ubt.ko...Reading symbols from /boot/kernel/ng_ubt.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_ubt.ko Reading symbols from /boot/kernel/ng_hci.ko...Reading symbols from /boot/kernel/ng_hci.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_hci.ko Reading symbols from /boot/kernel/ng_bluetooth.ko...Reading symbols from /boot/kernel/ng_bluetooth.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_bluetooth.ko Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from /boot/kernel/netgraph.ko.symbols...done. done. Loaded symbols for /boot/kernel/netgraph.ko Reading symbols from /boot/kernel/ng_l2cap.ko...Reading symbols from /boot/kernel/ng_l2cap.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_l2cap.ko Reading symbols from /boot/kernel/ng_btsocket.ko...Reading symbols from /boot/kernel/ng_btsocket.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_btsocket.ko Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /boot/kernel/ng_socket.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_socket.ko Reading symbols from /boot/modules/vboxnetflt.ko...done. Loaded symbols for /boot/modules/vboxnetflt.ko Reading symbols from /boot/kernel/ng_ether.ko...Reading symbols from /boot/kernel/ng_ether.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_ether.ko Reading symbols from /boot/modules/vboxnetadp.ko...done. Loaded symbols for /boot/modules/vboxnetadp.ko Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko #0 doadump (textdump=<value optimized out>) at pcpu.h:234 234 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=<value optimized out>) at pcpu.h:234 #1 0xffffffff8090e0c6 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:449 #2 0xffffffff8090e5c7 in panic (fmt=0x1 <Address 0x1 out of bounds>) at /usr/src/sys/kern/kern_shutdown.c:637 #3 0xffffffff80cf33f0 in trap_fatal (frame=0xc, eva=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:879 #4 0xffffffff80cf3751 in trap_pfault (frame=0xffffff8127e4e3f0, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:795 #5 0xffffffff80cf3d04 in trap (frame=0xffffff8127e4e3f0) at /usr/src/sys/amd64/amd64/trap.c:463 #6 0xffffffff80cdd033 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:232 #7 0x0000000000000000 in ?? () (kgdb) -- Marko Cupa?
Adrian Chadd
2013-Sep-16 06:34 UTC
reproducible dump possibly related to ath and virtualbox
Hi, Please try -HEAD or -10. I fixed a number o AR9285 bugs there. Thanks, -adrian On 15 September 2013 05:48, Marko Cupa? <marko.cupac at mimar.rs> wrote:> I just had another core dump on 9.2-PRERELEASE #1 r255487 amd64, and I > think i see a pattern. Every now and then, at least once per day, my > Atheros AR9285 hangs. Ifconfig shows it as associated, it does not loose > IP adress, i can ping 127.0.0.1 but nothing else. As it happens quite > often, I made an alias for it in .tcshrc: > > sudo ifconfig wlan0 destroy && sleep 3 && sudo ifconfig wlan0 create > wlandev ath0 > > If virtualbox is running with guest with bridged adapter my system crashes: > > kaa.mimar.rs dumped core - see /var/crash/vmcore.3 > > Sun Sep 15 08:26:41 CEST 2013 > > FreeBSD kaa.mimar.rs 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #1 r255487: > Thu Sep 12 10:15:25 CEST 2013 root at kaa.mimar.rs:/usr/obj/usr/src/sys/KAAGEN > amd64 > > panic: page fault > > 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 > conditions. > 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: > > > Fatal trap 12: page fault while in kernel mode > cpuid = 2; apic id = 02 > fault virtual address = 0x0 > fault code = supervisor read instruction, page not present > instruction pointer = 0x20:0x0 > stack pointer = 0x28:0xffffff8127e4e4a0 > frame pointer = 0x28:0xffffff8127e4e4e0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 5945 (VirtualBox) > trap number = 12 > timeout stopping cpus > panic: page fault > cpuid = 2 > KDB: stack backtrace: > #0 0xffffffff80948ab6 at kdb_backtrace+0x66 > #1 0xffffffff8090e5ee at panic+0x1ce > #2 0xffffffff80cf33f0 at trap_fatal+0x290 > #3 0xffffffff80cf3751 at trap_pfault+0x211 > #4 0xffffffff80cf3d04 at trap+0x344 > #5 0xffffffff80cdd033 at calltrap+0x8 > #6 0xffffffff8285dcb4 at vboxNetFltPortXmit+0x64 > #7 0xffffffff828c83e8 at fuse_germ_vnops+0x55ce8 > #8 0xffffffff828c8984 at fuse_germ_vnops+0x56284 > #9 0xffffffff828ca172 at fuse_germ_vnops+0x57a72 > #10 0xffffffff828caf02 at fuse_germ_vnops+0x58802 > #11 0xffffffff82889647 at fuse_germ_vnops+0x16f47 > #12 0xffffffff828898a8 at fuse_germ_vnops+0x171a8 > #13 0xffffffff825993b2 at supdrvIOCtl+0x1d12 > #14 0xffffffff8259eef0 at VBoxDrvFreeBSDIOCtl+0x1d0 > #15 0xffffffff807f530b at devfs_ioctl_f+0x7b > #16 0xffffffff8095b576 at kern_ioctl+0x106 > #17 0xffffffff8095b7bd at sys_ioctl+0xfd > Uptime: 1d15h20m51s > Dumping 733 out of 3984 > MB:..3%..11%..22%..31%..42%..51%..62%..72%..81%..92% > > Reading symbols from /boot/kernel/acpi_video.ko...Reading symbols from > /boot/kernel/acpi_video.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/acpi_video.ko > Reading symbols from /boot/modules/nvidia.ko...done. > Loaded symbols for /boot/modules/nvidia.ko > Reading symbols from /boot/kernel/linux.ko...Reading symbols from > /boot/kernel/linux.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/linux.ko > Reading symbols from /boot/modules/vboxdrv.ko...done. > Loaded symbols for /boot/modules/vboxdrv.ko > Reading symbols from /boot/kernel/tmpfs.ko...Reading symbols from > /boot/kernel/tmpfs.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/tmpfs.ko > Reading symbols from /boot/kernel/ng_ubt.ko...Reading symbols from > /boot/kernel/ng_ubt.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/ng_ubt.ko > Reading symbols from /boot/kernel/ng_hci.ko...Reading symbols from > /boot/kernel/ng_hci.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/ng_hci.ko > Reading symbols from /boot/kernel/ng_bluetooth.ko...Reading symbols from > /boot/kernel/ng_bluetooth.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/ng_bluetooth.ko > Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from > /boot/kernel/netgraph.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/netgraph.ko > Reading symbols from /boot/kernel/ng_l2cap.ko...Reading symbols from > /boot/kernel/ng_l2cap.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/ng_l2cap.ko > Reading symbols from /boot/kernel/ng_btsocket.ko...Reading symbols from > /boot/kernel/ng_btsocket.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/ng_btsocket.ko > Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from > /boot/kernel/ng_socket.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/ng_socket.ko > Reading symbols from /boot/modules/vboxnetflt.ko...done. > Loaded symbols for /boot/modules/vboxnetflt.ko > Reading symbols from /boot/kernel/ng_ether.ko...Reading symbols from > /boot/kernel/ng_ether.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/ng_ether.ko > Reading symbols from /boot/modules/vboxnetadp.ko...done. > Loaded symbols for /boot/modules/vboxnetadp.ko > Reading symbols from /usr/local/modules/fuse.ko...done. > Loaded symbols for /usr/local/modules/fuse.ko > #0 doadump (textdump=<value optimized out>) at pcpu.h:234 > 234 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) #0 doadump (textdump=<value optimized out>) at pcpu.h:234 > #1 0xffffffff8090e0c6 in kern_reboot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:449 > #2 0xffffffff8090e5c7 in panic (fmt=0x1 <Address 0x1 out of bounds>) > at /usr/src/sys/kern/kern_shutdown.c:637 > #3 0xffffffff80cf33f0 in trap_fatal (frame=0xc, eva=<value optimized out>) > at /usr/src/sys/amd64/amd64/trap.c:879 > #4 0xffffffff80cf3751 in trap_pfault (frame=0xffffff8127e4e3f0, > usermode=0) > at /usr/src/sys/amd64/amd64/trap.c:795 > #5 0xffffffff80cf3d04 in trap (frame=0xffffff8127e4e3f0) > at /usr/src/sys/amd64/amd64/trap.c:463 > #6 0xffffffff80cdd033 in calltrap () > at /usr/src/sys/amd64/amd64/exception.S:232 > #7 0x0000000000000000 in ?? () > (kgdb) > > > -- > Marko Cupa? > _______________________________________________ > freebsd-stable at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"