Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Europe Funds Secure Operating System Research

Posted by kdawson on Tue Apr 28, 2009 04:28 AM
from the software-heal-thyself dept.
narramissic writes "A Dutch university has received a $3.3 million grant from the European Research Council to fund 5 more years of work on a Unix-type operating system, called Minix, that aims to be more reliable and secure than either Linux or Windows. The latest grant will enable the three researchers and two programmers on the project to further their research into a making Minix capable of fixing itself when a bug is detected, said Andrew S. Tanenbaum, a computer science professor at Vrije Universiteit. 'It irritates me to no end when software doesn't work,' Tanenbaum said. 'Having to reboot your computer is just a pain. The question is, can you make a system that actually works very well?'"
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by Anonymous Coward on Tuesday April 28 2009, @04:30AM (#27743003)

    I thought Windows was secure. Why not use that? *cough* *cough*

    • by 4D6963 (933028) on Tuesday April 28 2009, @04:32AM (#27743011)

      I thought Windows was secure. Why not use that? *cough* *cough*

      I thought OpenBSD was secure. Why not use that?

      • Re: (Score:3, Funny)

        by Anonymous Coward

        I though Minix was dead for some 15 years....

        • I though Minix was dead for some 15 years....

          Did netcraft confirm it?

          • by Fred_A (10934) <fred&fredshome,org> on Tuesday April 28 2009, @07:05AM (#27743949) Homepage

            Minix did get an reputation of being unstable some 20 years ago, but of course - much have happened since then.

            The one thing that hasn't changed though is that Minix is still just a toy system that's meant to be poked at in schools and that nobody actually uses (yes I know about the 3 rabid Minix users, they probably run AmigaOS too).
            Oh, wait, now it finally supports X11 (woohoo !). Wait, has it got a mouse driver too ?

            However Minix3 *does* feature support for "Over 650 UNIX programs [minix3.org]" (such as man, mkdir and ps). *650* ! It's like 130 × 5 ! Think about it !

            Granted, starting from a small scale system such as Minix is certainly simpler than with a much more mainstream OS such as one of the BSDs or Linux but even if anything comes out of the project, it won't ever gain even "niche" status. More people must be running Plan9 or Inferno.
            The whole idea is utterly futile, except possibly if the code or the concepts can be reused with another system later on.

          • by Antique Geekmeister (740220) on Tuesday April 28 2009, @07:39AM (#27744187)

            Yes, most developers moved to Linux and stopped writing that pesky, unstable software that anyone actually uses.

            Keeping a kernel that is 10 years behind the leading edge in file systems or communications, especially by kicking it all out of the kernel and saying "Naah-naah-naah! Not my problem!!!!" is like having a very secure car that doesn't have a reverse gear, seats, or door handles. It certainly helps contribute to stability. But the associated software to handle USB, firewire, packet filtering, or network file systems just isn't up to speed.

            • by AVee (557523) <[gro.eeva] [ta] [todhsals]> on Tuesday April 28 2009, @11:15AM (#27746843) Homepage
              That kind of car is actually build regularly by most car manufacturers. The amount of money spend on those cars is often in the same ballpark, or even more. They call it concept cars, and they generally also only explore certain aspects of cars while happily ignoring others.

              Thats is not going to be your car for daily use. Minix probably isn't going to be you daily OS anytime soon either, but that no reason not to spend research money on it. The IT industry could do with some more proper research instead of just reinventing the same weels (but this type using XML and HTTP!) all the time.
      • Re:Wait a second... (Score:5, Interesting)

        by xouumalperxe (815707) on Tuesday April 28 2009, @05:05AM (#27743239)

        I guess the idea is less about creating an all around well-built system that's pretty secure in practice, and more about creating something that, even if it might have implementation bugs today is fundamentally, conceptually more secure.

          • Re:Wait a second... (Score:5, Interesting)

            by Hurricane78 (562437) <<moc.liamelgoog> <ta> <inamaz.divan>> on Tuesday April 28 2009, @06:15AM (#27743599)

            That was my thought too. If you want to do it right, why not program it in Haskell in the first place. Sure, it might be a little bit slower (not even much actually). But if you go for security, that's not that important anyways.

            Now how they will solve the PEBKAC problem, if they end up with a TCPA-like system (in the original intended way of protecting the user, not protecting from the user) and what they will do against tricks like remotely reading computer input, the inevitability of programming errors and bios virii, is a completely different question.

          • Re:Wait a second... (Score:5, Interesting)

            by mustafap (452510) on Tuesday April 28 2009, @06:55AM (#27743875)

            If you don't understand security it wont matter what language you write in, it will still be crap.

              • Re:Wait a second... (Score:4, Interesting)

                by Jurily (900488) <jurily@@@gmail...com> on Tuesday April 28 2009, @08:34AM (#27744725)

                I'll say this, like I always say it: there is no magic bullet when it comes to security. Even an operating system written from the ground up around security like OpenBSD can be configured incorrectly. Even an operating system written from the ground up around security can have security bugs.

                OpenBSD was not written securely from the ground up. It was secured from an inherited codebase over a long, long time. And they have witnessed, time after time, how they combed over the source code for a specific class of bugs, cleaned it, and two versions later the same bug appeared from upstream because the programmer did not fully grok the API he was using.

                Just google for strlcpy().

          • by xouumalperxe (815707) on Tuesday April 28 2009, @07:20AM (#27744039)

            Dropping C... for what exactly? We're not talking application level security. We're talking kernel level. That means talking to the bare metal. Even if you implement a microkernel with userspace modules for everything, and with those modules written in something more robust than C, that last crucial bit of code that is the microkernel itself is probably going to end up being written in C with ASM snippets, simply because at some point you need to explicitly state what the hardware is doing.

            • Re:Wait a second... (Score:5, Interesting)

              by Cyberax (705495) on Tuesday April 28 2009, @09:01AM (#27745057)

              Dropping C is possible.

              For example, CoyotOS (http://www.coyotos.org/) uses BitC and aims for the completely proved kernel. I.e. it will be formally proven that its microkernel CAN'T crash or do something wrong.

              Or look at QNX, their microkernel used to be something like 12Kb of hand-written assembly code (and so stable that QNX systems literally work for decades now without reboots). The rest can be done using other tools than plain C.

              • by xouumalperxe (815707) on Tuesday April 28 2009, @08:00AM (#27744401)

                And with almost everything going to interpreter environments today (Python, Ruby, Java, .Net), there's a better argument that building a JIT as a kernel component and that the message passing overhead is less of an issue.

                Let me get this right, after stating that the advantage of a microkernel lies in the much smaller size in LOCs, you just argued that adding JIT compiler to the microkernel itself is a good idea?

                Part of the idea behind a microkernel is that you only need to prove correctness for a small amount of code. The other part is that, when you want to add features, you only need to prove the features you want work correctly. So, instead of proving that each driver works correctly (which, for most environments where this stuff really matters, only needs to be done for a "handful" of drivers), you just upped the ante and said "prove the whole JIT compiler works correctly". And the "message passing overhead" pales in comparison with a poorly-optimized JITC, which is what you get if you want to keep TLOC count low.

        • Re: (Score:3, Funny)

          by Zumbs (1241138)

          I thought Windows was secure. Why not use that? *cough* *cough*

          I thought OpenBSD was secure. Why not use that?

          I thought DOS was secure. Why not use that?

          I thought stone tablets were secure. Why not use them?

    • Re:Wait a second... (Score:5, Interesting)

      by Jacques Chester (151652) on Tuesday April 28 2009, @05:32AM (#27743403)

      The sad thing about Windows NT is that the design was pretty good, the implementation was OK, but the default security policy is totally useless. Hooray for backwards compatibility.

  • by oneirophrenos (1500619) on Tuesday April 28 2009, @04:32AM (#27743009)

    The question is, can you make a system that actually works very well?

    I'm glad someone finally got to asking this question.

    • Re: (Score:3, Interesting)

      by u38cg (607297)
      You can. It just requires well defined inputs and outputs and to run on certified hardware. Software, heal thyself? There's a reason self-modifying code is frowned upon. Besides, is kernel reliability really an issue these days? Even the Windows kernel only really crashes when you feed it bad memory.
      • by Chrisq (894406) on Tuesday April 28 2009, @04:54AM (#27743161)

        Software, heal thyself? There's a reason self-modifying code is frowned upon. Besides, is kernel reliability really an issue these days? Even the Windows kernel only really crashes when you feed it bad memory.

        They are actually talking about things like driver isolation with monitoring and restarts. The answer to whether kernels are stable enough depends on your requirements. I find that I am much less forgiving when my DVD player crashes and doesn't record the film I have set than when my computer crashes, though both are now very rare events. Monitoring, isolation and restarting is used in things like engine management systems, where failures are even less welcome and a full OS with this level of reliability is bound to have applications in medicine, industry, "defence", etc.

          • by Vanders (110092) on Tuesday April 28 2009, @05:14AM (#27743303) Homepage

            The problem with driver isolation is that it's a layering violation given most today's PC hardware.

            That depends on how you've designed things, I guess. "Today's PC hardware" (& yesterdays for that matter) has always provided 4 protection ring levels, but very few OSes have ever made use of more than 2 (1 for the kernel, one for userspace). You could certainly put drivers in a higher ring than the kernel and allow them to only have limited access to memory, just as you do with a user-space application.

  • by Viol8 (599362) on Tuesday April 28 2009, @04:33AM (#27743017)

    .. they want their funding back.

    Seriously , I thought minix had been put out to pasture years ago.

    Also what are 5 people going to manage that entire corporations and thousands of OSS developers failed to do in the last few decades? Ok , one of them might be the next Alan Turing and surprise us all but I won't hold my breath.

    • by FourthAge (1377519) on Tuesday April 28 2009, @04:41AM (#27743069) Journal

      The aim is not to produce a better operating system, the aim is to secure funding. This is what academics actually do; good research is (at best) a byproduct. This is business as usual for a research group. The real research will be a low priority, because the group will need to satisfy the EU bureaucracy that they are doing something worthwhile. Consequently, most of their time will be spent writing reports.

      Bear in mind that ideas like "self healing software" are buzzwords that you put on research proposals in order to get them accepted. See also: "cyber-physical systems", "multicore paradigms" and "sensor networks".

      • EU Burocracy... (Score:5, Informative)

        by js_sebastian (946118) on Tuesday April 28 2009, @05:56AM (#27743511)

        The aim is not to produce a better operating system, the aim is to secure funding. This is what academics actually do; good research is (at best) a byproduct. This is business as usual for a research group.

        Not really. The purpose is doing the research you are interested in doing (even if it's just for your career ambitions). For that you need funding. So of course you have to do some marketing to sell the research you want to do to the people deciding whom to fund. You think this guy has been doing MINIX for 20 years just to get funding? It's the other way around, you get funding, to be independent and have people work for you so you can get some interesting stuff done. Or, if you are more cynical, he's working on MINIX because it generated enough interest that he could get a ton of publications out of it.

        The real research will be a low priority, because the group will need to satisfy the EU bureaucracy that they are doing something worthwhile. Consequently, most of their time will be spent writing reports.

        From my experience this is a bit of an exaggeration. It's true that EU-funded projects have more strings attached than those from many other funding sources, but running the burocracy/reports/financials for an EU project that is funding 3 full time people at our university still only takes a rather small percentage of my time.

        And that's a lot more freedom to do real research than in any company environment i've seen or heard of so far. Big companies (even the good ones) have IMHO more bureaucracy, not less, and short-term horizon (want returns in 3, 5 years at the most), which means very little of what is called "research and development" has anything to do with research.

    • by Zumbs (1241138) on Tuesday April 28 2009, @04:42AM (#27743077)
      The point may not be to build the next big $SUPER_DUPER_OS, but to try out some new ideas and concepts for better and more robust OSs in a very controlled environment. If they get good results, the ideas may be integrated into the kernal of those other OSs, hopefully improving the quality of the OS.
    • by VoidCrow (836595) on Tuesday April 28 2009, @04:57AM (#27743185)
      That tendency of unimaginative geeks to piss all over ideas that aren't actually in front of them and in use at that point... It's loathsome and saddening.
    • by PhotoGuy (189467) on Tuesday April 28 2009, @05:46AM (#27743461) Homepage

      I remember Minix. Before there was Linux, Minix was around. It was my first exposure to a Unix-like operating system on a PC. It was surprisingly lean and elegant and Unix-like. I still have the box of floppies. I remember recompiling and modifying the operating system. It was indeed quite a powerful tool, and I dare say an important precursor to Linux.

      (When I first heard about Linux, I had incorrectly assumed it was an evolution of Linux.)

      I see a lot of people bashing Minix here; I don't think it will replace Linux by any means, but it is an important historical OS, IMHO.

      Wiki notes (about Linux):

      In 1991 while attending the University of Helsinki, Torvalds began to work on a non-commercial replacement for MINIX,[13] which would eventually become the Linux kernel.

      Linux was dependent on the MINIX user space at first. With code from the GNU system freely available, it was advantageous if this could be used with the fledgling OS.

      • by Chrisq (894406) on Tuesday April 28 2009, @04:56AM (#27743177)

        Along the same lines as the above post.... What a waste of my taxes. I am getting fed up of hearing about cash going to dubious research projects. There are some big problems to be solved out there for example reducing mans dependence on fossil fuels and reducing the damage they cause our planet. Why are we wasting cash on this dubious project?????

        Many PHD students will feed back what they learned into industry on graduation. Its called education, and it is not a waste of money even if Minix 3 is not the next best OS. Some things that come out of it will almost certainly be used.

  • MINIX guy (Score:5, Informative)

    by 4D6963 (933028) on Tuesday April 28 2009, @04:34AM (#27743031)

    said Andrew S. Tanenbaum, a computer science professor at Vrije Universiteit

    It sounds intentionally misleading to present them as "a computer science professor" when he's the one MINIX guy.

  • What's the point? (Score:3, Informative)

    by seeker_1us (1203072) on Tuesday April 28 2009, @04:34AM (#27743033)

    All respect to Andrew Tanenbaum, I'm not trying to troll. It's a sincere question.

    He has said Minix was to be a teaching tool.

    Now they want to turn it into a super reliable OS?

    I don't think it's to make it into another production OS. Could it be in order to develop new OS concepts and ideas which can be spread out to the world?

    • by MrMr (219533) on Tuesday April 28 2009, @04:56AM (#27743179)
      Yes, imagine that: A professor trying to teach students how to implement something new and potentially useful rather than clicking ok in the 'solve my problem' wizard.
    • Re:What's the point? (Score:5, Interesting)

      by MichaelSmith (789609) on Tuesday April 28 2009, @05:32AM (#27743405) Homepage Journal
      Back when Linus started to write his kernel the debate between monolithic and micro kernels still made some sense. But now more features and drivers are being written for linux and it is getting bigger and more bloated. Functions are being put into modules but that only solves half of your problem because a module can still bring down the kernel.

      I think AST was right. Linux can't continue to use a monolithic architecture.
        • by jensend (71114) on Tuesday April 28 2009, @08:21AM (#27744611)

          Linus said himself, that his biggest error with Linux was, that he made it monolithic.

          [citation needed]
          All these years after the Tenenbaum-Torvalds debate Linus admitted his prof was right? You'd think that would have been in the news somewhere.

    • Re:What's the point? (Score:5, Informative)

      by EMN13 (11493) on Tuesday April 28 2009, @05:53AM (#27743491) Homepage

      It's also a research OS - the aim isn't to make minix the next best thing, the aim is to research self-healing OS software by using minix as a test platform.

      Most good production software takes a good look at similar software to imitate the best features of each - this isn't a competition between minix and linux, it's testing a feature is a simpler (and thus cheaper) fashion.

    • Re:What's the point? (Score:5, Informative)

      by irexe (567524) on Tuesday April 28 2009, @07:03AM (#27743937)
      I asked Tanenbaum this question at a lecture he gave on Minix 3 earlier this year. He responded that he changed his mind somewhat about the education-only issue because he felt that, to prove a point about the superiority of the microkernel design, you need to get it out of the lab and into the real world. He also felt that he could do this without hurting the simplicity of the system as a teaching tool. Incidentally, his intention is not to compete with Linux or Windows on the desktop, but rather to make a robust OS for embedded applications.
  • A self-repairing OS? (Score:3, Interesting)

    by cpghost (719344) on Tuesday April 28 2009, @04:50AM (#27743121) Homepage
    Actually, it's not such a bad idea. The concept of putting important components in user-space has been around for a while, and it still has potential w.r.t. reliability. But the real question is: are only microkernel architectures capable of self-healing?
    • by Jacques Chester (151652) on Tuesday April 28 2009, @05:31AM (#27743397)

      No, but dividing things into smaller pieces makes it easier to fix those pieces in isolation. It's easier for a microkernel system to be self-healing because of that isolation.

      This is not an amazing revelation. We've known about the idea of isolating changes since the invention of the sub-routine. The reason microkernels have always been relegated to second-best is that they require more context switching than a regular monolithic kernel. The tradeoff between "fast enough" and "reliable enough" has for some time now favoured "fast enough".

      But that's changing -- people's computers are getting plenty fast. The 10-15% slowdown Tanenbaum claims for Minix3 is less of a drag than, say, an anti-virus program and could serve to more effectively prevent viruses into the bargain.

      People who say microkernels are passe forget our industry is not set in stone. Priorities change and technologies change with them. In the last 10 years performance has become progressively less important than reducing bugs or speed of development. Microkernels have lots to offer in such a world.

  • by fishexe (168879) on Tuesday April 28 2009, @04:50AM (#27743129) Homepage

    Now that Minix 3 is here, Linus can take his monolithic kernel and stuff it! Microkernels are the wave of the future, man!

  • Minix 3 source code (Score:4, Informative)

    by Jacques Chester (151652) on Tuesday April 28 2009, @05:01AM (#27743217)

    I'd recommend people take a look at the source code for Minix 3. It's actually pretty easy to wrap your head around, even for a C-phobic person like I am.

  • Hooray! (Score:5, Funny)

    by Cornwallis (1188489) * on Tuesday April 28 2009, @05:12AM (#27743297)
    2009 will finally be the Year of the Minix Desktop!
  • by ei4anb (625481) on Tuesday April 28 2009, @05:18AM (#27743323)
    I remember submitting some patches to them many years ago when I got Minix working in less that one megabyte of RAM (at the time Minix worked at 1Mb and up) and thinking that it would be nice if it were GPL and if I had the time...
    As I recall some guy in Finland did have the time
  • by master_p (608214) on Tuesday April 28 2009, @06:11AM (#27743581)

    The real reason there is no security and that we have the monolithic vs micro kernel is that CPUs provide process isolation and not component isolation. Within a process, CPUs do not provide any sort of component isolation. If they did, then we would not have this discussion.

    I once asked Tanenbaum (via email, he was kind enough to reply) why CPUs do not have in-process module isolation. He replied:

    From: Andy Tanenbaum [ast@cs.vu.nl]
    Sent: Ðáñáóêåõ, 1 Öåâñïõáñßïõ 2008 4:00 ìì
    To:
    Subject: Re: The debate monolithic vs micro kernels would not exist if CPUs
    supported in-process modules.

    I think redesigning CPUs is going to be a pretty tough sell.

    Andy Tanenbaum

    But why? I disagree with that for two reasons:

    1) the flat address space need not be sacrificed. All that is required is a paging system extension that defines the component a page belongs to. The CPU can check inter-component access in the background. No change in the current software will be required. The only extra step would be to isolate components within a process, by setting the appropriate paging system extensions.

    2) The extension will require minimal CPU space and CPU designers already have great experience in such designs (TLBs, etc). Money has been invested for less important problems (hardware sound, for example), so why not for in-process components? it will be very cheap, actually.

    Of course, security is not only due to the lack of in-process component isolation, but it's a big step in the right direction...

    • by Chrisq (894406) on Tuesday April 28 2009, @05:01AM (#27743215)

      How many times is this old chestnut going to be tossed around?

      MS tried a microkernel with NT and its HAL. It didn't really work very well. Most Unix varients don't even bother to try.

      I think you are right at the moment. I am not sure that you will still be right when processors are 256-core or greater. I think that at some point the overhead of microkernals will be made up for by utilisation of greater parallelisation.

    • by fishexe (168879) on Tuesday April 28 2009, @05:08AM (#27743257) Homepage

      "Of course 5 years from now that will be different, but 5 years from now everyone will be running free GNU on their 200 MIPS, 64M SPARCstation-5."

      Man, remember back in '96 when we all got SPARCstations? Those were the days.

    • by Ragzouken (943900) on Tuesday April 28 2009, @05:10AM (#27743273)
      Actually he said: "Be thankful you are not my student. You would not get a high grade for such a design :-)" the :-) is important.
    • Re:Tanenbaum? (Score:5, Insightful)

      by miketheanimal (914328) on Tuesday April 28 2009, @05:20AM (#27743329)
      Has anyone noticed how more and more stuff gets moved from the Linux kernel into user space these days; FUSE is a good example. History may record that, broadly speaking, Tanenbaum was corrent and Torvalds was not. Anyway, I assume you are saying that since Linux has been so much more successful than Minix, we must listen to Torvalds and ignore Tanenbaum? On that basis, we should listen to Gates and ignore Torvalds!
    • Re:Tanenbaum? (Score:5, Insightful)

      by Xest (935314) on Tuesday April 28 2009, @06:53AM (#27743863)

      That's a rather ignorant viewpoint.

      Tanenbaum argued for greater modularity and really that's no bad thing, his arguments were pretty solid theoretically. But as we all know, just as the most beautiful, maintainable, stable software designs are sacrificed in business for something that works now even if it has it's flaws, Linux was available, easy to use and just worked the way people wanted, that didn't mean it was inherently better in theory or that Tanenbaum is wrong anymore than it means Windows is a vastly superior OS to Linux and MacOS X simply because it has such a massively larger user base.

      Basing your view on Tanenbaum's one comment towards Torvalds is also rather ignorant, throughout the discussion you're referring to, Tanenbaum was well composed and formed coherent arguments, whilst Torvalds at times acted like your average troll.

      You see, the very fact Windows is far and away the most popular OS followed by MacOS X followed by Linux is evidence enough that popularity means nothing in terms of the actual quality of an OS, it merely shows which played the business game better.

      Tanenbaum is worth listening to, his ideas and justifications included in that 17 year old discussion you mention aren't wrong even if his predictions on the future of computing were. This is a man who understands the theory of how to make a better OS more so than most people do, and yes possibly even more so than Torvalds. The problem is that he's a theoretical guy, so whilst his proposals may be better, they may not be practical at the time they're announced or he simply may not have the time to dedicate to proving their practicality. If they're not practical at the time he proposes them though that doesn't mean they'll never be practical as changes in computing architecture or even raw computing power may make them practical.

      Hopefully he'll put this funding to good use and it'll help provide him the time and resources he needs to take his ideas beyond mere theory and he'll be able to backup his theories with actual working demonstrations rather than just arguments now. You can be a Torvalds fanboy all you want but Tanenbaum and Torvalds are two different people - Tanenbaum is someone who comes up with theoretical new concepts, Torvalds is someone who takes existing concepts and implements them well. Both have their strengths, but writing one or the other off is foolish when both have a lot to offer.