From owner-freebsd-current@FreeBSD.ORG Wed May 5 18:46:32 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C4BD16A4CF for ; Wed, 5 May 2004 18:46:32 -0700 (PDT) Received: from cmsrelay01.mx.net (cmsrelay01.mx.net [165.212.11.110]) by mx1.FreeBSD.org (Postfix) with SMTP id 9126F43D5A for ; Wed, 5 May 2004 18:46:31 -0700 (PDT) (envelope-from noackjr@alumni.rice.edu) Received: from cmsapps01.cms.usa.net (165.212.11.136) by cmsoutbound.mx.net with SMTP; 6 May 2004 01:46:30 -0000 Received: from optimator.noacks.org [66.140.16.119] by cmsapps01.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 863ieFBUb0273M36; Thu, 06 May 2004 01:46:27 GMT X-USANET-Auth: 66.140.16.119 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 2EE66610C; Wed, 5 May 2004 20:46:27 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06706-06; Wed, 5 May 2004 20:46:26 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 0C98260FC; Wed, 5 May 2004 20:46:26 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.12.11/8.12.11) with ESMTP id i461kPDk005117; Wed, 5 May 2004 20:46:25 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <409998F1.7040506@alumni.rice.edu> Date: Wed, 05 May 2004 20:46:25 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.6 (X11/20040504) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Patrick Crosby References: <20040505190327.GD1003@patrick.okcupid.com> In-Reply-To: <20040505190327.GD1003@patrick.okcupid.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-current@freebsd.org Subject: Re: athlon-mp daily hang 5.2.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 01:46:32 -0000 Patrick Crosby wrote: > Just about every day, my FreeBSD system hangs. I set up > dumpdev/dumpdir, but I never get anything in /var/crashes. I'm not > sure what to do to debug the problem. It usually happens during a > 'gmake -j4...', but has happened at other times as well. Someone on > freebsd-questions suggested that the CPU(s) might be overheating. > Today I monitored the temperature all day long and it just crashed > during a compile with no change in temperature. > > What can I do to get more information about what is causing the hang? > > I have the following in rc.conf to try to get a kernel crash dump: > > dumpdev="/dev/ad0s1b" > dumpdir="/var/crash" > > And I'm running a kernel with debug symbols. I'm running FreeBSD > 5.2.1-RELEASE-p5 with 2 athlon mp processors, using the GENERIC kernel > config file (except I commented out INET6 so that firefox will resolve > domains in a timely fashion): > > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: AMD Athlon(tm) MP 2600+ (2000.08-MHz 686-class CPU) > Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 > Features=0x383fbff > AMD Features=0xc0480000 > real memory = 1073217536 (1023 MB) > avail memory = 1033003008 (985 MB) > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 1 > cpu1 (AP): APIC ID: 0 > ioapic0 irqs 0-23 on motherboard If your system is hanging then you may not be getting a dump. Regardless, here's some general dump stuff: Is your swap partition (/dev/ad0s1b) large enough to hold the dump (>= 1024MB)? Does /var have enough free space to hold the dump (>= 1024MB)? The default /var size is only 256MB, so you may need to choose a different dumpdir. Jon Noack