From owner-freebsd-stable Fri Feb 28 22:45:34 2003 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 7588F37B401; Fri, 28 Feb 2003 22:45:28 -0800 (PST) Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id D32B24407A; Fri, 28 Feb 2003 22:44:55 -0800 (PST) (envelope-from sewall@ix.netcom.com) Received: from ix.netcom.com ([63.198.181.47]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18 2002)) with ESMTP id <0HB2006145EUWN@mta6.snfc21.pbi.net>; Fri, 28 Feb 2003 22:44:55 -0800 (PST) Date: Fri, 28 Feb 2003 22:58:45 -0800 From: "Scott R. Sewall" Subject: Re: VM issues in -stable? To: David Schultz Cc: freebsd-stable@FreeBSD.ORG Message-id: <3E605A25.4A6984E5@ix.netcom.com> Organization: Rosetta software MIME-version: 1.0 X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en,pdf References: <3E5DA956.2090508@ix.netcom.com> <20030227064304.GA12201@HAL9000.homeunix.com> 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 David Schultz wrote: > Thus spake Scott Sewall : > > > > The FreeBSD July - August 2002 Status Report mentions some VM issues in > > -stable related to vm_map corruption > > on large-memory systems under heavy loads. The report indicates there is > > ongoing work to MFC the bug fixes. > > > > Has the work to MFC the bug fixes to -stable been completed? > > > > I have a 4.6.2 system with 2GB of memory that's getting a page fault > > while in kernel mode. The failure occurs > > when "periodic daily" is run. The active process is always find. I > > suspect this system may be experiencing the > > problem described by the report. > > If you post the panic message and a backtrace, people might be > able to tell you more about the particular bug you're running > into. Here's the panic message, the gdb backtrace and dmesg boot ouput. -- Scott Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x8:0xc02d4f53 stack pointer = 0x10:0xff605c70 frame pointer = 0x10:0xff605ca4 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 = 275 (find) interrupt mask = bio panic: from debugger panic: from debugger (kgdb) where #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc017b68b in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc017bac9 in panic (fmt=0xc02f17c4 "from debugger") at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc0138d05 in db_panic (addr=-1070772397, have_addr=0, count=1, modif=0xff60aadc "") at /usr/src/sys/ddb/db_command.c:435 #4 0xc0138ca5 in db_command (last_cmdp=0xc03339e4, cmd_table=0xc0333824, aux_cmd_tablep=0xc038d518) at /usr/src/sys/ddb/db_command.c:333 #5 0xc0138d6a in db_command_loop () at /usr/src/sys/ddb/db_command.c:457 #6 0xc013aea7 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:71 #7 0xc02c6ad2 in kdb_trap (type=12, code=0, regs=0xff60ac30) at /usr/src/sys/i386/i386/db_interface.c:158 #8 0xc02d68a8 in trap_fatal (frame=0xff60ac30, eva=0) at /usr/src/sys/i386/i386/trap.c:961 #9 0xc02d6581 in trap_pfault (frame=0xff60ac30, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:859 #10 0xc02d60fb in trap (frame={tf_fs = 16, tf_es = -758185968, tf_ds = -235470832, tf_edi = 0, tf_esi = -742251776, tf_ebp = -10441564, tf_isp = -10441636, tf_ebx = 0, tf_edx = 0, tf_ecx = 42, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1070772397, tf_cs = 8, tf_eflags = 66050, tf_esp = -235433920, tf_ss = -1072005194}) at /usr/src/sys/i386/i386/trap.c:458 #11 0xc02d4f53 in generic_bzero () #12 0xc0277db3 in ffs_vget (mp=0xd30a2200, ino=3428874, vpp=0xff60ad4c) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1109 #13 0xc027b4e9 in ufs_lookup (ap=0xff60adac) at /usr/src/sys/ufs/ufs/ufs_lookup.c:611 #14 0xc027fe29 in ufs_vnoperate (ap=0xff60adac) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2422 #15 0xc01a4376 in vfs_cache_lookup (ap=0xff60ae04) at vnode_if.h:77 #16 0xc027fe29 in ufs_vnoperate (ap=0xff60ae04) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2422 #17 0xc01a7289 in lookup (ndp=0xff60ae80) at vnode_if.h:52 #18 0xc01a6d84 in namei (ndp=0xff60ae80) at /usr/src/sys/kern/vfs_lookup.c:153 #19 0xc01aca89 in lstat (p=0xf1f79040, uap=0xff60af80) at /usr/src/sys/kern/vfs_syscalls.c:1823 #20 0xc02d6b89 in syscall2 (frame={tf_fs = 134545455, tf_es = 134545455, tf_ds = -1078001617, tf_edi = 134606848, tf_esi = 134606924, tf_ebp = -1077937876, tf_isp = -10440748, tf_ebx = 2022641220, tf_edx = 134557696, tf_ecx = 0, tf_eax = 190, tf_trapno = 7, tf_err = 2, tf_eip = 2022326700, tf_cs = 31, tf_eflags = 647, tf_esp = -1077938016, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1167 #21 0xc02c79a5 in Xint0x80_syscall () #22 0x788a097d in ?? () #23 0x788a021e in ?? () #24 0x80496d6 in ?? () #25 0x804b50c in ?? () #26 0x8049395 in ?? () (kgdb) 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-p4 #5: Mon Feb 24 00:03:30 PST 2003 scott@blitz12.redlinenetworks.com:/usr/obj/usr/src/sys/BLITZ Timecounter "i8254" frequency 1193182 Hz CPU: Pentium 4 (1999.94-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff,ACC> real memory = 2145648640 (2095360K bytes) config> di sn0 No such device: sn0 Invalid command or syntax. Type `?' for help. config> di lnc0 No such device: lnc0 Invalid command or syntax. Type `?' for help. config> di ie0 No such device: ie0 Invalid command or syntax. Type `?' for help. config> di fe0 No such device: fe0 Invalid command or syntax. Type `?' for help. config> di ed0 No such device: ed0 Invalid command or syntax. Type `?' for help. config> di cs0 No such device: cs0 Invalid command or syntax. Type `?' for help. config> di bt0 No such device: bt0 Invalid command or syntax. Type `?' for help. config> di aic0 No such device: aic0 Invalid command or syntax. Type `?' for help. config> di aha0 No such device: aha0 Invalid command or syntax. Type `?' for help. config> di adv0 No such device: adv0 Invalid command or syntax. Type `?' for help. config> q avail memory = 2085097472 (2036228K bytes) Preloaded elf kernel "kernel" at 0xc042c000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc042c09c. Preloaded elf module "if_em.ko" at 0xc042c0ec. md0: Malloc disk Using $PIR table, 11 entries at 0xc00f4680 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: at 2.0 irq 11 uhci0: port 0xe800-0xe81f irq 11 at device 29.0 on pci0 uhci0: (New UHCI DeviceId=0x24c28086) usb0: on uhci0 usb0: USB revision 1.0 uhub0: (0x24c28086) UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe880-0xe89f irq 5 at device 29.1 o n pci0 uhci1: (New UHCI DeviceId=0x24c48086) usb1: on uhci1 usb1: USB revision 1.0 uhub1: (0x24c48086) UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xec00-0xec1f irq 9 at device 29.2 o n pci0 uhci2: (New UHCI DeviceId=0x24c78086) usb2: on uhci2 usb2: USB revision 1.0 uhub2: (0x24c78086) UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at 29.7 irq 10 pcib1: at device 30.0 on pci0 pci1: on pcib1 em0: port 0xdc00-0xdc1f mem 0xff8c0000-0xff8dffff,0xff8e0000-0xff8fffff irq 11 at device 1.0 on pci1 em0: Speed:N/A Duplex:N/A fxp0: port 0xd880-0xd8bf mem 0xff89f000-0xff89ffff irq 11 at device 8.0 on pci1 fxp0: Ethernet address 00:03:47:fc:c1:f4 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x24c3) at 31.3 irq 3 pci0: (vendor=0x8086, dev=0x24c5) at 31.5 irq 3 fdc0: 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: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 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: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 IP packet filtering initialized, divert disabled, rule-based forwarding disabled , default to accept, logging disabled DUMMYNET initialized (011031) ad0: 76345MB [155114/16/63] at ata0-master BIOSDMA ad2: DMA limited to UDMA33, non-ATA66 cable or device ad2: 19092MB [38792/16/63] at ata1-master BIOSDMA Mounting root from ufs:/dev/ad0s1a To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message