From owner-freebsd-stable Sun Aug 25 2:53:56 2002 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 91D3D37B400 for ; Sun, 25 Aug 2002 02:53:47 -0700 (PDT) Received: from www.golsyd.net.au (golsyd.net.au [203.57.20.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B659D43E65 for ; Sun, 25 Aug 2002 02:53:46 -0700 (PDT) (envelope-from kaltorak@quake.com.au) Received: from [210.49.77.192] by www.quake.com.au (NTMail 4.30.0012/AB6169.63.5324aadf) with ESMTP id avghaaaa for ; Sun, 25 Aug 2002 19:53:49 +1000 Message-ID: <3D68A909.8030601@quake.com.au> Date: Sun, 25 Aug 2002 19:53:13 +1000 From: Kal Torak Organization: Quake Networking User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Kenneth D. Merry" Cc: FreeBSD Stable , olli@fromme.com Subject: Re: tosha port causing system to reboot References: <3D6670A5.7020903@quake.com.au> <20020823121829.A17201@panzer.kdm.org> <3D675FC6.90009@quake.com.au> <20020824130547.A27869@panzer.kdm.org> Content-Type: multipart/mixed; boundary="------------070905000601030705050306" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 12 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xa000-0xa00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xa400-0xa41f irq 11 at device 7.2 on pci0 usb0: 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: port 0xa800-0xa81f irq 11 at device 7.3 on pci0 usb1: 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: (vendor=0x1106, dev=0x3057) at 7.4 chip1: port 0xb400-0xb403,0xb000-0xb003,0xac00-0xacff irq 9 at device 7.5 on pci0 ahc0: 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: 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: 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: port 0xe400-0xe4ff mem 0xd9001000-0xd9001fff irq 11 at device 17.0 on pci0 sis0: Ethernet address: 00:a0:cc:a3:17:4a miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib1: on motherboard pci2: on pcib1 orm0: