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."
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.
512 MB RAM, 20 GB disk, 200 GB transfer, five datacenters. $19.95/month.
Gentoo managed to get this kind of setup working years ago, didn't they?
Given that Ubuntu is down stream from Debian, does this mean that I can run the FreeBSD kernel on my Ubuntu install now?
Don't call me back. Give me a call back. Bye. So yeah. But bye our, well, but alright we are on a shirt this chill.
Gentoo has supported the FreeBSD kernel for a while now, afaik
or Debian GNU/FreeBSD or.....? Enquiring minds must know!
Debian has had an unofficial kfreebsd-i386 port for years. It is still an unofficial port.
when this image was actually an on-topic response to a Slashdot story.
512 MB RAM, 20 GB disk, 200 GB transfer, five datacenters. $19.95/month.
Oh, I guess you mean that same kind of "support" that is offered to Debian users using the Linux kernel ;)
So, err, Darwin doesn't count? Mach + BSD .. sounds like 2 kernels to me.
How we know is more important than what we know.
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!
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.
Find free books.
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?
Is available at http://www.debian.org/ports/kfreebsd-gnu/
There isn't much, but a little bit in the install notes.
some sort of decent virtualization software. And by decent I mean something like the current version of VMware Workstation. I suppose VirtualBox would do and I think they're working on that but really nothing is mature as VMware (I'm talking about Workstation here, not that free crap).
That and good nVidia drivers are really the only things keeping me from using FreeBSD more often. I can't say that I would use it as my primary OS but it would be really nice to be able to run ZFS the proper way without having to resort to crap like Solaris or FUSE in Linux. As far as nVidia, for some bizarre reason they only have x86 drivers (come on, get with the times nVidia!).
This has been a problem for a long time though. I think the first time I said this was at least 7 years ago. Same problems, need virtualization (that can run Windows) and need good nVidia drivers.
As someone else has mentioned, the kFreeBSD port has existed unofficially for some time...
You can also run Debian with a HURD kernel. I did that years ago. It was kind of unstable, but an interesting thing to try out for fun. And it largely worked. :-)
This will also help application interoperability, as fa as such help is still needed...
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
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?
finally you linux fags will have something to chatter on about.
I think this is really pretty cool. My freebsd experience was pretty bad mainly due to the poor package management. Even getting a decent lamp server fully setup is a chore under freebsd. Hopefully debian/apt can breath more life into it!
So what is the part of the gnu userland that makes it important enough to use in the title of the OS?
Linux people have been asking that for years. Join the party!
It all comes down to a jealous man with an ego. At this point, I no longer even want to give him credit where he actually earned it.
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.
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.
I'm waiting for Windows kernel support to be added. I prefer blue screens over seg faults. :P
Does this mean Netcraft no longer confirms it?
Jesus was all right but his disciples were thick and ordinary. -John Lennon
ZFS, woohoooooooooooooooooooooo!!!!!!!!!!
The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
Debian also has a hurd distribution.
Debian is dead. Netcraft confirms it.
who gives a fuck about this faggot shit? not me.
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
There are at least two things that need consideration here, in a sort-of general aspect:
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
http://www.debian.org/ports/hurd/
Fascism starts when the efficiency of the government becomes more important than the rights of the people.
Whippersnappers. I haven't rebooted my Multics machine since the 60s!
Tsunami -- You can't bring a good wave down!
It would be interesting to see the Solaris kernel included as well; Nexenta's already done some of the heavy lifting (OpenSolaris kernel with Debian userland).
For a number of years now I've been going the other way. I have a Linux kernel but a large portion of my userland is from the BSDs.
For the most part, BSD tools build quite well on Linux (or more precisely, with glibc). I've had to create a small portability library to bring in functions that glibc lacks, but for the most part I've just been able to pull stuff from FreeBSD's libc with little modification.
I have replaced GNU coreutils almost completely with BSD versions (I wrote my own du and df because the BSD versions are too chummy with its kernel, and I've brought over heirloom sort because it doesn't have the size limitations of the BSDs'). I've got BSD gzip, tar, yacc, among others. I even have (Net)BSD's /sbin/init and related tools, and it works great.
I have some local patches to various programs that assume a GNU environment, but for the most part, the BSD tools work as drop-in replacements. What's more, they have man pages that do more than say "see info", which is fantastic.
Some things have to stay GNU for now, but I keep replacing as I can. I hope one day to replace glibc with a BSD-based version, but that's wishful thinking for the time being: while a lot of stuff could directly be used, a lot would have to be written expressly for Linux, and I haven't had the time to deal with that. I'm crossing my fingers about clang, so that I can replace gcc with another compiler some day.
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/
Can you imagine having a LINUX kernel and a BSD userland?
Kudos Debian for keeping this bizarre kid from the world.
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.
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.
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.
Apparently whoever wrote the 'news' isn't aware that Debian already supports the NetBSD and Hurd kernels.
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.
Whatever happened to the project to make a Debian distro using the OpenSolaris kernel instead of the Linux kernel?
--
make install -not war
So how long does it take that centaur to login?
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.
does it run linux?
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
I use pfSense which is based on FreeBSD and it's damn stable.
Now with Debian wanted to offer folks the choice of which two completely different kernels at boot time is kinda scary to me.
Kinda like offering folks the choice of booting Windows 98 and Vista despite the fact most programs will run just fine. Just certain unknowns will bite people in the ass.
In any case, the submission is a bit confusing where it says that Deb "supports two kernels at the same time". Unless I'm having a total brainfart, that doesn't make sense to me: a Linux binary would no more run under a BSD kernel than it would under DOS (and vice versa).
Unless, of course, he really means everything is re-compiled, which does make sense.
"This makes Debian the first distribution, and probably the first large OS, to support two completely different kernels at the same time."
First? Nope: Gentoo Linux has supported Linux on a BSD kernel for a number of years now.
Also, when you say "at the same time," I'm sure you meant that Debian users can chose either kernel during install, not that users can choose which to boot either BSD kernel or Linux kernel each time they boot... please write more clearly.
doesn't offer much in the way of the discussion of this topic. mostly conjecture i.e. not interesting. the opinion is also biased in a way that reeks of unscientificness
I just installed "GNU/FreeBSD"
Hibernate saves the contents of memory to disk and then _turns off_ the computer.
Zero power usage, speedy restart.
My Journal
How about "ps -ax" bitching at you not to type the dash (which every other Unix system requires)
You're lucky that Linux accepts that standards violation at all. Try it on any real UNIX (Solaris, HP-UX, UnixWare, IRIX, etc.), and you won't get what you want.
The proper UNIX syntax to print every process is "ps -e". Woah, that doesn't even work on FreeBSD! Linux accepts it. Clearly, BSD is even less of a UNIX than Linux is.
IRIX and Solaris will simply reject "ps -ax". (the "-x" is not valid)
HP-UX will interpret "-x" as a request to extend the command line. It seems to be a sort of width option, or for showing command args.
UnixWare will interpret "-x" the same as "-y". This is a format modifier commonly used with "-l". It drops the useless FLAGS field and replaces the useless ADDR field with RSS.
AIX and Tru64 will reject your command too, though they are at least nice enough to accept it without the "-". Try "ps ax" and it'll work, but "ps -e" is really the proper way to issue your command.
Linux of course fully supports POSIX and UNIX behavior, unlike FreeBSD. If you leave off the "-" though, you can get BSD behavior too. You can even mix the options. What you're complaining about is a friendly reminder that Linux is making a DWIM-style guess to deal with unknown options that have POSIX/UNIX-style syntax but no POSIX/UNIX meaning.
It's what Freedom software is supposed to be all about.
Now the only big thing left is to use a unified package manager to be able to add, remove, and upgrade Linux packages, even the ones outside the distro's repository. Once Linux is free of proprietary distro packaging, and projects are using more standardized APIs so that users can swap out one program in their software "stack" for another program if, say, they wanted to do something like switch to a new desktop notification system, or what have you, it would be cake! Then users would never be forced to install a different OS just because there's a piece of software they want and they don't know anything about compiling or the command line!
Promote true freedom - support standards and interoperability.
The thought of misplaced universality often leads developers to folly. The folks at debian seem bent on establishing some sort of record here.
As we all technical oriented people knows the fact that Debian is the software system and it use Linux operating system and offers GNU/Linux development platform for developers (because no developer can build applications without devel-tools).
The Debian has now come one step forward for coming true multiplatform-multiOS software system. You can run now Debian at least with three different operating system. Linux, Hurd and FreeBSD.
But as we all know by the history, Debian is the FSF bitch who spread the GNU propaganda on it's name etc. But they gain own momentum from it too.
It is just sad that GNU project has not yet got their own OS (hurd) working. Now they are on the road to ruin FreeBSD fame (what is left from it) with GNU propaganda of Debian GNU/FreeBSD.
It is sad that political people like RMS and some Debian users twist the computer science to gain fame and reason to call own work more important than others work who has already builded the operating system what they then just use on their own systems.
So is Debian so great when we look it as objective...? No... they are just biased people like many GNU fanatics. But that does not mean they do not develope damn good software (first class some may say) and package them to great software system!
Next mission - Windows kernel package for Debian.
Otherwise correct but you miss the information that Hurd, NetBSD, Linux and SunOS (OpenSolaris) are operating systems as well ;-)
Indeed, just like the engine is a fairly small and minor part of a car. In fact, there are vehicles without engines, therefore, by analogy, you can also have an operating system without a kernel, the kernel is totally irrelevant, right?
Geez, why cannot the GNU people get The Hurd working and get over the kernel envy end this stupid just-a-kernel joke, once and for all?
Debian can run over Linux, kFreeBSD, kNetBSD and Hurd since ages ago. Was just added to the main repository.
http://www.debian.org/ports/
http://www.imdb.com/media/rm926456064/tt0069372
Chris
So Buddha walks into a pizza parlor and says: "Hey, make me one with everything."
Apollo Domain hosted BSD, Unix Sys 5 and Unix Sys 7 under the Domain OS-ness ... So a great direction Debian is taking but not a first. And in Apollo's case it was a dynamic choice ...
Very cool tech at Apollo, and now HP has buried it deeply (Also had a great UI design tool called Dialog that decoupled UI from implementation and was way ahead of its time... Alas it seems gone forever even though an attempt was made to "open it" and Digital (then Compaq then, what for it ... HP) had a similar decoupled UI design system, all gone it seems)
- Tjp
I am in wallow with my inner money grubbing capitalistic pig. ... Oink!
Would that make it "Debian GNU/BSD"?
...4-way redundant power supply...
What on earth is that for? I understand wanting 2, or 3 just to be extra safe, but 4? How do you lose 3 of 4 without noticing?
There have been unofficial ports before but afaict this is the first time one has been accepted into the debian archive.
note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
Novell has supported both netware and linux kernels for a while now. You can decide which one to use during the install.
MFG: "The system supports both the LAMP (Linux, Apache, MySQL, PHP) and WIMP (Windows, IIS, MySQL, PHP) platforms."
Every single system that fails your expectations is POSIX-compliant. It goes together generally:
A. support "ps -ax", fail "ps -e", not POSIX compliant
B. fail "ps -ax", support "ps -e", POSIX compliant
Strictly speaking, a POSIX system need not support "ps -e" (for every process), but they all do anyway. Likewise, a POSIX system could support "ps -ax", but none actually do.
The bigger trouble is BSD's failure to interpret "ps -uwax" as asking for ps to print processes belonging to a user named "wax". FAIL.
[to correct the topic]
* the -j/-z options are new in FreeBSE 7. They dont exist in other/older implementations.
* a help options simply listing the commands w/o explanation is useless. you shouldnt have to consult the man pages to see a short description
* your "syscall bs" is nonsense. It's like "go read the source luke"...
I have found here much useful information. Thanks timothy !!!
Eunuchs and Code Swapping and incestuous distros!
http://www.netneurotic.net/mac/unix/timeline.html
It's immoral I tell you!
Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
These gems are why I still read Slashdot :)
Really interesting, in depth post. You sir deserve a virtual beer or other beverage of choice.
Here's to the crazy ones
Finally a distribution that shows some Linux users can get laid.
Debian BetterSexDaily.