News for hackers. Stuff that matters.
Re:Minix 3.2.1 Released by cerales on Sunday February 24, 2013 @02:52AM (#5273335)
Anyone care to give a very cursory run-down on why someone would look at Minix in this day and age instead of one of the BSDs? Particularly since those release notes mention bringing in the NetBSD build system and much of its userspace.

Not to say that I think it's bad to have plenty of unixes floating around - just curious.

Re:Minix 3.2.1 Released by jacques_chester on Sunday February 24, 2013 @03:03AM (#5273360)
Minix is a microkernel architecture. Many of the services which in other OSes live in kernel space are pushed out into standalone processes.

The main goal is to improve reliability. Bad drivers or bad hardware are the leading cause of lockups these days. If you isolate the drivers, file system etc from one another, you can prevent the whole system from dying. Minix3 goes further than its predecessors by adding a "reincarnation server", which periodically pings other servers and kills/restarts them if they've become unresponsive.

Minix essentially does at a single-system level what cloud architectures try to do at a multi-system level: assume that the parts are unreliable, isolate faults and recover by restarting sub-units.

To me the more interesting possibility is that in a microkernel world you could solve a number of classic OS/system software bunfights. Databases, for example, tend to fight a bit with OSes about the best way to buffer data or flush to disks. In a microkernel system you can arrange matters so that the database provides its own memory and disk management. It's just another process; nothing special.

Here's the report that was written about the design: http://www.minix3.org/docs/jorrit-herder/osr-jul06.pdf

Re:Minix 3.2.1 Released by thirsteh on Sunday February 24, 2013 @11:15AM (#5274689)
It's also for security. If you find a security vulnerability in e.g. the sound driver, you're not going to get root access.

Andrew Tanenbaum explains it well: http://www.youtube.com/watch?v=bx3KuE7UjGA

Re:Minix 3.2.1 Released by fusiongyro on Sunday February 24, 2013 @03:02AM (#5273355)
Minix is a true microkernel architecture, but also a complete and practical OS. The analogy to NetBSD is a good one, since they're both largely didactic devices, but they demonstrate radically different internal operating system architectures.
Re:Minix 3.2.1 Released by rm445 on Sunday February 24, 2013 @07:26AM (#5273968)
Mainly research and education. MINIX is meant to be (though I haven't read the code since the first edition printed in Tanenbaum's book) a clean, simple project for students and researchers to begin hacking on easily . In this day and age, research OSes don't become mainstream ones, but MINIX could be a good target for research which would make its way to the more widespread OSes if successful.

The above is stating the obvious, so I presume you are asking about commercial/embedded use. The answer is probably similar - if you want a nice clean base to start from and want a general-purpose UNIX rather than a realtime system, and you don't need much from the userland beyond classic UNIX tools. Perhaps your work involves hacking at the system level, or you're keen on having a microkernel architecture. It's a bit niche but could be a very suitable base for an embedded project.

Re:Minix 3.2.1 Released by fusiongyro on Sunday February 24, 2013 @12:34AM (#5273011)
There's no need to visit that graveyard to read the actual article, which is here: http://www.minix3.org/releasenotes-321.html
Re:Minix 3.2.1 Released by pilgrim689 on Sunday February 24, 2013 @07:14AM (#5273945)
I'm only familiar with the QNX microkernel from working in safety-critical systems. I'm really excited for the possibility of an open source microkernel getting some mainstream attention, since the benefits (modularity, reliability, maintainability, security, etc.) of a microkernel are just too real to ignore now.

Can someone explain how Minix compares to Hurd? In terms of how far ahead both projects are, the differences in their architecture and visions?

Re:Minix 3.2.1 Released by d4mi3n on Sunday February 24, 2013 @02:11AM (#5273222)
This is my first time hearing about Minix, and the new architecture seems interesting. Are there any other linux distributions that use something similar to Minix's micro-kernel approach, or is this a bit of an oddity?
Re:Minix 3.2.1 Released by jacques_chester on Sunday February 24, 2013 @02:14AM (#5273230)
Poe's Law strikes again. I can't tell if you're making a joke or not.

Assuming you're being serious: no. Linux distributions do not work this way because Linux was itself deliberately designed to be unlike Minix.

Re:Minix 3.2.1 Released by sltkr on Sunday February 24, 2013 @03:47AM (#5273444)
I wouldn't say that Linux was "deliberately designed to be unlike Minix" -- after all, Torvalds' original announcement [1] was in comp.os.minix and he admitted that his OS "resembles [Minix] somewhat".

It's more accurate to say that Linux evolved to be very different from Minix because of Torvald's focus on pragmatism.

1. https://groups.google.com/forum/?fromgroups=#!msg/comp.os.mi...

Re:Minix 3.2.1 Released by jacques_chester on Sunday February 24, 2013 @04:06AM (#5273495)
I think that's a better way to characterise it, but I was definitely referring to the famous Torvalds/Tannenbaum debate.
Re:Minix 3.2.1 Released by mercurial on Sunday February 24, 2013 @02:45AM (#5273318)
I suppose it depends on what you mean by"Linux". If you mean the userland, you can find Debian with a Hurd kernel.
Re:Minix 3.2.1 Released by jacques_chester on Sunday February 24, 2013 @02:58AM (#5273349)
By "Linux distribution" I have reasonably assumed that he was talking about a Linux distribution.
Re:Minix 3.2.1 Released by qznc on Sunday February 24, 2013 @03:31AM (#5273412)
If you do not know about Minix and Microkernels, you probably want to dig into the famous debate between Tanenbaum and Torvalds.

http://oreilly.com/catalog/opensources/book/appa.html

http://en.wikipedia.org/wiki/Tanenbaum%E2%80%93Torvalds_deba...

Re:Minix 3.2.1 Released by krelian on Sunday February 24, 2013 @02:32AM (#5273282)
Minix is not a linux distribution.
Re:Minix 3.2.1 Released by fosap on Sunday February 24, 2013 @04:40AM (#5273573)
It is a different kernel with a netbsd userland. I somehow expect a Debian/minix to come out soon.
Re:Minix 3.2.1 Released by e12e on Sunday February 24, 2013 @07:50AM (#5274013)
A "Linux distribution" - by definition - use the Linux kernel - as there is no "Linux" system/os. So RedHat, Debian/GNU Linux, Ubuntu and Android are all "Linux distributions" (although, GNU/Linux is usually a better term [edit: Android, afaik does not use a lot, if any GNU code]). FreeBSD, Nexenta (open source Solaris with a GNU userland), Debian/kfreeBSD and Debian/HURD are not Linux distributions, but they are operating system distributions. The latter one would be similar in the sense that HURD is a microkernel.
Re:Minix 3.2.1 Released by devinus on Sunday February 24, 2013 @01:13AM (#5273104)
I can't wait for Minix on the RPi!
Re:Minix 3.2.1 Released by frozenport on Sunday February 24, 2013 @02:24AM (#5273255)
Unanswered Question: why Minix?
Re:Minix 3.2.1 Released by rajeevk on Sunday February 24, 2013 @03:34AM (#5273420)
Minix is very good for learning internals of operating system. In my second year of undergrad, I went through the code of minix and and it was a great learning experience. I could learn a lot about the internals of operating system by looking at real working code rather than just reading theories. The Linux code is too complicated for beginner. I think, Linux can not replace minix in educational world.
Re:Minix 3.2.1 Released by reidrac on Sunday February 24, 2013 @04:18AM (#5273524)
Circa 1999 I studied Minix in a operating design course, but in the same way we studied Amoeba or Mach; in fact we used a pre 1.0 Linux kernel for practice (I don't remember the distro, it could be custom), and it was small enough to understand the different parts, hack, compile and run.

"Operating Systems: Design and Implementation" (included Minix) and "Modern Operating Systems" are great books and I think is because of them that Minix is relevant in OS teaching (specially OSDI, although I enjoyed MOS too).

EDIT: typo

Re:Minix 3.2.1 Released by limmeau on Sunday February 24, 2013 @04:44AM (#5273585)
In 1999, Linux was already in the 2.0s or 2.2s; did your course deliberately use an old Linux kernel for simplicity?
Re:Minix 3.2.1 Released by reidrac on Sunday February 24, 2013 @04:52AM (#5273611)
I think so. Besides the computers we had access in the laboratory were limited in resources so a smaller code base I guess had its benefits in compile time.
Re:Minix 3.2.1 Released by thirsteh on Sunday February 24, 2013 @11:19AM (#5274709)