Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2006 09:33:37 -0800 (PST)
From:      Brad Marsh <budojeepr@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Help with panic: vm_fault
Message-ID:  <20060112173337.53839.qmail@web31014.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
Howdy,

I just added RAM to my computer, and upon boot I get a panic. I'm
enclosing the debug session script output, but first a bit of
background...

The computer has two slots for DIMMs, and was using both before, with
generic 256MB sticks. I removed both of those and put in two 512MB
sticks of Kingston PC2700 RAM - and that's when I got the panic.

Test 1 - switch the positions of the sticks (swap slots). Same result.
Test 2 - Remove one stick. Successful boot.
Test 3 - Put that same stick in the other slot. Successful boot.
Tests 4, 5 - Repeat tests 2 and 3 with the other stick. Successful
boots, both.
Test 6 - One 512MB stick and one old 26MB stick. Successful boot.
Test 7 - Swap slots. Successful boot.
Tests 8, 9, 10, 11 - various combinations of sticks and slots.
Successful boots, all.

Also, I added a swap file so that I'd have a bit over 3GB swap space.
I'm including swapinfo output at the bottom...

So my comclusion is that FreeBSD is having trouble booting with 2 512MB
RAM sticks. The BIOS recognizes the RAM ok (see the debug out put,
below).

Help? Thank you...

     ***

Script started on Thu Jan 12 08:25:18 2006
%kgdb kernel.debug.0 vmcore.0 

[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]
...
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:
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 #0: Wed Jan 11 11:05:20 PST 2006
    brad@freebsd.ceronline.com:/usr/src/sys/i386/compile/DEBUG
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.80GHz (2806.38-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x441d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,<b14>>
real memory  = 1040121856 (991 MB)
avail memory = 1013084160 (966 MB)
ACPI APIC Table: <AWARD  AWRDACPI>
ioapic0 <Version 1.4> irqs 0-23 on motherboard
netsmb_dev: loaded
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AWARD AWRDACPI> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 10 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 0 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 11 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 5 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 11 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 6 on acpi0
pci_link6: <ACPI PCI Link LNKG> irq 0 on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 9 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port
0xcf8-0xcff,0x480-0x48f,0x1000-0x10bf,0x10c0-0x10ff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <SiS 661 host to AGP bridge> mem 0xe8000000-0xebffffff at device
0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 962/963 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x4000-0x400f at device 2.5 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pcm0: <SiS 7012> port 0xe000-0xe0ff,0xe100-0xe17f irq 18 at device 2.7
on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Avance Logic ALC650 AC97 Codec>
ohci0: <SiS 5571 USB controller> mem 0xec100000-0xec100fff irq 20 at
device 3.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xec101000-0xec101fff irq 21 at
device 3.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xec102000-0xec102fff
irq 23 at device 3.3 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 3 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: SiS EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
rl0: <RealTek 8139 10/100BaseTX> port 0xe200-0xe2ff mem
0xec103000-0xec1030ff irq 18 at device 15.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:30:1b:3e:a4:06
pci0: <serial bus, FireWire> at device 16.0 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xcffff on
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
uhub0: device problem (SET_ADDR_FAILED), disabling port 1
Timecounter "TSC" frequency 2806380287 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 57259MB <MAXTOR 6L060J3 A93.0500> at ata0-master UDMA133
ad1: 76319MB <Seagate ST380011A 8.01> at ata0-slave UDMA100
acd0: CDROM <SAMSUNG CD-ROM SH-152A/C505> at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a
<118>Loading configuration files.
<118>kernel dumps on /dev/ad0s1b
<118>Entropy harvesting:
<118> interrupts
<118> ethernet
<118> point_to_point
<118> kickstart
<118>.
<118>swapon: adding /dev/ad0s1b as swap device
panic: vm_fault: fault on nofault entry, addr: e0c19000
KDB: enter: panic
panic: from debugger
Uptime: 1s
Dumping 991 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 991MB (253680 pages) 975 959 943 927 911 895 879 863 847 831
815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543
527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255
239 223 207 191 175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) where
#0  doadump () at pcpu.h:165
#1  0xc0503f22 in boot (howto=260) at ../../../kern/kern_shutdown.c:399
#2  0xc05041e8 in panic (fmt=0xc065ef0a "from debugger")
    at ../../../kern/kern_shutdown.c:555
#3  0xc044c4cd in db_panic (addr=-1068383073, have_addr=0, count=-1, 
    modif=0xeab419c0 "") at ../../../ddb/db_command.c:438
#4  0xc044c464 in db_command (last_cmdp=0xc06bc1e4, cmd_table=0x0, 
    aux_cmd_tablep=0xc0685d50, aux_cmd_tablep_end=0xc0685d54)
    at ../../../ddb/db_command.c:350
#5  0xc044c52c in db_command_loop () at ../../../ddb/db_command.c:458
#6  0xc044e139 in db_trap (type=3, code=0) at
../../../ddb/db_main.c:221
#7  0xc051c71b in kdb_trap (type=3, code=0, tf=0xeab41b00)
    at ../../../kern/subr_kdb.c:473
#8  0xc063c2dc in trap (frame=
      {tf_fs = -357302264, tf_es = -1068433368, tf_ds = -1067057112,
tf_edi = 1, tf_esi = -1066949029, tf_ebp = -357295296, tf_isp =
-357295316, tf_ebx = -357295252, tf_edx = 0, tf_ecx = -1061072896,
tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1068383073, tf_cs =
32, tf_eflags = 658, tf_esp = -357295264, tf_ss = -1068482185}) at
../../../i386/i386/trap.c:591
#9  0xc062b66a in calltrap () at ../../../i386/i386/exception.s:139
#10 0xc051c49f in kdb_enter (msg=0x12 <Address 0x12 out of bounds>)
    at cpufunc.h:60
#11 0xc0504177 in panic (
    fmt=0xc067a65b "vm_fault: fault on nofault entry, addr: %lx")
---Type <return> to continue, or q <return> to quit---
    at ../../../kern/kern_shutdown.c:539
#12 0xc05f132c in vm_fault (map=0xc0c43000, vaddr=3770781696, 
    fault_type=2 '\002', fault_flags=0) at ../../../vm/vm_fault.c:277
#13 0xc063c51e in trap_pfault (frame=0xeab41ca4, usermode=0,
eva=3770782502)
    at ../../../i386/i386/trap.c:731
#14 0xc063c169 in trap (frame=
      {tf_fs = -1068367864, tf_es = -1039269848, tf_ds = 40, tf_edi =
-1039246336, tf_esi = 0, tf_ebp = -357294800, tf_isp = -357294896,
tf_ebx = -1039251408, tf_edx = -1039246336, tf_ecx = -1039428312,
tf_eax = -357294916, tf_trapno = 12, tf_err = 2, tf_eip = -1067218097,
tf_cs = 32, tf_eflags = 66182, tf_esp = -1039246336, tf_ss =
-357294844}) at ../../../i386/i386/trap.c:432
#15 0xc062b66a in calltrap () at ../../../i386/i386/exception.s:139
#16 0xc0638b4f in pmap_change_wiring (pmap=0xc20e4830, va=59, wired=0)
    at ../../../i386/i386/pmap.c:2255
#17 0xc062b6bf in Xint0x80_syscall () at
../../../i386/i386/exception.s:200
#18 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) q
%^Dexit

Script done on Thu Jan 12 08:25:40 2006

Device          1K-blocks     Used    Avail Capacity
/dev/ad0s1b       1597440        0  1597440     0%
/dev/md0          1597440        0  1597440     0%
Total             3194880        0  3194880     0%



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060112173337.53839.qmail>