From owner-freebsd-stable@FreeBSD.ORG Fri Apr 22 15:20:17 2005 Return-Path: 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 B4DAA16A4D0 for ; Fri, 22 Apr 2005 15:20:17 +0000 (GMT) Received: from mx-out-02.forthnet.gr (mx-out.forthnet.gr [193.92.150.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D17E443D1D for ; Fri, 22 Apr 2005 15:20:15 +0000 (GMT) (envelope-from dds@aueb.gr) Received: from mx-av-03.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) j3MFKEvu020286 for ; Fri, 22 Apr 2005 18:20:14 +0300 Received: from mx-as-02.forthnet.gr (mx-as.forthnet.gr [193.92.150.226]) by mx-av-03.forthnet.gr (8.12.11/8.12.11) with ESMTP id j3MFKER2025246 for ; Fri, 22 Apr 2005 18:20:14 +0300 Received: from forthnet.gr (athmta01.forthnet.gr [193.92.150.23]) by mx-as-02.forthnet.gr (8.12.11/8.12.11) with ESMTP id j3MFKERW007368 for ; Fri, 22 Apr 2005 18:20:14 +0300 Received: from [192.168.136.16] (dds.ath.forthnet.gr [213.16.179.162]) by forthnet.gr (8.12.11/8.12.11) with ESMTP id j3MFKDuj029990 for ; Fri, 22 Apr 2005 18:20:13 +0300 Message-ID: <4269162F.8030100@aueb.gr> Date: Fri, 22 Apr 2005 19:20:15 +0400 From: Diomidis Spinellis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en, el, de MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: vm_fault on 8GB RAM AMD-64 with 5.4-RC3 and 5.4-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 15:20:17 -0000 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 : mov %rsi,%rax 0xffffffff802aa043 : shr $0x8,%rax 0xffffffff802aa047 : 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 AMD Features=0xe0500800 real memory = 4227268608 (4031 MB) avail memory = 4082753536 (3893 MB) ACPI APIC Table: 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 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard acpi0: 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: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0x8080-0x80ff,0x8000-0x807f,0xcf8-0xcff iomem 0xd8000-0xdbfff on acpi0 pci0: on pcib0 pcib1: at device 6.0 on pci0 pci1: on pcib1 ohci0: 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: 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: 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: 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: port 0x2400-0x241f irq 17 at device 3.0 on pci1 usb2: 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: port 0x2420-0x243f irq 16 at device 3.1 on pci1 usb3: 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: at device 3.2 (no driver attached) atapci0: 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: at device 6.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci1: 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: at device 7.3 (no driver attached) pcib2: at device 10.0 on pci0 pci2: on pcib2 mpt0: port 0x3000-0x30ff mem 0xfe000000-0xfe00ffff,0xfe010000-0xfe01ffff irq 24 at device 4.0 on pci2 mpt1: port 0x3400-0x34ff mem 0xfe020000-0xfe02ffff,0xfe030000-0xfe03ffff irq 25 at device 4.1 on pci2 bge0: mem 0xfe040000-0xfe04ffff,0xfe050000-0xfe05ffff irq 24 at device 9.0 on pci2 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:e0:81:63:1e:86 bge1: mem 0xfe060000-0xfe06ffff,0xfe070000-0xfe07ffff irq 25 at device 9.1 on pci2 miibus1: on bge1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:e0:81:63:1e:85 pci0: at device 10.1 (no driver attached) pcib3: at device 11.0 on pci0 pci3: on pcib3 iir0: mem 0xfe300000-0xfe303fff irq 28 at device 3.0 on pci3 pci0: at device 11.1 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: 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: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: at iomem 0xcd000-0xce7ff,0xcc800-0xccfff,0xc8000-0xcc7ff,0xc0000-0xc7fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: CDROM at ata1-master PIO4 Waiting 15 seconds for SCSI devices to settle da0 at iir0 bus 2 target 0 lun 0 da0: 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