From owner-freebsd-ppc@FreeBSD.ORG Sun Jun 28 14:01:42 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B47A91065677 for ; Sun, 28 Jun 2009 14:01:42 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 861F58FC0A for ; Sun, 28 Jun 2009 14:01:42 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from [10.0.10.92] (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 84CA68AC9; Sun, 28 Jun 2009 14:01:41 +0000 (UTC) Message-ID: <4A4777C3.1090404@cran.org.uk> Date: Sun, 28 Jun 2009 15:01:39 +0100 From: Bruce Cran User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Nathan Whitehorn References: <20090627071710.36c4d2a0@gluon.draftnet> <4A46970A.3030204@freebsd.org> In-Reply-To: <4A46970A.3030204@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: iBook G4 chipset failure causing segfaults? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2009 14:01:43 -0000 Nathan Whitehorn wrote: > Bruce Cran wrote: >> I've recently found that my G4 iBook is causing programs to segfault >> when they start going into swap: the effect is worse on -current but >> I'm also seeing it on 7.2. For example, if I run a program to >> allocate 500MB the >> system will swap out most programs since I only have 512MB RAM. After a >> while dhclient and sendmail segfault while the test program keeps >> running; I've also seen tcsh and login segfault too as I logout. I >> originally found the problem when building clangbsd, where 'as' would >> segfault when it started building the large C++ files that come with >> clang. I can run a normal buildworld so I guess this is more of a >> problem with the chipset (caused by swapping?) than a memory problem? >> >> I've run the Apple Hardware Test utility over 30 loops without any >> errors - has anyone else seen this problem, and is it likely that the >> hardware is simply starting to fail? >> >> > More likely there's a bug in the ATA driver, or the hard disk is > failing, and so swap is being corrupted somehow. Is there a way you > could try swapping to a different, external drive (firewire, for > instance), and see if the problem still exists? I moved swap onto an external 500GB USB drive and also tried disabling ATA DMA on the internal HDD, but I kept seeing the segfaults. -- Bruce