Date: Wed, 21 Aug 2002 17:30:14 -0700 From: Dave Hayes <dave@jetcafe.org> To: freebsd-hackers@freebsd.org Cc: freebsd-stable@freebsd.org Subject: Panic: vm_page_insert: already inserted Message-ID: <200208220030.g7M0UJ142419@hokkshideh2.jetcafe.org>
next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P AT,PSE36,MMX,FXSR,SSE> 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: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82810E (i810E GMCH) Host To Hub bridge> on motherboard pci0: <PCI bus> on pcib0 pci0: <Intel 82810E (i810E GMCH) SVGA controller> at 1.0 irq 11 pcib1: <Intel 82801AA (ICH) Hub to PCI bridge> at device 30.0 on pci0 pci1: <PCI bus> on pcib1 fxp0: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: <unknown card> (vendor=0x1274, dev=0x1371) at 7.0 irq 9 ahc0: <Adaptec 2940 Ultra2 SCSI adapter> 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: <Adaptec 2940 Ultra2 SCSI adapter> 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: <Intel 82801AA (ICH) PCI to LPC bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH ATA66 controller> port 0xffa0-0xffaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82801AA (ICH) USB controller> port 0xef80-0xef9f irq 3 at device 31.2 on pci0 usb0: <Intel 82801AA (ICH) USB controller> 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: <unknown card> (vendor=0x8086, dev=0x2413) at 31.3 irq 10 orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xccfff,0xcd000-0xd27ff,0x d2800-0xd37ff,0xd3800-0xd8fff 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: configured irq 3 not in bitmap of probed irqs 0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 acd0: CDROM <SONY CDU4811> at ata0-master PIO4 Waiting 5 seconds for SCSI devices to settle da0 at ahc0 bus 0 target 0 lun 0 da0: <QUANTUM ATLAS_V__9_WLS 0230> Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 8755MB (17930694 512 byte sectors: 255H 63S/T 1116C) da3 at ahc1 bus 0 target 0 lun 0 da3: <QUANTUM ATLAS_V__9_WLS 0230> Fixed Direct Access SCSI-3 device da3: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled da3: 8755MB (17930694 512 byte sectors: 255H 63S/T 1116C) da1 at ahc0 bus 0 target 1 lun 0 da1: <IBM DDYS-T18350N S93E> Fixed Direct Access SCSI-3 device da1: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) da2 at ahc0 bus 0 target 3 lun 0 da2: <IBM DDYS-T18350N S96H> Fixed Direct Access SCSI-3 device da2: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled da2: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) Addendum for ATAPI trackers: # sysctl -a | egrep ata ... acd0: CDROM <SONY CDU4811> at ata0-master PIO4 ... hw.ata.ata_dma: 1 hw.ata.atapi_dma: 1 Note it's not in DMA mode. Sigh. 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?200208220030.g7M0UJ142419>