Date: Fri, 7 May 2004 03:45:45 -0400 (EDT) From: Charles Sprickman <spork@fasttrackmonkey.com> To: freebsd-questions@freebsd.org Subject: help with panic/kgdb Message-ID: <20040507032828.J2043@toad.nat.fasttrackmonkey.com>
next in thread | raw e-mail | index | archive | help
Hi, First off, let me say it's been a very long time since I've had to deal with a FreeBSD box panicing, so bear with me. This particular machine has been acting up since I upgraded to 4.8-p18 from 4.8-p6(?). The only bit of "odd" hardware in it is a 3Ware IDE RAID card (full dmesg below). This is the second panic since then. My main goal here is to try and figure out if it's a hardware issue (bad memory, dead CPU fan, etc.) or an OS issue, so anyone that can look at the gdb output below and give me some insight, go ahead. Thanks, Charles Here's what gdb tells me so far: root@angryfist[/usr/local/etc/rc.d]# gdb -k /kernel.debug /var/crash/vmcore.2 GNU gdb 4.18 (FreeBSD) [...] 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 IdlePTD at phsyical address 0x00414000 initial pcb at physical address 0x00364d20 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x10018 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01c3f4c stack pointer = 0x10:0xc8fb0d68 frame pointer = 0x10:0xc8fb0d74 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 = 74356 (find) interrupt mask = none trap number = 12 panic: page fault syncing disks... 19 done Uptime: 9d13h5m50s dumping to dev #twed/0x20001, offset 1048608 dump 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 487 if (dumping++) { (kgdb) where #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc019b007 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc019b42c in poweroff_wait (junk=0xc032cdec, howto=-1070413553) at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc02d82a2 in trap_fatal (frame=0xc8fb0d28, eva=65560) at /usr/src/sys/i386/i386/trap.c:974 #4 0xc02d7f75 in trap_pfault (frame=0xc8fb0d28, usermode=0, eva=65560) at /usr/src/sys/i386/i386/trap.c:867 #5 0xc02d7b5f in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = -917549376, tf_esi = -923070808, tf_ebp = -923071116, tf_isp = -923071148, tf_ebx = 65536, tf_edx = 1068, tf_ecx = -917549356, tf_eax = -1057005568, tf_trapno = 12, tf_err = 0, tf_eip = -1071890612, tf_cs = 8, tf_eflags = 66050, tf_esp = 0, tf_ss = -917549376}) at /usr/src/sys/i386/i386/trap.c:466 #6 0xc01c3f4c in cache_lookup (dvp=0xc94f4ec0, vpp=0xc8fb0e94, cnp=0xc8fb0ea8) at /usr/src/sys/kern/vfs_cache.c:210 #7 0xc01c4448 in vfs_cache_lookup (ap=0xc8fb0e04) at /usr/src/sys/kern/vfs_cache.c:471 #8 0xc02920f5 in ufs_vnoperate (ap=0xc8fb0e04) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376 #9 0xc01c755d in lookup (ndp=0xc8fb0e80) at vnode_if.h:52 #10 0xc01c7050 in namei (ndp=0xc8fb0e80) at /usr/src/sys/kern/vfs_lookup.c:153 #11 0xc01cccb9 in lstat (p=0xc8e11a00, uap=0xc8fb0f80) at /usr/src/sys/kern/vfs_syscalls.c:1823 #12 0xc02d8551 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134632704, tf_esi = 134632824, tf_ebp = -1077937436, tf_isp = -923070508, tf_ebx = 672084268, tf_edx = 134557696, tf_ecx = 0, tf_eax = 190, tf_trapno = 0, tf_err = 2, tf_eip = 671763988, tf_cs = 31, tf_eflags = 659, tf_esp = -1077937576, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175 #13 0xc02cbf85 in Xint0x80_syscall () #14 0x280a1469 in ?? () #15 0x280a0cf2 in ?? () #16 0x804971e in ?? () #17 0x804b968 in ?? () #18 0x80493ce in ?? () If you need me to poke around at any variables, please let me know. As you can see, this crapped out during the daily run, I'm assuming the "find" process that tanked was some part of one of the daily scripts. Here's the dmesg: 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-RELEASE-p18 #4: Tue Apr 27 14:32:39 EDT 2004 spork@angryfist.fasttrackmonkey.com:/usr/obj/usr/src/sys/MONKEY Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 451023566 Hz CPU: AMD-K6(tm) 3D processor (451.02-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX> AMD Features=0x80000800<SYSCALL,3DNow!> real memory = 134201344 (131056K bytes) avail memory = 126578688 (123612K bytes) Preloaded elf kernel "kernel" at 0xc03f5000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03f509c. K6-family MTRR support enabled (2 registers) md0: Malloc disk Using $PIR table, 8 entries at 0xc00f0ca0 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <AcerLabs M5243 PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xe5800000-0xe5800fff irq 15 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered alpm0: <AcerLabs M15x3 Power Management Unit> at device 3.0 on pci0 alpm0: driver is using old-style compatibility shims isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 pci0: <Trident model 9660 VGA-compatible display device> at 9.0 irq 12 dc0: <ADMtek AN985 10/100BaseTX> port 0xd800-0xd8ff mem 0xe3800000-0xe38003ff irq 10 at device 11.0 on pci0 dc0: Ethernet address: 00:04:5a:6b:e4:d4 miibus0: <MII bus> on dc0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto twe0: <3ware Storage Controller> port 0xd400-0xd40f irq 11 at device 12.0 on pci0 twe0: 4 ports, Firmware FE6X 1.02.28.053, BIOS BE6X 1.07.02.005 atapci0: <AcerLabs Aladdin ATA33 controller> port 0xd000-0xd00f irq 0 at device 15.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 smbus0: <System Management Bus> on alsmb0 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/7 bytes threshold lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 IPsec: Initialized Security Association Processing. IP Filter: v3.4.31 initialized. Default = pass all, Logging = enabled acd0: CDROM <TOSHIBA CD-ROM XM-6102B> at ata0-master PIO3 twed0: <TwinStor, Normal> on twe0 twed0: 28628MB (58631296 sectors) Mounting root from ufs:/dev/twed0s1a WARNING: / was not properly dismounted
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040507032828.J2043>