Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2011 17:33:03 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Antonio Olivares <olivares14031@gmail.com>
Cc:        freebsd-current@freebsd.org, Michal Varga <varga.michal@gmail.com>
Subject:   Re: How does one install kernel sources and base
Message-ID:  <5A201C93-8E29-4067-896E-42F07D5AE60A@gmail.com>
In-Reply-To: <CAJ5UdcP5RLusPYZxvoesBb_HR65zSf2CLX%2B=JOUm8LT%2B1kOS=A@mail.gmail.com>
References:  <CAJ5UdcPpG5DYJK-uwZHxfh1HcHNZMAs-PSiH3--Y=g8Jrk2WNA@mail.gmail.com> <1316359940.1744.28.camel@xenon> <CAJ5UdcP5RLusPYZxvoesBb_HR65zSf2CLX%2B=JOUm8LT%2B1kOS=A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 19, 2011, at 5:22 PM, Antonio Olivares wrote:

>>=20
>> *default host=3Dcvsup5.FreeBSD.org
>> *default base=3D/var/db
>> *default prefix=3D/usr
>> *default release=3Dcvs tag=3D.
>> *default compress delete use-rel-suffix
>> src-all
>>=20
>> Save your config file (or so called supfile) someplace and run it as:
>> # csup your.supfile
>>=20
>> csup will download the latest source tree for kernel and base OS.
>>=20
>> Also, see FreeBSD Handbook for more information on using csup (or the
>> older, but functionally identical cvsup), and for many other =
questions
>> regarding general FreeBSD installation and maintenance:
>>=20
>> http://www.freebsd.org/doc/handbook/cvsup.html
>=20
> Michal,
>=20
> Thank you very much for your detailed instruction.  I was able to get
> all of the sources and built nvidia driver successfully :)
>=20
> However, when I run kldload nvidia, I get a mismatch with the running
> kernel and an incompatible ?????.  I cannot post exact error as the
> machine gives me no X :(, I checked to see if enabling hald and dbus
> at /etc/rc.conf would make a difference and they have not :(, I have
> also tried nouveau and it also does not work.  No working X on FreeBSD
> 9.0 BETA 2 amd64, ports updated to latest, xorg, xorg-server, xfce4,
> ... I will post in the thread I created on this issue.

	A not very well documented hint..

$ grep PORTS_MODULES=3D /etc/src.conf=20
PORTS_MODULES=3D		emulators/virtualbox-ose-kmod =
x11/nvidia-driver

	You'll also need to boot with the new kernel. Be sure to read =
the complete handbook chapter on how to update your system from source =
if you plan to go that route.
	Once things go release you might be able to update your binaries =
via freebsd-update.
	If this seems really complicated and you want a simplified =
desktop experience, there's also PCBSD.
HTH,
-Garrett=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5A201C93-8E29-4067-896E-42F07D5AE60A>