From owner-freebsd-questions@FreeBSD.ORG Fri Jun 27 19:54:59 2014 Return-Path: Delivered-To: questions@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 1AEB7330 for ; Fri, 27 Jun 2014 19:54:59 +0000 (UTC) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (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 E049D263D for ; Fri, 27 Jun 2014 19:54:58 +0000 (UTC) Received: by mail-ig0-f169.google.com with SMTP id c1so2316518igq.0 for ; Fri, 27 Jun 2014 12:54:58 -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; bh=0WKtBhRTPSGZae8FSfppOhnbbhEUVtPbHP7ATylygP8=; b=SAw3mp+UjTp9c0N/sqHu+LHV/hhtbhlU9+s1R4BWAIA/DMS81rAl0t/MSnBEIDia6G LSqVgRjNY2trH5xWULiewPlh3cbfMBX4x95oGl9tMx3T2j4QbZ4pZVLWhcJXiJVl2QnZ sHQ+GBlcnxZfjvIv8l198s18mqD9sIh0poTjlrR2p5CzM9tUZrYXQGABMGQvt2AsDHww 1iqey2qtkFoxCsrpi1W6rKmubjTcud8StRKxSvTGMg8aUBCKn8LRBEONwlEg8pyqXyUI 9XVxaYf66gU55hDQkHP3wHsZZnJB5vKaQxG0eBoYKyJQEjeUj9OrT2oESVRLUdzIxH8r 3NHw== MIME-Version: 1.0 X-Received: by 10.50.39.45 with SMTP id m13mr15186281igk.1.1403898898156; Fri, 27 Jun 2014 12:54:58 -0700 (PDT) Received: by 10.64.225.194 with HTTP; Fri, 27 Jun 2014 12:54:58 -0700 (PDT) In-Reply-To: <44lhsi5ugm.fsf@be-well.ilk.org> References: <44lhsi5ugm.fsf@be-well.ilk.org> Date: Fri, 27 Jun 2014 12:54:58 -0700 Message-ID: Subject: Re: what should uname -v be telling me here? From: paul beard To: Lowell Gilbert , Polytropon Content-Type: text/plain; charset=UTF-8 Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 19:54:59 -0000 Well, after some headscratching and physical inspection, it looks like this machine is booting and running from the same physical disk. It appears I never understood that you could boot from a different device than the one that was mounted and holding all your data *without realizing it* or being able to find out (ideally sysctl would reveal the device that the running kernel was pulled from: if it does, I can't make it out). It seems there should be some way to specify a boot device without futzing around in the BIOS or learn what device has been defined. dmesg doesn't even reveal that, as far as I can tell. It looks like boot.config might do some or all of what I expect. I also don't see how I can remove or rewrite just the MBR/bootsector on disk other than the active disk. If I could do that I could be reasonably sure I was booting and running from the disk I think I am. It may be time to stop pretending I know how any of this stuff actually works. On Fri, Jun 27, 2014 at 6:54 AM, Lowell Gilbert wrote: > paul beard writes: > >> I noticed that uname -a isn't returning what I expect so I deleted and >> re-pulled a source tree from svn, removed obj, and after a few >> iterations of rebuilding kernels and removing anything I can think of >> to resolve this, I'm at a loss. > > You're clearly not booting from the same kernel that shows up as > /boot/kernel/kernel, so it sounds as though you're booting from > a different partition than whatever is showing up as /boot/kernel > once the system is up. > > Look at your disk partitioning. Also, make sure that you aren't > mounting something on top of /boot in your /etc/fstab. -- Paul Beard / www.paulbeard.org/