From owner-freebsd-questions@FreeBSD.ORG Sat May 21 20:32:39 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E82916A4CE for ; Sat, 21 May 2005 20:32:39 +0000 (GMT) Received: from mail.rulez.sk (DaEmoN.RuLeZ.sK [84.16.32.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id D083D43D53 for ; Sat, 21 May 2005 20:32:38 +0000 (GMT) (envelope-from danger@rulez.sk) Received: from localhost (localhost [127.0.0.1]) by mail.rulez.sk (Postfix) with ESMTP id 618BF45141; Sat, 21 May 2005 22:32:37 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.rulez.sk (Postfix) with ESMTP id 050D4450C1; Sat, 21 May 2005 22:32:34 +0200 (CEST) Date: Sat, 21 May 2005 22:33:45 +0200 From: Daniel Gerzo X-Priority: 3 (Normal) Message-ID: <745032946.20050521223345@rulez.sk> To: freebsd-questions In-Reply-To: <428F9427.90402@it-solutions.lv> References: <428F80CF.1020509@it-solutions.lv> <216446879.20050521210609@rulez.sk> <428F9427.90402@it-solutions.lv> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at mail.rulez.sk X-Spam-Status: No, hits=-2.669 tagged_above=-999 required=5 tests=[AWL=-1.167, BAYES_00=-2.599, PRIORITY_NO_NAME=1.097] X-Spam-Level: cc: questions@freebsd.org Subject: Re[2]: uname -a output does not change after kernel upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Gerzo List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2005 20:32:39 -0000 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! ]