Re: Wrong version of sources?
On Sun, 02 Sep 2012 08:51:33 +0300, Alexander Kapshuk wrote: On 09/02/2012 03:21 AM, Walter Hurry wrote: My standard- supfile (copied from examples with only the default host changed) says 'tag=RELENG_9'. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html RELENG_9 The line of development for FreeBSD-9.X, also known as FreeBSD 9-STABLE You're running 9.1-RC1, which doesn't have the RELENG_9_1 tag available yet, as this is a release candidate. Thus the trouble when compiling VBox from sources. Have you rebuilt your kernel and the world once you'd pulled in the sources for RELENG_9? Anyway, that's my take on it. Thanks for the reply. No, I haven't rebuilt kernel and world, nor do I intend to for the moment. I'm happy to stick with generic. I'm still slightly confused by this tag stuff though; sorry (despite perusal of the handbook). Are you saying that until RELENG_9_1 is made available I won't be able to compile kernel modules? Or that I should have a different tag in my standard-supfile? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wrong version of sources?
[ Walter Hurry wrote on Sun 2.Sep'12 at 13:19:44 + ] On Sun, 02 Sep 2012 08:51:33 +0300, Alexander Kapshuk wrote: On 09/02/2012 03:21 AM, Walter Hurry wrote: My standard- supfile (copied from examples with only the default host changed) says 'tag=RELENG_9'. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html RELENG_9 The line of development for FreeBSD-9.X, also known as FreeBSD 9-STABLE You're running 9.1-RC1, which doesn't have the RELENG_9_1 tag available yet, as this is a release candidate. Thus the trouble when compiling VBox from sources. Have you rebuilt your kernel and the world once you'd pulled in the sources for RELENG_9? Anyway, that's my take on it. Thanks for the reply. No, I haven't rebuilt kernel and world, nor do I intend to for the moment. I'm happy to stick with generic. I'm still slightly confused by this tag stuff though; sorry (despite perusal of the handbook). Are you saying that until RELENG_9_1 is made available I won't be able to compile kernel modules? Or that I should have a different tag in my standard-supfile? To have the 9.1-RC1 source code, use the stable-supfile in /usr/share/examples/cvsup/ and build world and kernel using that source tree. That will give you a 9.1-RC1 system. So that would be a RELENG_9 tag if you look in that stable-supfile. Then, when 9.1-RELEASE is officially released, you'd use the standard-supfile which uses a RELENG_9_1 tag if you wanted to stay with the -RELEASE brach. Or you could just continue to track stable branch and keep the RELENG_9 tag. That's what I am doing currently although I intend on tracking stable branch anyway, i.e. after 9.1-RELEASE has been made available. Jamie. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wrong version of sources?
On 09/02/12 16:19, Walter Hurry wrote: Thanks for the reply. No, I haven't rebuilt kernel and world, nor do I intend to for the moment. I'm happy to stick with generic. By using the RELENG_9 tag, you're tracking the STABLE development branch. By pulling in the sources for the STABLE development branch and rebuilding the kernel and the world by following the instructions given in the Handbook, you are sticking with the GENERIC kernel configuration, unless you build a custom kernel. I'm still slightly confused by this tag stuff though; sorry (despite perusal of the handbook). Are you saying that until RELENG_9_1 is made available I won't be able to compile kernel modules? Or that I should have a different tag in my standard-supfile? That's right. RELENG_9_1 isn't available yet. The options available to you now, as far as I can tell, are: (1). Do not recompile the kernel and the world, if you want to track 9.1-RC, to be followed by RELENG_9_1, once it becomes available. You may use freebsd-update(8), to keep the system up-to-date by way of binary updates. Once release 9.1 is out, you may change RELENG_9 in your sup-file to RELENG_9_1, and then you'll be tracking the release branch and you'll be able to keep the kernel and the world up-to-date by way of source updates. Use pkg_add(1) to install VBox. (2). Stick with RELENG_9, which is the STABLE development branch. Pull in the latest sources. Rebuild the kernel and the world. You may be prompted to rebuild the ports installed on your system as well. Use pkg_add(1) or the ports to install software. If any one else on the list thinks otherwise, as they are more experienced folk on the list than I, I'd be happy to stand corrected. Hope the above helps. Alexander Kapshuk. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wrong version of sources?
On 02/09/2012 14:33, Jamie Paul Griffin wrote: To have the 9.1-RC1 source code, use the stable-supfile in /usr/share/examples/cvsup/ and build world and kernel using that source tree. That will give you a 9.1-RC1 system. So that would be a RELENG_9 tag if you look in that stable-supfile. Then, when 9.1-RELEASE is officially released, you'd use the standard-supfile which uses a RELENG_9_1 tag if you wanted to stay with the -RELEASE brach. Or you could just continue to track stable branch and keep the RELENG_9 tag. While this advice was correct for all previous FreeBSD releases, cvsup(8) support for 9.1-RELEASE is not going to be provided. See this message from re@: http://lists.freebsd.org/pipermail/freebsd-stable/2012-August/069233.html Ken Smith wrote: With both the doc and ports repositories now moved to SVN it has been decided to not export the 9.1 release branch activity to CVS. So csup/cvsup update mechanisms are not available for updating to 9.1-RC1. If you would like to use SVN the branch to use is releng/9.1. Instead, you will be able to use freebsd-update to track 9.1-RELEASE (including system sources), or you can use SVN to follow the releng/9.1 branch. You will still be able to use cvsup to track RELENG_9 aka. 9.1-STABLE aka. stable/9. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Wrong version of sources?
I am having trouble with virtualbox-ose-additions. This is 9.1-RC1 on amd64 in a VirtualBox VM. It builds from the port (DISTVERSION= 4.1.20), but on reboot, the kernel module refuses to load,, complaining of a version mismatch with the kernel. When I install the binary version (4.1.18) using 'pkg_add -r' it is fine. This induces me to suspect that I have the wrong version of the kernel sources installed. I installed the source tree with csup. My standard- supfile (copied from examples with only the default host changed) says 'tag=RELENG_9'. I must be doing something wrong, but what? Please forgive me if this is a silly question; I am fairly new to FreeBSD, being a refugee from Linux. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wrong version of sources?
On 09/02/2012 03:21 AM, Walter Hurry wrote: My standard- supfile (copied from examples with only the default host changed) says 'tag=RELENG_9'. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html RELENG_9 The line of development for FreeBSD-9.X, also known as FreeBSD 9-STABLE You're running 9.1-RC1, which doesn't have the RELENG_9_1 tag available yet, as this is a release candidate. Thus the trouble when compiling VBox from sources. Have you rebuilt your kernel and the world once you'd pulled in the sources for RELENG_9? Anyway, that's my take on it. Alexander Kapshuk. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org