Date: Tue, 10 Feb 2009 22:54:55 +0100 (CET) From: Stephane Legrand <stephleg@free.fr> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/131575: Immediate crash after plug of an USB key Message-ID: <200902102154.n1ALst7G001885@sequoia.mondomaineamoi.megalo> Resent-Message-ID: <200902102210.n1AMA39Y039227@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 131575 >Category: kern >Synopsis: Immediate crash after plug of an USB key >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 10 22:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Stephane Legrand >Release: FreeBSD 7.1-STABLE i386 >Organization: >Environment: System: FreeBSD 7.1-STABLE FreeBSD 7.1-STABLE #20: Sat Jan 10 15:24:24 CET 2009 i386 GNOME 2.24.3 >Description: After having plugged an USB key, i had an immediate crash. Here is the backtrace : Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xc8538000 fault code = supervisor read, page not present instruction pointer = 0x20:0xc07df8ea stack pointer = 0x28:0xe4276b84 frame pointer = 0x28:0xe4276b8c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2 (g_event) trap number = 12 panic: page fault cpuid = 0 Uptime: 3h27m9s Physical memory: 1002 MB Dumping 224 MB: 209 193 177 161 145 129 113 97 81 65 49 33 17 1 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/linsysfs.ko...Reading symbols from /boot/kernel/linsysfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/linsysfs.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 /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_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/kernel/ng_pppoe.ko...Reading symbols from /boot/kernel/ng_pppoe.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_pppoe.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/kernel/ipfw.ko...Reading symbols from /boot/kernel/ipfw.ko.symbols...done. done. Loaded symbols for /boot/kernel/ipfw.ko Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from /boot/kernel/accf_http.ko.symbols...done. done. Loaded symbols for /boot/kernel/accf_http.ko Reading symbols from /boot/kernel/i915.ko...done. Loaded symbols for /boot/kernel/i915.ko Reading symbols from /boot/kernel/drm.ko...done. Loaded symbols for /boot/kernel/drm.ko #0 doadump () at pcpu.h:196 196 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc0755d9f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc0756064 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc09ebf70 in trap_fatal (frame=0xe4276b44, eva=3360915456) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc09ec1c0 in trap_pfault (frame=0xe4276b44, usermode=0, eva=3360915456) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc09ecb1a in trap (frame=0xe4276b44) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc09d47eb in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc07df8ea in strlcpy (dst=0xe4276c10 " Windows : ", src=0xc8537e40 " Windows : \r\n\r\n1 : Spark (50 Mo)\r\n2 : Coccinella (37 Mo)\r\n3 : gajim (31 Mo) : lors des tests, peut monter à 37 Mo\r\n4 : psi (25 Mo) : lors des tests, peut monter à 40 Mo\r\n5 : pidgin (25 Mo)\r\n6 : Exodus"..., siz=12) at /usr/src/sys/libkern/strlcpy.c:64 #8 0xc07061e1 in g_label_msdosfs_taste (cp=0xc4ec7280, label=0xe4276c10 " Windows : ", size=64) at /usr/src/sys/geom/label/g_label_msdosfs.c:187 #9 0xc0705852 in g_label_taste (mp=0xc0b34640, pp=0xc5485480, flags=0) at /usr/src/sys/geom/label/g_label.c:313 #10 0xc07031a1 in g_new_provider_event (arg=0xc5485480, flag=0) at /usr/src/sys/geom/geom_subr.c:543 #11 0xc06ffe5f in g_run_events () at /usr/src/sys/geom/geom_event.c:211 #12 0xc07010b7 in g_event_procbody () at /usr/src/sys/geom/geom_kern.c:141 #13 0xc0733561 in fork_exit (callout=0xc070104c <g_event_procbody>, arg=0x0, frame=0xe4276d38) at /usr/src/sys/kern/kern_fork.c:804 #14 0xc09d4860 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264 >How-To-Repeat: I tried to reproduce by plugging the same key after the reboot but it didn't happened again. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902102154.n1ALst7G001885>