Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

FreeBSD 6.2 Released To Mirrors

Posted by kdawson on Sun Jan 14, 2007 11:18 PM
from the come-and-get-it dept.
AlanS2002 writes "FreeBSD 6.2 has been released to mirrors. The release notes for your specific platform are also available. FreeBSD is an advanced operating system for x86 compatible (including Pentium and Athlon), amd64 compatible (including Opteron, Athlon64, and EM64T), ARM, IA-64, PC-98, and UltraSPARC architectures. It is derived from BSD, the version of UNIX developed at the University of California, Berkeley. It is developed and maintained by a large team of individuals. Additional platforms are in various stages of development."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Availability (Score:5, Informative)

    by cperciva (102828) on Sunday January 14 2007, @11:24PM (#17609506) Homepage
    The release announcement will not be available for a couple of hours. Slashdot jumped the gun as usual.

    Torrents are available. [freebsd.org]

    A script for upgrading FreeBSD 6.1 systems is available. [daemonology.net]
    • Release announcement (Score:4, Informative)

      by cperciva (102828) on Monday January 15 2007, @12:49AM (#17610060) Homepage
      FreeBSD 6.2 has now been announced [freebsd.org].
      • by cperciva (102828) on Monday January 15 2007, @01:43AM (#17610290) Homepage
        nothing has changed other than the version number

        From the release announcement:

        Some of the highlights:
        • freebsd-update(8) provides officially supported binary updates for security fixes and errata patches
        • Experimental support for CAPP security event auditing
        • OpenBSM audit command line tool suite and library
        • KDE updated to 3.5.4, GNOME updated to 2.16.1
        • csup(1) integrated cvsup client now included
        • Disk integrity protection and authentication added to geli(4)
        • New amdsmb(4), enc(4) ipmi(4), nfsmb(4), stge(4) drivers
        • IPFW(4) packet tagging
        • Linux emulation support for sysfs
        • BIND updated to 9.3.3
        • Many driver updates including em(4), arcmsr(4), ath(4), bce(4), ata(4), and iwi(4)
        • nope (Score:4, Interesting)

          by r00t (33219) on Monday January 15 2007, @02:25AM (#17610552) Journal
          UNIX is a trademark. It's even a registered trademark. A trademark is not a copyright. (and not a patent either, nor a trade secret)

          AT+T's lawsuit ran in to problems becuase they hadn't properly protected their code from unpublished disclosure. At the time, copyright law was very different, so this mattered. The judge indicated that AT+T might not have copyright to some things. AT+T was also caught violating Berkeley's copyright.

          On the other hand, the trademark was being violated by BSDI and there may have been some minor problems in the BSD code base.

          So the parties agreed to quit and keep things quiet.

          If you want to use the trademark, you need a license. Licenses are easy to get, provided that you fully and correctly implement an OS that follows a standard called the Single UNIX Specification. FreeBSD violates this standard in many ways, and is thus inelligible for getting a license to use the trademark.

          Linux isn't UNIX either, though it's now close enough that the Open Group can maintain a small list of deviations that need to be voted out of existance.
            • On the whole, the goal is to comply with the SUS. As with most operating systems, the difference is in the implementation and the corner cases.

              The main difference I notice is 'ps'. The Unix spec wants 'ps -ef'. BSD wants 'ps auxww'.

              Some information on current efforts:

  • Wasn't development supposed to be delayed or stalled because of license issues?
  • by Bluesman (104513) on Sunday January 14 2007, @11:46PM (#17609670) Homepage
    I was waiting, and waiting, and waiting for this release.

    So last night I downloaded 6.1 and installed it.

    Voila! 6.2 out today.

    Wanna see it rain? I'm going to go wash my car.
    • Re:Ha! I did it! (Score:4, Informative)

      by linguae (763922) on Monday January 15 2007, @12:32AM (#17609988)

      Luckily, FreeBSD has an excellent system for updating the operating system by source code. This guide [freebsd.org] teaches you how to update to the latest stable release of FreeBSD via source code. It's really nice and works well. Just remember to use FreeBSD-STABLE instead of FreeBSD-CURRENT, unless you are a FreeBSD developer or are interested in the absolute latest development version of FreeBSD, working or not.

      • Re: (Score:3, Informative)

        by Anonymous Coward
        Noooo.!!!! I hate when people recommend STABLE. Use 6.2-RELEASE and then update with security patches. Have you read what STABLE is ?? It's not what you think.
    • Same here, man. I *just* finished installing a 6.1-RELEASE and patching it up to p12, and now I have to start all over again.

      Oh well, I guess that's just the way Beastie likes to torture us sometimes.
  • Upgrading from 4.x (Score:4, Interesting)

    by ShaunC (203807) * on Sunday January 14 2007, @11:52PM (#17609712) Homepage
    I run FreeBSD 4.11 on a number of machines, many of which I have no physical access to. Those who keep up with such things will know that 4.11 will be EOL'd for security purposes as of the end of this month (i.e. the RELENG_4_11 branch will no longer have guaranteed security updates). Does anyone have any experience with a remote, networked upgrade from 4.11 to 6.x? I dread that this is going to become necessary sooner rather than later, and I'm curious if anyone can give any pointers on the migration, or if it's even possible without physical access and burned media.

    Thanks in advance..!
    • But how much from a security standpoint is changing on those systems? You might be better off just leaving them as-is, since the versions of everything on there are old enough that few folks are targeting it anymore. I know our WinNT4 IIS3 server was wonderful despite never having updates available, because IIS3 didn't have any of the features that constantly get attacked!
    • Re: (Score:2, Interesting)

      This is surely a tough upgrade. However, read the FreeBSD handbook section about updating the source tree, as well as the section on rebuilding world. It should give you a step-by-step guide on how to do a source upgrade (the easiest way to do a remote upgrade). Just ignore the stuff about single-user mode - it may be recommended, but it'll still work fine in multiuser if you are careful (eg. try not to have too much going on while doing the upgrade).

      I suggest you go from 4.11 to 5.5 (RELENG_5_5) first, and
    • by cepler (21753) on Monday January 15 2007, @12:22AM (#17609902) Homepage
      From RELNOTES.TXT:

      3 Upgrading from previous releases of FreeBSD

            Source upgrades to FreeBSD 6.2-RELEASE are only supported from
            FreeBSD 5.3-RELEASE or later. Users of older systems wanting to
            upgrade 6.2-RELEASE will need to update to FreeBSD 5.3 or newer
            first, then to FreeBSD 6.2-RELEASE.

      And from INSTALL.TXT:

          Warning: Binary upgrades to FreeBSD 6.2-RELEASE from FreeBSD
                4-STABLE are not supported at this time. There are some files
                present in a FreeBSD 4-STABLE whose presence can be disruptive,
                but are not removed by a binary upgrade. One notable example is
                that an old /usr/include/g++ directory will cause C++ programs
                to compile incorrectly (or not at all).
      • Those kinds of upgrade problems are very subtle. I have a FreeBSD box with filesystem continuity back to 1994 (I think it was 1.1 or 1.1.5 when I installed). At some point sysctl moved from /usr/sbin to /sbin and for more than a year I just thought sysctl was oddly broken, when really I just had one that did not match my kernel in my path.

        Just a warning for those thinking, "how bad could it be??"
    • Re: (Score:3, Interesting)

      Yeah, I called up the datacenter dudes and asked for an upgrade from 5.3 to 6.0. From there, remote upgrades have been smooth.

      I know 4.11 was probably the most stable operating system I've ever used, but I'd recommend a wipe and reinstall (and if you have your non-OS stuff in its own partition, of course, it's always easier).

      Of course, it's not necessarily dangerous to stretch out your 4.11 installations for another year or two, if you'll commit to keeping your ported software upgraded, even if via hand ins
      • You'll have to recompile all ports after the upgrade.
        You won't if you build 6.2 with the FreeBSD 4.x compatibility option. I think this is still on by default, but I'd have to check to be sure.
  • by srinravi (789262) on Monday January 15 2007, @03:14AM (#17610826)

    I downloaded the netboot version of 6.2RC2 some days back and was pleasantly surprised to find that almost all the hardware was correctly recognized. This is a 2 year old compaq laptop with an Ralink PCMCIA wireless card. Not even the latest Linux distros can detect this card but OpenBSD and FreeBSD have the excellent ral [freebsd.org] driver in the kernel. Moreover the configuration is so simple when compared to the mess in Linux (iwconfig,iwpriv,ifconfig??) not to mention the troubles I had with ndiswrapper

    All the BSD's use X.org anyway nowadays, so the folks who are looking for a good GUI environment won't be disappointed. Again, the laptop display settings were correctly detected and I didn't have to touch xorg.conf at all

    Give OpenBSD and FreeBSD a try - you won't regret it. Having said that, prepare to actually RTFM in case you run into problems. 99% of the time the answers are in the fine integrated documentation that comes along with your OS install.

  • by petrus4 (213815) on Monday January 15 2007, @05:37AM (#17611614) Homepage Journal
    ...this is as good an opportunity as any to discover FreeBSD for yourself. As I wrote in my journal, it's a fantastic OS...very much worth obtaining a copy of and investigating.

    I've also noticed how much the comments attached to this article are riddled with trolls, flamebait, and assorted rubbish. Richard Stallman was the first to slander the BSD license and attempt to discourage its' use, and it is obvious that there are Linux users who seek to continue their master's work in that regard, and shame themselves in the process. They tell people a lot more about their own character (or lack thereof) than about that of what they are attacking.
    • by rbanffy (584143) on Monday January 15 2007, @08:14AM (#17612422) Homepage
      Licenses are just that: licenses.

      BSD-like licenses do not prevent your competitors from taking your contributions, improving upon them and keeping the improvements for themselves, turning what you did as open-source into closed-source/proprietary stuff, even using it to compete against you. If you are bigger than other fish, investing in BSD makes more sense.

      GPL-like licenses, on the other hand, would require your competitor to release its improvements keeping the field level. If you find the ideals behind GPL attractive, you will also feel more comfortable that improvements on your work will not become proprietary software. If you are smaller than most of the other fish, GPL makes more sense.

      If we (as a company) were to invest a given amount of resources in an improvement we did wish to keep to ourselves and eventually sell, we could choose a project that had a BSD-like license. If, however, we wanted to use that improvements to foster an ecosystem where no one should gain much advantage over us, we would choose a GPL-licensed project.

      They are tools. You pick the one that makes sense.
    • But does it run on the iPhone or the Apple TV?

      You're thinking of NetBSD that claims to run on everything, not FreeBSD :)
    • by lactose99 (71132) on Monday January 15 2007, @12:24AM (#17609920)
      With 6.2, csup [freebsd.org] is even better...
        • Re: (Score:3, Insightful)

          It updates /usr/src at line speed, as did cvsup. It's not faster, just written in a vastly more common language. I don't think anything will beat portsnap for updating ports since it's downloading a small set of patch files and applying them. There's no filesystem walking required to compare the local and remove versions.
              • Also falling into the "not necessarily better, but interesting" category, portmaster [freshports.org] is a utility much like portupgrade, but it requires no dependencies to build or run. It's worth noting that you end up relying on FreeBSD's pkg_* utilities instead of portupgrade's port* suite. Of course, if you would have Ruby installed anyway, then portupgrade doesn't really cost you anything extra.
    • Re: (Score:3, Interesting)

      FYI, distrowatch donated the money they made from ads to a handful of open source projects, among them FreeBSD. Someone has to be first, and this time it was slashdot. http://www.freebsdfoundation.org/donate/sponsors.s html [freebsdfoundation.org]
    • by BrainInAJar (584756) on Monday January 15 2007, @01:41AM (#17610276)
      FreeBSD is actually a good OS.
      Yes, it's very nice

      Mac users use it,
      No they don't, they use Mach with a BSD api wrapper

      Solaris is based around it,
      No it's not, Solaris was on the SysV side of the SysV/BSD Unix wars (not a bad thing, Solaris is nice too)

      and most of Linux is a cheap ripoff of it.
      No, Linux is a school project based loosely off SunOS & Minix
      • Re: (Score:2, Insightful)

        Hmm... Solaris 1 (aka SunOS 4.x) was BSD based. Solaris 2 ( SunOS 5.x) is SysV based.

      • FreeBSD is the only distro I found that supports the embedded AMI megaRAID controller "out-of-the-box".

        small correction: FreeBSD is not a "distro", it's a full blown OS.

    • I read that too. It was pretty creepy at first. I mean, I was a minor when I was first exposed to Unix, but that doesn't mean other young people should do the same. Some just aren't ready, you know?
    • Re:But... (Score:5, Informative)

      by nacturation (646836) <nacturation AT gmail DOT com> on Monday January 15 2007, @02:11AM (#17610438) Journal

      ..does it run linux?
       
      *runs*
      You probably weren't expecting a serious reply but... yes, it does [freebsd.org]. Note that this isn't running some kind of virtual machine emulation -- it's running Linux binaries natively on the processor and doing some kind of magical remapping of kernel and library calls that, to be honest, I don't understand that well. More details in this article [onlamp.com].
       
      • Re:But... (Score:4, Informative)

        by heroofhyr (777687) on Monday January 15 2007, @06:40AM (#17611938)
        The article has fewer details than the last section of the chapter you linked to, which basically explains everything.

        When the ELF loader sees the Linux brand, the loader replaces a pointer in the proc structure. All system calls are indexed through this pointer (in a traditional UNIX system, this would be the sysent[] structure array, containing the system calls). In addition, the process is flagged for special handling of the trap vector for the signal trampoline code, and several other (minor) fix-ups that are handled by the Linux kernel module.

        The Linux system call vector contains, among other things, a list of sysent[] entries whose addresses reside in the kernel module.

        When a system call is called by the Linux binary, the trap code dereferences the system call function pointer off the proc structure, and gets the Linux, not the FreeBSD, system call entry points.

        In addition, the Linux mode dynamically reroots lookups; this is, in effect, what the union option to file system mounts (not the unionfs file system type!) does. First, an attempt is made to lookup the file in the /compat/linux/original-path directory, then only if that fails, the lookup is done in the /original-path directory. This makes sure that binaries that require other binaries can run (e.g., the Linux toolchain can all run under Linux ABI support). It also means that the Linux binaries can load and execute FreeBSD binaries, if there are no corresponding Linux binaries present, and that you could place a uname(1) command in the /compat/linux directory tree to ensure that the Linux binaries could not tell they were not running on Linux.

        In effect, there is a Linux kernel in the FreeBSD kernel; the various underlying functions that implement all of the services provided by the kernel are identical to both the FreeBSD system call table entries, and the Linux system call table entries: file system operations, virtual memory operations, signal delivery, System V IPC, etc... The only difference is that FreeBSD binaries get the FreeBSD glue functions, and Linux binaries get the Linux glue functions (most older OS's only had their own glue functions: addresses of functions in a static global sysent[] structure array, instead of addresses of functions dereferenced off a dynamically initialized pointer in the proc structure of the process making the call).

        Which one is the native FreeBSD ABI? It does not matter. Basically the only difference is that (currently; this could easily be changed in a future release, and probably will be after this) the FreeBSD glue functions are statically linked into the kernel, and the Linux glue functions can be statically linked, or they can be accessed via a kernel module.

        Yeah, but is this really emulation? No. It is an ABI implementation, not an emulation. There is no emulator (or simulator, to cut off the next question) involved.

        So why is it sometimes called "Linux emulation"? To make it hard to sell FreeBSD! Really, it is because the historical implementation was done at a time when there was really no word other than that to describe what was going on; saying that FreeBSD ran Linux binaries was not true, if you did not compile the code in or load a module, and there needed to be a word to describe what was being loaded--hence "the Linux emulator".

        Also there is this, which is another good explanation of the differences between but support for the two OS's in FreeBSD programming.

        FreeBSD is an extremely flexible system. It offers other ways of calling the kernel. For it to work, however, the system must have Linux emulation installed.

        Linux is a Unix-like system. However, its kernel uses the Microsoft system-call convention of passing parameters in registers. As with the Unix convention, the function number is placed in EAX. The parameters, however, are not passed on the stack but in EBX, ECX, EDX, ESI, EDI, EBP:

        open: mo

      • all userland Linux binaries run just fine
        That's quite a stretch. The Linux compatibility is not complete, but it's still very usable and many Linux binaries run just fine. There are even wrappers for Linux binary browser plugins.
    • Only if you ignore that FreeBSD is a fork of 386BSD, which is itself a fork of 4.3BSD (or more accurately Net/2).
    • by TheRaven64 (641858) on Monday January 15 2007, @06:56AM (#17612010) Homepage Journal
      The first release of Linux was in 1991. FreeBSD 1.0 was not released until 1993 so, in a way, you are right. FreeBSD, however, was a fork of 386BSD, which was first released in 1992, five months after Linux 0.1. 386BSD itself, however, was merely the i386 port of 4.3BSD (unencumbered), and 4.3BSD was released two months before the first public release of Linux. 4.3BSD, of course, was only the latest in a long line of BSD releases. The first release in the 4.x series was in 1980, eleven years before Linux and four years before the GNU project started.

      The i386 was the first Intel chip that had the memory protection mechanisms required to run a real UNIX. Although they were released in 1985, it took some time for people to get around to porting UNIX to run on them. It wasn't until around 1990 that the PC was so firmly entrenched that it made sense to run Linux on such an inferior architecture; people who wanted a real computer but were on a budget got a cheap 68K machine.

    • by RAMMS+EIN (578166) on Monday January 15 2007, @05:56AM (#17611736) Homepage Journal
      Some differences between GNU/Linux and *BSD from the top of my head:

      1. Device names are different. What Linux calls /dev/hda, OpenBSD and NetBSD call /dev/wd0, and FreeBSD calls it /dev/ad0, I believe.

      2. Partition maps are different. Linux uses DOS (or BIOS, I'm not sure where they originate from) partition tables on the PC, and Apple partition tables on Power Macs. I don't know about other architectures. The BSDs use BSD disklabels, where each partition gets a letter (from a to z), with some letters having special meanings (e.g. a is the root device, c is the whole device). For example, if your root partition in /dev/hda1 under Linux, it would be /dev/wd0a in OpenBSD. FreeBSD also supports DOS partitions, but calls them "slices". Linux's /dev/hda1 would be /dev/ad0s1 under FreeBSD, IIRC.

      3. The BSDs do not implement a lot of GNU extensions. This includes library functions (e.g. there's no strndup on OpenBSD), command line switches, and makefile directives. Of course, a lot of software is shared among BSD and GNU systems, but the differences will bite you sometimes. GNU usually implements BSD extensions.

      4. GNU make is usually available on BSD systems, but under the name gmake. make is BSD make, which has a different set of extensions to basic make.

      5. BSD systems provide third-party software primarily through the ports system (called pkgsrc on NetBSD), although binary packages may also be available. This is not common in Linux distributions, although Gentoo mimics the BSDs in this.

      6. There is generally a higher focus on source code. For example, upgrades are typically performed by first getting the latest version of the source code through CVS, and then running "make world".

      7. The BSD startup scripts are usually much simpler than those found on Linux distributions, which typically use SysV style init scripts.

      8. The BSDs consist of a complete operating system that is maintained as a single unit, whereas, with Linux distros, the kernel, libc, core utilities, etc. are usually maintained and upgraded independently.

      9. The BSDs pride themselves on technical quality and good documentation, whereas GNU/Linux is heavier on features and making things work _today_. Complaining about missing features, or asking questions without having read the documentation is likely to rub BSD people the wrong way. Be especially careful with OpenBSD developers.

      10. The BSDs have traditional, monolithic kernels. All have some features available as loadable modules, but the modularization is definitely not strong as in Linux. Stability is considered more important.

      11. The choice of filesystems is more limited on the BSDs than it is on Linux. All support Berkely FFS, as well as some variations on it, fat, and ext2, but there's no ReiserFS, JFFS2, QNX fs, etc.

      12. Among the BSDs, NetBSD focuses on clean code and portability, OpenBSD focuses on security, and FreeBSD is the most featureful. Dragonfly BSD is a fork of FreeBSD that aims to provide a more modern architecture with a microkernel and without the Big Kernel Lock. There are some others, too, but I don't know what they're about.

      Just to put this information in perspective: I've used GNU/Linux since 1996, and OpenBSD for about 5 years. My experience with NetBSD and FreeBSD is only sporadic. I've also created ports for OpenBSD and NetBSD, as well as developed quite some new software for them. If you count Mac OS X as a BSD, I've got about 2 years of experience with it, including the creation of pkgsrc ports for it.
    • The BSDs don't work that way. Linux distros are made up of lots of separate parts, but BSDs are complete packages (for some definition of complete).

      I don't know exactly how things work for FreeBSD, but with OpenBSD, it's like this: the OpenBSD team develops and maintains the whole operating system, consisting of kernel, libc, commands, compiler, documentation, X, etc. When you install, you get to choose sets: bsd, main, comp, etc, games, and so on. Some of these are mandatory, others are optional. This allo