Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2003 22:58:45 -0800
From:      "Scott R. Sewall" <sewall@ix.netcom.com>
To:        David Schultz <das@FreeBSD.ORG>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: VM issues in -stable?
Message-ID:  <3E605A25.4A6984E5@ix.netcom.com>
References:  <3E5DA956.2090508@ix.netcom.com> <20030227064304.GA12201@HAL9000.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help


David Schultz wrote:

> Thus spake Scott Sewall <sewall@ix.netcom.com>:
> >
> > 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,<b28>,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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <Intel model 2562 VGA-compatible display device> at 2.0 irq 11
uhci0: <UHCI (generic) USB controller> port 0xe800-0xe81f irq 11 at device 29.0
on pci0
uhci0: (New UHCI DeviceId=0x24c28086)
usb0: <UHCI (generic) USB controller> 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: <UHCI (generic) USB controller> port 0xe880-0xe89f irq 5 at device 29.1 o
n pci0
uhci1: (New UHCI DeviceId=0x24c48086)
usb1: <UHCI (generic) USB controller> 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: <UHCI (generic) USB controller> port 0xec00-0xec1f irq 9 at device 29.2 o
n pci0
uhci2: (New UHCI DeviceId=0x24c78086)
usb2: <UHCI (generic) USB controller> 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: <USB controller> at 29.7 irq 10
pcib1: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci1: <PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.2.7> port 0xdc00-0xdc1f
mem 0xff8c0000-0xff8dffff,0xff8e0000-0xff8fffff irq 11 at device 1.0 on pci1
em0:  Speed:N/A  Duplex:N/A
fxp0: <Intel Pro/100 Ethernet> port 0xd880-0xd8bf mem 0xff89f000-0xff89ffff irq
11 at device 8.0 on pci1
fxp0: Ethernet address 00:03:47:fc:c1:f4
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI to ISA bridge (vendor=8086 device=24c0)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Generic PCI ATA controller> 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: <unknown card> (vendor=0x8086, dev=0x24c3) at 31.3 irq 3
pci0: <unknown card> (vendor=0x8086, dev=0x24c5) at 31.5 irq 3
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: 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: <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
IP packet filtering initialized, divert disabled, rule-based forwarding disabled
, default to accept, logging disabled
DUMMYNET initialized (011031)
ad0: 76345MB <MAXTOR 6L080J4> [155114/16/63] at ata0-master BIOSDMA
ad2: DMA limited to UDMA33, non-ATA66 cable or device
ad2: 19092MB <WDC WD200BB-60CVB0> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E605A25.4A6984E5>