|
NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster? |
|
Thread Tools | Display Modes |
|
|||
track current kernel
Hi,
I am a long time linux user and i figure out i should give netbsd a try. I downloaded NetBSD 4.0 installed it on my system. I read http://www.netbsd.org/docs/current/ but it's not so well structured for my taste I just can't figure out a few things. I want to test the latest kernel (current) so i get it through anoncvs (equivalent as taking the linux source with git i'm not lost here :P). Now do I have to get anything else on a fresh installed NetBSD4.0 to compile and use the current kernel just for testing? There are a lot of informations on that site i just can't figure out which one to follow. I don't want my whole system current just want to get the current kernel compile it and put it along with the one i have so i can chose to run it. So please help a confused young netbsd user. Thanks |
|
|||
Quote:
Last edited by ocicat; 3rd May 2008 at 05:59 AM. |
|
|||
Well correct me if i'm wrong because i tried it 6 times and it always
fails and it takes a hell lot of time. One clean install of NetBSD 4.0 #cd /usr #mkdir src objdir tooldir #chown someuser src/ objdir/ tooldir/ as someuser: $export CVSROOT=anoncvs@anoncvs.se,NetBSD.org:/cvsroot $export CVS_RSH=ssh $cvs checkout -PA src also today to make sure i'm up to date: ---------------------------- $cd /usr/src $cvs -q -d $CVSROOT update -dP #chown -R someuser:wsrc /usr/src #chmod -R u=rwx,g=rwx /usr/src ------------------------------ $cd /usr/src $./build.sh -O ../objdir -T ../tooldir -U -u tools $./build.sh -O ../objdir -T ../tooldir -U -u distribution (also tried release) well this is where it fails miserably with release or distribution So please HELP because this trial && error process is taking a painfull amount of time. Thanks. |
|
|||
I feel the best advice you can receive at this point is to indicate that there is a mailing list specific to discussions about -current called current-users@. You can find information on subscribing at the following:
http://netbsd.org/mailinglists/#current-users I suspect a number of people are apprehensive on discussing this matter further publicly due to the fact that you intentionally want to maintain a very distinct difference between the kernel's version & userland. As mentioned before, this may be acceptable in the Linux world, but in the *BSD world the two are much more tightly integrated. Most people are very carefully about making sure that the two are synchronized. |
|
|||
For those interested, the OP did post this question over on netbsd-users@, & the thread can be found at the following:
http://marc.info/?t=120977126300001&r=1&w=2 The moral of the story is that 4.0 & -current have diverged too much for this to work. I suspected this, but didn't know definitively... |
|
|||
To track the current kernel you will also need a current userland (it wont work correctly with 4.0 userland) so install a current snapshot install cd (you can find it on ftp or just build it yourself).
To track the development you will only need cvs and build.sh. |
|
||||
I used to play with --current some years ago, because of a feature that i wanted and even the machine itself worked nicely , sometimes compiling the the --current failed badly.
U should use --current "if u have to" or if u want to play or test the hard way, otherwise use some stable source. Reg /T |
|
|||
Using Xen to track -current
Hi there.
When I wanted to start tracking -current, I investigated Xen. You may want to set up a virtual machine just for that. That way, in case of a blow up, your main installation is probably safe. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
NetBSD New kernel modules in NetBSD-CURRENT (instead LKM) | vermaden | News | 1 | 17th May 2015 11:06 PM |
OpenBSD4.5 current to current... | valorisa | OpenBSD Installation and Upgrading | 7 | 6th June 2009 09:26 AM |
pf: Does pf have the ability to src-track created/established connections? | gen2ly | OpenBSD Security | 3 | 27th February 2009 03:10 PM |
Looks like -CURRENT has a new toy.. | BSDfan666 | OpenBSD General | 21 | 27th October 2008 06:36 PM |