Date: Sat, 15 Aug 2009 17:43:39 +0200 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: freebsd-current@freebsd.org Subject: snd_uaudio: Fatal trap 12: page fault while in kernel mode Message-ID: <20090815174339.6317be31@r500.local>
next in thread | raw e-mail | index | archive | help
--Sig_/KW9T6obJ/5k3GGXy7nC.Z2i Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I reproducible get the following panic less than a second after inserting a Turtle Beach AudioAdvantage stick with the snd_uaudio module loaded: fk@r500 /usr/crash $kgdb /boot/kernel/kernel.symbols vmcore.0=20 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: cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x20 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff803f31c1 stack pointer =3D 0x28:0xffffff803a393440 frame pointer =3D 0x28:0xffffff803a393460 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 36 (usbus4) panic: from debugger cpuid =3D 0 Uptime: 2m12s Dumping 1992 MB (5 chunks) chunk 0: 1MB (155 pages) ... ok chunk 1: 1990MB (509345 pages) 1974 1958 1942 1926 1910 1894 [...]... ok chunk 2: 2MB (273 pages) ... ok chunk 3: 1MB (184 pages) Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /boot/kerne= l/zfs.ko.symbols...done. done. [...] done. Loaded symbols for /boot/kernel/snd_uaudio.ko #0 doadump () at pcpu.h:223 223 pcpu.h: No such file or directory. in pcpu.h (kgdb) where #0 doadump () at pcpu.h:223 #1 0xffffffff803bb25d in boot (howto=3D260) at /usr/src/sys/kern/kern_shut= down.c:419 #2 0xffffffff803bb64c in panic (fmt=3DVariable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:575 #3 0xffffffff801eddf7 in db_panic (addr=3DVariable "addr" is not available. ) at /usr/src/sys/ddb/db_command.c:478 #4 0xffffffff801ee201 in db_command (last_cmdp=3D0xffffffff8081d240, cmd_t= able=3DVariable "cmd_table" is not available. ) at /usr/src/sys/ddb/db_command.c:445 #5 0xffffffff801ee450 in db_command_loop () at /usr/src/sys/ddb/db_command= .c:498 #6 0xffffffff801f03a9 in db_trap (type=3DVariable "type" is not available. ) at /usr/src/sys/ddb/db_main.c:229 #7 0xffffffff803e6935 in kdb_trap (type=3D12, code=3D0, tf=3D0xffffff803a3= 93390) at /usr/src/sys/kern/subr_kdb.c:534 #8 0xffffffff805ac48d in trap_fatal (frame=3D0xffffff803a393390, eva=3DVar= iable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:847 #9 0xffffffff805ad04e in trap (frame=3D0xffffff803a393390) at /usr/src/sys= /amd64/amd64/trap.c:345 #10 0xffffffff805943f3 in calltrap () at /usr/src/sys/amd64/amd64/exception= .S:224 #11 0xffffffff803f31c1 in turnstile_broadcast (ts=3D0x0, queue=3D0) at /usr= /src/sys/kern/subr_turnstile.c:831 #12 0xffffffff803aee70 in _mtx_unlock_sleep (m=3D0xffffffff81e37120, opts= =3DVariable "opts" is not available. ) at /usr/src/sys/kern/kern_mutex.c:677 #13 0xffffffff80331d4f in usbd_do_request_flags (udev=3D0xffffff003fcfe000,= mtx=3D0xffffffff81e37120, req=3D0xffffff803a393550, data=3D0xffffff803a393= 560, flags=3D0, actlen=3D0x0,=20 timeout=3D5000) at /usr/src/sys/dev/usb/usb_request.c:312 #14 0xffffffff824272e2 in uaudio_mixer_get (udev=3DVariable "udev" is not a= vailable. ) at /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uau= dio.c:2961 #15 0xffffffff8242741a in uaudio_mixer_add_ctl (sc=3D0xffffff003f3c3000, mc= =3D0xffffff803a3938a0) at /usr/src/sys/modules/sound/driver/uaudio/../../..= /../dev/sound/usb/uaudio.c:1604 #16 0xffffffff82429165 in uaudio_attach (dev=3D0xffffff003f723400) at /usr/= src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio.c:1944 #17 0xffffffff803e1569 in device_attach (dev=3D0xffffff003f723400) at devic= e_if.h:178 #18 0xffffffff80326941 in usb_probe_and_attach_sub (udev=3D0xffffff003fcfe0= 00, uaa=3D0xffffff803a393ae0) at /usr/src/sys/dev/usb/usb_device.c:1146 #19 0xffffffff80326dfd in usb_probe_and_attach (udev=3D0xffffff003fcfe000, = iface_index=3DVariable "iface_index" is not available. ) at /usr/src/sys/dev/usb/usb_device.c:1305 #20 0xffffffff8032f7ca in uhub_explore (udev=3D0xffffff000380a000) at /usr/= src/sys/dev/usb/usb_hub.c:238 #21 0xffffffff8031be61 in usb_bus_explore (pm=3DVariable "pm" is not availa= ble. ) at /usr/src/sys/dev/usb/controller/usb_controller.c:235 #22 0xffffffff803319f0 in usb_process (arg=3DVariable "arg" is not availabl= e. ) at /usr/src/sys/dev/usb/usb_process.c:161 #23 0xffffffff80398182 in fork_exit (callout=3D0xffffffff80331930 <usb_proc= ess>, arg=3D0xffffff80002dee88, frame=3D0xffffff803a393c80) at /usr/src/sys= /kern/kern_fork.c:838 #24 0xffffffff805948ce in fork_trampoline () at /usr/src/sys/amd64/amd64/ex= ception.S:561 #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000001 in ?? () #28 0x0000000000000000 in ?? () This is on: FreeBSD 8.0-BETA2 #3: Fri Aug 14 15:19:08 CEST 2009 fk@r500.local:/usr/obj/= usr/src/sys/ZOEY amd64 but also happens with a slightly older kernel on i386. Fabian --Sig_/KW9T6obJ/5k3GGXy7nC.Z2i Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqG168ACgkQBYqIVf93VJ2C7ACgmAykqUY99gDWE9hJeeHv+9uk K5QAoLSrba/ImTRz+VbsNNkCFvtXku7k =8b7h -----END PGP SIGNATURE----- --Sig_/KW9T6obJ/5k3GGXy7nC.Z2i--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090815174339.6317be31>