From owner-freebsd-current@freebsd.org Tue Jan 17 20:30:14 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E46BBCB5EE5 for ; Tue, 17 Jan 2017 20:30:14 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C6491712 for ; Tue, 17 Jan 2017 20:30:13 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from hermann ([85.178.51.158]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MI5rO-1cPimL2SFC-003sGe for ; Tue, 17 Jan 2017 21:30:11 +0100 Date: Tue, 17 Jan 2017 21:30:10 +0100 From: "Hartmann, O." To: FreeBSD CURRENT Subject: r312349 crashes: null filesizes: rescue with usb stick impossible due to lack of CC Message-ID: <20170117213005.0a4a3d2d@hermann> Organization: walstatt.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:em/vsbAGmSdktvcWySm37fFNFjjEtNR4/MSHVUxiLISOcodGh3C L9bqX1VT2qzbkY3CDcD0SQxn3OFrGRqPBVqylb0NzcG7WN5FcT+TN9rymqVp3ptpMGwLI4K DvY1KlrE6F5PL01Q7sDor+FKjQNMYpSOBL0UA5+8ltd2kyT6gd7KAWjcVf2Bjdz0lgGo+H9 huSwZVfw6G1gFpa4ZJ5Tw== X-UI-Out-Filterresults: notjunk:1;V01:K0:l+3xnMQkMqQ=:0b9qDEBdL+Q+AkHOHv47z6 PT1cS/xmWc5mZ7lofVCK6PVxeyvPYcYHrUiZFT5yW4vyWaqVY9w3IoJijiKteBKCv8JNbsPRl +Rexdz0N1T4UO6vqTpuOZrX0VjjBNeLfxtCjI3pB5UQiSAJNXeSaqoejEzRakREL1QHdh0OGH MFwn2t9h7IsxAtCz3PCF+BiS3tE2Eokw0byHLTjRWwyH51aLS9O7aCQg0ilfGwiMuJMwA7Tcg e5xsc9Lw0S3NgYqirEUIiS59kpIqR2CV2ZFQeykYbo9q4Q9PnEGpfixON9rCH3P1eG2TIKqfF t++Dor5WLMJSnkXrE+NL/gajgL/jCGQ4PD6Aw1+rxyhLhTtb4UekCj2pzzaA9/IfcJL+3Ccia ceVBOpxN5tFf1o5Q/zzcDSVBAvPOgc2Punly2PDCCCIw0gc9JsqrpVjNTCiokdGwgyRH3gi4g KqigobdGHzH6sYcTt9Ymxk7zJdF2yjwFupFPWuM/TGDYXTTSBsC2wx9/pxQltKq0PJAE8nBf9 5Hs93WCWZB2nxum9G8IE8eSO1uu7tRjKCgNGP13gT0ccurEd8kLI1z5xoeLZwfCgwGXGoiMiQ V1JZX5oXXixj97vM1IoRpyS5heh5yGA1Sr6Tx8rOWMy9ILrV+8rSdQ4ae8kjDcBO4d6SpEDkM xX1Y4MRG2Qig5XX6Z1a48Dbbbf+SEBNS5csCG3q3iPTDAh01WFg5R6uRdD4/Dancf0tEU/7pY dG8rDWt2b7876q7cetNK1aZ5Pm+guVonnvZjt8cw0W9kg9VK22jg5Krwn2tLHUtHb++iizLc+ mSSH2jX X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 20:30:15 -0000 FreeBSD crashes (r312349): during installworld and installkernel, the running system crashed and left me with a nullyfied Samsung 850 PRO SSD, means: almost every binary in /bin, /sbin, /usr/bin, /usr/sbin has filesize NULL, execpt /bin/sh. Booting is impossible. Since it is unknown what the crash triggered - I just tried to rescue my box from crashing by adding this faulty EARLY_AP_STARTUP option to my customized kernel - I intend to rescue the system by installing the binaries again via make installworld by using an USB image from the FreeBSD site: FreeBSD-12.0-CURRENT-amd64-20170105-r311461-memstick.img Booting this USB image, mounting all of the filesystems of the SSD of the trunkated system into /mnt (/mnt/usr, /mnt/usr/local etc) execpt /usr/src and /usr/obj, which Imount to the USB's /usr/src and /usr/ob, and then trying to perform the installworld again via cd /usr/src make DESTDIR=3D/mnt installkernel installworld I fail: I'm bothered with the lack of a compilerand enforced to set COM=C3=9CILER_TYPE, but this is useless, since this minimalistic and useless provided USB (and CD image) does obviusly not contain any compiler. So, I'm stranded! I found several websites on which exact such a rescue procedure is explained and I remember that I rescued the same way last year an 11-CURRENT system. At this moment, I can not fathom what kind of mind is behind of the reduction of the images and extracting essential parts. How am I supposed to rescue a system the way I try to? I have an intact /usr/obj, /usr/src, I have this crap USB image wihich is obviously incapable of performing such kind of rescue. The system in question does not have a DVD or CD drive, it is USB only.=20 Any help appreciated. Please point me to the proper webpage on the FBSD site on which it might be to find how to rescue a system like I'm inclined to (if ever). I couldn't find any suitable notices. many thanks in advance, Oliver