Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2005 19:20:15 +0400
From:      Diomidis Spinellis <dds@aueb.gr>
To:        freebsd-stable@FreeBSD.ORG
Subject:   vm_fault on 8GB RAM AMD-64 with 5.4-RC3 and 5.4-STABLE
Message-ID:  <4269162F.8030100@aueb.gr>

next in thread | raw e-mail | index | archive | help
I am trying to make a Tyan S4882 (K8QSPro?) motherboard with two 2.2GHz 
Opterons and 8GB RAM to work with FreeBSD.  Both the 5.4-RC3 
installation boot disk, and yesterday's 5.4-STABLE code panic.  The 
system works fine with 4GB of RAM (it can run make buildworld).

The installed kernel panics after the "Starting sshd." message with the 
following message:

panic: vm_fault: fault on nofault entry, addr: ffffffffa9ac58000
cpuid = 1
boot() called on cpu#0
Uptime: 38s
Cannot dump. No dump device defined.
iir0: Flushing all Host Drives. Please wait ... kernel trap 12 with 
interrupts disabled

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x48
fault code = supervisor read, page not present
instruction pointer = 0x0:0xffffffff802aa243

(I copied the above from a blury photograph, so I may have mixed some 0s 
and 8s).  The instruction at the IP appears to be part of 
turnstile_wait, though  I can't see why the specific instruction could 
create a fault, so I could well be wrong here.

0xffffffff802aa040 <turnstile_wait+32>: mov    %rsi,%rax
0xffffffff802aa043 <turnstile_wait+35>: shr    $0x8,%rax
0xffffffff802aa047 <turnstile_wait+39>: and    $0x7f,%eax

I am attaching the output from dmesg; any pointers, help, ideas will be 
appreciated.


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 5.4-STABLE #0: Thu Apr 21 23:19:03 EEST 2005
     dds@titan.dmst.aueb.gr:/usr/obj/usr/src/sys/TITAN
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 848 (2205.02-MHz K8-class CPU)
   Origin = "AuthenticAMD"  Id = 0xf58  Stepping = 8
 
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
   AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
real memory  = 4227268608 (4031 MB)
avail memory = 4082753536 (3893 MB)
ACPI APIC Table: <PTLTD  	 APIC  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 24-27 on motherboard
ioapic2 <Version 1.1> irqs 28-31 on motherboard
acpi0: <PTLTD 	 XSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xc008-0xc00b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 
0x8080-0x80ff,0x8000-0x807f,0xcf8-0xcff iomem 0xd8000-0xdbfff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci1: <ACPI PCI bus> on pcib1
ohci0: <OHCI (generic) USB controller> mem 0xfc100000-0xfc100fff irq 19 
at device 0.0 on pci1
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfc101000-0xfc101fff irq 19 
at device 0.1 on pci1
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
uhci0: <VIA 83C572 USB controller> port 0x2400-0x241f irq 17 at device 
3.0 on pci1
usb2: <VIA 83C572 USB controller> on uhci0
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0x2420-0x243f irq 16 at device 
3.1 on pci1
usb3: <VIA 83C572 USB controller> on uhci1
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci1: <serial bus, USB> at device 3.2 (no driver attached)
atapci0: <SiI 3114 SATA150 controller> port 
0x2440-0x244f,0x2450-0x2453,0x2458-0x245f,0x2454-0x2457,0x2460-0x2467 
mem 0xfc103400-0xfc1037ff irq 19 at device 5.0 on pci1
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
ata4: channel #2 on atapci0
ata5: channel #3 on atapci0
pci1: <display, VGA> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <AMD 8111 UDMA133 controller> port 
0x1000-0x100f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci1
ata1: channel #1 on atapci1
pci0: <bridge> at device 7.3 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci2: <ACPI PCI bus> on pcib2
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x3000-0x30ff mem 
0xfe000000-0xfe00ffff,0xfe010000-0xfe01ffff irq 24 at device 4.0 on pci2
mpt1: <LSILogic 1030 Ultra4 Adapter> port 0x3400-0x34ff mem 
0xfe020000-0xfe02ffff,0xfe030000-0xfe03ffff irq 25 at device 4.1 on pci2
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 
0xfe040000-0xfe04ffff,0xfe050000-0xfe05ffff irq 24 at device 9.0 on pci2
miibus0: <MII bus> on bge0
brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge0: Ethernet address: 00:e0:81:63:1e:86
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 
0xfe060000-0xfe06ffff,0xfe070000-0xfe07ffff irq 25 at device 9.1 on pci2
miibus1: <MII bus> on bge1
brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge1: Ethernet address: 00:e0:81:63:1e:85
pci0: <base peripheral, interrupt controller> at device 10.1 (no driver 
attached)
pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci3: <ACPI PCI bus> on pcib3
iir0: <Intel Integrated RAID Controller> mem 0xfe300000-0xfe303fff irq 
28 at device 3.0 on pci3
pci0: <base peripheral, interrupt controller> at device 11.1 (no driver 
attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
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
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
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
orm0: <ISA Option ROMs> at iomem 
0xcd000-0xce7ff,0xcc800-0xccfff,0xc8000-0xcc7ff,0xc0000-0xc7fff 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
Timecounters tick every 1.000 msec
acd0: CDROM <QSI CD-ROM SCR-242/CXAC> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
da0 at iir0 bus 2 target 0 lun 0
da0: <Intel Host Drive   #00 > Fixed Direct Access SCSI-2 device
da0: Tagged Queueing Enabled
da0: 286063MB (585858420 512 byte sectors: 255H 63S/T 36468C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a

-- 
Diomidis Spinellis - dds@ - http://www.spinellis.gr



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