k3b crash with kernel panic.

From: Martin Wilke <miwi_at_FreeBSD.org>
Date: Mon, 9 Apr 2007 18:20:41 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


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. 

here is a backtrace..

[17:35] root_at_miwi /usr/obj/usr/src/sys/BSDBOX# kgdb
kernel.debug /var/crash/vmcore.11 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:
acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 
acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xbfbf6e50
fault code              = supervisor write, protection violation
instruction pointer     = 0x20:0xc04f8b80
stack pointer           = 0x28:0xe4908c60
frame pointer           = 0x28:0xe4908c80
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         = 28 (irq15: ata1)
trap number             = 12
panic: page fault
Uptime: 51m27s
Physical memory: 1007 MB
Dumping 173 MB: 158 142 126 110 94 78 62 46 30 14

#0  doadump () at pcpu.h:172
172             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) 
(kgdb) bt
#0  doadump () at pcpu.h:172
#1  0xc06be663 in boot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:409 #2  0xc06be8f0 in panic
(fmt=0xc09d0632 "%s") at /usr/src/sys/kern/kern_shutdown.c:563 #3
0xc08ad0f8 in trap_fatal (frame=0xe4908c20, eva=3216993872)
at /usr/src/sys/i386/i386/trap.c:868 #4  0xc08ace5f in trap_pfault
(frame=0xe4908c20, usermode=0, eva=3216993872)
at /usr/src/sys/i386/i386/trap.c:777 #5  0xc08acaaa in trap
(frame=0xe4908c20) at /usr/src/sys/i386/i386/trap.c:462 #6  0xc08995db
in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7  0xc04f8b80
in ata_pio_read (request=0xc4eeab40, length=18) at cpufunc.h:229 #8
0xc04f77a8 in ata_end_transaction (request=0xc4eeab40)
at /usr/src/sys/dev/ata/ata-lowlevel.c:402 #9  0xc04e466b in
ata_interrupt (data=0xc43b6e00) at /usr/src/sys/dev/ata/ata-all.c:338
#10 0xc06a93ae in ithread_execute_handlers (p=0xc4427480,
ie=0xc42af380) at /usr/src/sys/kern/kern_intr.c:682 #11 0xc06a94b8 in
ithread_loop (arg=0xc440fb10) at /usr/src/sys/kern/kern_intr.c:766 #12
0xc06a8392 in fork_exit (callout=0xc06a9464 <ithread_loop>,
arg=0xc440fb10, frame=0xe4908d38) at /usr/src/sys/kern/kern_fork.c:814
#13 0xc0899650 in fork_trampoline ()
at /usr/src/sys/i386/i386/exception.s:205 (kgdb)


(kgdb) bt full
#0  doadump () at pcpu.h:172
No locals.
#1  0xc06be663 in boot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:409 first_buf_printf = 1
#2  0xc06be8f0 in panic (fmt=0xc09d0632 "%s")
at /usr/src/sys/kern/kern_shutdown.c:563 td = (struct thread *)
0xc4424870 bootopt = 260
        newpanic = 0
        ap = 0xc4424870 "\200tBÄ"
        buf = "page fault", '\0' <repeats 245 times>
#3  0xc08ad0f8 in trap_fatal (frame=0xe4908c20, eva=3216993872)
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 = 4, ssd_xx1 = 3, ssd_def32 = 1,
ssd_gran = 1} msg = 0x0
#4  0xc08ace5f in trap_pfault (frame=0xe4908c20, usermode=0,
eva=3216993872) at /usr/src/sys/i386/i386/trap.c:777 va = 3216990208
        vm = (struct vmspace *) 0x0
        map = 0xc0ace5c0
        rv = 1
        ftype = 1 '\001'
        td = (struct thread *) 0xc4424870
        p = (struct proc *) 0xc4427480
#5  0xc08acaaa in trap (frame=0xe4908c20)
at /usr/src/sys/i386/i386/trap.c:462 td = (struct thread *) 0xc4424870
        p = (struct proc *) 0xc4427480
        i = 0
        ucode = 0
        type = 12
        code = 3
        addr = 9
        eva = 3216993872
        ksi = {ksi_link = {tqe_next = 0xcf8, tqe_prev = 0xc4424870},
ksi_info = {si_signo = 1, si_errno = 9, si_code = -1002289040, si_pid =
1, si_uid = 3834678236, si_status = 582, si_addr = 0xc4424870, si_value
= {sival_int = -460289036, sival_ptr = 0xe4908bf4}, _reason = { _fault
= {_trapno = -1064611281}, _timer = {_timerid = -1064611281, _overrun =
138}, _mesgq = {_mqd = -1064611281}, _poll = { _band = -1064611281},
__spare__ = {__spare1__ = -1064611281, __spare2__ = {138, 6, 0, 9,
- -460289000, -1064611774, 0}}}}, ksi_flags = 6, ksi_sigq = 0x0} #6
0xc08995db in calltrap () at /usr/src/sys/i386/i386/exception.s:139 No
locals. #7  0xc04f8b80 in ata_pio_read (request=0xc4eeab40, length=18)
at cpufunc.h:229 ch = (struct ata_channel *) 0xc43b6e00 size = 18 resid
= -1077973424 #8  0xc04f77a8 in ata_end_transaction
(request=0xc4eeab40) at /usr/src/sys/dev/ata/ata-lowlevel.c:402 ch =
(struct ata_channel *) 0xc43b6e00 atadev = (struct ata_device *)
0xc467e000 length = 18
#9  0xc04e466b in ata_interrupt (data=0xc43b6e00)
at /usr/src/sys/dev/ata/ata-all.c:338 ch = (struct ata_channel *)
0xc43b6e00 request = (struct ata_request *) 0xc4eeab40
#10 0xc06a93ae in ithread_execute_handlers (p=0xc4427480,
ie=0xc42af380) at /usr/src/sys/kern/kern_intr.c:682 ih = (struct
intr_handler *) 0xc440d5c0 ihn = (struct intr_handler *) 0x0
#11 0xc06a94b8 in ithread_loop (arg=0xc440fb10)
at /usr/src/sys/kern/kern_intr.c:766 ithd = (struct intr_thread *)
0xc440fb10 ie = (struct intr_event *) 0xc42af380
- ---Type <return> to continue, or q <return> to quit---
        td = (struct thread *) 0xc4424870
        p = (struct proc *) 0xc4427480
#12 0xc06a8392 in fork_exit (callout=0xc06a9464 <ithread_loop>,
arg=0xc440fb10, frame=0xe4908d38) at /usr/src/sys/kern/kern_fork.c:814
p = (struct proc *) 0xc4427480 td = (struct thread *) 0x170
#13 0xc0899650 in fork_trampoline ()
at /usr/src/sys/i386/i386/exception.s:205 No locals.
(kgdb) 

someone a idea what here wrong is ?

Thanks.

- - Martin

- -- 
Martin Wilke		| irc.unixfreunde.de #bsd 
miwi_at_FreeBSD.org	| miwi_at_unixfreunde.de
FreeBSD Committer	| Power to Serve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)

iD8DBQFGGmfbFwpycAVoI1MRApx9AKCbopVcRCwVqoRCRO0vVp+lg6eO4wCfTr3U
iPA1aTOZW6fgNqDFkYvgWTM=
=bFS+
-----END PGP SIGNATURE-----
Received on Mon Apr 09 2007 - 14:40:45 UTC

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