From owner-freebsd-stable@FreeBSD.ORG Thu Aug 7 09:01:49 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A685937B404 for ; Thu, 7 Aug 2003 09:01:49 -0700 (PDT) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53CA543FBD for ; Thu, 7 Aug 2003 09:01:48 -0700 (PDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.9/8.12.8) with ESMTP id h77G1k21007064 for ; Thu, 7 Aug 2003 12:01:47 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.2.0.9.0.20030807113658.09f483c0@209.112.4.2> X-Sender: mdtpop@209.112.4.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Thu, 07 Aug 2003 12:03:56 -0400 To: stable@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: By Sentex Communications (lava/20020517) Subject: understanding a panic / crash dump X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 16:01:49 -0000 Just trying to understand if anything might be going on with this crash dump or just faulty hardware ? dmesg at the end ---Mike # gdb -k /kernel.debug vmcore.0 GNU gdb 4.18 (FreeBSD) Copyright 1998 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-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf SMP 2 cpus IdlePTD at phsyical address 0x00375000 initial pcb at physical address 0x002db900 panicstr: rslock: cpu: 1, addr: 0xc02f1660, lock: 0x01000001 panic messages: --- Fatal trap 12: page fault while in kernel mode mp_lock = 01000002; cpuid = 1; lapic.id = 01000000 fault virtual address = 0x8974238 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0245973 stack pointer = 0x10:0xe026ce0c frame pointer = 0x10:0xe026ce18 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 = 80288 (perl) interrupt mask = net tty bio cam <- SMP: XXX trap number = 12 panic: page fault mp_lock = 01000002; cpuid = 1; lapic.id = 01000000 boot() called on cpu#1 syncing disks... panic: rslock: cpu: 1, addr: 0xc02f1660, lock: 0x01000001 mp_lock = 01000002; cpuid = 1; lapic.id = 01000000 boot() called on cpu#1 Uptime: 6d22h55m44s dumping to dev #twed/0x20001, offset 2097152 (kgdb) where #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc01593ac in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc0159814 in poweroff_wait (junk=0xc026f0aa, howto=1) at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc026f0aa in bsl1 () #4 0xc026d1aa in get_pv_entry () at /usr/src/sys/i386/i386/pmap.c:1539 #5 0xc026d34f in pmap_insert_entry (pmap=0xc02f1620, va=3299061760, mpte=0x0, m=0xc07de248) at /usr/src/sys/i386/i386/pmap.c:1635 #6 0xc026da8c in pmap_enter (pmap=0xc02f1620, va=3299061760, m=0xc07de248, prot=7 '\a', wired=1) at /usr/src/sys/i386/i386/pmap.c:2134 #7 0xc023a4c4 in kmem_malloc (map=0xc02e43c0, size=16384, flags=2) at /usr/src/sys/vm/vm_kern.c:414 #8 0xc0154b93 in malloc (size=16384, type=0xc02cc740, flags=2) at /usr/src/sys/kern/kern_malloc.c:198 #9 0xc0228a3c in softdep_disk_io_initiation (bp=0xcf9ac218) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2989 #10 0xc0194467 in spec_strategy (ap=0xe026cb84) at /usr/src/sys/miscfs/specfs/spec_vnops.c:453 #11 0xc0193ed5 in spec_vnoperate (ap=0xe026cb84) at /usr/src/sys/miscfs/specfs/spec_vnops.c:119 #12 0xc02353e5 in ufs_vnoperatespec (ap=0xe026cb84) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2394 #13 0xc0234c4d in ufs_strategy (ap=0xe026cbc8) at vnode_if.h:944 #14 0xc02353ad in ufs_vnoperate (ap=0xe026cbc8) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376 #15 0xc0180240 in bwrite (bp=0xcf9ac218) at vnode_if.h:944 #16 0xc0185d2f in vop_stdbwrite (ap=0xe026cc2c) at /usr/src/sys/kern/vfs_default.c:344 #17 0xc0185b2d in vop_defaultop (ap=0xe026cc2c) at /usr/src/sys/kern/vfs_default.c:152 #18 0xc02353ad in ufs_vnoperate (ap=0xe026cc2c) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376 #19 0xc01811c5 in vfs_bio_awrite (bp=0xcf9ac218) at vnode_if.h:1193 #20 0xc022e50b in ffs_fsync (ap=0xe026cc9c) at /usr/src/sys/ufs/ffs/ffs_vnops.c:220 #21 0xc022cdea in ffs_sync (mp=0xc325fa00, waitfor=2, cred=0xc1c5b900, p=0xc02f2200) at vnode_if.h:558 #22 0xc018b37b in sync (p=0xc02f2200, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:577 #23 0xc0159167 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235 #24 0xc0159814 in poweroff_wait (junk=0xc02af179, howto=-1070928849) at /usr/src/sys/kern/kern_shutdown.c:595 #25 0xc0270c3d in trap_fatal (frame=0xe026cdcc, eva=144130616) at /usr/src/sys/i386/i386/trap.c:974 #26 0xc02708b5 in trap_pfault (frame=0xe026cdcc, usermode=0, eva=144130616) at /usr/src/sys/i386/i386/trap.c:867 #27 0xc0270413 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 1862325468, tf_esi = 1862325468, tf_ebp = -534327784, tf_isp = -534327816, tf_ebx = -1070655904, tf_edx = 144130616, tf_ecx = 16777217, tf_eax = 297509, tf_trapno = 12, tf_err = 0, tf_eip = -1071359629, tf_cs = 8, tf_eflags = 66054, tf_esp = -527084180, tf_ss = -1063435816}) at /usr/src/sys/i386/i386/trap.c:466 #28 0xc0245973 in zalloci (z=0xc02f1660) at /usr/src/sys/vm/vm_zone.c:70 #29 0xc026d1aa in get_pv_entry () at /usr/src/sys/i386/i386/pmap.c:1539 #30 0xc026d34f in pmap_insert_entry (pmap=0xe095556c, va=140066816, mpte=0xc0ac0b78, m=0xc09d41d8) at /usr/src/sys/i386/i386/pmap.c:1635 #31 0xc026da8c in pmap_enter (pmap=0xe095556c, va=140066816, m=0xc09d41d8, prot=7 '\a', wired=0) at /usr/src/sys/i386/i386/pmap.c:2134 #32 0xc02392cc in vm_fault (map=0xe0955500, vaddr=140066816, fault_type=2 '\002', fault_flags=8) at /usr/src/sys/vm/vm_fault.c:841 #33 0xc027084b in trap_pfault (frame=0xe026cfa8, usermode=1, eva=140066824) at /usr/src/sys/i386/i386/trap.c:847 #34 0xc02702df in trap (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 7, tf_esi = 140066816, tf_ebp = -1077940448, tf_isp = -534327340, tf_ebx = 672950156, tf_edx = 96, tf_ecx = 4, tf_eax = 16, tf_trapno = 12, tf_err = 6, tf_eip = 672897729, tf_cs = 31, tf_eflags = 66066, tf_esp = -1077940504, ---Type to continue, or q to quit--- tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:377 #35 0x281b9ac1 in ?? () #36 0x281b9ca9 in ?? () #37 0x281ba3cd in ?? () #38 0x280bfc44 in ?? () #39 0x280c0dfb in ?? () #40 0x280e5fd8 in ?? () #41 0x280e7190 in ?? () #42 0x280d6663 in ?? () #43 0x280d1b50 in ?? () #44 0x280989b7 in ?? () #45 0x28099603 in ?? () #46 0x2807ef5d in ?? () #47 0x280ea9e0 in ?? () #48 0x8048e8b in ?? () #49 0x8048d5a in ?? () (kgdb) Fatal trap 12: page fault while in kernel mode mp_lock = 01000002; cpuid = 1; lapic.id = 01000000 fault virtual address = 0x8974238 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0245973 stack pointer = 0x10:0xe026ce0c frame pointer = 0x10:0xe026ce18 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 = 80288 (perl) interrupt mask = net tty bio cam <- SMP: XXX trap number = 12 panic: page fault mp_lock = 01000002; cpuid = 1; lapic.id = 01000000 boot() called on cpu#1 syncing disks... Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.8-STABLE #1: Thu Jul 31 10:24:30 EDT 2003 mdtancsa@ns5.recycle.net:/usr/obj/usr/src/sys/recycle Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(TM) MP 2000+ (1666.73-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0480000 real memory = 1073741824 (1048576K bytes) config> q avail memory = 1041747968 (1017332K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040010, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0356000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc035609c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00f2350 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 17 -> irq 2 pci0: on pcib0 pcib1: at device 1.0 on pci0 IOAPIC #0 intpin 16 -> irq 5 pci1: on pcib1 pci1: at 5.0 irq 5 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xb800-0xb80f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 chip1: at device 7.3 on pci0 fxp0: port 0xb400-0xb43f mem 0xf2000000-0xf20fffff,0xf2800000-0xf 2800fff irq 2 at device 9.0 on pci0 fxp0: Ethernet address 00:d0:b7:db:69:6a inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib2: at device 16.0 on pci0 IOAPIC #0 intpin 19 -> irq 9 IOAPIC #0 intpin 18 -> irq 10 pci2: on pcib2 pci2: at 0.0 irq 9 rl0: port 0xa800-0xa8ff mem 0xf1000000-0xf10000ff irq 10 at device 5.0 on pci2 rl0: Ethernet address: 00:50:fc:61:6a:6f miibus1: on rl0 rlphy0: on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto twe0: <3ware Storage Controller> port 0xa400-0xa40f mem 0xf0000000-0xf07fffff,0xf0800000-0xf080000f irq 2 at device 6.0 on pci2 twe0: 2 ports, Firmware FE7X 1.05.00.023, BIOS BE7X 1.08.00.036 orm0: