From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 19 20:27:11 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3E1016A424 for ; Mon, 19 Dec 2005 20:27:11 +0000 (GMT) (envelope-from pbauer@yes.ineedamiracle.com) Received: from yes.ineedamiracle.com (yes.ineedamiracle.com [66.92.251.132]) by mx1.FreeBSD.org (Postfix) with SMTP id 648D343D5A for ; Mon, 19 Dec 2005 20:26:48 +0000 (GMT) (envelope-from pbauer@yes.ineedamiracle.com) Received: from localhost (localhost [127.0.0.1]) by yes.ineedamiracle.com (Postfix) with ESMTP id A35E257A71 for ; Mon, 19 Dec 2005 12:26:43 -0800 (PST) Received: from yes.ineedamiracle.com ([127.0.0.1]) by localhost (yes.ineedamiracle.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26537-08 for ; Mon, 19 Dec 2005 12:26:38 -0800 (PST) Received: by yes.ineedamiracle.com (Postfix, from userid 1001) id 6EAE958F72; Mon, 19 Dec 2005 12:26:38 -0800 (PST) Date: Mon, 19 Dec 2005 12:26:38 -0800 From: Paul Bauer To: freebsd-hackers@freebsd.org Message-ID: <20051219202637.GH98743@yes.ineedamiracle.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oqiVxqbeHx5cy56u" Content-Disposition: inline X-GnuPG-KeyID: B5E1CC6C X-GnuPG-Fingerprint: DC75 9D93 C12C 5F3E 6FC4 3CD6 4DA0 6430 B5E1 CC6 X-Useless-Header: Microsoft, where do you want to do today? Linux, where do you want to go tomorrow? BSD are you guys coming or what? X-Operating-System: FreeBSD yes.ineedamiracle.com 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 X-Editor: VIM - Vi IMproved 6.3. User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Virus-Scanned: amavisd-new at shorttermwhat.com X-Mailman-Approved-At: Mon, 19 Dec 2005 21:34:54 +0000 Subject: RELENG_6_0 core X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2005 20:27:12 -0000 --oqiVxqbeHx5cy56u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I have been trying to find out why a machine I have dumps. It finally cored and this is what was produced: S kgdb kernel.debug /var/crash/vmcore.4 [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: panic: vm_page_insert: page already inserted Uptime: 19d5h10m10s Dumping 511 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 511MB (130816 pages) 496 480 464 448 432 416 400 384 368 352 336 320 304 288 272 256 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); I see a few references to the error on line 165 but no solution. Please let me know what I may do to help debug this further. I am pasting a dmesg below: Copyright (c) 1992-2005 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 6.0-RELEASE #4: Sat Nov 12 17:18:45 PST 2005 root@skull.ineedamiracle.com:/usr/obj/usr/src/sys/SKULL Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.20GHz (2200.09-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febf9ff real memory = 536870912 (512 MB) avail memory = 516042752 (492 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) rl0: port 0xec00-0xecff mem 0xdfffff00-0xdfffffff ir q 5 at device 8.0 on pci0 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:50:fc:41:f0:50 pci0: at device 11.0 (no driver attached) isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376, 0xfc00-0xfc0f at device 17.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0xd800-0xd81f irq 11 at device 17.2 on p ci0 uhci0: [GIANT-LOCKED] 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 uhci1: port 0xdc00-0xdc1f irq 11 at device 17.3 on p ci0 uhci1: [GIANT-LOCKED] 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 uhci2: port 0xe000-0xe01f irq 11 at device 17.4 on p ci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered vr0: port 0xd400-0xd4ff mem 0xdffffe00-0xdfff feff irq 5 at device 18.0 on pci0 miibus1: on vr0 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:07:95:b3:b0:bd pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcafff,0xcb000-0xcefff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: 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 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 2200092132 Hz quality 800 Timecounters tick every 1.000 msec ad0: 114473MB at ata0-master UDMA100 ad1: 286188MB at ata0-slave UDMA100 acd0: CDRW at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /home was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted /var: mount pending error: blocks 4 files 1 WARNING: /jail_www was not properly dismounted /jail_www: mount pending error: blocks 4 files 1 WARNING: /jail_dns was not properly dismounted /jail_dns: mount pending error: blocks 4 files 1 rl0: link state changed to UP pid 23686 (mail), uid 0: exited on signal 6 (core dumped) panic: vm_page_insert: page already inserted Uptime: 19d5h10m10s Dumping 511 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 511MB (130816 pages) 496 480 464 448 432 416 400 384 368 352 336 320 304 288 272 256 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16 ... ok Dump complete Automatic reboot in 15 seconds - press a key on the console to abort Thank you Paul --oqiVxqbeHx5cy56u Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDpxd9TaBkMLXhzGwRAgeoAJ9K62IDXOYJteal3T2nGY4PC8AfWQCeIf+p +mK0clpb5NarNJrqvPrTWPs= =LiU/ -----END PGP SIGNATURE----- --oqiVxqbeHx5cy56u--