From owner-freebsd-questions@FreeBSD.ORG Tue Mar 4 20:00:38 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 4731F106566B; Tue, 4 Mar 2008 20:00:38 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id EB2268FC27; Tue, 4 Mar 2008 20:00:37 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id m24K0XSu094414; Tue, 4 Mar 2008 14:00:34 -0600 (CST) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id R6QRstcJe-h3; Tue, 4 Mar 2008 14:00:27 -0600 (CST) Received: from daleco.biz (dsl.daleco.biz [209.125.108.70]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id m24K0MBm094410; Tue, 4 Mar 2008 14:00:24 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <47CDAA50.2060104@daleco.biz> Date: Tue, 04 Mar 2008 14:00:16 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <47CC36C9.7020402@daleco.biz> <47CC5E2A.8090800@FreeBSD.org> <47CC72C8.5070905@daleco.biz> <47CC782D.3090005@FreeBSD.org> <47CC81FE.6050206@daleco.biz> <47CD9E82.9030606@FreeBSD.org> In-Reply-To: <47CD9E82.9030606@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: philip@ridecharge.com, FreeBSD-Questions Subject: Re: Uname borked on ??-Release... 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: Tue, 04 Mar 2008 20:00:38 -0000 Kris Kennaway wrote: > Kevin Kinsey wrote: > >> Kris Kennaway wrote: >> >>>> >>>> >>>>>> I get the following from uname -a: >>>>>> >>>>>> FreeBSD archangel.daleco.biz 6.2-RELEASE FreeBSD 6.2-RELEASE #6: >>>>>> Sat Jun 2 09:22:50 CDT 2007 root@archangel.daleco.biz: >>>>>> /usr/obj/backup/src/sys/GENERIC i386 >>>>>> >>>>>> However, I rebuilt world, more or less without issues, >>>>>> twice in February with "RELENG_6" in the supfile. This >>>>>> didn't change uname's output, and that worried me a bit. >>>>>> >>>>>> So, to make matters bette^H^H^H^Hadder, I csup'ped >>>>>> to RELENG_7_0 the day after it was released, read >>>>>> /usr/src/UPDATING, and the webpage detailing the >>>>>> upgrade, and did another buildworld/kernel cycle. >>>>>> Now I have no idea if I'm on 6 or 7 (seems like >>>>>> 7, but many ports issues, and I've rebuilt them >>>>>> all), and it's just becoming a major PITA. >>>>> >>>>> >>>>> You didnt succeed in installing the new kernel. 'make >>>>> installkernel' is the step in which this occurs. >>>>> >>>> Thank you and Phillip for answering my post. However, >>>> I've done this 3 times now, and I don't skip that step. >>>> There have been no errors in the process, either. >>>> >>>> I've rebooted the system, and I'm still being told I'm running >>>> 6.2 by uname. In addition, pkg_add thinks I should be looking >>>> for 6-latest packages instead of 7, and the list of annoyances >>>> continues. And, "hmm", symbols? I'm guessing that knob is ON >>>> in FBSD7? Once again, proof that something's wrong, as I didn't >>>> build debugging kernels in FBSD6 ... so I'm thinking this is >>>> a 7 kernel? It just doesn't make sense to me. >>>> >>>> It *is* a Monday, after all. If installkernel didn't succeed, >>>> shouldn't there be any other evidence? Could skipping a mergemaster >>>> at some point have this effect? >>> >>> >>> Possibly you have 6.x sources still. Or you are not actually booting >>> /boot/kernel/kernel but some other kernel. Check sysctl >>> kern.bootfile. You can also do >>> >>> strings /boot/kernel/kernel | grep 7.0-RELEASE >>> >>> to verify the kernel version string. >> >> >> #sysctl kern.bootfile >> kern.bootfile: /boot/kernel/kernel >> >> #strings /boot/kernel/kernel | grep 0-RELEASE >> @(#)FreeBSD 7.0-RELEASE #1: Thu Feb 28 12:22:38 CST 2008 >> FreeBSD 7.0-RELEASE #1: Thu Feb 28 12:22:38 CST 2008 >> 7.0-RELEASE >> >> #ls -l /boot/kernel/kernel >> -r-xr-xr-x 1 root wheel 9294687 Feb 28 12:22 /boot/kernel/kernel* >> >> Well, fudging around with uname's source shows that it's basically >> calling some sysctls, so maybe the question >> is, with what I have above, why do I still have: >> >> sysctl -a | grep kern.osre >> kern.osrelease: 6.2-RELEASE >> kern.osrevision: 199506 >> kern.osreldate: 602000 > > What about strings /boot/kernel/kernel | grep 6.2-RELEASE? > > Kris As I would expect, it returns nothing at all. Kevin Kinsey