From owner-freebsd-questions@FreeBSD.ORG Wed Mar 16 03:10:41 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41ED416A4CE for ; Wed, 16 Mar 2005 03:10:41 +0000 (GMT) Received: from sccmmhc92.asp.att.net (sccmmhc92.asp.att.net [204.127.203.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7867F43D39 for ; Wed, 16 Mar 2005 03:10:40 +0000 (GMT) (envelope-from jlagarde@bigfoot.com) Received: from [192.168.1.100] (12-219-244-184.client.mchsi.com[12.219.244.184]) by sccmmhc92.asp.att.net (sccmmhc92) with ESMTP id <20050316031029m92003at1ne>; Wed, 16 Mar 2005 03:10:34 +0000 Message-ID: <4237A3A3.3040704@bigfoot.com> Date: Tue, 15 Mar 2005 19:10:27 -0800 From: Jean Lagarde User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 5.3-release fine with 512MB RAM, reboots at times with 1.5GB (but no panic) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 03:10:41 -0000 I have been troubleshooting reboots over the last weekend, I think I might have enough clues now to get some useful hints from an expert. FreeBSD 5.3-release (see dmesg below for details) The problem seems to be with trying to run with 1.5GB vice 512MB of RAM. The system has not had problems so far when I only leave the 512MB stick in. When I add the 1GB stick the system will reboot at specific times, for example, while trying to launch KDE3 or trying to make OpenOffice (always reboots at "Extracting for openoffice-1.1.2-1"). I do not see any panic in the messages log, the system just silently reboots. I initially installed FreeBSD with only the 512MB stick in. The memory itself seems fine; memtest86 detects no errors. At boot time all the memory is detected: real memory = 1610547200 (1535 MB) avail memory = 1568432128 (1495 MB) Running "memtest all" only seems to find 512MB to use. It evidently makes no assumption about how much memory is there, starting by trying to malloc 4GB and reducing the amount gradually until it finally successfully mallocs 512 MB and eventually manages to lock 413 MB (failed due to "insufficient resources" above that). The tests on the 413 MB do pass. I have rebuilt the kernel with VM_KMEM_SIZE_MAX=419430400 as suggested in the FAQ. No change. Would setting MAXMEM to 1572864 help? I am not sure since the correct amount is reported by FreeBSD at boot, and right now trying to make the kernel with that option seems to be another case that reboots the machine (i.e. the make process itself reboots the machine) so I have not tried it yet (guess I would have to remove the 1GB stick to make the new kernel and then put it back to try it out). Thank you for any help. ============ dmesg ============ FreeBSD 5.3-RELEASE #1: Sun Mar 13 20:01:36 PST 2005 xxxxxxxxxxxxxxxxx:/usr/src/sys/i386/compile/KERNEL_JEAN Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.20GHz (2205.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff real memory = 1610547200 (1535 MB) avail memory = 1568432128 (1495 MB) mptable_probe: MP Config Table has bad signature: .\M^K\M-@ npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0x1080-0x10ff,0x1000-0x107f,0x480-0x48f,0xcf8 -0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pc i0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 2.0 on pci0 isa0: on isab0 ohci0: mem 0xe7000000-0xe7000fff irq 5 at device 2.2 o n pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: 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: mem 0xe7001000-0xe7001fff irq 12 at device 2.3 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: 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 atapci0: port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6 ,0x1f0-0x1f7 at device 2.5 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 sis0: port 0xe000-0xe0ff mem 0xe7002000-0xe7002fff irq 11 at device 3.0 on pci0 miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:50:2c:04:6c:0b pci0: at device 10.0 (no driver attached) pci0: at device 14.0 (no driver attached) sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] orm0: at iomem 0xc0000-0xc7fff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2205013308 Hz quality 800 Timecounters tick every 10.000 msec ad0: 39216MB [79677/16/63] at ata0-master UD MA100 acd0: DVDROM at ata0-slave UDMA 66 Mounting root from ufs:/dev/ad0s1a