Date: Sat, 27 Jan 2007 17:36:12 +0200 From: "Halid Faith" <maslak@ihlas.net.tr> To: <freebsd-questions@freebsd.org> Subject: My machine gave a panic Message-ID: <009201c74228$dfe3c5c0$dc96eed5@ihlasnetym>
next in thread | raw e-mail | index | archive | help
I upgraded it to freebsd6.2. I got a panic again. Debug info as below; What do I have to change ? Thanks # kgdb kernel.debug /var/crash/vmcore.0 [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: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x104 fault code = supervisor read, page not present instruction pointer = 0x20:0xc065bdcd stack pointer = 0x28:0xe95f5aec frame pointer = 0x28:0xe95f5af8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 27775 (tcpserver) trap number = 12 panic: page fault cpuid = 0 Uptime: 4d18h33m6s Dumping 2037 MB (7 chunks) chunk 0: 1MB (142 pages) ... ok chunk 1: 2022MB (517451 pages) 2006 1990 1974 1958 1942 1926 1910 1894 1878 1862 1846 1830 1814 1798 1782 1766 1750 1734 1718 1702 1686 1670 1654 1638 1622 1606 1590 1574 1558 1542 1526 1510 1494 1478 1462 1446 1430 1414 1398 1382 1366 1350 1334 1318 1302 1286 1270 1254 1238 1222 1206 1190 1174 1158 1142 1126 1110 1094 1078 1062 1046 1030 1014 998 982 966 950 934 918 902 886 870 854 838 822 806 790 774 758 742 726 710 694 678 662 646 630 614 598 582 566 550 534 518 502 486 470 454 438 422 406 390 374 358 342 326 310 294 278 262 246 230 214 198 182 166 150 134 118 102 86 70 54 38 22 6 ... ok chunk 2: 15MB (3620 pages) ... ok chunk 3: 1MB (168 pages) ... ok chunk 4: 1MB (116 pages) #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) stack trace Undefined command: "stack". Try "help". (kgdb) Stack backtrace Undefined command: "Stack". Try "help". (kgdb) Stack backtrace: Undefined command: "Stack". Try "help". (kgdb) list *0xc065bdcd 0xc065bdcd is in _mtx_lock_sleep (../../../kern/kern_mutex.c:548). 543 * If the current owner of the lock is executing on another 544 * CPU, spin instead of blocking. 545 */ 546 owner = (struct thread *)(v & MTX_FLAGMASK); 547 #ifdef ADAPTIVE_GIANT 548 if (TD_IS_RUNNING(owner)) { 549 #else 550 if (m != &Giant && TD_IS_RUNNING(owner)) { 551 #endif 552 turnstile_release(&m->mtx_object); (kgdb) backtrace #0 doadump () at pcpu.h:165 #1 0xc0664ba6 in boot (howto=260) at ../../../kern/kern_shutdown.c:409 #2 0xc0664ecd in panic (fmt=0xc08d7d4d "%s") at ../../../kern/kern_shutdown.c:565 #3 0xc0883cf0 in trap_fatal (frame=0xe95f5aac, eva=260) at ../../../i386/i386/trap.c:837 #4 0xc08834a6 in trap (frame= {tf_fs = -957939704, tf_es = -874971096, tf_ds = -379650008, tf_edi = -873199744, tf_esi = 4, tf_ebp = -379626760, tf_isp = -379626792, tf_ebx = -957927100, tf_edx = 6, tf_ecx = 0, tf_eax = 1, tf_trapno = 12, tf_err = 0, tf_eip = -1067074099, tf_cs = 32, tf_eflags = 65538, tf_esp = -379626352, tf_ss = -957927244}) at ../../../i386/i386/trap.c:270 #5 0xc08700ca in calltrap () at ../../../i386/i386/exception.s:139 #6 0xc065bdcd in _mtx_lock_sleep (m=0xc6e73144, tid=3421767552, opts=0, file=0x0, line=0) at ../../../kern/kern_mutex.c:546 #7 0xc070ef47 in ip_ctloutput (so=0xcbd9d590, sopt=0xe95f5c90) at ../../../netinet/ip_output.c:1198 #8 0xc071f747 in tcp_ctloutput (so=0xcbd9d590, sopt=0xe95f5c90) at ../../../netinet/tcp_usrreq.c:1038 #9 0xc06a0b3c in sosetopt (so=0xcbd9d590, sopt=0xe95f5c90) at ../../../kern/uipc_socket.c:1563 #10 0xc06a5ed9 in kern_setsockopt (td=0xcbf40780, s=0, level=1, name=1, val=0x0, valseg=UIO_USERSPACE, valsize=6) at ../../../kern/uipc_syscalls.c:1351 #11 0xc06a5dfa in setsockopt (td=0xcbf40780, uap=0x1) at ../../../kern/uipc_syscalls.c:1307 #12 0xc0884037 in syscall (frame= {tf_fs = -1078001605, tf_es = 59, tf_ds = -1078001605, tf_edi = -1077940896, tf_esi = 3, tf_ebp = -1077941128, tf_isp = -379626140, tf_ebx = 0, tf_edx = 0, tf_ecx = 0, tf_eax = 105, tf_trapno = 12, tf_err = 2, tf_eip = 2081375367, tf_cs = 51, tf_eflags = 642, tf_esp = -1077941172, tf_ss = 59}) at ../../../i386/i386/trap.c:983 #13 0xc087011f in Xint0x80_syscall () at ../../../i386/i386/exception.s:200 #14 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) info registers eax 0x0 0 ecx 0x0 0 edx 0x0 0 ebx 0xc63b9c80 -969171840 esp 0xe95f5a00 0xe95f5a00 ebp 0xe95f5a08 0xe95f5a08 esi 0x0 0 edi 0x4 4 eip 0xc066464a 0xc066464a eflags 0x0 0 cs 0x0 0 ss 0x0 0 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009201c74228$dfe3c5c0$dc96eed5>