From owner-freebsd-stable@FreeBSD.ORG Fri Sep 10 14:32:09 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4496D106564A; Fri, 10 Sep 2010 14:32:09 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 597B68FC19; Fri, 10 Sep 2010 14:32:08 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA21514; Fri, 10 Sep 2010 17:31:54 +0300 (EEST) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Ou2kg-0008Z3-8B; Fri, 10 Sep 2010 15:30:46 +0300 Message-ID: <4C8A24F5.7040100@freebsd.org> Date: Fri, 10 Sep 2010 15:30:45 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.8) Gecko/20100822 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: "Daniel O'Connor" References: <4C89DE32.9050402@icyb.net.ua> In-Reply-To: <4C89DE32.9050402@icyb.net.ua> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable Stable , "John H. Baldwin" Subject: Re: Enabling MCA causes system hangs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 10 Sep 2010 14:32:09 -0000 on 10/09/2010 10:28 Andriy Gapon said the following: > on 10/09/2010 05:36 Daniel O'Connor said the following: >> Hi, I recently tried enabling MCA (ie w.mca.enabled=1 in loader.conf) on an >> 8.0-STABLE system and found that it would cause the system to hang after a >> few minutes of uptime. >> >> The screen would go black and the monitor would turn off (regardless of >> wether it was in X or not) and only a hard reset would bring it back. >> >> Also I found that quite often I had to power cycle the whole PC or the BIOS >> wouldn't detect the hard disks on boot(!) after a hang. >> >> uname is.. FreeBSD midget.dons.net.au 8.0-STABLE FreeBSD 8.0-STABLE #6 >> r202903M: Sun Jan 24 13:45:11 CST 2010 >> darius@midget.dons.net.au:/usr/obj/usr/src/sys/MIDGET amd64 Oh, I should have payed attention to the version. I think that this is a known and resolved problem. There is a hardware bug in AMD 10h processors that is triggered by combination of enabled MCA and FreeBSD superpages. So, you either have to disable one of them or upgrade to a more recent version. The version you need is r206183. The latest stable/8 would do, obviously. >> The motherboard is a Gigabyte GA-MA785GM-US2H with an Athlon II X2 240 CPU & >> 4Gb of RAM. > > Do you also have superpages enabled (vm.pmap.pg_ps_enabled)? > If so, please try to turn them off and report back if that helps. > -- Andriy Gapon