Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2008 21:13:58 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        freebsd-stable@freebsd.org
Subject:   Re: mysterious uname non-updates
Message-ID:  <alpine.BSF.2.00.0809102109310.54217@woozle.rinet.ru>
In-Reply-To: <200809081705.m88H5Pdh083088@lurza.secnetix.de>
References:  <200809081705.m88H5Pdh083088@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0809102109310.54217>