Re: How does one install kernel sources and base
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=
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 5 之 7 篇):