Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2005 22:33:45 +0200
From:      Daniel Gerzo <danger@rulez.sk>
To:        freebsd-questions <freebsd-questions@it-solutions.lv>
Cc:        questions@freebsd.org
Subject:   Re[2]: uname -a output does not change after kernel upgrade
Message-ID:  <745032946.20050521223345@rulez.sk>
In-Reply-To: <428F9427.90402@it-solutions.lv>
References:  <428F80CF.1020509@it-solutions.lv> <216446879.20050521210609@rulez.sk> <428F9427.90402@it-solutions.lv>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello freebsd-questions,

Saturday, May 21, 2005, 10:03:51 PM, you wrote these comments:

> Daniel,

> How can I now which kernel is loaded?

sysctl -a | grep kernel

> I'm actually struggling with RAID-1 and gmirror issue
> that I wanted to ask when 'uname -a' issue is fixed.

I'm not experienced with gmirror at all.

> Here is --- cat /boot/loader.conf --
> geom_mirror_load=3D"YES"
> kern.geom.mirror.debug=3D2
> kern.geom.mirror.timeout=3D0

> I remembered that I had created /boot.config file
> with following content, but now when I checked it,
> ir was not there.

> --- cat /boot.config ---
> 1:ad(6,a)/boot/loader

this doesn't have anything with kernel config I think.
actually, I know only one way how to implicitly set the kernel boot
file. One can do so by adding line

kernel=3D"path/to/kernel"

into /boot/loader.conf

> It looks like you ar right and I realy have booted
> the old kernel. Because when I wanted
> to remove second hdd from mirror I got such a result:

> server# gmirror forget /dev/ad4s1
> Userland and kernel parts are out of sync.

that's because you're using the old kernel with the new world.

> Is it better that I start new conversation with new Subject
> and describe how I got all this mess?

That's up to you. Personally I don't think it is needed. You should
firstly try to build a new kernel AND install it. If you are using
your own kernel config file, you should add KERNCONF=3DCONFIGNAME to the
make (build|install)kernel command.

> It is connected with gmirror I'm using and the problem that I could not
> get it up and running properly.

> Thanks for help!
> Jurgis


> Daniel Gerzo wrote:
>>=20
>>># cd /usr/src
>>># make buildworld
>>># make buildkernel
>>># make installkernel
>>=20
>>=20
>> ^^
>> Are you really sure you have done this step?
>>=20
>> maybe you have somewhere like /boot/loader.conf setuped, that the
>> default boot kernel is not located at /boot/kernel? It seems you have
>> booted the old kernel.

--=20
Best Regards,

 DanGer, ICQ: 261701668  | e-mail protecting at: http://www.2pu.net/
 http://danger.rulez.sk  | proxy list at:        http://www.proxy-web.com/
                         | FreeBSD - The Power to Serve!

[ It's more than good enough so I ain't switch'n to anythin' else! ]



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