From owner-freebsd-fs@FreeBSD.ORG Fri Oct 18 15:25:51 2013 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0106FDF for ; Fri, 18 Oct 2013 15:25:50 +0000 (UTC) (envelope-from shawn.wallbridge@imaginaryforces.com) Received: from barracuda.imaginaryforces.com (199.193.209.132.static.oneiricsys.com [199.193.209.132]) by mx1.freebsd.org (Postfix) with ESMTP id CCA732AF4 for ; Fri, 18 Oct 2013 15:25:50 +0000 (UTC) X-ASG-Debug-ID: 1382109943-0413ad4d7f2427e0001-ETJDRd Received: from newman.IMAGINARYFORCES.LOCAL (newman.imaginaryforces.local [192.168.23.34]) by barracuda.imaginaryforces.com with ESMTP id Fu8oTiv92oPCsEtD; Fri, 18 Oct 2013 08:25:43 -0700 (PDT) X-Barracuda-Envelope-From: shawn.wallbridge@imaginaryforces.com Received: from NEWMAN.IMAGINARYFORCES.LOCAL ([192.168.23.34]) by newman.IMAGINARYFORCES.LOCAL ([192.168.23.34]) with mapi id 14.01.0438.000; Fri, 18 Oct 2013 08:30:39 -0700 From: Shawn Wallbridge To: "Julian H. Stacey" Subject: Re: Urgent help needed, fsck segfault's on a 9.2-RELEASE machine Thread-Topic: Urgent help needed, fsck segfault's on a 9.2-RELEASE machine X-ASG-Orig-Subj: Re: Urgent help needed, fsck segfault's on a 9.2-RELEASE machine Thread-Index: AQHOzAjU4uc0cbAc5UycvhhiLLIp0Jn6leuA Date: Fri, 18 Oct 2013 15:30:39 +0000 Message-ID: In-Reply-To: <201310181343.r9IDhrmu068968@fire.js.berklix.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.23.68] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: newman.imaginaryforces.local[192.168.23.34] X-Barracuda-Start-Time: 1382109943 X-Barracuda-URL: http://barracuda.imaginaryforces.com:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at imaginaryforces.com X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=8.0 tests=BSF_SC0_MISMATCH_TO X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.141570 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header Cc: "fs@freebsd.org" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2013 15:25:51 -0000 On 10/18/13 6:43 AM, "Julian H. Stacey" wrote: >> root@mercury:/var/log # fsck -t ufs /dev/da0p1 >> ** /dev/da0p1 >> fsck: /dev/da0p1: Segmentation fault: 11 >> >> It's running 9.2-RELEASE > >Well, taking your word Urgent, & as /dev/da0p1 seems a low disk number, >maybe the partition housing fsck_ufs is also corrupt ? >Have you tried running fsck from removable media ie cd/dvd/usb stick ? > >Before you do that you might or not, want to copy fsck binary & >corrupt partitions somewheer to do an autopsy later when you'r back OK. > > >> (gdb) bt > >Hex Ugh, only as last resort, better >rebuild fsck_ufs with eg CFLAGS +=3D -g in /etc/make.conf or on command >line. > >Good luck > >Cheers, >Julian >-- >Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich >http://berklix.com > Interleave replies below like a play script. Indent old text with "> ". > Send plain text, not quoted-printable, HTML, base64, or >multipart/alternative. > Thank you for responding Julian. I ended up creating a PR and a thread on forums.freebsd.org.. http://forums.freebsd.org/showthread.php?p=3D236842 http://www.freebsd.org/cgi/query-pr.cgi?pr=3D183042 I booted off of the 9.2 CD into LiveCD and had the same issue, fsck_ufs segfaulting. After many many hours of troubleshooting (documented in the forum thread), I ended up using the binary from a 9.0-RELEASE box, which worked fine. Thank you shawn ________________________________ This e-mail is intended only for the named person or entity to which it is = addressed and contains valuable business information that is proprietary, p= rivileged, confidential and/or otherwise protected from disclosure. If you = received this e-mail in error, any review, use, dissemination, distribution= or copying of this e-mail is strictly prohibited. Please notify us immedia= tely of the error via e-mail to postmaster@imaginaryforces.c= om and please delete the e-mail from your system, retaining no copies in an= y media. We appreciate your cooperation. ...imaginaryforces.com...=0D