Re: kernel upgrades

2008-09-19 Thread Sean Cavanaugh



--
From: "Joe Tseng" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2008 7:03 AM
To: 
Subject: kernel upgrades


I'm still new to FreeBSD (coming from CentOS/Ubuntu) so this might be
something totally obvious to others...  I know I can update ports by using
portsnap fetch/extract/update - does this update the kernel source as 
well?

How do I apply this new code?

- Joe
If you are using the GENERIC kernel, just use freebsd-update to get any 
updates for the OS. otherwise I would use CVS to update kernel source code. 
can get the STABLE branch then 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kernel upgrades

2008-09-19 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joe Tseng wrote:
> I'm still new to FreeBSD (coming from CentOS/Ubuntu) so this might be
> something totally obvious to others...  I know I can update ports by using
> portsnap fetch/extract/update - does this update the kernel source as well?
> How do I apply this new code?
> 
> - Joe

Hi Joe,

Welcome to the FreeBSD world!  I am also a Linux convert and have had
great success with FreeBSD over the past several years.

I use the freebsd-update utility
(http://www.freebsd.org/cgi/man.cgi?query=freebsd-update&apropos=0&sektion=0&manpath=FreeBSD+7.0-RELEASE&format=html)
to perform binary upgrades on the servers that I manage.

Be aware that it only supports upgrading GENERIC kernels.  If you have a
custom kernel, read the bottom of this post for information about how
freebsd-update handles that:
http://www.mavetju.org/mail/view_message.php?list=freebsd-stable&id=2642739

You can use freebsd-update to upgrade FreeBSD minor releases as well as
major releases.  Check out these blog postings for more information:

http://www.daemonology.net/blog/2007-11-10-freebsd-minor-version-upgrade.html
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html

Best of luck, and post back to this mailing list with additional
questions that you might have.

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI06m00sRouByUApARAmpSAJ9VbW/J8u20IfU1ze5NnK1ftYgwiwCgxARM
fnckD+dNqFAeHaLIxQuH8Ck=
=ZkmK
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kernel upgrades

2008-09-19 Thread Ivan Voras
Joe Tseng wrote:
> I'm still new to FreeBSD (coming from CentOS/Ubuntu) so this might be
> something totally obvious to others...  I know I can update ports by using
> portsnap fetch/extract/update - does this update the kernel source as well?

No, you need to do two things:

1) copy /usr/share/examples/cvsup/standard-supfile somewhere, and edit
it to fetch the right version of the sources from the right server. If
you want to get exactly the version you have installed, you only need to
change the server. Look for the line starting with "*default host=" and
find a host near you from this page:
http://www.freebsd.org/doc/en/books/handbook/cvsup.html
2) run "csup your-supfile" - this will fetch kernel and base system
sources (note that utilities like "ls", "top", "sendmail" etc. are not
ports in FreeBSD; also note that the cvsup client integrated into the
base system in all recent versions of FreeBSD is "csup" not "cvsup".

> How do I apply this new code?

Read here:
http://www.freebsd.org/doc/en/books/handbook/kernelconfig.html and
here:http://www.freebsd.org/doc/en/books/handbook/makeworld.html

In short:

# cd /usr/src
# make buildworld && make kernel && make installworld && mergemaster -U
&& reboot




signature.asc
Description: OpenPGP digital signature


Re: kernel upgrades

2008-09-19 Thread Andreas Rudisch
On Fri, 19 Sep 2008 07:03:25 -0400
"Joe Tseng" <[EMAIL PROTECTED]> wrote:

> I know I can update ports by using portsnap fetch/extract/update - 
> does this update the kernel source as well?

No, it does not.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpRjcBSLa6w3.pgp
Description: PGP signature


Re: Kernel Upgrades and Patches

2004-01-17 Thread Harald Schmalzbauer
On Saturday 17 January 2004 11:37, Loren M. Lang wrote:
> Are there any patches available for the FreeBSD kernel to support
> features like acpi or usb 2.0 without upgrading to a full 5.1 kernel or
> is it possible to use the 5.1 kernel without a full upgrade?

No. FreeBSD is released as a complete operating system and not just a kernel 
with distributions arround it. If you want to run FreeBSD you will have to 
run the operating system.
But of course you can get the code you want by cvs.

>
> I'm curious if I could do something like in was doing in Linux before
> linux 2.6 was officially released where I had the choice to run a 2.6
> test kernel or load a 2.4 kernel so I could try out some of the new
> features without dedicating my system to running it full time in case
> of any stability problems.  I did have to upgrade a few core packages,
> but I could just upgrade each one individually, and they were all fully
> backward compatible and had no stability issues, by themselves.

You have the choice to run -RELEASE, -STABLE or -CURRENT.
What you are looking for is -CURRENT. There you can test anything you want and 
take part in development.
For production use you should run RELEASE and you can also run a second 
installation on your test machine like -STABLE.
For more info see the FreeBSD Hnadbook, especiallay:
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html


>
> Also, are there many patches for trying out new features like improving
> latency on a system or trying out a new scheduler?  (These are just
> examples I took from linux.)

Indeed, there is currently a new scheduler in FreeBSD. You can choose it by 
compiling your own customized kernel. Also see the handbook for further info 
(You need "options SCHED_ULE")

>
> And lastly, is there anyway to emulate running a linux device driver
> or is it easy to port it to freebsd?

No device driver. But you ave a userland emulation.

-Harry


pgp0.pgp
Description: signature