From owner-freebsd-ppc@FreeBSD.ORG Sat Jun 27 23:02:53 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 9EA60106564A for ; Sat, 27 Jun 2009 23:02:53 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id 714A48FC12 for ; Sat, 27 Jun 2009 23:02:53 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7.0-5.01 32bit (built Feb 19 2009)) id <0KLX009003WS9000@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sat, 27 Jun 2009 17:02:52 -0500 (CDT) Received: from comporellon.tachypleus.net (adsl-71-150-249-250.dsl.mdsnwi.sbcglobal.net [71.150.249.250]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7.0-5.01 32bit (built Feb 19 2009)) with ESMTPSA id <0KLX005AF3WQQJ40@smtpauth3.wiscmail.wisc.edu>; Sat, 27 Jun 2009 17:02:51 -0500 (CDT) Date: Sat, 27 Jun 2009 17:02:50 -0500 From: Nathan Whitehorn In-reply-to: <20090627071710.36c4d2a0@gluon.draftnet> To: Bruce Cran Message-id: <4A46970A.3030204@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=71.150.249.250 X-Spam-PmxInfo: Server=avs-12, Version=5.5.5.374460, Antispam-Engine: 2.7.1.369594, Antispam-Data: 2009.6.27.214817, SenderIP=71.150.249.250 References: <20090627071710.36c4d2a0@gluon.draftnet> User-Agent: Thunderbird 2.0.0.22 (X11/20090625) 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: Sat, 27 Jun 2009 23:02:53 -0000 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? -Nathan