From owner-freebsd-current@FreeBSD.ORG Thu Aug 21 20:47:12 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4AA19F65 for ; Thu, 21 Aug 2014 20:47:12 +0000 (UTC) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1A4EF35A8 for ; Thu, 21 Aug 2014 20:47:12 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id rp18so5414310iec.33 for ; Thu, 21 Aug 2014 13:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=HUSK6WtxVRd/rThJF8lNWuDrOQMXRdO/InaNxdKypkc=; b=ThA6GA6yrHZ0LpeVGvc1TEMw5En3C4G43Tqmq6XO9k3LKUYTTGlx030SySFo2GBlsP WwvYtNHF8aOMXwPGtirffpEASc8tfHoxBtgxSTzqZ7y8eY+4WDwRX1n6irTgfHXi/9WG phTXdrnCaZqinL9KiSS/4LLtov2Mjkgk+2Mi/Ow4FFthztQml4j7BVJ+HrJvO6oBuI/u xx1w928/JO7ao5cBCz4b2A/Px0KgciWOu3GlUNn0nMSBwHUN/xyPojjxA35moSn4TKB+ 5Y90kzC9uqkyRIFfCw22WI6I9eFSVFHdCQAr9gAc5ht5Mwlh4YGljU+Gv1TObIf9z+nS 9UKA== MIME-Version: 1.0 X-Received: by 10.42.63.129 with SMTP id c1mr3023177ici.82.1408654031496; Thu, 21 Aug 2014 13:47:11 -0700 (PDT) Received: by 10.50.72.69 with HTTP; Thu, 21 Aug 2014 13:47:11 -0700 (PDT) In-Reply-To: References: <20140821212619.6bdffad0@munin.walstatt.dyndns.org> Date: Thu, 21 Aug 2014 13:47:11 -0700 Message-ID: Subject: Re: r270287: crash From: Garrett Cooper To: "O. Hartmann" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 21 Aug 2014 20:47:12 -0000 On Thu, Aug 21, 2014 at 12:32 PM, wrote: > On Aug 21, 2014, at 12:26 PM, O. Hartmann w= rote: > >> FreeBSD r270287 crashes/reboots instantanously on loading the kernel. I >> can not see at what point (on modern systems like Ivy Bridge). On older >> Core2Duo systems I get a trap 12 in APIC or similar. >> >> While I was able to start kernel.old on the modern systems, I fail on >> both kernel and kernel.old on the C2D system. >> >> I'd like to know whether there is a way to save the system I can not >> reboot the on-disk kernels snce they are, woderfull, compromised. >> >> Is there a possible scenario like: >> >> a) boot from DVD ROM or USB most recent snapshot >> b) establish network with on-disk config, svn checkout recent sources >> into on-disk file hierarchy >> c) build repaired/patched kernel and install on on-disk (not on the >> emergency boot media). > > I would grab a snapshot ISO or USB disk image: ftp://ftp.freebsd.org/pub/= FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/11.0/ . After that you can mount y= our filesystems, revert to an earlier SVN revision, and repair your system = that way. You could also copy over the /boot/kernel as long as you didn=E2= =80=99t have/need any customizations. > >> Thanks, help appreciated and what is about this crash affecting recent >> CURRENT r270287, what has corrupted the system? > > That=E2=80=99s a better question. Booting off newer sources worked on my = VM at least, but it=E2=80=99s not real hardware. Maybe something dealing wi= th vt(4)/xen? One important note is that my CURRENT VM on my Macbook runs i386, not a= md64. Cheers, -Garrett