K3B crashes kernel

Robert Marella rmarella at gmail.com
Tue Apr 17 22:46:26 UTC 2007


Good Afternoon

I have two systems running 6 stable that K3B is crashing the kernel.
All ports are up to date as of today. I have searched the archives and
google and the only the only reference is in current and looks exactly
like my problem.

http://lists.freebsd.org/pipermail/freebsd-current/2007-April/070753.html

This dump will happen every time by just starting K3B.

FreeBSD p4.konav201.local 6.2-STABLE FreeBSD 6.2-STABLE #3: 
Mon Apr  9 18:51:25 HST 2007
root at p4.konav201.local:/usr/obj/usr/src/sys/GENERIC  i386

I am not an expert with the debugging feature but here is what I have.

[robert at p4] /usr/obj/usr/src/sys/GENERIC> sudo kgdb
kernel.debug /data/crash/vmcore.5 Password:
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:
acd1: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 
acd1: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 
acd1: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 
acd1: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xbf8fdec0
fault code              = supervisor write, protection violation
instruction pointer     = 0x20:0xc04f8f15
stack pointer           = 0x28:0xe53dfc28
frame pointer           = 0x28:0xe53dfc5c
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         = 33 (irq15: ata1)
trap number             = 12
panic: page fault
Uptime: 21h0m51s
Dumping 2046 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 2047MB (523824 pages) 2031 2015 1999 1983 1967 1951 1935
1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711
1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 1503 1487
1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 1263
1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039
1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767
751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479
463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191
175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc070b56c in boot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:409 #2  0xc070b8b9 in panic
(fmt=0xc09ed023 "%s") at /usr/src/sys/kern/kern_shutdown.c:565 #3
0xc098b89c in trap_fatal (frame=0xe53dfbe8, eva=0)
at /usr/src/sys/i386/i386/trap.c:837 #4  0xc098b572 in trap_pfault
(frame=0xe53dfbe8, usermode=0, eva=3213876928)
at /usr/src/sys/i386/i386/trap.c:745 #5  0xc098b10d in trap (frame=
{tf_fs = 8, tf_es = -448987096, tf_ds = -1063714776, tf_edi =
-1081090368, tf_esi = -963745280, tf_ebp = -448922532, tf_isp =
-448922604, tf_ebx = 368, tf_edx = 368, tf_ecx = 9, tf_eax =
-1081090368, tf_trapno = 12, tf_err = 3, tf_eip = -1068527851, tf_cs =
32, tf_eflags = 66118, tf_esp = -963841088, tf_ss = 1})
at /usr/src/sys/i386/i386/trap.c:435 #6  0xc097569a in calltrap ()
at /usr/src/sys/i386/i386/exception.s:139 #7  0xc04f8f15 in
ata_pio_read (request=0xcc331b28, length=18) at cpufunc.h:229 #8
0xc04f7942 in ata_end_transaction (request=0xcc331b28)
at /usr/src/sys/dev/ata/ata-lowlevel.c:402 #9  0xc04e1af9 in
ata_interrupt (data=0xc68e6a00) at /usr/src/sys/dev/ata/ata-all.c:341
#10 0xc06f07f8 in ithread_execute_handlers (p=0xc6901860,
ie=0xc67a1580) at /usr/src/sys/kern/kern_intr.c:682 #11 0xc06f0966 in
ithread_loop (arg=0xc691e380) at /usr/src/sys/kern/kern_intr.c:765 #12
0xc06ef26f in fork_exit (callout=0xc06f08f0 <ithread_loop>,
arg=0xbf8fdec0, frame=0xbf8fdec0) at /usr/src/sys/kern/kern_fork.c:821
#13 0xc09756fc in fork_trampoline ()
at /usr/src/sys/i386/i386/exception.s:208 
(kgdb)

If anything else is required of me, I would be happy to provide it.

Robert


More information about the freebsd-stable mailing list