From owner-freebsd-stable Wed Aug 21 17:30:53 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 B2D6237B407; Wed, 21 Aug 2002 17:30:23 -0700 (PDT) Received: from hokkshideh2.jetcafe.org (hokkshideh2.jetcafe.org [64.239.180.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E1C043E3B; Wed, 21 Aug 2002 17:30:23 -0700 (PDT) (envelope-from dave@jetcafe.org) Received: from hokkshideh2.jetcafe.org (localhost [127.0.0.1]) by hokkshideh2.jetcafe.org (8.11.6/8.11.6) with ESMTP id g7M0UJ142419; Wed, 21 Aug 2002 17:30:19 -0700 (PDT) (envelope-from dave@hokkshideh2.jetcafe.org) Message-Id: <200208220030.g7M0UJ142419@hokkshideh2.jetcafe.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: freebsd-hackers@freebsd.org Cc: freebsd-stable@freebsd.org Subject: Panic: vm_page_insert: already inserted Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Aug 2002 17:30:14 -0700 From: Dave Hayes 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 I've recently experienced this crash on 4.6.2-RELEASE. Relevant information is appended to this email message. My question is: should I submit a PR or try to troubleshoot my hardware? ------ Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org >>> The opinions expressed above are entirely my own <<< Nasrudin was carrying home a piece of liver and the recipe for liver pie. Suddenly a bird of prey swooped down and snatched the piece of meat from his hand. As the bird flew off, Nasrudin called after it, "Foolish bird! You have the liver, but what can you do with it without the recipe?" # gdb -k kernel.debug vmcore.0 GNU gdb 4.18 (FreeBSD) ... This GDB was configured as "i386-unknown-freebsd"... IdlePTD at phsyical address 0x004fa000 initial pcb at physical address 0x00439120 panicstr: vm_page_insert: already inserted panic messages: --- panic: vm_page_insert: already inserted ... #0 dumpsys () at ../../kern/kern_shutdown.c:487 487 if (dumping++) { (kgdb) bt #0 dumpsys () at ../../kern/kern_shutdown.c:487 #1 0xc01ebdd7 in boot (howto=256) at ../../kern/kern_shutdown.c:316 #2 0xc01ec215 in panic (fmt=0xc03b9ac0 "vm_page_insert: already inserted") at ../../kern/kern_shutdown.c:595 #3 0xc030494d in vm_page_insert (m=0xc0b33e24, object=0xdebc9180, pindex=0) at ../../vm/vm_page.c:374 #4 0xc0304e1c in vm_page_alloc (object=0xdebc9180, pindex=0, page_req=2) at ../../vm/vm_page.c:844 #5 0xc021324a in allocbuf (bp=0xd1b0ba74, size=1024) at ../../kern/vfs_bio.c:2511 #6 0xc0212e2a in getblk (vp=0xdeae9800, blkno=0, size=1024, slpflag=0, slptimeo=0) at ../../kern/vfs_bio.c:2286 #7 0xc0210d8e in bread (vp=0xdeae9800, blkno=0, size=1024, cred=0x0, bpp=0xdf505e38) at ../../kern/vfs_bio.c:508 #8 0xc02f1da0 in ffs_read (ap=0xdf505e9c) at ../../ufs/ufs/ufs_readwrite.c:273 #9 0xc02f8d06 in ufs_readdir (ap=0xdf505eec) at vnode_if.h:334 #10 0xc02f96e9 in ufs_vnoperate (ap=0xdf505eec) at ../../ufs/ufs/ufs_vnops.c:2422 #11 0xc021ed1b in getdirentries (p=0xdecf3c20, uap=0xdf505f80) at vnode_if.h:769 #12 0xc0358739 in syscall2 (frame={tf_fs = -1070333905, tf_es = 47, tf_ds = 47, tf_edi = 134553824, tf_esi = 134581888, tf_ebp = -1077937636, tf_isp = -548380716, tf_ebx = 672081412, tf_edx = 134581888, tf_ecx = 134553824, tf_eax = 196, tf_trapno = 7, tf_err = 2, tf_eip = 671765424, tf_cs = 31, tf_eflags = 582, tf_esp = -1077937680, tf_ss = 47}) at ../../i386/i386/trap.c:1167 #13 0xc03494e5 in Xint0x80_syscall () #14 0x280a1b36 in ?? () #15 0x280a1386 in ?? () #16 0x80496ce in ?? () #17 0x804b5d8 in ?? () #18 0x8049397 in ?? () (kgdb) up 3 #3 0xc030494d in vm_page_insert (m=0xc0b33e24, object=0xdebc9180, pindex=0) at ../../vm/vm_page.c:374 374 panic("vm_page_insert: already inserted"); (kgdb) print m $1 = 0x0 (kgdb) up #4 0xc0304e1c in vm_page_alloc (object=0xdebc9180, pindex=0, page_req=2) at ../../vm/vm_page.c:844 844 vm_page_insert(m, object, pindex); (kgdb) print m $2 = 0xc0b33e24 (kgdb) print *m $3 = {pageq = {tqe_next = 0xc0c96ba4, tqe_prev = 0xc0458310}, hnext = 0x0, listq = { tqe_next = 0xc0ea20ec, tqe_prev = 0xdee4a8b8}, object = 0xdee4a8a0, pindex = 102, phys_addr = 149848064, md = {pv_list_count = 0, pv_list = {tqh_first = 0x0, tqh_last = 0xc0b33e48}}, queue = 0, flags = 1, pc = 8, wire_count = 0, hold_count = 0, act_count = 0 '\000', busy = 0 '\000', valid = 0 '\000', dirty = 0 '\000'} # uname -a FreeBSD cdbuilder 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Sat Aug 17 18:02:09 PDT 2002 unixwiz@cdbuilder:/usr/src/sys/compile/ARCHIVE i386 # dmesg 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.2-RELEASE #0: Sat Aug 17 18:27:38 PDT 2002 unixwiz@cdbuilder:/usr/src/sys/compile/DTE Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (797.42-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 535560192 (523008K bytes) avail memory = 515907584 (503816K bytes) Preloaded elf kernel "kernel" at 0xc04db000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 10 entries at 0xc00f30f0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: at 1.0 irq 11 pcib1: at device 30.0 on pci0 pci1: on pcib1 fxp0: port 0xde80-0xdebf mem 0xff700000-0xff7fffff,0xff8fd000-0xff8fdfff irq 3 at device 1.0 on pci1 fxp0: Ethernet address 00:d0:b7:e2:f4:45 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: (vendor=0x1274, dev=0x1371) at 7.0 irq 9 ahc0: port 0xd400-0xd4ff mem 0xff8fe000-0xff8fefff irq 10 at device 9.0 on pci1 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xd800-0xd8ff mem 0xff8ff000-0xff8fffff irq 9 at device 10.0 on pci1 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xef80-0xef9f irq 3 at device 31.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: (vendor=0x8086, dev=0x2413) at 31.3 irq 10 orm0: