Slashdot Mirror


Debian Gets FreeBSD Kernel Support

mu22le writes "Today Debian gets one step closer to really becoming 'the universal operating system' by adding two architectures based on the FreeBSD kernel to the unstable archive. This does not mean that the Debian project is ditching the Linux kernel; Debian users will be able to choose which kernel they want to install (at least on on the i386 and amd64 architectures) and get more or less the same Debian operating system they are used to. This makes Debian the first distribution, and probably the first large OS, to support two completely different kernels at the same time."

111 of 425 comments (clear)

  1. I run Debian, and I run FreeBSD. by palegray.net · · Score: 4, Funny

    But with FreeBSD doing Linux apps, and Debian able to run the FreeBSD kernel, things are getting kinda weird in UNIX-land.

    I think I need to lie down now.

    1. Re:I run Debian, and I run FreeBSD. by MichaelSmith · · Score: 4, Interesting

      Not to mention Android using the linux kernel with a netbsd userland. I guess google don't want to mess with GPLv3.

    2. Re:I run Debian, and I run FreeBSD. by RiotingPacifist · · Score: 5, Interesting

      FreeBSD
      *is more secure (apparently, i don't know enough to be sure but they're development model and security results do tend to suggest this)
      *has zfs,
      *etc

        while linux has other advantages,
      *hardware support for many newer devices,
      *faster boot (i think),
      *lvm (imho when snapshot merging merges, i think it can compete with zfs)
      *etc

      So while I think the biggest difference though is the licensing, there are some pretty big differences that affect users.

      --
      IranAir Flight 655 never forget!
    3. Re:I run Debian, and I run FreeBSD. by thedrx · · Score: 5, Funny

      "This makes Debian the first distribution, and probably the first large OS, to support two completely different kernels at the same time."

      Two kernels? At the same time? I'll be in my bunk.

    4. Re:I run Debian, and I run FreeBSD. by johnsonav · · Score: 5, Funny

      You know what I'd do with a million bucks?

      Two kernels at the same time.

      --
      ... and that's when the C.H.U.D.'s came at me.
    5. Re:I run Debian, and I run FreeBSD. by syousef · · Score: 5, Funny


      You know what I'd do with a million bucks?

      Two kernels at the same time.

      Just 2??? For a million bucks? You're aiming to low. Imagine a beowulf cluster of them!

      --
      These posts express my own personal views, not those of my employer
    6. Re:I run Debian, and I run FreeBSD. by Anonymous Coward · · Score: 5, Informative

      ZFS is nice, but thus far FreeBSD's port isn't.

    7. Re:I run Debian, and I run FreeBSD. by metamechanical · · Score: 5, Insightful

      *faster boot (i think)

      As an honest question (from someone who, not that it matters, runs both slackware at home and xp at work), what's with the obsession with boot time? Can anyone explain why the free software community is so obsessed with this metric? I understand that embedded devices are better when they boot immediately - nobody wants to have to wait to make toast - but to boot a computer? Don't most people just sleep or hibernate their computer these days anyway? I think that before yesterday, the last time I rebooted this machine was a couple months ago. I don't mean this as a slight - it's an honest question.

      --
      If I had a nickel for every time I had a nickel, I'd be richcursive!
    8. Re:I run Debian, and I run FreeBSD. by sortius_nod · · Score: 2, Interesting

      I'm confused by it myself. My machines don't even go to sleep or hibernate. Sure, we don't want stupidly long boot times when we do need to reboot, but that's what, once a month, once a year, once a decade if your server is in good health?

      I'd say forget fast boot times unless it's a netbook or embedded device.

    9. Re:I run Debian, and I run FreeBSD. by mikesd81 · · Score: 3, Insightful

      At the risk of burning some karma, I have to agree with you. Now, it's cool w/ the Linux BIOS that supports quite a bit of main boards, but really when I have to turn on my computer, after I restarted it or whatever, I use that time as I would a commercial on TV. Go take a leak, get a coffee, something like that. I can understand some times where a non-embedded system would want an instant-on type boot. Like a computer I want to install in my Jeep to run my mp3's and GPS. I don't want be driving and not have it booted until I get to my destination. Unless we're looking at the boot part wrong and people refer it to once the computer is started, and then all the programs that automagically start take a long time?

      --
      That which does not kill me only postpones the inevitable.
    10. Re:I run Debian, and I run FreeBSD. by Anonymous Coward · · Score: 3, Interesting

      Up until recently, I had so many problems with sleep/hibernate on every computer I put linux (whether it was fc, gentoo, debian, ubuntu, etc) that I never turned them on. I also didn't want to leave most of them running when I didn't need them so I turned them off to save power. I'm not sure about anybody else, but to me in the above scenario, boot time equated to whether or not I actually booted to linux, or just let it sleep/hibernate in windows.

    11. Re:I run Debian, and I run FreeBSD. by Anthony_Cargile · · Score: 5, Interesting

      Two kernels? At the same time? I'll be in my bunk.

      That's essentially what cooperative Linux does, runs a Linux kernel and the NT kernel at the same time, often with a special X emulator to get full-blown Linux apps running in Windows userspace with better support than with Cygwin. I still can't wrap my head around how the two kernels yield to each other in respect to the PC architecture, but it's an interesting project - guaranteed to keep you in your bunk for a while ;)

    12. Re:I run Debian, and I run FreeBSD. by vadim_t · · Score: 2, Insightful

      It probably comes from the earlier days, where people were using things like Pentium 1 machines with 32MB RAM, and had badly tuned distributions that offered to install everything.

      The user, not really knowing what they wanted went with that option, expecting something like a complete Windows install. The result would be a machine that took 5 minutes from the moment the kernel started loading, due to loading apache, portmap, bind, NIS, and a whole lot of other things most people had no clue what they were for.

      These days it's not near so bad, but I guess the geeky interest in optimizing everything to the max remains. And if the computer can boot in one minute instead of two with no loss of functionality, why not?

    13. Re:I run Debian, and I run FreeBSD. by kv9 · · Score: 4, Funny

      now all they (Debian) need to do is replace the userland with a BSD one (preferably Net) and we'll have a proper OS.

      *zing*

    14. Re:I run Debian, and I run FreeBSD. by TaoPhoenix · · Score: 2, Funny

      George Orwell on Operating Systems!

      "And there, Free BSD was doing Linux, and Debian Linux can run the BSD kernel, and lo, you could no longer tell them apart".

      --
      My first Journal Entry ever, in 8 years! http://slashdot.org/journal/365947/aphelion-scifi-fantasy-horror-poetry-webzine
    15. Re:I run Debian, and I run FreeBSD. by iris-n · · Score: 5, Interesting

      Energy saving.

      I turn off my computer every night, when it isn't downloading something. It's about 6 hours of near-zero power consumption every day. If everyone did that it would make a difference in energy use. I could just suspend, but if it isn't going to do anything anyway, let's save a couple more joules, shall we?

      And when I boot it in the morning, I don't want to have to wait two minutes just to see xkcd.

      Especially since Arjan demonstrated it was so easy to optimise the process.

      I think if the boot was quick to begin with, people wouldn't have got this bad habit of leaving the computer on 24/7. Just because Linux can run months straight doesn't mean that it should.

      --
      entropy happens
    16. Re:I run Debian, and I run FreeBSD. by itzdandy · · Score: 4, Insightful

      A couple reasons for quicker boot:

      kernel or driver updates that cannot be dynamically unloaded and reloaded require a reboot. If you want to keep your system patched up to fix bugs and insecurities you will need to reboot at some point. Might sound like a trivial scenario but a long boot process can deter you from doing the necessary update.

      Laptops and other mobile devices should boot quickly. Granted, suspend and hybernate are good options but these systems do need to be rebooted on occasion and nothing sucks more than a 5 minute reboot when your battery is low and you are on an airplane. believe it or not, sometimes X crashes and the system cant shake the leftovers because of an nvidia driver quirk.

      virtual machine environments where bringing up more computing resources in a hurry is necessary and a fast booting VM image is necessary.

      and lastly, the drive to make things work faster is what keeps the gears of progress spinning. If we get content to have slow bootup then we will always have slow bootup.

    17. Re:I run Debian, and I run FreeBSD. by Ilgaz · · Score: 3, Interesting

      Apple's port too :) http://zfs.macosforge.org/trac/wiki/

        I mean they do a great work but it is basically not ready for prime time. For OS X, Prime Time means at least time machine support, data write/read (including all metadata, even Finder flags) support, Disk Utility GUI support and at last, boot support. Of course, don't forget no kernel crashes should happen and it should handle massive abuse, uptime and even sleep without any glitches. If a Mac doesn't sleep when no programs running, it is generally taken to service by end user.

      Things go really complex when your potential ZFS loving users are professionals doing things with Resource (metadata) enabled files (e.g. Photoshop) and expect exact (not 99.9) feature compatibility with HFS+. If ZFS really rolled out in Leopard (10.5) release, there were even people asking for commercial, high end disk utility (like Disk Warrior) support.

      What ZFS needs is a very practical use and the proof of how modern it is. Time Machine of OS X is the best thing to prove it to end users. Adding new disks easily when space runs out, snapshots etc. If there is one company which can make ordinary users say "Wow, I really need it" for such a high end filesystem, it is Apple.

      I was actually expecting ZFS on XServe/RAID/OS X Server but I forgot the files stored on them are generally Apple Client files too.

    18. Re:I run Debian, and I run FreeBSD. by Xtravar · · Score: 3, Insightful

      Have you ever fucked up your system and had to reboot for hours of trial and error to fix it? Yeah, me neither... oh wait that was yesterday when I upgraded my kernel!

      I guess if you have to pee every 5 minutes then it's okay, but a disk check is not necessarily what I want to sit through when I can't sleep until my system is fixed.

      --
      Buckle your ROFL belt, we're in for some LOLs.
    19. Re:I run Debian, and I run FreeBSD. by Jurily · · Score: 5, Insightful

      As an honest question (from someone who, not that it matters, runs both slackware at home and xp at work), what's with the obsession with boot time? Can anyone explain why the free software community is so obsessed with this metric? I understand that embedded devices are better when they boot immediately - nobody wants to have to wait to make toast - but to boot a computer?

      Boot time is the only time the computer is on when you can't switch to a browser while waiting for it to do something you want done, but aren't interested in the process. You can do that with copying, torrenting, uncompressing, compiling, encrypting, etc, but not boot.

      Also, because you shouldn't have to wait.

      Don't most people just sleep or hibernate their computer these days anyway?

      I dual boot Gentoo and Vista. And ditching either one is not an option.

    20. Re:I run Debian, and I run FreeBSD. by TwistedSymmetry · · Score: 3, Funny

      The correct term is a Beowulf clusterfuck.

    21. Re:I run Debian, and I run FreeBSD. by Deagol · · Score: 4, Interesting
      If you tune it correctly for i386, it's pretty damned stable. Without tuning on the amd64 arch, it's damned stable. After all, ZFS was developed for 64-bit Solaris, which, by all accounts, runs better than on 32-bit Solaris. And this is with the ZFS v6 available on 7.1 and the soon-to-be-released 7.2 -- v13 is slated for 8.0 (May or June of this year), and it's reported to be *much* better.

      As someone who's run FreeBSD for their dedicated desktop for close to 5 years now, my only gripes are this:

      1. Lack of more cutting edge virtualization software. At this point, Qemu is the only real option. Right now, you have to jump through hoops to get a FreeBSD *guest* under Zen, so being a Zen host is probably out of the question.
      2. Lack of 3D acceleration, especially in the amd64 world. I had to scavenge a thrift-store "Radeon 7500 Series (RV200)" (as listed in pciconf) card to get any hardware acceleration, after years of using a newer Nvidia card. (nouveau isn't quite there). Granted, this can be more generally chalked up to a lack of open source drivers across the board (Hey, Nvidia! I'm buying ATI for my next card. You can stuff those binary blobs where the sun don't shine!)
      3. Lack of native "shiny" proprietary software, such as Flash (and commercial games). In fact, I *just* finally gave in and installed the Linux emulation layer in order to install the flash9 plugin so I could check out all the "hey check this out..." links friends and family are always sending me.

      I love FreeBSD, though. There have many times when I downloaded and and burned a new Linux distro CD with the intent of moving back to Linux (5 years prior to my jump to FreeBSD, I ran Redhat or Fedora on my desktop). However, when I tried the live CD, I just couldn't bring myself to go back, even with the few shortcomings I highlight above.

      While the mating of Debian and FreeBSD is cool for its own sake, I really don't see how someone from either camp would be happy with the result. If you like the cutting edge hardware support, virtualization, filesystems, and software support of Linux, you'll miss them in FreeBSD. If you enjoy the Zen-like simplicity of the base FreeBSD OS (including its rock solid nature) and the "ports" system, you'll be left wanting with even the best Linux solution (which, in my opinion, would probably be Debian). I applaud the effort, but I doubt it will have much adoption in the long run.

    22. Re:I run Debian, and I run FreeBSD. by phoenix_rizzen · · Score: 4, Informative

      It all depends on what you do with it, and how much time you put into it. If you are willing to put in the effort up front, to plan out how the pool is created, to tune the OS and ZFS, and to test things ... then you can get a very performant, very stable system.

      We have a pair of storage boxes running FreeBSD 7.1-RELEASE with / and /usr on CompactFlash on one and USB sticks on the other (2x 2GB mirrored using geom_mirror), with /var, /tmp, /usr/local, /usr/src, /usr/obj, /usr/ports, /usr/ports/distfiles, and /storage/backup as ZFS filesystems. Some have compression enabled (gzip-9 or lzjb), some have atime enabled, some have snapshots created daily.

      They're 5U rackmounts with 2x dual-core Opterons, 8 GB of ECC SDRAM, a 3Ware 9550SXU PCI-X RAID controller, a 3Ware 96650SE PCIe RAID controller, a 1350-watt 4-way redundant power supply, 4-port Intel gigabit NIC, as 24x 500 GB SATA harddrives.

      The zpool is configured using 3x 8-drive raidz2 vdevs, giving a total usable space of just over 10 TB.

      The primary server does an rsync-based backup of 90 FreeBSD and Linux servers every night. Takes just under 5 hours. According to MRTG, which polls the 32-bit storage counters every 60 seconds, it sustains 80 MBytes/sec for the bulk of the 5 hours. We can't get the 64-bit storage counters to work, so it's possible the counters are looping. We're also limited by the remote site bandwidth, as most sites are ADSL with ~768 Kbps uploads.

      Other than some problems with the initial configuration of the server (don't use more than 9 drives in a raidz2 vdev), and with the initial "trial and error" for the kmem, ARC, and network tuning, it's been running very smoothly. We have daily backups going back four months, and only used 2 TB so far.

      At this rate, we'll be able to keep a full year of daily backups without running out of space. And if we start to get low on space, we just swap out the drives in one of the raidz2 vdevs for larger ones, and continue one with the extra space.

      We're really looking forward to the changes that FreeBSD 8.0 will bring, as it includes ZFS v13, removes the 2 GB kmem barrier, and a bunch of other unrelated performance enhancements.

      Just because some people have run into some problems with ZFS, doesn't mean it's crap for everyone. You just need to run the 64-bit version, with lots of RAM, or be willing to test and tune to find the right settings for your 32-bit setup.

      Once you've used a pooled storage system, or any filesystem with inline snapshots, you won't be able to use LVM anymore. LVM is okay, and has it's uses, but the snapshots system for LVM is crap, more crap, and worse crap.

    23. Re:I run Debian, and I run FreeBSD. by phoenix_rizzen · · Score: 2, Informative

      1. Lack of more cutting edge virtualization software. At this point, Qemu is the only real option. Right now, you have to jump through hoops to get a FreeBSD *guest* under Zen, so being a Zen host is probably out of the question.

      It's Xen, and you can run FreeBSD in an HVM just fine, no hoop-jumping required. Works for 32-bit and 64-bit guests, all the way back to 6.2 (earliest version I used in my testing).

      It's true that PV support for FreeBSD guests is lacking, but that's not to say you can't run FreeBSD on Xen.

    24. Re:I run Debian, and I run FreeBSD. by tyrione · · Score: 2, Informative
    25. Re:I run Debian, and I run FreeBSD. by RzUpAnmsCwrds · · Score: 3, Interesting

      I turn off my computer every night, when it isn't downloading something. It's about 6 hours of near-zero power consumption every day. If everyone did that it would make a difference in energy use. I could just suspend, but if it isn't going to do anything anyway, let's save a couple more joules, shall we?

      The thing is, S3 suspend is damn near "soft-off" power usage anyway. On my Kill-A-Watt, both result in a power consumption of 3W. This is with an Antec EA-380 80+ PSU (Seasonic manufactured).

      If you really want to save power, flip the switch and make your consumption zero. Better yet, kill your monitor, printer, speakers, and every other standby-consuming device at the same time by using the switch on your power supply.

      The reality is, though, it's a bit stupid. If you really want to save power, use a notebook. My ThinkPad is around 26W at idle, compared with around 90W for my Core 2 Quad Q9300 / 8GB DDR2 / Radeon HD3850 desktop.

      My power usage is around 220 kWh/mo. That's down from around 400kWh/mo (after I replaced a 1980s fridge with a new Energy Star fridge), but the refrigirator is still over a third of the total usage at 90kWh/mo. Add the electric dryer, electric range, and some lights, and you see that my power usage is dominated by heating, refrigeration, and lighting. Cutting the 20W or so of standby power usage that's around the house would only save 15kWh/mo, or less than 10%.

    26. Re:I run Debian, and I run FreeBSD. by FishWithAHammer · · Score: 2, Insightful

      IP KVM?

      --
      "You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time."
    27. Re:I run Debian, and I run FreeBSD. by Em+Adespoton · · Score: 2, Insightful

      In answer to your first question... no.
      I've messed up my kernel/kernel config and had to boot as far as GRUB numerous times, but I've only had to boot through the entire daemon loading process twice in a row. After it gets that far, the kernel is generally stable and I just have to restart daemons to fix the rest.

      Rebooting to fix userland issues should only be a Windows headache.

    28. Re:I run Debian, and I run FreeBSD. by jedwidz · · Score: 2, Insightful

      So you don't care about how fast trains are because it's faster to fly.

      But wait, if trains suddenly became ten faster, you'd consider taking the train, right? So you do care.

    29. Re:I run Debian, and I run FreeBSD. by Anonymous Coward · · Score: 2, Interesting

      Actually NVIDIA has stated before that they wish to improve their FreeBSD support and would like it to achieve a feature parallel with Linux, as seen here.

      They even did an interview with bsdtalk to try and drum up some support but it has yet to really materialize, here.

      You can see current progress at the FreeBSD wiki.

    30. Re:I run Debian, and I run FreeBSD. by RiotingPacifist · · Score: 2, Interesting

      btfs is nice, but i like abstraction, lvm lets me run snapshots and re-sizable volumes over any filesytem format that linux supports (ntfs, reiserfs, ext4, etc). Unless btfs's snapshots offers major performance benefits over lvm's , ill always stick with the filesystem neutral solution.

      --
      IranAir Flight 655 never forget!
    31. Re:I run Debian, and I run FreeBSD. by madsdyd · · Score: 3, Interesting

      There is really solid work for live patching a Linux kernel for security updates in http://www.ksplice.com/ - saw a demo of it last week at Eurosys, really impressive: http://www.ksplice.com/paper .

    32. Re:I run Debian, and I run FreeBSD. by Anonymous Coward · · Score: 3, Funny

      nothing sucks more than a 5 minute reboot when your battery is low and you are on an airplane

      Nothing sucks more than that, eh? You must have a tough life.

    33. Re:I run Debian, and I run FreeBSD. by x2A · · Score: 2, Informative

      "I still can't wrap my head around how the two kernels yield to each other in respect to the PC architecture"

      User Mode Linux manages it... imagine a UML running in kernel mode, loadable as a module... you lose the protection of running it in user mode, but you gain speed of running it within the kernel.

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    34. Re:I run Debian, and I run FreeBSD. by Raenex · · Score: 2

      Not to mention Android using the linux kernel with a netbsd userland. I guess google don't want to mess with GPLv3.

      But by distributing the Linux kernel with the operating system, they are messing with GPLv2, so all that userland should be GPL to comply with the kernel license.

    35. Re:I run Debian, and I run FreeBSD. by Chirs · · Score: 2, Interesting

      "Sure, we don't want stupidly long boot times when we do need to reboot, but that's what, once a month, once a year, once a decade if your server is in good health?"

      I work for a company providing telecom equipment designed for 99.999% uptime.

      The general recommendation is to have at least one backup machine, then once a week or so switch activity to the backup and reboot the formerly-active machine. This will uncover certain types of hardware glitches as well as ensuring that you can boot from disk in case of a power outage.

      Anyone who hasn't rebooted for a year could be in for a surprise if they ever get a power outage.

    36. Re:I run Debian, and I run FreeBSD. by DaVince21 · · Score: 2, Informative

      (Hey, Nvidia! I'm buying ATI for my next card. You can stuff those binary blobs where the sun don't shine!)

      But, you know, ATI is worse with video card support in Linux than nVidia...

      --
      I am not devoid of humor.
  2. Gentoo Did This Years Ago by MaskedKumquat · · Score: 5, Insightful

    Gentoo managed to get this kind of setup working years ago, didn't they?

    1. Re:Gentoo Did This Years Ago by binarylarry · · Score: 4, Funny

      Perhaps, but I'm not sure if it's done compiling yet to test.

      --
      Mod me down, my New Earth Global Warmingist friends!
    2. Re:Gentoo Did This Years Ago by disi · · Score: 5, Interesting

      I tested it myself, for a server with no fancy Desktop it compiles very well. Many packages are already tested and get the ~x86-fbsd keyword for installation. Also Sparc+Gentoo+FreeBSD is possible :) disi@disi-desktop ~ $ cat /usr/portage/www-servers/apache/apache-2.2.* | grep bsd KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" http://www.gentoo.org/doc/en/gentoo-freebsd.xml

    3. Re:Gentoo Did This Years Ago by niskel · · Score: 5, Informative

      Tag this article gentoodiditfirst. I saw this in gentoo long ago.

    4. Re:Gentoo Did This Years Ago by JonasH · · Score: 5, Informative

      Gentoo managed to get this kind of setup working years ago, didn't they?

      So did Debian. Debian GNU/kFreeBSD as the port is poetically named has existed for a long time (see mailing list archives). This story is just about it being accepted as an official part of Debian. Who got there first? Who cares.

    5. Re:Gentoo Did This Years Ago by Rhabarber · · Score: 2, Informative

      Yea, it runs on top of Debian, Mac OS X, Solaris and, no joke, Windows. ;)

  3. Gentoo was there first by Anonymous Coward · · Score: 4, Informative

    Gentoo has supported the FreeBSD kernel for a while now, afaik

    1. Re:Gentoo was there first by MBGMorden · · Score: 4, Informative

      Actually Gentoo has for quite a while had the option of installing all binary packages from a standard LiveCD.

      --
      "People who think they know everything are very annoying to those of us who do."-Mark Twain
  4. Late to the party, Slashdot. by iYk6 · · Score: 2, Informative

    Debian has had an unofficial kfreebsd-i386 port for years. It is still an unofficial port.

    1. Re:Late to the party, Slashdot. by John+Hasler · · Score: 4, Informative

      It just became an official port. That is what is news.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  5. God, I never thought I'd see the day by palegray.net · · Score: 5, Funny

    when this image was actually an on-topic response to a Slashdot story.

  6. Re:UbuntuBSD? by ultrabot · · Score: 2

    Given that Ubuntu is down stream from Debian, does this mean that I can run the FreeBSD kernel on my Ubuntu install now?

    No, just like you won't have Ubuntu for PA-RISC architecture (even if you have Debian for it).

    --
    Save your wrists today - switch to Dvorak
  7. This is just really cool by CestusGW · · Score: 4, Interesting

    It's one thing to sit and think about a beautiful system. To daydream wistfully about interfaces so well-thought that you can swap kernels and userland implementations without the world coming to an end. It's another thing entirely to see it happen with a full featured OS like Debian! Congrats are in order for the Debian team for tackling this and (apparently) going all the way.

    --
    Too much repetition my too much repetition!
  8. Re:So it it Debian GNU/Linux/FreeBSD by larry+bagina · · Score: 5, Informative

    GNU/FreeBSD. FreeBSD kernel (and libc?) + GNU userland (instead of the BSD userland). There's no linux involved (except perhaps the linux syscall emulation)

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  9. for performance? by bcrowell · · Score: 2, Interesting

    TFA doesn't give much information. It would be interesting to know whether there are some practical reasons to want this. One possibility I can imagine is that if you have a particular task that you want a server to do, you could measure its performance with both kernels. If one is 10% faster than the other, you pick that one. Another possibility would be if you want to test your software to see if it's likely to be portable, or if it contains hidden linuxisms; however, I would expect most of the incompatibilities to be in things like shells and command-line utilities, not the kernel.

  10. APT? by fuzzyfuzzyfungus · · Score: 2, Interesting

    What exactly does it mean to be running Debian with a FreeBSD kernel? Is it essentially just FreeBSD with APT and gnu userland instead of ports and bsd userland?

    1. Re:APT? by pablomme · · Score: 4, Insightful

      Is it essentially just FreeBSD with APT and gnu userland instead of ports and bsd userland?

      It's FreeBSD with the entire Debian userland. AND it's Debian with a FreeBSD kernel. Pretty much like a centaur is a man with a horse's body AND a horse with a human head.

      The best description depends on what part you focus on. To me it's Debian with a FreeBSD kernel.

      --
      The state you are in while your HEAD is detached... - wait, what?
    2. Re:APT? by glwtta · · Score: 4, Funny

      Is it essentially just FreeBSD with APT and gnu userland instead of ports and bsd userland?

      So they went from being the Linux with the best package manager to being the BSD with the worst package manager?

      --
      sic transit gloria mundi
    3. Re:APT? by ivoras · · Score: 2, Informative

      Yes, it's a joke but it has an answer too. It might depend on how you define a "package manager" but all BSDs can do:

      • Automatic dependency resolving (i.e. install a package, it pulls in its depenancies)
      • Package removal (with dependencies)
      • Package searching (both installed and available)

      And this is not new - it's been there more than 13 years!

      --
      -- Sig down
    4. Re:APT? by Tokerat · · Score: 2, Funny

      Pretty much like a centaur is a man with a horse's body AND a horse with a human head.

      That's Two-Things-ism!

      --
      CAn'T CompreHend SARcaSm?
  11. Some more info by Talla · · Score: 5, Informative

    Is available at http://www.debian.org/ports/kfreebsd-gnu/

    There isn't much, but a little bit in the install notes.

  12. Switching kernels for one install or? by kasperd · · Score: 4, Interesting

    So can I install just one system and choose between the two kernels at boot time? Or do you have to make a completely different install with executables build separately for each kernel?

    --

    Do you care about the security of your wireless mouse?
    1. Re:Switching kernels for one install or? by Reality+Master+201 · · Score: 2, Informative

      It's probably an either/or proposition*, since the system calls and basic libraries aren't the same across the platforms.

      *FreeBSD has a kernel level Linux binary compatibility layer, so I guess with enough pain and suffering you could make things switchable, at least with userland stuff.

    2. Re:Switching kernels for one install or? by drinkypoo · · Score: 2, Informative

      Pain and suffering? You mean editing the linker config so that the compat libraries are loaded first?

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:Switching kernels for one install or? by BitZtream · · Score: 5, Informative

      Disclaimer: I'm a FreeBSD fanboy.

      FreeBSD has no problem running Linux binaries, linux binary compatibility has been there for years, I used it to run linux binaries that hadn't yet been ported to FBSD yet in 97, I still run several Linux binaries on my FBSD servers.

      For things that don't directly interact with the kernel, FreeBSD will run Linux binaries fine, full syscall emulation is built in with practically 0 cost in most cases. You need the proper Linux libraries available for it all to work, but it will also run ibcs2 binaries so you can throw in SCO and such if you got a license for those libraries!

      All it does is emulate the syscall interface to the kernel. FreeBSD and Linux are almost spot on in the way these interfaces work so it can accomplish the task with very little overhead, in many cases its just as efficient as using the native FBSD syscalls. In other cases some structure and memory mangling goes on so it slows down a bit.

      FreeBSD is actually capable of running some Linux apps faster than the Linux kernel can. Of course thats simply because those apps happen to agree with the way FreeBSD does things under the hood a little better and not an indication of superior OS, as there are just as many apps that perform worse. As a general rule however, performance is practically identical as running it on a native Linux kernel.

      With all that in mind, theres no reason you couldn't switch at boot time if your entire userland was made for the Linux kernel. There would need to be certain parts left as native code such as initd and the like, but you're really just talking about holding duplicate copies of what FBSD stores in /sbin and /bin. Probably just a simple matter of modifing the FBSD kernel and /bin /sbin apps to expect to work from /freebsd/boot,/freebsd/bin,/freebsd/sbin.

      Doesn't Linux have this sort of thing? I haven't used Linux in years, I just kind of assumed it did something like this as well. Maybe not for FBSD so much, but I'd expect some ibsc2 support at least.

      Finally, doesn't seem like theres much of a point really. FreeBSD is typically considered 'more secure' and has the fastest IP stack on the planet out of the box, but security is mostly a property of userland, kernel level exploits are rather rare now days, its usually a dumb app running with elevated privs that causes the problem so if you're using a Linux userland you aren't gaining that bit (real or imaginary). Linux isn't exactly slow when it comes to networking so unless you're trying to squeeze every last drop out of some hardware that doesn't seem to make it worth the while, might as well stick with what you know and what you know works for you. Just seems silly.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    4. Re:Switching kernels for one install or? by Nevyn · · Score: 3, Interesting

      FreeBSD has no problem running Linux binaries, linux binary compatibility has been there for years, I used it to run linux binaries that hadn't yet been ported to FBSD yet in 97, I still run several Linux binaries on my FBSD servers.

      Does this actually work 100%? How?

      And, yes, I understand you can do syscall emulation. But what about what happens behind the interfaces. For instance I find it hard to believe that TCP_CORK/mremap/epoll/etc. "works" when FreeBSD has refused (decided not to, whatever) to natively support it for years now. AFAIK FBSD doesn't have splice()/tee()/etc. either ... do they hack some of this in userspace?

      But even that seems like the easy stuff, what does FBSD do when I open("/proc/*") and start parsing stuff? What about closing sockets that are only referenced in the poll() call of another thread? Anything that hits the drivers "deeply" like X, pulseaudio, etc. seems like it'd be impossible to support. SELinux is just not going to work, probably dito. somewhat releated stuff like the audit interface / netlink (maybe that classifies as "deep" driver knowledge though).

      Then there's the really crazy stuff where you have the same interfaces natively but they operate subtley differently in weird corner cases, DJB has a page on some stuff, but I doubt anyone sane enough to have commit privs. knows all of these (if anyone at all does).

      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
    5. Re:Switching kernels for one install or? by MattBurke · · Score: 2, Informative

      > Does this actually work 100%? How?
      No. The only reason I run Debian on my desktop instead of FreeBSD is because I need to use VMWare, which hasn't run under the Linux compat stuff since VMWare Workstation 3, but given that it *did* work once is a bit of a tribute to its completeness.

      I spent several years running an extremely busy yet stable Counter-Strike server under Linux compat, which performed significantly better (lower latency, less CPU load) than when running Linux natively on the same hardware. Good times...

      > what does FBSD do when I open("/proc/*") and start parsing stuff?
      If you've got linprocfs in your kernel and mounted, it should work in most cases.

      In general, linux compat stuff works surprisingly well unless you need a high level of kernel interaction such as modern VMWare releases. In 99% of cases It Just Works.

    6. Re:Switching kernels for one install or? by synthespian · · Score: 2, Interesting

      Yes, Linux binary emulation actually works. A couple of years ago, the usual Linux ABI breakage - of which they are very proud of - made me unable to use Maple 8 (for which you have to buy an expensive license) on Ubuntu.

      I installed FreeBSD and the Linux emulation layer, tweaked some stuff on the Maple side (basically, some scripts) and there you go - Maple ran on FreeBSD with the Linux emulation layer, while it refused to run on Linux itself, whcih it had done, just a release earlier (i.e., a couple of months).

      I've tried this on other commercial software and it worked too (but this on a tweak-it-yourself basis).

      This emulation layer is great and I wish more people (i.e., commercial software) used it, because you can write software for Linux and get FreeBSD customers, too.

      This experience convinced me FreeBSD hackers were a notch higher in skills and experience than their Linux (Debian, Ubuntu, whatever) counterparts.

      I've moved to Mac OS X since but still hang on to my FreeBSD. Don't want Linux anymore, thank you.

      --
      Main difference between the BSD license and the GPL license: one is from California and the other is from Massachusetts
  13. Re:So it it Debian GNU/Linux/FreeBSD by Anonymous Coward · · Score: 5, Informative

    GNU C library

  14. Re:UbuntuBSD? by Sonic+McTails · · Score: 4, Informative

    Actually Ubuntu has supported PA-RISC/HPPA for ages:

    https://edge.launchpad.net/ubuntu/jaunty/hppa
    http://cdimage.ubuntu.com/ports/daily/current/

    (these are the links for the in-development release Jaunty, but HPPA has been a part of Debian since Breezy).

    --
    This signature was left intentionally blank.
  15. I love what that symbolizes! by r00t · · Score: 5, Funny

    FreeBSD fans created that image, but...

    1. It shows that FreeBSD is gay.

    2. It leaves no doubt why FreeBSD is represented by Satan.

    Clearly, this is why we must stay away from FreeBSD.

    1. Re:I love what that symbolizes! by Higher+Authority · · Score: 4, Funny

      Who says Tux isn't female, or that Beastie isn't raping Linux as an expression of power, as opposed to sexual preference?

  16. ZFS support by Beve+Jates · · Score: 2, Interesting

    Hmmm, I think this would be an interesting way to finally get real ZFS support in a Linux-like system.

    Unfortunately FreeBSD is much more limited in terms of modern software technologies like virtualization, hardware drivers, etc. Linux is way ahead there so I guess this is still not that great. Interesting though.

    1. Re:ZFS support by pablomme · · Score: 4, Informative

      I just don't see the requirement to have a shitty GNU userland on the FreeBSD system.

      What do you mean? Every GNU tool I've used is far better than its BSD counterpart (if it exists). Some manpages do suck, but I've never failed to find the information I need for any command that is remotely complicated.

      In any case, if the Debian maintainers shared your opinion of the BSD userland, they would try to get that into their standard Linux-based distribution, rather than wait to have the FreeBSD kernel to do that there.

      --
      The state you are in while your HEAD is detached... - wait, what?
    2. Re:ZFS support by evilviper · · Score: 2, Informative

      Every GNU tool I've used is far better than its BSD counterpart

      Really? Hmmm...

      http://evilviper.nstemp.com/BASH-SUCKS.png

      Thank god for the OpenBSD version of ksh. With mksh it was made portable and can be installed on practically any Unix system. It features practically every BASH feature human beings could ever use, while being a tiny fraction of the size.

      And how about FreeBSD's tar? No -z -Z -j crap... use any of the flags, and whatever compression method used will be detected and handled.

      How about "ps -ax" bitching at you not to type the dash (which every other Unix system requires), or "bc" printing a dozen lines of the GPL every time you start it up?

      Or how about just the fact that nearly every GPL binary is 4X the size of any of the BSD equivalents?

      There's thousands more examples, I just haven't written them all up, and just listed a handful off the top of my head. Why don't you start trying to list a few ways YOU'VE find GNU utilities to be any better than their BSD counterparts?

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    3. Re:ZFS support by bonch · · Score: 2, Insightful

      Every GNU tool I've used is far better than its BSD counterpart (if it exists).

      "Far better?" Do you have an example? Generally, there's a feeling among BSD users that their tools are superior in quality and documentation. The man pages as well as the handbook are fantastic and explain everything you'd want to know. It's like you get an actual manual with your new UNIX-based workstation.

      There are efforts to replace the non-modular GCC because FSF purposely obfuscated it to prevent people from easily making extensions (something Slashdotters would criticize if a commercial company had done). Goofy crap like that is poor quality software and poor attitude that more practical users have no time for.

    4. Re:ZFS support by SLi · · Score: 4, Informative

      Why don't you start trying to list a few ways YOU'VE find GNU utilities to be any better than their BSD counterparts?

      I'm not the parent, but here you go:

      - The BSD -h (--help) is a joke for almost every command. It gives you something like "usage: cat [-benstuv] [file ...]" with zero explanation what each of the switches do. Or "usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...]". Very helpful.

      - GNU userland supports the things one might want to do. The BSD tools just don't have the features. Like, last time I wanted to teach my students to use apropos to find system calls, I told them to use apropos -s 2. Well, turned out some of them decided to use the BSD machines here, and apparently there's no such thing on the BSD apropos. Not only that but it doesn't have a --help or a -h at all. Missing features like this are truly pervasive in the BSD land. I hit them nearly every time I want to do something more exotic on a BSD.

      Small things like

      - BSD tar lacks the jz switches. Seriously. I want them.

      - And for that matter, bash is the best shell I've seen. Yes, I've tried ksh.

      The BSD kernel I can take (although I don't see the advantage compared to Linux), but I do want the GNU userland to consider the system even half-usable.

    5. Re:ZFS support by Lars512 · · Score: 2, Interesting

      "OMG but you can apt-get stuff". Who gives a shit. pkg_add -r does basically the same thing anyway, and "cd /usr/ports/xxx/foobarport && make package" makes a lot more sense to me than the commands required on linux to build packages...

      My experiences with FreeBSD give me the impression that apt is worlds ahead of pkg_add, in the same way that Gentoo's portange is worlds ahead of BSD ports, both in terms of robustness and usability.

      Without knowing the details, I get the impression that both apt and portage both came later and benefited from starting from scratch, whereas the BSD experience is perhaps too difficult for maintainers to improve now.

      This is actually a big deal; the main reason I choose one distro over another is package support.

    6. Re:ZFS support by pablomme · · Score: 5, Informative

      Thank god for the OpenBSD version of ksh. With mksh it was made portable and can be installed on practically any Unix system. It features practically every BASH feature human beings could ever use, while being a tiny fraction of the size.

      Bash and ksh are quite on par feature-wise, so pick whichever one you prefer since both are available on GNU and BSD systems. However this misses the GNU-vs-BSD point, as do you -- if anything, you should be comparing bash against tcsh which is the default shell in FreeBSD. Is there such a thing as a BSD shell anyway?

      And how about FreeBSD's tar? No -z -Z -j crap... use any of the flags, and whatever compression method used will be detected and handled.

      From the GNU tar manpage (which, it may surprise you, is actually useful):

      -a, --auto-compress
          with --create, selects compression algorithm basing on the suffix of
          the archive file name

      So it's there, as an option. And IMO it makes better sense as an option than as default behaviour.

      How about "ps -ax" bitching at you not to type the dash (which every other Unix system requires),

      Again from a GNU manpage:

      Note that "ps -aux" is distinct from "ps aux". The POSIX and UNIX standards require that "ps -aux" print all processes owned by a user named "x", as well as printing all processes that would be selected by the -a option. If the user named "x" does not exist, this ps may interpret the command as "ps aux" instead and print a warning.

      That is, BSD ps has a given syntax ('ps aux') and "conveniently" ignores any dash preceding the options ('ps -aux'=='ps aux'). This clashes with POSIX standards. GNU ps not only supports its own POSIXly correct syntax and the strict BSD syntax, but it also correctly catches things like 'ps -aux', issues a warning and runs the command you intended to run. And you complain?

      "bc" printing a dozen lines of the GPL every time you start it up?

      If a dozen is three, then yes. It doesn't do that when you pipe into it, which is all that matters in practice.

      Or how about just the fact that nearly every GPL binary is 4X the size of any of the BSD equivalents?

      I don't see how that's to do with anything other than how the binaries were compiled?

      Why don't you start trying to list a few ways YOU'VE find GNU utilities to be any better than their BSD counterparts?

      GNU make is a great example, because it's obviously immensely superior to all other implementations of make.

      Other than little personal annoyances, you've listed nothing much. Try comparing manpages side by side and let me know when you find a single *feature* in a BSD tool that is not in a GNU tool. Starting by the ones you mentioned above.

      --
      The state you are in while your HEAD is detached... - wait, what?
    7. Re:ZFS support by Galactic+Dominator · · Score: 4, Informative

      - BSD tar lacks the jz switches. Seriously. I want them.

      http://www.freebsd.org/cgi/man.cgi?query=tar&apropos=0&sektion=0&manpath=FreeBSD+7.1-RELEASE+and+Ports&format=html

      Do you see the -jz switches, cause I sure do. Maybe you could get a clue before you're put in a position of "teaching". Another sad mark reflecting the lack of rigor in our educational standards. Talk about the blind leading the blind.

      Also on bsd utilities, -h(if it exists) assumes you have some basic knowledge of the command. Otherwise that is what man(1) is for.

      In response to you syscall bs, you can reference this file: /usr/src/sys/kern/syscalls.master or this one for linux syscalls: /usr/src/sys/i386/linux/syscalls.master. Wow even easier than apropos returning jumbled garbage. Imagine that. I'm also going to share a really special trick, you can even use grep(or other utils) on those files to return specific info you're targeting.

      Horatio, one of us here doesn't know what the fuck we're talking about and I'm betting it's not me.

      --
      brandelf -t FreeBSD /brain
  17. Boring... by __aaclcg7560 · · Score: 4, Funny

    I'm waiting for Windows kernel support to be added. I prefer blue screens over seg faults. :P

    1. Re:Boring... by ace123 · · Score: 2, Funny
      That's why they made GeNToo!

      Finally you can get the best of both worlds! The Win32 subsystem is such a mess, the Linux kernel is a mess. Once you have the GNU tools on the NT kernel, you get a very solid OS that even rivals Solaris 10 in many respects.

      It's only been compiling for just a bit over 4 years, so I'm hopeful. It's not like it has crashed or anything... no that wouldn't make any sense...

  18. What about Netcraft? by gmhowell · · Score: 2, Funny

    Does this mean Netcraft no longer confirms it?

    --
    Jesus was all right but his disciples were thick and ordinary. -John Lennon
  19. I believe I speak for everyone when I say .. by Idimmu+Xul · · Score: 2, Interesting

    ZFS, woohoooooooooooooooooooooo!!!!!!!!!!

    --
    The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
  20. Re:ports-- by jps25 · · Score: 5, Funny

    Even getting a decent lamp server fully setup is a chore under freebsd. Hopefully debian/apt can breath more life into it!

    I couldn't imagine why...

  21. Re:/usr/bin/pride, /usr/bin/ego, /etc by norton_I · · Score: 4, Informative

    Compiler and toolchain, and all the 'standard' UNIX tools: the shell, the text utils like cat, grep, awk, etc.

    Basically, back in the 80s, the FSF, reimplemented what was at that time nearly the entirety of what was called UNIX except the kernel (which was what the HURD project was/is). It was to be the GNU OS. While the kernel was in development, the userspace tools were developed and ported to other UNIX systems like sunos as a replacement for the often deficient historical versions supported by the UNIX vendors.

    So when Linus came along and wrote a UNIX-like kernel using gcc, he could load all those programs on and have a mostly functioning UNIX environment. This was the reason RMS objected to calling it just Linux, at that time the majority of the code running on the system was GNU. It was probably a legitimate point at the time. And even if there were a different compiler, without a set of userspace tools that people could freely get and use it is unlikely Linux would have been able to take off.

    Now, of course, a huge part of the user experience is provided by X11, the desktop environments, and various graphical appliations. GNOME is part of the GNU project but X.org, KDE, and most of the applications are not. So it isn't really true that GNU software is still the majority of the OS. Of course, the kernel is even less important in terms of the user environment, and despite all the other software around it, GNU utilities are what makes it (not) UNIX.

  22. So in other words... by hedwards · · Score: 3, Funny

    Debian is dead. Netcraft confirms it.

  23. Re:So it it Debian GNU/Linux/FreeBSD by leprkhn · · Score: 2, Funny

    I'm calling it GNUBSDEBIAN... or nubs, for short.

  24. Re:I think you mean 3 kernels by Nimey · · Score: 2, Funny

    Lies. RMS hasn't ever gotten Emacs to boot successfully.

    --
    Hail Eris, full of mischief...

    E pluribus sanguinem
  25. This is new? by insane_coder · · Score: 2, Interesting

    I must be missing something. I have a Debian FreeBSD Live CD from 2006. Here it was reported that Debian imported the FreeBSD Kernel over 4 years ago. What exactly happened now that is new?

    --
    You can be an insane coder too, read: Insane Coding
    1. Re:This is new? by insane_coder · · Score: 2, Informative

      Okay, summary is definitely wrong, Debian already supports four completely different kernels. See here.

      --
      You can be an insane coder too, read: Insane Coding
  26. Yes, but what does it really mean? by ivoras · · Score: 3, Informative

    There are at least two things that need consideration here, in a sort-of general aspect:

    • Sure, you can replace tools like 'ls' and 'rmdir' with GNU equivalents, and BSDs already use gcc so it's not that hard to get it going, but BSDs are also full of utilities that are tightly integrated with the kernel. Trivial examples: you can't replace GEOM utilities with md* utilities - they simply cover different things (here's a simple example of what GEOM can do). Utilities like "top" and "netstat" operate on completely different data structures. The Linux "free" utility, for example, cannot have an equivalent in FreeBSD with exactly the same output because the interpretation of what is "free" memory is different.
    • FreeBSD can execute Linux binaries natively. This means exactly what it says, within reason. Pick up a "ls" binary from any Linux distribution (actually, pick an older one that doesn't use fancy new 2.6 features - 2.6 will only be supported in full in 8.x), copy it and the libraries it needs to a FreeBSD system with Linux ABI enabled and simply run it. You can, in fact, run a completely Linux userland, except for the administrative utilities. With some effort (because nobody made it automated yet) you can run Debian under FreeBSD natively, packages and all. (explanation: it's simply a matter of remapping Linux syscalls to FreeBSD syscalls; for example: Linux's open() to FreeBSD open(), etc. with no visible performance impact - people are running Oracle this way, though completely unsupported of course)

    There's little documentation about the Debian project but it doesn't say which route they've chosen, and what about possible issues with it (mostly: admin utilities).

    And besides, a very large number of BSD users will agree that its userland is what's most important - the consistency of development and behaviour, the ease of administration. The kernel features are just icing on the cake :)

    --
    -- Sig down
  27. Hurd too.. by Amazing+Quantum+Man · · Score: 5, Informative
    --
    Fascism starts when the efficiency of the government becomes more important than the rights of the people.
  28. Once a decade? by markov_chain · · Score: 4, Funny

    Whippersnappers. I haven't rebooted my Multics machine since the 60s!

    --
    Tsunami -- You can't bring a good wave down!
  29. Re:/usr/bin/pride, /usr/bin/ego, /etc by r00t · · Score: 2, Interesting

    Yeah, we all know the excuses. Stallman even tries to excuse his lack of desire to credit X11 and so on, saying that X11 is part of his GNU system and thus credited by "GNU"!!!

    Truth is, nothing irreplacable was provided by the GNU project. At the time when Linus was writing his kernel, the legal cloud hanging over BSD (AT+T lawsuit) only concerned the kernel. The BSD tools were perfectly suitable and ego-free.

    Remember that even glibc and gcc were nothing special in 1991. The modern versions were built via the efforts of Linux hackers, including major funding from Red Hat. The FSF did not create what you see today. It is unjust for "them" (Stallman really) to be claiming much credit.

    As for "fundamental" stuff like "cp" and "ls", well that's just trivial.

  30. Debian had netbsd and hurd kernels for 7&10 ye by Anonymous Coward · · Score: 2, Informative

    Debian added:
    Hurd kernel port in ? 1999 ? (may have been earlier, wasn't later)
    Netbsd kernel port in 2002

    And there was an unofficial port of the Open Solaris kernel to Debian a couple years back.

    http://www.debian.org/ports/

  31. Re:ports-- by Anonymous Coward · · Score: 2, Funny

    I wonder if 4chan use a FreeBSD/Apache/PostgreSQL/PHP stack...

  32. What's the point? by bonch · · Score: 3, Insightful

    Why not just run FreeBSD with a real BSD userland and ports system? I'm just curious why you would use a BSD kernel but keep a Debian userland when it would probably be more reliable to just use FreeBSD's userland too.

    1. Re:What's the point? by micheas · · Score: 2, Informative

      Because if you want to run anything besides sendmail you are stuck with the ports that occasionally have the quality control of "if it compiles ship it", especially if you head of the beaten tracks and try obscure ports like php and samba.

      Debian has its short comings, but if you like FreeBSD because it is integrated, you should find that Debian is even more integrated.

      FreeBSD tends to have the source readily available and builds without any black magic to hold together a billion dependencies, so it is a more fun system to hack on, and figuring out where a problem is much easier, if you have training in the Computer arts.

      In Debian, simply enabling apt-src does not get you a fully populated /src tree, and getting the source to start looking at to see if you can make a patch is a pain.

      Just a few thoughts from someone that uses Debian and FreeBSD as my two most common operating systems.

  33. Re:ports-- by bonch · · Score: 2, Insightful

    Poor package management? Ports is one of the best I've ever used. What problems did you have?

  34. What's the point? by asemisldkfj · · Score: 2, Insightful

    I realize that a few people have asked variations of this question, but I have yet to read a convincing answer. Why? I understand that there are benefits to both the userland and kernel of FreeBSD as well as Debian, but if you desire certain features of the Debian userland on a FreeBSD system or features of the FreeBSD kernel on a Debian system, why not work with the developers of the relevant project to implement the features? This seems like kind of a roundabout way of reaching whatever goals this is intended on achieving. I'm open to arguments for the value of this project, but I have yet to see a convincing one.

  35. Apple mkLinux Microkernel by davidwr · · Score: 2, Informative

    Apple's mkLinux (Wikipedia) was based on the Mach 3.0 microkernel. There was a howto to make it work with the standard monolithic kernel. It doesn't really count as "shipping with 2 kernels" but it did run on top of two kernels. It's been pretty much dead since 2002.

    OS/2 from IBM also shipped in both monolithic and microkernel flavors. The ill-fated but technically shipped PowerPC version was microkernel-based, but not in the same installable package as a monolithic kernel based OS. This was in about 1996.

    I wouldn't be surprised if back in the day, some experimental OSes shipped with both 32-bit and 16-bit kernels.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  36. First?! by Zadok_Allan · · Score: 2, Interesting

    This makes Debian the first distribution, and probably the first large OS, to support two completely different kernels at the same time.

    Apparently whoever wrote the 'news' isn't aware that Debian already supports the NetBSD and Hurd kernels.

  37. Lamp servers by davidwr · · Score: 3, Funny

    When I switched my company's lamp servers to florescent, uptime went up but most end users are still not used to the differences between that and the old tungsten servers.

    Now corporate is telling me to prepare a migration plan to the newfangled led technology. I'm all on board with the energy savings but the help desk is going to have their hands full for a few months.

    Well, it's job security.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  38. Re:ports-- by Ian+Alexander · · Score: 3, Informative

    I'm assuming you're referring to ports because of the title. I was actually on the verge of giving up on BSD's for the same reason until I found out that there is a binary package system, too. I setup a LAMP (well, BAMP I guess) in a matter of a few minutes on FreeBSD with minimal trouble after I learned about packages.

    http://www.freebsd.org/doc/en/books/handbook/packages-using.html

  39. Re:/usr/bin/pride, /usr/bin/ego, /etc by extrasolar · · Score: 5, Insightful

    I don't understand the "ego" criticism of calling the system GNU/Linux. No one's demanding that anyone call the system "Stalmanux" are they? It's about ethics/ideology, not about ego. The concern is that "Linux" as the name for the system encourages people to adopt the apathy the Linus and a lot of kernel developers share about issues concerning software freedom. If you care about software freedom and you think people should be able to do whatever they want with the software they use that is on *their* own machines, then call it GNU/Linux. If you opt for this pseudopragmatism instead, just call it whatever you want.

    Ultimately, the name isn't the most important thing, is it?

  40. postin' it then hoofin' it :-) by dpiven · · Score: 2, Funny

    So how long does it take that centaur to login?

  41. Servers by RudeIota · · Score: 4, Insightful

    but that's what, once a month, once a year, once a decade if your server is in good health?

    You seem to make the assumption that people keep their computers on 24x7.

    I imagine *many* consumers want their computer to turn on instantly during a cold boot. That's obviously unrealistic for now. But even more certainly, *more* people would prefer it.

    Now, I know you may not care much -- but if given the chance -- wouldn't you want faster boot times if possible? Why not? So if yes, why not try?

    --
    Fact: Everything I say is fiction.
    1. Re:Servers by Estanislao+Mart�nez · · Score: 2, Interesting

      I imagine *many* consumers want their computer to turn on instantly during a cold boot. That's obviously unrealistic for now. But even more certainly, *more* people would prefer it. Now, I know you may not care much -- but if given the chance -- wouldn't you want faster boot times if possible? Why not? So if yes, why not try?

      You're missing the point drastically. With my Mac (and I'd assume with any decent Windows laptop, but I haven't tried it), when I want to stop using the computer, I just close the lid, and it goes to sleep. When I want to use it again, I open it up, and it wakes up within a few seconds.

      The consumers you're thinking of don't really care about the difference between cold boot and waking up from sleep. They want their computer to be available when they want it, without having to wait for a while. It's OK if sometimes the computer is unavailable for 5 minutes because of updates, as long as they have control over when it happens.

      If you want to make things good for consumes, what you want to do is to make sure that sleep/hibernate modes are rock-solid, and minimize the number of situations that require a cold reboot. The latter can be solved with techniques like microkernel design (so more parts of the system can be replaced while it is up), or with kernel hot-patching features. Improving the speed of cold boots comes a very far third behind these.

  42. Re:/usr/bin/pride, /usr/bin/ego, /etc by r00t · · Score: 2, Interesting

    Excuses, excuses. It's not about ethics/ideology (and, BTW, I'm mostly in the Stallman camp on the freedom issue) but about ego. "GNU" is a name chosen by Stallman.

    BTW, since I know you're thinking it, Linus did not name the OS after himself. Some FTP site admin in Finland did that, via the creation of a directory to hold the OS. In typical hacker fashion, Linus had chosen the truly dreadful name Freax for his OS.

    Fact is, a group of people clustered around the kernel developers put the system together. Theodore T'so, a kernel developer who doesn't care for the "GNU/Linux" thing, is the person who made the mistake of building the first Linux install disk with GNU odds and ends rather than BSD odds and ends. He certainly couldn't predict that this would result in an aggressive and hostile campaign to rename the OS.

    Unfortunately, the name is damn important. You can be sure that Microsoft and Apple put lots of effort into choosing marketable names. Linux is marketable. GNU is not very marketable; in English it is unpronouncable or bad-sounding. (sounding like guh-noo, noo, jee en yoo, etc.) The three-letter acronym looks technical and complicated before you even mention the recursion.

    If Stallman's selfish renaming efforts have done anything related to software freedom, the result has been negative. Making the OS sound less friendly and approachable ensures that fewer people will end up running free software.

  43. Does FreeBSD support Xen servers? by billstewart · · Score: 2, Interesting

    I'm not surprised that somebody's done a FreeBSD client that runs on top of Xen - but can you run a Xen server on a FreeBSD base?

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  44. Re:In any case... by x2A · · Score: 3, Interesting

    "a Linux binary would no more run under a BSD kernel than it would under DOS"

    Errr... yeah... that's not completely accurate.

    --
    The revolution will not be televised... but it will have a page on Wikipedia
  45. Re:In any case... by @madeus · · Score: 4, Interesting

    FreeBSD supports Linux binary compatibility as a kernel compile time option (and now available as a module I think).

    This could mean in theory you would "only" need to have a base package with the FreeBSD kernel and have it load FreeBSD specific kernel modules and that could be a base install from which existing Debian packages could be installed. Although, in practice I can image it would really mean updating other packages as well as the installer, e.g. like those for bootloaders, to ensure they were aware that using a FreeBSD kernel was an option.

    As a point of interest, Solaris 10 is also compatible with Linux binaries, if you have the appropriate compatibility package installed. In theory (license permitting) the same thing could be done with Sol 10.

    Bit off topic:

    Solaris could REALLY do with better package management - Sun's own patches are inconsistent and some of the defaults are terrible (such as being insecure by default) and of course it lacks both the sophistication and convince of apt+dpkg on Debian. Often Sun packages don't even check for pre-requisites properly, I find them very sloppy and haphazard - this is frustrating especially as without some essential packages software may still run, but behave unexpectedly.

    I raised this with Sun at an open event in London, while they were launching the Sun Fire x86 range (which are really excellent servers) which Andy Bechtolsheim gave a presentation on. They asked for general open questions and made a polite enquiry regarding package management. They seemed to have no idea their existing solution was so poor (compared to package management on Debian, Red Had and even FreeBSD) and were _very_ dismissive of the polite inquiry. They looked at each other for a moment, a bit confused and responded "Most of our vendors run hundreds or thousands of systems" they sniffed, "and have no trouble managing their packages".

    Of course having seem hundreds of Solaris boxes over the years I know most major Sun customers they only /think/ they have no problem keeping their systems patched and up to date. The reality is they slap them behind private networks, are usually not patched after installed and are almost never patched thereafter (despite having a a number of essential bug fixes in their patches). This accounts for not only security holes but also a great deal of bugs.

  46. Re:Hibernate by samael · · Score: 2, Funny

    Aaah, well, if you're going to use an experimental OS :->