From owner-freebsd-stable@FreeBSD.ORG Wed Sep 10 17:14:00 2008 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 70C021065674 for ; Wed, 10 Sep 2008 17:14:00 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id E48668FC12 for ; Wed, 10 Sep 2008 17:13:59 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.2/8.14.2) with ESMTP id m8AHDwjv064422 for ; Wed, 10 Sep 2008 21:13:58 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Wed, 10 Sep 2008 21:13:58 +0400 (MSD) From: Dmitry Morozovsky To: freebsd-stable@freebsd.org In-Reply-To: <200809081705.m88H5Pdh083088@lurza.secnetix.de> Message-ID: References: <200809081705.m88H5Pdh083088@lurza.secnetix.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (woozle.rinet.ru [0.0.0.0]); Wed, 10 Sep 2008 21:13:58 +0400 (MSD) Subject: Re: mysterious uname non-updates 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: Wed, 10 Sep 2008 17:14:00 -0000 On Mon, 8 Sep 2008, Oliver Fromme wrote: OF> > today, updating one of my machines, I got the following mysterious results OF> > after reboot: OF> > OF> > root@ogre:~# sysctl -a | grep RELE OF> > kern.osrelease: 6.3-RELEASE OF> > kern.version: FreeBSD 6.3-RELEASE #4: Thu Jan 17 15:28:57 MSK 2008 OF> > root@ogre:~# strings /boot/kernel/kernel | grep RELE OF> > AE_RELEASE_DEADLOCK OF> > 6.3-RELEASE-p4 OF> > FreeBSD 6.3-RELEASE-p4 #6: Sun Sep 7 23:13:45 MSD 2008 OF> > @(#)FreeBSD 6.3-RELEASE-p4 #6: Sun Sep 7 23:13:45 MSD 2008 OF> > root@ogre:~# env | grep -i uname OF> > root@ogre:~# OF> > OF> > WTF? Why my kernel reports that it is previous version (actually it is already OF> > deleted, so I'm double puzzled) OF> OF> What does "sysctl kern.bootfile" say? OF> And are you sure that you rebooted the right machine? ;-) sysctl kern.bootfile said correct /boot/kernel/kernel And it was the right machine, but... in a bit "interesting" configuration: there are two pairs of mirrored disks: ad4/ad6 with gmirror, and ad8/ad10 from previous installation, from which I did migrate to the first pair. All file systems are refered as /dev/mirror/* Strange and mysterious thing was sourced by ad8 somehow activated to be *BIOS BOOT DISK* - so boot blocks, loader *and kernel* was loaded from there, but root mounted from correct /dev/mirror/m0a. Removing old pair of disks returned situation to controllable ;-) Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------