From owner-freebsd-questions@FreeBSD.ORG Wed Jan 1 10:42:11 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 731C874E for ; Wed, 1 Jan 2014 10:42:11 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 49ECE1C9E for ; Wed, 1 Jan 2014 10:42:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=HpdMZdqm2XMk8gHhEW3sMVx/jXl5lKdJFfAGK+udLh8=; b=fGzNEyc/lPFhjowLTBi3OXiOYEWhrX3CSExkibnxgHER87J2SD7h08tJaekO0/1LrnaZwcfR3FPYWnsjDf4ur29xRPFs4Z5K2BSIht81+5Mubh4cYe9obLgCzW1gZiibxyNChdIn4Tiv8MHlxO3IrZvQnKksf7x1nebxFss9dCI=; Received: from [120.180.127.147] (port=56349 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1VyJFZ-000Q6J-JU; Wed, 01 Jan 2014 03:42:10 -0700 Date: Wed, 1 Jan 2014 18:41:42 +0800 From: Erich Dollansky To: freebsd@dreamchaser.org Subject: Re: updating /sys/sys Message-ID: <20140101184142.5f11b3f6@X220.alogt.com> In-Reply-To: <52C3CC18.30407@dreamchaser.org> References: <52C37801.8010001@dreamchaser.org> <20140101114745.3a3e37fb@X220.alogt.com> <52C3CC18.30407@dreamchaser.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jan 2014 10:42:11 -0000 Hi, On Wed, 01 Jan 2014 01:04:40 -0700 Gary Aitken wrote: > On 12/31/13 20:47, Erich Dollansky wrote: > > >> I just used freebsd-update to upgrade from 9.1 to 9.2. Everything > >> seemed to go properly, but if I look at /sys/sys all of the .h > >> files say something like: * $FreeBSD: release/9.0.0/sys/sys/cons.h > >> 196506 2009-08-24 10:53:30Z ed $ > >> > >> /etc/freebsd-update looks like: > >> > >> ... Components src world kernel IgnorePaths ... > >> > >> Why aren't they updated? > > > > why should they? They define the 'interface' to the implementation. > > It is most important that these interfaces do change as little as > > possible especially in a STABLE version. > > If I think about it, it seems that what you say should be the case. > However, if you download the src tarball and do some diffs, you will > see that many of them are in fact different; how significant those > differences are, I'm not sure. I hit this problem trying to build > sysutils/lsof quite a while ago. It still doesn't build for me after > upgrading to 9.2. I never used a 9.X, so I do not know. If .h files are changed - I mean not just the comments - it is not possible to run old binaries from the version before. But binaries from 9.0 should run on 9.2. > > > They can change when you update to 10 and they can change all the > > while on CURRENT but not on RELEASE versions like 8 and 9. > > Maybe that *should* be the situation, but it is not in actuality. It happens for parts which under development. > > >> What's the best way to get them updated? > > > > You should have the current version if nothing is mentioned in > > UPDATING. > > I ended up getting them via the src.txz tarball: > ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/9.2-RELEASE/ > > Moving the 9.0 /usr/src/sys/sys directory to the side and symlinking > to the usr/src/sys/sys directory from the 9.2 tarball allows it to > compile. Sounds strange. Every RELEASE must compile. At least the world has to compile. It is a different story for a custom build kernel. There is the chance that you select a combination of options which will not result in a working kernel. Sometimes, this is documented, sometimes, it is not. Erich > > Gary > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"