From owner-freebsd-questions@FreeBSD.ORG Mon Jan 21 06:44:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECB6816A418 for ; Mon, 21 Jan 2008 06:44:08 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by mx1.freebsd.org (Postfix) with ESMTP id 5FCD813C461 for ; Mon, 21 Jan 2008 06:44:08 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by mu-out-0910.google.com with SMTP id w8so1269911mue.4 for ; Sun, 20 Jan 2008 22:44:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=3Cm4UuO/C8hJh8TIUf/HVMVE4v4k+wva0lzY4ZXHLGs=; b=rZDoU3jpT3WK/TVTDXlJg6Ja4vflELXK4QVOhyB4ANJnEfiA3wOFcaetiWmcYruBH9lvKxvA3jwWtJhOFA5IeKZg5qsxb2StmnnF19E1k4umR4ygOvC7suz3dHa4rmu+v18V8j9lnxDVNC+Pi5n191/BTwuJXiL5urf9dGcOrOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hT/IR+sqKqQVBXkUGvqTfaoB9PiGbyKEpVF6RJDfYcxXisi+2Q8j6bzo70xi9E6n8bWOJSv3MCmEniIoB1jLkXsMRUMUKrDH7JBq50pGs3FvtykT4PeW32xlTE8Y1/voAM++PxgnrmF40KNPrYJCnwbSYw3uLsx1nzElQEqvois= Received: by 10.78.136.9 with SMTP id j9mr8404785hud.46.1200897846933; Sun, 20 Jan 2008 22:44:06 -0800 (PST) Received: by 10.78.130.5 with HTTP; Sun, 20 Jan 2008 22:44:06 -0800 (PST) Message-ID: <94136a2c0801202244m524383fak5053d7204224f33f@mail.gmail.com> Date: Mon, 21 Jan 2008 07:44:06 +0100 From: "Zbigniew Szalbot" To: "Manolis Kiagias" In-Reply-To: <47943DB6.7070301@otenet.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0801181417w395f7532w4761fc76388ed60@mail.gmail.com> <47912AE1.6000603@otenet.gr> <94136a2c0801190114u46f872eas8f6afd5e52dd73b1@mail.gmail.com> <4791C177.6030304@otenet.gr> <94136a2c0801202225r47f424a7gfc3f3fbebffc9403@mail.gmail.com> <47943DB6.7070301@otenet.gr> Cc: freebsd-questions@freebsd.org Subject: Re: going from 6.2 to 6.3 and custom kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 06:44:09 -0000 Hello, 2008/1/21, Manolis Kiagias : > Zbigniew Szalbot wrote: > > Hello, > > > > > >>>> It will not update your kernel, but if you do freebsd-update install you > >>>> will get an updated GENERIC kernel in /boot/GENERIC. > >>>> > >>>> This is what I did: > >>>> > >>>> freebsd-update -r 6.3-RELEASE upgrade > >>>> > >>>> (got the warning you mentioned) > >>>> > >>>> freebsd-update install > >>>> > >>>> Got a message about installing kernel updates. Got a new generic kernel > >>>> in /boot/GENERIC (check to see this exists!) > >>>> > > > > Yes, on the other machine there is no /boot/GENERIC > > So what do I do (I followed the steps you described). > > > > # locate GENERIC > > /usr/src/sys/alpha/conf/GENERIC > > /usr/src/sys/alpha/conf/GENERIC.hints > > /usr/src/sys/amd64/conf/GENERIC > > /usr/src/sys/amd64/conf/GENERIC.hints > > /usr/src/sys/i386/conf/GENERIC > > /usr/src/sys/i386/conf/GENERIC.hints > > /usr/src/sys/ia64/conf/GENERIC > > /usr/src/sys/ia64/conf/GENERIC.hints > > /usr/src/sys/pc98/conf/GENERIC > > /usr/src/sys/pc98/conf/GENERIC.hints > > /usr/src/sys/powerpc/conf/GENERIC > > /usr/src/sys/powerpc/conf/GENERIC.hints > > /usr/src/sys/sparc64/conf/GENERIC > > /usr/src/sys/sparc64/conf/GENERIC.hints > > > > > > Thanks! > > > > Zbigniew Szalbot > > > > > So, you actually run freebsd-update install? Yes, I did. sh freebsd-update.sh -f freebsd-update.conf install > Running just the freebsd-update -r 6.3-RELEASE upgrade part will not > install anything. You will have to run freebsd-update install, it will > complain about not running a GENERIC kernel and install the new one in > /boot/GENERIC. Although in my case I believe I already had a > /boot/GENERIC kernel, and I think this was created by standard > freebsd-update (i.e. when going from a -p# to another -p# while in 6.2) > > Could you please send the output of uname -a and ls -la /boot Here they go: FreeBSD domain.tld 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #2: Wed Jul 4 13:29:40 CEST 2007 root@domain.tld:/usr/obj/usr/src/sys/LISTS i386 $ ls -la /boot total 836 drwxr-xr-x 6 root wheel 512 Jan 21 07:21 . drwxr-xr-x 23 root wheel 512 Jan 19 18:06 .. -r--r--r-- 1 root wheel 7638 Jan 22 2007 beastie.4th -r--r--r-- 1 root wheel 8192 Jan 21 07:21 boot -r--r--r-- 1 root wheel 512 Jan 22 2007 boot0 -r--r--r-- 1 root wheel 512 Jan 21 07:21 boot0sio -r--r--r-- 1 root wheel 512 Jan 22 2007 boot1 -r--r--r-- 1 root wheel 7680 Jan 21 07:21 boot2 -r--r--r-- 1 root wheel 1201 Jan 21 07:21 cdboot drwxr-xr-x 2 root wheel 512 Jan 21 07:21 defaults -r--r--r-- 1 root wheel 1741 May 7 2006 device.hints -r--r--r-- 1 root wheel 2249 Jan 22 2007 frames.4th drwxr-xr-x 2 root wheel 9728 Jan 21 07:21 kernel.old -r-xr-xr-x 1 root wheel 217088 Jan 21 07:21 loader -r--r--r-- 1 root wheel 7772 Jan 22 2007 loader.4th -rw-r--r-- 1 root wheel 0 Sep 8 2006 loader.conf -r--r--r-- 1 root wheel 15219 Jan 22 2007 loader.help -r-xr-xr-x 1 root wheel 212992 May 7 2006 loader.old -r--r--r-- 1 root wheel 389 May 7 2006 loader.rc -r--r--r-- 1 root wheel 512 Jan 22 2007 mbr drwxr-xr-x 2 root wheel 512 May 7 2006 modules drwxr-xr-x 2 root wheel 9728 Jan 21 07:21 mykernel.old -r--r--r-- 1 root wheel 219136 Jan 21 07:21 pxeboot -r--r--r-- 1 root wheel 692 Jan 22 2007 screen.4th -r--r--r-- 1 root wheel 36440 Jan 22 2007 support.4th Thank you! I can repeat upgrade/install procedure but will it help? Thanks! Zbigniew Szalbot