Date: Wed, 29 Oct 2008 16:48:31 -0700 From: "Steve Franks" <stevefranks@ieee.org> To: freebsd-usb@freebsd.org Subject: ucom panic Message-ID: <539c60b90810291648l7567b974h8e0999a66971495b@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Perhaps someone can make sense of my backtrace, this is a ucom causes a panic, but only when I open it from one specific program. If I talk to the ucom with minicom, no issues. That aside, a panic when talking to any serial port with any program would be considered a bug, right? Thanks, Steve [steve@dynstant /usr/obj/usr/src/sys/GENERIC]$ uname -a FreeBSD dynstant.franks-development.dyndns.biz 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Mon Sep 29 21:12:11 MST 2008 steve@dynstant.franks-development.dyndns.biz:/usr/obj/usr/src/sys/GENERIC i386 [steve@dynstant /usr/obj/usr/src/sys/GENERIC]$ sudo kgdb kernel.debug /var/crash/vmcore.0 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 "i386-marcel-freebsd"... Unread portion of the kernel message buffer: panic: uhci_abort_xfer: not in process context cpuid = 0 Uptime: 4h54m33s Physical memory: 1003 MB Dumping 135 MB: 120 104 88 72 (CTRL-C to abort) 56 (CTRL-C to abort) 40 24 8 Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot/kernel/linprocfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/linprocfs.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/kernel/snd_hda.ko...Reading symbols from /boot/kernel/snd_hda.ko.symbols...done. done. Loaded symbols for /boot/kernel/snd_hda.ko Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done. done. Loaded symbols for /boot/kernel/sound.ko Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko Reading symbols from /boot/kernel/i915.ko...Reading symbols from /boot/kernel/i915.ko.symbols...done. done. Loaded symbols for /boot/kernel/i915.ko Reading symbols from /boot/kernel/drm.ko...Reading symbols from /boot/kernel/drm.ko.symbols...done. done. Loaded symbols for /boot/kernel/drm.ko Reading symbols from /boot/modules/kqemu.ko...done. Loaded symbols for /boot/modules/kqemu.ko Reading symbols from /boot/kernel/if_tap.ko...Reading symbols from /boot/kernel/if_tap.ko.symbols...done. done. Loaded symbols for /boot/kernel/if_tap.ko Reading symbols from /boot/kernel/if_bridge.ko...Reading symbols from /boot/kernel/if_bridge.ko.symbols...done. done. Loaded symbols for /boot/kernel/if_bridge.ko Reading symbols from /boot/kernel/bridgestp.ko...Reading symbols from /boot/kernel/bridgestp.ko.symbols...done. done. Loaded symbols for /boot/kernel/bridgestp.ko Reading symbols from /boot/kernel/aio.ko...Reading symbols from /boot/kernel/aio.ko.symbols...done. done. Loaded symbols for /boot/kernel/aio.ko #0 doadump () at pcpu.h:196 196 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) backtrace #0 doadump () at pcpu.h:196 #1 0xc078fba7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc078fe69 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:572 #3 0xc06ef186 in uhci_abort_xfer (xfer=0xc4069e00, status=USBD_NORMAL_COMPLETION) at /usr/src/sys/dev/usb/uhci.c:2004 #4 0xc06ef300 in uhci_device_bulk_abort (xfer=0xc4069e00) at /usr/src/sys/dev/usb/uhci.c:1967 #5 0xc0700569 in usbd_abort_pipe (pipe=0xc647b580) at /usr/src/sys/dev/usb/usbdi.c:881 #6 0xc06ea6b4 in ucomstopread (sc=0x0) at /usr/src/sys/dev/usb/ucom.c:883 #7 0xc06eae40 in ucomstop (tp=0xc4254000, flag=1) at /usr/src/sys/dev/usb/ucom.c:655 #8 0xc07d5686 in ttyflush (tp=0xc4254000, rw=1) at tty.h:408 #9 0xc07d890d in ttioctl (tp=0xc4254000, cmd=2150396950, data=0xc5f61d40, flag=3) at /usr/src/sys/kern/tty.c:1058 #10 0xc07d941a in ttyioctl (dev=0xc826f100, cmd=2150396950, data=0xc5f61d40 "\001", flag=3, td=0xc4900000) at /usr/src/sys/kern/tty.c:3306 #11 0xc0756017 in giant_ioctl (dev=0xc826f100, cmd=2150396950, data=0xc5f61d40 "\001", fflag=3, td=0xc4900000) at /usr/src/sys/kern/kern_conf.c:408 #12 0xc071ef18 in devfs_ioctl_f (fp=0xc60159cc, com=2150396950, data=0xc5f61d40, cred=0xc47a4100, td=0xc4900000) at /usr/src/sys/fs/devfs/devfs_vnops.c:591 #13 0xc07c6a35 in kern_ioctl (td=0xc4900000, fd=3, com=2150396950, data=0xc5f61d40 "\001") at file.h:268 #14 0xc07c6b94 in ioctl (td=0xc4900000, uap=0xe6870cfc) at /usr/src/sys/kern/sys_generic.c:570 #15 0xc0aa1ee5 in syscall (frame=0xe6870d38) at /usr/src/sys/i386/i386/trap.c:1090 #16 0xc0a88430 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:255 #17 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539c60b90810291648l7567b974h8e0999a66971495b>