kern/122926: [panic] Burning with k3b cause kernel panic if kscd runs simua

Stas Timokhin stast at bsdportal.ru
Mon Apr 21 02:01:22 UTC 2008



kgdb /boot/kernel/kernel.symbols /var/crash/vmcore.1
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: 
Undefined symbol "ps_pglobal_lookup"]
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:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x188
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc05820e4
stack pointer           = 0x28:0xd74f4a2c
frame pointer           = 0x28:0xd74f4a44
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         = 3998 (growisofs)
trap number             = 12
panic: page fault
cpuid = 0
Uptime: 1h7m23s
Physical memory: 499 MB
Dumping 113 MB: 98 82 66 50 34 18 2

#0  doadump () at pcpu.h:195
195     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc058f6f7 in boot (howto=260) at ../../../kern/kern_shutdown.c:409
#2  0xc058f9b9 in panic (fmt=Variable "fmt" is not available.
) at ../../../kern/kern_shutdown.c:563
#3  0xc0761bac in trap_fatal (frame=0xd74f49ec, eva=392) 
at ../../../i386/i386/trap.c:899
#4  0xc0761e10 in trap_pfault (frame=0xd74f49ec, usermode=0, eva=392) 
at ../../../i386/i386/trap.c:812
#5  0xc0762792 in trap (frame=0xd74f49ec) at ../../../i386/i386/trap.c:490
#6  0xc074910b in calltrap () at ../../../i386/i386/exception.s:139
#7  0xc05820e4 in _mtx_lock_sleep (m=0xc3b0328c, tid=3283403296, opts=0, 
file=0x0, line=0) at ../../../kern/kern_mutex.c:335
#8  0xc058ea38 in _sema_timedwait (sema=0xc3b0328c, timo=20000, file=0x0, 
line=0) at ../../../kern/kern_sema.c:113
#9  0xc048219a in ata_queue_request (request=0xc3b03240) 
at ../../../dev/ata/ata-queue.c:105
#10 0xc048fb69 in atapi_action (sim=0xc30bc200, ccb=0xc30bf400) 
at ../../../dev/ata/atapi-cam.c:641
#11 0xc043f2c4 in xpt_run_dev_sendq (bus=0xc30b8800) 
at ../../../cam/cam_xpt.c:3914
#12 0xc043f6e1 in xpt_action (start_ccb=0xc30bf400) 
at ../../../cam/cam_xpt.c:3067
#13 0xc043ada8 in cam_periph_runccb (ccb=0xc30bf400, error_routine=0, 
camflags=CAM_RETRY_SELTO, sense_flags=1, ds=0xc30a8a50)
    at ../../../cam/cam_periph.c:878
#14 0xc0452c4e in passioctl (dev=0xc30c3400, cmd=3261076738, 
addr=0xc2fb3400 "", flag=3, td=0xc3b4c220)
    at ../../../cam/scsi/scsi_pass.c:570
#15 0xc0525b3b in devfs_ioctl_f (fp=0xc4102a20, com=3261076738, 
data=0xc2fb3400, cred=0xc35fb700, td=0xc3b4c220)
    at ../../../fs/devfs/devfs_vnops.c:494
#16 0xc05c3cc5 in kern_ioctl (td=0xc3b4c220, fd=5, com=3261076738, 
data=0xc2fb3400 "") at file.h:266
#17 0xc05c3e24 in ioctl (td=0xc3b4c220, uap=0xd74f4cfc) 
at ../../../kern/sys_generic.c:570
#18 0xc0762165 in syscall (frame=0xd74f4d38) at ../../../i386/i386/trap.c:1035
#19 0xc0749170 in Xint0x80_syscall () at ../../../i386/i386/exception.s:196
#20 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)

(kgdb) p panicstr
$1 = 0xc0823200 "page fault"
(kgdb) 




http://www.freebsd.org/cgi/query-pr.cgi?pr=122926


More information about the freebsd-bugs mailing list