From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 30 22:24:45 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65CD816A4CE; Wed, 30 Mar 2005 22:24:45 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 348E743D1F; Wed, 30 Mar 2005 22:24:42 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 41D7385617; Thu, 31 Mar 2005 07:54:39 +0930 (CST) Date: Thu, 31 Mar 2005 07:54:39 +0930 From: Greg 'groggy' Lehey To: FreeBSD Stable Users Message-ID: <20050330222439.GU84137@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2tWkrNKppd65XSnD" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: FreeBSD-amd64@FreeBSD.org Subject: Problems with AMD64 and 8 GB RAM? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 22:24:45 -0000 --2tWkrNKppd65XSnD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've recently acquired an AMD64 box (dual Opteron 242, SiS Master@-FAR motherboard (http://www.msi.com.tw/program/products/server/svr/pro_svr_detail.php?UID= =3D484). See below for more details). I find it very unstable running with 8 GB memory, though 4 GB are not a problem. At first I thought it was the onboard peripherals, but after disabling them it still persisted. What's unstable? I only once got it through the boot process. Running a 5.3-RELEASE i386 kernel it panics, though I haven't investigated the panic (yet), since I'm not interested in the i386 kernel. The amd64 5.4-PRERELEASE kernel just hangs/freezes. When the peripherals are enabled, it's after probing the onboard NIC (bge) and before probing SATA (no drives present). I've done a verbose boot, of course, but no additional information is present. The NIC is recognized, and that's all. Without the peripherals, but with a 3Com 3c905 PCI NIC, it continues beyond this point, but doesn't enable the NIC. I don't have dmesg output for these attempts, so I can't produce the exact message, and I suspect it's not important. It continues until trying to mount NFS file systems, where it hangs for obvious reasons. Pressing ^C causes the system to either panic (and be unable to dump because I don't have that much swap) or just hang. None of these problems occur when I use 4 GB memory. About the only strangeness, which seems to come from the BIOS, is that it recognizes only 3.5 GB. If I put all DIMMS in, it recognizes the full 8 GB memory. I realize that this isn't enough to diagnose the problem. The reason for this message now is to ask: 1. Has anybody else seen this problem? 2. Has anybody else used this hardware configuration and *not* seen this problem? 3. Where should I look next? I'm attaching the (non-verbose) dmesg from a successful boot. Greg -- See complete headers for address and phone numbers. Mar 30 14:17:16 obelix kernel: FreeBSD 5.4-PRERELEASE #0: Tue Mar 22 04:02:= 17 UTC 2005 Mar 30 14:17:16 obelix kernel: root@obelix:/usr/obj/src/FreeBSD/OBELIX/src/= sys/OBELIX Mar 30 14:17:16 obelix kernel: Timecounter "i8254" frequency 1193182 Hz qua= lity 0 Mar 30 14:17:16 obelix kernel: CPU: AMD Opteron(tm) Processor 242 (1603.65-= MHz K8-class CPU) Mar 30 14:17:16 obelix kernel: Origin =3D "AuthenticAMD" Id =3D 0xf5a Ste= pping =3D 10 Mar 30 14:17:16 obelix kernel: Features=3D0x78bfbff Mar 30 14:17:16 obelix kernel: AMD Features=3D0xe0500800 Mar 30 14:17:16 obelix kernel: real memory =3D 3756916736 (3582 MB) Mar 30 14:17:16 obelix kernel: avail memory =3D 3623907328 (3456 MB) Mar 30 14:17:16 obelix kernel: ACPI APIC Table: Mar 30 14:17:16 obelix kernel: FreeBSD/SMP: Multiprocessor System Detected:= 2 CPUs Mar 30 14:17:16 obelix kernel: cpu0 (BSP): APIC ID: 0 Mar 30 14:17:16 obelix kernel: cpu1 (AP): APIC ID: 1 Mar 30 14:17:16 obelix kernel: ioapic0: Changing APIC ID to 2 Mar 30 14:17:16 obelix kernel: ioapic0 irqs 0-23 on motherboa= rd Mar 30 14:17:16 obelix kernel: acpi0: on motherboard Mar 30 14:17:16 obelix kernel: acpi0: Power Button (fixed) Mar 30 14:17:16 obelix kernel: Timecounter "ACPI-fast" frequency 3579545 Hz= quality 1000 Mar 30 14:17:16 obelix kernel: acpi_timer0: <24-bit timer at 3.579545MHz> p= ort 0x4008-0x400b on acpi0 Mar 30 14:17:16 obelix kernel: cpu0: on acpi0 Mar 30 14:17:16 obelix kernel: cpu1: on acpi0 Mar 30 14:17:16 obelix kernel: acpi_button0: on acpi0 Mar 30 14:17:16 obelix kernel: pcib0: port 0xcf8-0xc= ff on acpi0 Mar 30 14:17:16 obelix kernel: pci0: on pcib0 Mar 30 14:17:16 obelix kernel: pcib1: at device 1.0 on pci0 Mar 30 14:17:16 obelix kernel: pci1: on pcib1 Mar 30 14:17:16 obelix kernel: pci1: at device 0.0 (no drive= r attached) Mar 30 14:17:16 obelix kernel: xl0: <3Com 3c905C-TX Fast Etherlink XL> port= 0xd000-0xd07f mem 0xfb000000-0xfb00007f irq=20 18 at device 7.0 on pci0 Mar 30 14:17:16 obelix kernel: miibus0: on xl0 Mar 30 14:17:16 obelix kernel: xlphy0: <3c905C 10/100 internal PHY> on miib= us0 Mar 30 14:17:16 obelix kernel: xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 10= 0baseTX-FDX, auto Mar 30 14:17:16 obelix kernel: xl0: Ethernet address: 00:50:da:cf:17:d3 Mar 30 14:17:16 obelix kernel: atapci0: port = 0xd400-0xd40f,0x376,0x170-0x177,0x3f6,0x1f0-0 x1f7 at device 15.0 on pci0 Mar 30 14:17:16 obelix kernel: ata0: channel #0 on atapci0 Mar 30 14:17:16 obelix kernel: ata1: channel #1 on atapci0 Mar 30 14:17:16 obelix kernel: uhci0: port 0xd8= 00-0xd81f irq 21 at device 16.0 on pci0 Mar 30 14:17:16 obelix kernel: usb0: on uhci0 Mar 30 14:17:16 obelix kernel: usb0: USB revision 1.0 Mar 30 14:17:16 obelix kernel: uhub0: VIA UHCI root hub, class 9/0, rev 1.0= 0/1.00, addr 1 Mar 30 14:17:16 obelix kernel: uhub0: 2 ports with 2 removable, self powered Mar 30 14:17:16 obelix kernel: uhci1: port 0xdc= 00-0xdc1f irq 21 at device 16.1 on pci0 Mar 30 14:17:16 obelix kernel: usb1: on uhci1 Mar 30 14:17:16 obelix kernel: usb1: USB revision 1.0 Mar 30 14:17:16 obelix kernel: uhub1: VIA UHCI root hub, class 9/0, rev 1.0= 0/1.00, addr 1 Mar 30 14:17:16 obelix kernel: uhub1: 2 ports with 2 removable, self powered Mar 30 14:17:16 obelix kernel: uhci2: port 0xe0= 00-0xe01f irq 21 at device 16.2 on pci0 Mar 30 14:17:16 obelix kernel: usb2: on uhci2 Mar 30 14:17:16 obelix kernel: usb2: USB revision 1.0 Mar 30 14:17:16 obelix kernel: uhub2: VIA UHCI root hub, class 9/0, rev 1.0= 0/1.00, addr 1 Mar 30 14:17:16 obelix kernel: uhub2: 2 ports with 2 removable, self powered Mar 30 14:17:16 obelix kernel: pci0: at device 16.4 (no d= river attached) Mar 30 14:17:16 obelix kernel: isab0: at device 17.0 on pc= i0 Mar 30 14:17:16 obelix kernel: isa0: on isab0 Mar 30 14:17:16 obelix kernel: pci0: at device 17.5 (no= driver attached) Mar 30 14:17:16 obelix kernel: acpi_tz0: on acpi0 Mar 30 14:17:16 obelix kernel: fdc0: port 0x3f7,0= x3f0-0x3f5 irq 6 drq 2 on acpi0 Mar 30 14:17:16 obelix kernel: sio0: <16550A-compatible COM port> port 0x3f= 8-0x3ff irq 4 flags 0x10 on acpi0 Mar 30 14:17:16 obelix kernel: sio0: type 16550A Mar 30 14:17:16 obelix kernel: sio1: <16550A-compatible COM port> port 0x2f= 8-0x2ff irq 3 on acpi0 Mar 30 14:17:16 obelix kernel: sio1: type 16550A Mar 30 14:17:16 obelix kernel: ppc0: port = 0x778-0x77b,0x378-0x37f irq 7 on acpi0 Mar 30 14:17:16 obelix kernel: ppc0: Generic chipset (NIBBLE-only) in COMPA= TIBLE mode Mar 30 14:17:16 obelix kernel: ppbus0: on ppc0 Mar 30 14:17:16 obelix kernel: plip0: on ppbus0 Mar 30 14:17:16 obelix kernel: lpt0: on ppbus0 Mar 30 14:17:16 obelix kernel: lpt0: Interrupt-driven port Mar 30 14:17:16 obelix kernel: ppi0: on ppbus0 Mar 30 14:17:16 obelix kernel: atkbdc0: port = 0x64,0x60 irq 1 on acpi0 Mar 30 14:17:16 obelix kernel: atkbd0: flags 0x1 irq 1 on atk= bdc0 Mar 30 14:17:16 obelix kernel: kbd0 at atkbd0 Mar 30 14:17:16 obelix kernel: orm0: at iomem 0xd0000-0xd= 07ff,0xc0000-0xcffff on isa0 Mar 30 14:17:16 obelix kernel: sc0: at flags 0x100 on isa0 Mar 30 14:17:16 obelix kernel: sc0: VGA <16 virtual consoles, flags=3D0x300> Mar 30 14:17:16 obelix kernel: vga0: at port 0x3c0-0x3df = iomem 0xa0000-0xbffff on isa0 Mar 30 14:17:16 obelix kernel: Timecounters tick every 1.000 msec Mar 30 14:17:16 obelix kernel: ad0: 190782MB [387621/16/6= 3] at ata0-master UDMA100 Mar 30 14:17:16 obelix kernel: ad1: 190782MB [387621/16/6= 3] at ata0-slave UDMA100 Mar 30 14:17:16 obelix kernel: acd0: DVDR at = ata1-master UDMA66 Mar 30 14:17:16 obelix kernel: SMP: AP CPU #1 Launched! Mar 30 14:17:16 obelix kernel: Mounting root from ufs:/dev/ad0s1a --2tWkrNKppd65XSnD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCSycnIubykFB6QiMRAnV6AKCyRuce58cEVhAKoTM1i97zaNYMkwCgl7Ab ANyhrh7QeNVjUWfx0uprP24= =kMQs -----END PGP SIGNATURE----- --2tWkrNKppd65XSnD--