Date: Sun, 25 Aug 2002 19:53:13 +1000 From: Kal Torak <kaltorak@quake.com.au> To: "Kenneth D. Merry" <ken@kdm.org> Cc: FreeBSD Stable <freebsd-stable@FreeBSD.ORG>, olli@fromme.com Subject: Re: tosha port causing system to reboot Message-ID: <3D68A909.8030601@quake.com.au> References: <3D6670A5.7020903@quake.com.au> <20020823121829.A17201@panzer.kdm.org> <3D675FC6.90009@quake.com.au> <20020824130547.A27869@panzer.kdm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------070905000601030705050306 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Kenneth D. Merry wrote: >>I have the crash dump, but wont I have to compile debugging symbols into >>the kernel or something to get a trace?? > > Generally there will be a kernel.debug in your kernel compile directory. > That has all the necessary symbols. Ok well there isnt.. But I will build one... The kernel was last made with the make buildkernel from the /usr/src tree so I guess that doesnt make one? > Just to make sure, go ahead and send out the dmesg and stack trace from the > crash dump. Well I have got something.. Not exactly sure what a stack trace looks like but I get everything out of gdb that I know how... I will attach that and my dmesg output to this mail.. Hope it helps! --------------070905000601030705050306 Content-Type: text/plain; name="debug.kern" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="debug.kern" Script started on Sun Aug 25 17:02:27 2002 root@fileserv:FILESERV# gdb -k kernel.debug /var/crash/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"... IdlePTD at phsyical address 0x00341000 initial pcb at physical address 0x002b48c0 panicstr: page fault panic messages: --- panic: Loop 1 syncing disks... Fatal trap 12: page fault while in kernel mode fault virtual address = 0x30 fault code = supervisor read, page not present instruction pointer = 0x8:0xc020474c stack pointer = 0x10:0xc0291020 frame pointer = 0x10:0xc0291028 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 = Idle interrupt mask = bio cam trap number = 12 panic: page fault Uptime: 16m0s dumping to dev #ad/0x20001, offset 269712 dump ata0: resetting devices .. done 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 0xc0168132 in dumpsys () (kgdb) where #0 0xc0168132 in dumpsys () #1 0xc0167efc in boot () #2 0xc0168330 in poweroff_wait () #3 0xc0252763 in trap_fatal () #4 0xc025241d in trap_pfault () #5 0xc0251ff3 in trap () #6 0xc020474c in acquire_lock () #7 0xc0208e9a in softdep_fsync_mountdev () #8 0xc020d166 in ffs_fsync () #9 0xc020bde8 in ffs_sync () #10 0xc0197ef3 in sync () #11 0xc0167cb7 in boot () #12 0xc0168330 in poweroff_wait () #13 0xc0140b26 in ahc_search_qinfifo () #14 0xc0145f9c in ahc_timeout () #15 0xc016dddd in softclock () (kgdb) up #1 0xc0167efc in boot () (kgdb) #2 0xc0168330 in poweroff_wait () (kgdb) #3 0xc0252763 in trap_fatal () (kgdb) #4 0xc025241d in trap_pfault () (kgdb) #5 0xc0251ff3 in trap () (kgdb) #6 0xc020474c in acquire_lock () (kgdb) #7 0xc0208e9a in softdep_fsync_mountdev () (kgdb) #8 0xc020d166 in ffs_fsync () (kgdb) #9 0xc020bde8 in ffs_sync () (kgdb) #10 0xc0197ef3 in sync () (kgdb) #11 0xc0167cb7 in boot () (kgdb) #12 0xc0168330 in poweroff_wait () (kgdb) #13 0xc0140b26 in ahc_search_qinfifo () (kgdb) #14 0xc0145f9c in ahc_timeout () (kgdb) #15 0xc016dddd in softclock () (kgdb) Initial frame selected; you cannot go up. (kgdb) list 1 /*- 2 * Copyright (c) 2002 FreeBSD Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright (kgdb) 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * 14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) (kgdb) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 */ 27 28 char sccspad[32 - 4 /* sizeof(sccs) */] = { '\0' }; 29 char sccs[4] = { '@', '(', '#', ')' }; 30 char version[] = "FreeBSD 4.6.1-RELEASE-p5 #1: Sun Aug 25 16:27:18 EST 2002\n root@fileserv.l33txor.net:/usr/src/sys/compile/FILESERV\n"; (kgdb) 31 char ostype[] = "FreeBSD"; 32 char osrelease[] = "4.6.1-RELEASE-p5"; 33 int osreldate = 460002; (kgdb) Line number 34 out of range; vers.c has 33 lines. (kgdb) quit root@fileserv:FILESERV# exit exit Script done on Sun Aug 25 17:04:40 2002 --------------070905000601030705050306 Content-Type: text/plain; name="dmesg.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.out" Copyright (c) 1992-2002 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.6.1-RELEASE-p5 #2: Fri Aug 2 00:31:27 EST 2002 root@server.l33txor.net:/usr/obj/usr/src/sys/FILESERV Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (848.13-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 134152192 (131008K bytes) avail memory = 127401984 (124416K bytes) Preloaded elf kernel "kernel" at 0xc0322000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 7 entries at 0xc00fdd60 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib2 pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0 irq 12 isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C686 ATA100 controller> port 0xa000-0xa00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <VIA 83C572 USB controller> port 0xa400-0xa41f irq 11 at device 7.2 on pci0 usb0: <VIA 83C572 USB controller> on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ulpt0: Hewlett-Packard DeskJet 948C, rev 1.10/1.00, addr 2, iclass 7/1 uhci1: <VIA 83C572 USB controller> port 0xa800-0xa81f irq 11 at device 7.3 on pci0 usb1: <VIA 83C572 USB controller> on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 7.4 chip1: <VIA 82C686 AC97 Audio> port 0xb400-0xb403,0xb000-0xb003,0xac00-0xacff irq 9 at device 7.5 on pci0 ahc0: <Adaptec 2902/04/10/15/20/30C SCSI adapter> port 0xb800-0xb8ff mem 0xd9000000-0xd9000fff irq 11 at device 9.0 on pci0 aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs atapci1: <CMD 649 ATA100 controller> port 0xcc00-0xcc0f,0xc800-0xc803,0xc400-0xc407,0xc000-0xc003,0xbc00-0xbc07 irq 10 at device 13.0 on pci0 ata2: at 0xbc00 on atapci1 ata3: at 0xc400 on atapci1 atapci2: <CMD 649 ATA100 controller> port 0xe000-0xe00f,0xdc00-0xdc03,0xd800-0xd807,0xd400-0xd403,0xd000-0xd007 irq 12 at device 15.0 on pci0 ata4: at 0xd000 on atapci2 ata5: at 0xd800 on atapci2 sis0: <NatSemi DP83815 10/100BaseTX> port 0xe400-0xe4ff mem 0xd9001000-0xd9001fff irq 11 at device 17.0 on pci0 sis0: Ethernet address: 00:a0:cc:a3:17:4a miibus0: <MII bus> on sis0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib1: <Host to PCI bridge> on motherboard pci2: <PCI bus> on pcib1 orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd27ff,0xd3000-0xd57ff 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 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: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ad0: 76319MB <ST380021A> [155061/16/63] at ata0-master UDMA100 ad2: 76319MB <ST380021A> [155061/16/63] at ata1-master UDMA100 ad4: 76319MB <ST380021A> [155061/16/63] at ata2-master UDMA100 ad8: 76319MB <ST380021A> [155061/16/63] at ata4-master UDMA100 ad10: 76319MB <ST380021A> [155061/16/63] at ata5-master UDMA100 Waiting 15 seconds for SCSI devices to settle cd0 at ahc0 bus 0 target 6 lun 0 cd0: <PLEXTOR CD-R PX-W1210S 1.03> Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 15) cd0: cd present [345832 x 2048 byte records] Mounting root from ufs:/dev/ad0s1a --------------070905000601030705050306-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D68A909.8030601>