From owner-freebsd-stable@FreeBSD.ORG Thu Nov 12 22:50:21 2009 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 90992106566B for ; Thu, 12 Nov 2009 22:50:21 +0000 (UTC) (envelope-from Hans.F.Nordhaug@hiMolde.no) Received: from sil.himolde.no (sil.hiMolde.no [158.38.83.3]) by mx1.freebsd.org (Postfix) with ESMTP id E12858FC0A for ; Thu, 12 Nov 2009 22:50:20 +0000 (UTC) Received: from malle.himolde.no ([158.38.68.22]) by sil.himolde.no with InterScan Message Security Suite; Thu, 12 Nov 2009 23:50:19 +0100 Received: from harr.himolde.no (harr.hiMolde.no [158.38.68.20])by malle.himolde.no (8.13.8/8.13.8) with ESMTP id nACMoIY6022034for ; Thu, 12 Nov 2009 23:50:18 +0100 Received: from harr.himolde.no (harr.himolde.no [127.0.0.1])by harr.himolde.no (8.13.1/8.13.1) with ESMTP id nACMoIDB013341for ; Thu, 12 Nov 2009 23:50:18 +0100 Received: (from nordhaug@localhost)by harr.himolde.no (8.13.1/8.13.1/Submit) id nACMoIfM013340for freebsd-stable@freebsd.org; Thu, 12 Nov 2009 23:50:18 +0100 Date: Thu, 12 Nov 2009 23:50:17 +0100 From: "Hans F. Nordhaug" To: freebsd-stable@freebsd.org Message-ID: <20091112225017.GA13095@hiMolde.no> References: <20091112103308.GA2536@hiMolde.no> <20091112115350.GA18542@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20091112115350.GA18542@icarus.home.lan> User-Agent: Mutt/1.4.1i X-imss-version: 2.054 X-imss-result: Passed X-imss-approveListMatch: *@*.no Subject: Re: /bin/sh core dumps on FreeBSD 7.2 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: Thu, 12 Nov 2009 22:50:21 -0000 * Jeremy Chadwick [2009-11-12]: > On Thu, Nov 12, 2009 at 11:33:08AM +0100, Hans F. Nordhaug wrote: > > Suddenly /bin/sh started to crash all the time with core dumps. I'm > > running FreeBSD 7.2-RELEASE-p4 (i386) and I have not updated anything > > lately. The /bin/sh binary seems to be untouched. It might be some > > hardware trouble, but the machine seems to run OK now. (I had to > > replace /bin/sh with a symlink to /rescue/sh.) > > > > I would like to track down the problem, but running sh I only get > > "Segmentation fault: 11 (core dumped)". I would be happy to run > > gdb and give you a backtrace. Any clues? > > > > PS! I tried to run "freebsd-update IDS" to see if any files are > > broken, but it stops at > > Inspecting system... sha256: ///boot/kernel/utopia.ko.symbols: Input/output error > > Hardware problem. Take your pick: bad RAM, bad hard disk, bad > motherboard, bad PSU, bad cabling. > > You can rule out hard disk problems by installing smartmontools from > ports (sysutils/smartmontools). Please provide output from the > following command: > > smartctl -a /dev/{disk} Thx for the infp about smartmontools. The only problem I found was: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 001 001 045 Old_age Always FAILING_NOW 253 Don't know if this is a serious problem. Hans PS! The disk is of type Model Family: Western Digital Caviar Second Generation Serial ATA family Device Model: WDC WD2500JS-55NCB1