Re: k3b crash with kernel panic.

From: Marek Holly <marko_at_exitcode.org>
Date: Tue, 10 Apr 2007 00:09:45 +0200
On Mon, Apr 09, 2007 at 06:20:41PM +0200, Martin Wilke wrote:
> Hello Guys,
> 
> 
> i've installed k3b from ports on my head box (Tue Apr  3 18:13:49 CEST
> 2007), and this crashed my box with a kernel panic. 

I have the same problem after upgrade k3b to 1.0_1.

root_at_d610:/# uname -a
FreeBSD d610.network.home 7.0-CURRENT FreeBSD 7.0-CURRENT #8: Fri Apr  6
00:20:53 CEST 2007     marko_at_d610.network.home:/usr/obj/usr/src/sys/KERNEL  i386

root_at_d610:/usr/obj/usr/src/sys/KERNEL# kgdb kernel /var/crash/vmcore.0
kgdb: kvm_nlist(_stopped_cpus):
kgdb: kvm_nlist(_stoppcbs):
[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
fault virtual address   = 0xbf8fdec0
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc04a18f6
stack pointer           = 0x28:0xe38f7c40
frame pointer           = 0x28:0xe38f7c6c
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         = 34 (irq15: ata1)
trap number             = 12
panic: page fault
Uptime: 7m14s
Physical memory: 2031 MB
Dumping 125 MB: 110 94 78 62 46 30 14

#0  doadump () at pcpu.h:172
172             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt full
#0  doadump () at pcpu.h:172
No locals.
#1  0xc058e501 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
        first_buf_printf = 1
#2  0xc058ea53 in panic (fmt=0xc08366c0 "page fault") at
/usr/src/sys/kern/kern_shutdown.c:563
        bootopt = 260
        newpanic = 0
        buf = "page fault", '\0' <repeats 245 times>
#3  0xc0777fc4 in trap_fatal (frame=0xe38f7c00, eva=3213876928) at
/usr/src/sys/i386/i386/trap.c:868
        code = 40
        type = 12
        ss = 40
        esp = 0
        softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, ssd_dpl =
0, ssd_p = 1, ssd_xx = 11, ssd_xx1 = 3,
  ssd_def32 = 1, ssd_gran = 1}
        msg = 0x0
#4  0xc077826b in trap_pfault (frame=0xe38f7c00, usermode=0, eva=3213876928) at
/usr/src/sys/i386/i386/trap.c:777
        va = 3213873152
        vm = (struct vmspace *) 0x0
        map = 0x1
        rv = 1
        ftype = 2 '\002'
        p = (struct proc *) 0x0
#5  0xc0778690 in trap (frame=0xe38f7c00) at /usr/src/sys/i386/i386/trap.c:462
        p = (struct proc *) 0xc4dbb6c0
        i = 0
        ucode = 0
        type = 12
        code = 2
        addr = 2
        eva = 3213876928
        ksi = {ksi_link = {tqe_next = 0xc4c976c0, tqe_prev = 0xe38f7bc8},
ksi_info = {si_signo = -1068023567,
    si_errno = -477135944, si_code = 8, si_pid = 2, si_uid = 0, si_status = 4,
si_addr = 0xc4c976c0, si_value = {
      sival_int = -993459200, sival_ptr = 0xc4c90400}, _reason = {_fault =
{_trapno = 1}, _timer = {_timerid = 1,
        _overrun = -1065241388}, _mesgq = {_mqd = 1}, _poll = {_band = 1},
__spare__ = {__spare1__ = 1, __spare2__ = {
          -1065241388, -477135888, -1065961302, -993459200, 0, -993446208,
-993429824}}}}, ksi_flags = 1, ksi_sigq = 0x0}
#6  0xc076785b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
No locals.
#7  0xc04a18f6 in ata_pio_read (request=0xc6139cc0, length=18) at cpufunc.h:229
        ch = (struct ata_channel *) 0xc4dea400
        resid = -1081090368
#8  0xc04a2407 in ata_end_transaction (request=0xc6139cc0) at
/usr/src/sys/dev/ata/ata-lowlevel.c:402
        ch = (struct ata_channel *) 0xc4dea400
        atadev = (struct ata_device *) 0xc4f98c00
        length = 18
#9  0xc048b5dd in ata_interrupt (data=0xc4dea400) at
/usr/src/sys/dev/ata/ata-all.c:338
        request = (struct ata_request *) 0xc6139cc0
#10 0xc05743b8 in ithread_loop (arg=0xc4e0d100) at
/usr/src/sys/kern/kern_intr.c:682
        ie = (struct intr_event *) 0xc4c90400
#11 0xc0572f48 in fork_exit (callout=0xc0574290 <ithread_loop>, arg=0x0,
frame=0x0) at /usr/src/sys/kern/kern_fork.c:814
        p = (struct proc *) 0xc4dbb6c0
#12 0xc07678d0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205
No locals.

-- 
Marek Holly 
marko_at_exitcode.org
Received on Mon Apr 09 2007 - 20:30:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:08 UTC