Slashdot Mirror


Plex86 Lives, As Lightweight VM Technology

Kevin P. Lawton writes "Plex86 has been completely overhauled, and simplified to be a user (application) code only Virtual Machine technology. For running user code, many of the heavy weight x86-VM techniques are unnecessary. But the bonus is, Linux can easily be made to run inside the plex86 VM, so that the kernel is actually 'pushed down' to user privilege level. This has been demonstrated on both Linux 2.4 and 2.5 kernels. Thus, Linux can run in a plex86 VM without the need for any heavy virtualization. My goal is to keep the code base trim, tight, auditable and get to usable releases quickly. And to favor those goals over adding unnecessary complexities. The first milestones have just been reached, so it's still early in development. There are email lists available on the main plex86 site."

189 comments

  1. Taking So Very Long by evilviper · · Score: 3, Insightful

    Plex86 is taking so very long to materialize, I wonder if it is even worth the effort being put into it. Bochs works fine, even if slow, and virtualization isn't exactly a big market. Where does Plex86 fit into all this?

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    1. Re:Taking So Very Long by modus · · Score: 4, Interesting

      Funny you should ask. The site talks about using the new plex86 as an acceleration engine for Bochs. So, instead of emulating each x86 instruction, Bochs could leverage Plex86 and get a big 'ole speedboost.

      Kevin's posted a very limited test case demonstrating this ability to the Bochs lists a bit ago.

    2. Re:Taking So Very Long by PCM2 · · Score: 4, Interesting
      Bochs works fine, even if slow, and virtualization isn't exactly a big market.
      You might be surprised. Lots of people are interested in virtualization. It's useful for things like software testing, and ISPs are keen on it for giving their customers the "dedicated server" experience while maintaining fewer actual boxes. That said, the most effective type of virtualization is the kind that gives applications a "chroot" type of environment -- where each virtualized process is running on the same instance of the OS. Running all those Linux kernels in virtualized environments doesn't really reduce your infrastructure complexity all that much...
      --
      Breakfast served all day!
    3. Re:Taking So Very Long by MikeFM · · Score: 4, Insightful

      Isn't this the same argument thrown against Mozilla a year or two ago? "It's taking to long so it isn't worth the effort." or "We have Internet Explorer anyway - why do we need another browser?"

      Software, especially good software, takes a lot of time to produce. Anyone can throw off crappy code quickly but to make something you'll be able to keep secure and stable over it's lifetime takes time and effort. Unless you're the developer what do you care how the effort is being spent? it's not your time or effort so feel free to go about your business doing something you feel your efforts are more useful in.

      As for me I find Plex86 interesting because I don't want to spend a fortune on hardware but sometimes I do like to have a sandbox enviroment to run development stuff, test apps, or just open questionable email attachments. Bochs is to slow to run many apps properly and if I was going to spend the money for faster hardware I might as well just buy new computers. It makes more sense to use a virtualized enviroment and save some money (and hassle).

      Virtualization may not have as many users as web browsers but it's technology which for the most part will continue to be useful for a long time. The x86 processor has a long history of compatible code so there is no reason to think Plex86/Bochs won't still be useful a decade from now. :)

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    4. Re:Taking So Very Long by jagilbertvt · · Score: 1

      Not to mention there are very few people actually working on this project.

      I would suggest if you are concerned about the length of time this project has been under development that you may want to consider contributing to it.

    5. Re:Taking So Very Long by chrisseaton · · Score: 1

      Do people really run _servers_ in VMs?

    6. Re:Taking So Very Long by Elwood+P+Dowd · · Score: 2, Interesting

      Once it's done, you'll have free VMWare, right? Do you have any idea how cool MacOnLinux is for LinuxPPC users? Plex86 should be at least that cool for x86 machines. You'll be shocked how many people will use this every day.

      --

      There are no trails. There are no trees out here.
    7. Re:Taking So Very Long by larry+bagina · · Score: 2, Interesting

      IBM does.

      --
      Do you even lift?

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

    8. Re:Taking So Very Long by semaj · · Score: 2, Informative

      Funny you should ask. The site talks about using the new plex86 as an acceleration engine for Bochs. So, instead of emulating each x86 instruction, Bochs could leverage Plex86 and get a big 'ole speedboost.

      Kevin's posted a very limited test case demonstrating this ability to the Bochs lists a bit ago.


      He explains how he got Linux 2.5 running in his bochs-developers post. It explains things pretty well, and it sounds pretty fast already - Plex86 can concentrate on all of the user level code, while Bochs handles everything else.
      --
      Meep meep
    9. Re:Taking So Very Long by espresso_now · · Score: 1

      So how come almost every time someone wants to implement some software to accomplish something that has "Been done before", there's always someone chirping in with "Do we really need another....". Sheesh people, if everyone only used/improved what was already available we wouldn't have Linux, Windows, or PCs for that matter.

      --
      Of course, and I highly suspect it, I may be talking out of my ass. -oqti
    10. Re:Taking So Very Long by kscguru · · Score: 1

      Look up VMWare. Two of their three main products are designed for just that. And guess which (two) get the big R&D money?

      --

      A witty [sig] proves nothing. --Voltaire

    11. Re:Taking So Very Long by jelle · · Score: 1

      Not for me, I couldn't do without tabbed browsing and popup-ad blocking anymore. And those are just two of the many features that Mozilla has but the exploder doesn't.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    12. Re:Taking So Very Long by .milfox · · Score: 3, Informative

      May I point out crazybrowser, which embeds IE in a tabbed, popupblocking, cookie-eating enviroment while maintaining compatability with IE-needing sites? I use it as my secondary browser (with Moz being primary)

    13. Re:Taking So Very Long by Anonymous Coward · · Score: 0

      I know at least one company which is investigating VMWare as a potential way to increase server throughput.

      The idea is: one OS with multiple processors incurs an overhead, especially under Windows. Instead, you can run N copies of Windows on the machine (where N==# of CPUs), all of which is hosted on RedHat or some other minimal OS. Then you load balance between the VMs. Because the virtual machines are completely separate from each other there is less resource contention.

      The real kicker is that if you have a 16-processor x86, you can actually get 16 copies of Windows NT Server cheaper than you can get their Datacenter product, so you end up saving money from the OS viewpoint.

      Sorry I can't name the company in question. They are still doing performance testing but from what I hear the results are encouraging.

    14. Re:Taking So Very Long by jelle · · Score: 1

      Of course you may. Very Interesting... Gives IE a lot of Mozilla features that IE alone didn't have.

      Just uses the renderer, like Galeon and Phoenix do with the Gecko renderer of Mozilla.

      But since I'm now running Mozilla, It should be much better than Mozilla for me to switch back (and it would need to run on Linux too). But it sure does look like a good secondary browser. for, for example mazdausa.com that responds "browser not supported" even though it would probably work just fine if the server thought it was one of the 'supported' ones (I had a 'user-agent'-switch once in Mozilla for that, but lost it after a apt-get dist-upgrade...).

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    15. Re:Taking So Very Long by evilviper · · Score: 1
      Bochs could leverage Plex86 and get a big 'ole speedboost.

      Try again... What you mean to say is that, on x86 (where Bochs is the least common and least useful) it will ``get a big 'ole speedboost."

      Bochs' best feature is that it can run x86 instructions on a non-x86 machine. A project like Wine or MPlayer could make use of Bochs to emulate the x86 instructions, giving non-x86 machines the ability to run Windows binaries, or use windows dlls, respectively.

      As I said, the virtualization market isn't a big one. Where people need x86 in a window, Bochs works quite well.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    16. Re:Taking So Very Long by Anonymous Coward · · Score: 0


      In this day and age, whoever turns away users because of a non-mainstream browser is a dumbass. There are many capable and even superior alternatives.

    17. Re:Taking So Very Long by nathanh · · Score: 1

      1994: Linux is taking so very long to materialize. I wonder if it is even worth the effort. 386BSD works fine, even if slow, and UNIX isn't exactly a big market.

      1999: Mozilla is taking so very long to materialize. I wonder if it is even worth the effort. Netscape works fine, even if slow, and free-browsers aren't exactly a big market.

      2003: Economical nuclear fusion power plants are taking so very long to materialize. I wonder if it is even worth the effort. Coal power plants work fine, even if dirty, and electricity isn't exactly a big market... oh wait, yes it is.

      Maintaining the status quo is rarely the right option. Sometimes progress takes a long time, but this doesn't invalidate or devalue the effort required to make that progress.

    18. Re:Taking So Very Long by evilviper · · Score: 1
      almost every time someone wants to implement some software to accomplish something that has "Been done before", there's always someone chirping in with "Do we really need another....".

      Have you ever thought that the slashdot editors might be `painting a picture of a garbage dump'? That is to say, making a story out of projects that few people care about...

      You see, there are a lot of pointless projects out there. I don't complain about them until someone decides to stick them in my face and say "take a look at this".

      Think of this like the complaints about John Katz. There are plenty of people in the world like Katz, but here he gets to have a forum for his nonsense.

      It's the fact that useless things are getting press-coverage that the complaints are truly about.

      Why do you think people complain about the press covering hi-speed pursuits, and similar, trivial events.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    19. Re:Taking So Very Long by Anonymous Coward · · Score: 0

      Yes, Yes they do.

      Products such as VmWare are used where I work to help port to Linux, while not having to port everything at once.

    20. Re:Taking So Very Long by evilviper · · Score: 1

      ...and if there was a front-page story on slashdot every time any single feature was added to Mozilla, you'd probably be the first one to scream bloody murder.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    21. Re:Taking So Very Long by oh · · Score: 1

      An LPAR on a zSeries mainframe doesn't count.

      --
      Democracy isn't about no one telling you what to do. It's about everyone telling you what to do.
    22. Re:Taking So Very Long by Anonymous Coward · · Score: 0

      It doesn't run on BSD, so it doesn't do much that I can tell.

    23. Re:Taking So Very Long by espresso_now · · Score: 1
      Have you ever thought that the slashdot editors might be `painting a picture of a garbage dump'? That is to say, making a story out of projects that few people care about...

      Sure, I can see that happening on any slow day.

      You see, there are a lot of pointless projects out there. I don't complain about them until someone decides to stick them in my face and say "take a look at this".

      No one is forcing you to read, or respond to this article. You do that under your own free will.

      It's the fact that useless things are getting press-coverage that the complaints are truly about.

      It is certainly not useless to the developer.

      Why do you think people complain about the press covering hi-speed pursuits, and similar, trivial events.

      If you really don't like the articles posted here, then why do you waste your time here?
      --
      Of course, and I highly suspect it, I may be talking out of my ass. -oqti
    24. Re:Taking So Very Long by nathanh · · Score: 1

      I'd just disable Mozilla stories in my preferences.

    25. Re:Taking So Very Long by Doc+Hopper · · Score: 1

      I run servers inside User Mode Linux VM's all the time. Not only are they good for testing, they are also good for setting up firewalled hosts, low-usage shell accounts, and small web servers. For these kinds of applications, they are a great choice. Unless you're using a VMWare on some really nice hardware, though, it's folly to try to run most I/O intensive task on them. To run Apache for a few thousand hits a day, it's great. To run a massive Oracle database used by thousands of people simultaneous, I'd pass :)

      VMWare has made great performance leaps recently, and IBM is using them to enable virtualization, like they've had for 15 years on mainframes, on PC hardware. It's a great application, and there are some nice benefits you gain from hosting a few dozen virtual machines on top of some really nice mid-range server hardware (mid-range being roughly $25,000 - $75,000 8-processor stuff), rather than investing in blade servers or a whole bunch of 1U rack units. Foremost among these is very, very easy recoverability. If the hardware hosting a virtual machine dies, fire up the virtual machine somewhere else, even on different hardware, or if it's a software problem, roll the disk image back one rev and see why it crashed. Easy. If your 1U or blade server dies, recovery time is generally far more. Not always worse, particularly if a competent sysadmin designed the architecture, but generally.

      I don't mean to be a VMWare pundit, but particularly if you run ESX server, the results are very impressive. There are some limitations, notably that you can only have 1 logical "CPU" per virtual machine (up to 10 VM's per physical CPU), but aside from that, it's really nice. GSX server is a bit cheaper and runs on the GNU/Linux you know and love (rather than VMware's own version of Linux), and seems to be about on-par performance-wise. If you have some extra money to blow, give them a shot :)

    26. Re:Taking So Very Long by jshare · · Score: 1
      Right, but VMware just "virtualizes" the processor, no? I though bochs's big point was that it emulates it. Thus, you don't have to have an intel CPU to run code compiled for intel. I thought VMware only runs on Intel chips?

      Granted, being able to have one powerful box (many redundant parts, yada yada yada) to care for, and virtual "images" of computers to deal with would kick the ass of having to manage a bunch of 1U servers.

      I believe that virtualization is where everything is heading. Good lord, you already have it with SAN/NAS solutions (storage virtualization), why not with processors (server/cpu virtualization) ?

      Jordan

    27. Re:Taking So Very Long by Anonymous Coward · · Score: 0

      Well said.

    28. Re:Taking So Very Long by borud · · Score: 1

      how do you figure that the market for virtualizing servers isn't big?

    29. Re:Taking So Very Long by evilviper · · Score: 0, Flamebait
      No one is forcing you to read, or respond to this article. You do that under your own free will.

      I read slashdot... The fact that I am normally interested in the information here is what forces me to read this story. As for replying, well, if you don't make your opinion heard, nothing ever changes.

      It is certainly not useless to the developer.

      How could that possibly be useful to the developer? Are we promoting vanity now? Work on an Open Source project and see your name on slashdot...

      If you really don't like the articles posted here, then why do you waste your time here?

      I'm not opposed to everything here. More often than not I am interested. In fact, I wouldn't be complaining at all if there was a preference to not display "trivial junk" stories.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    30. Re:Taking So Very Long by evilviper · · Score: 1

      And were is the "plex86 stories" option? Where is the "trivial junk stories" option?

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    31. Re:Taking So Very Long by Anonymous Coward · · Score: 0

      Why doesn't it count??? Linux runs just fine on it...

    32. Re:Taking So Very Long by Daniel+Phillips · · Score: 1

      Plex86 is taking so very long to materialize, I wonder if it is even worth the effort being put into it. Bochs works fine, even if slow, and virtualization isn't exactly a big market. Where does Plex86 fit into all this?

      You bet it's worth it. I'm really glad Kevin has been able to return to working on it. I consider him brilliant. It's really sad that Mandrake was unable to continue to sponsor his important work.

      It makes a whole lot of sense to set the sights a little lower, resulting in something simpler and achievable by one or two people. Now I'll evaluate plex86 for 2.5 debugging work and see how it stacks up against User Mode Linux.

      --
      Have you got your LWN subscription yet?
    33. Re:Taking So Very Long by chez69 · · Score: 1

      You can run linux in a VM or on an LPAR on a zSeries.

      --
      PHP is the solution of choice for relaying mysql errors to web users.
    34. Re:Taking So Very Long by great_flaming_foo · · Score: 1

      Or better yet, a beowolf cluster of linux VM's :-)

    35. Re:Taking So Very Long by oh · · Score: 1

      There is a big difference between an LPAR on a mainframe and something like UML or VMWare. The fact that support for LPARs are built into the hardware for one.

      --
      Democracy isn't about no one telling you what to do. It's about everyone telling you what to do.
    36. Re:Taking So Very Long by chez69 · · Score: 1

      I know that. I am telling you that linux can run in both modes, just like any of the other mainframe operating systems can.

      --
      PHP is the solution of choice for relaying mysql errors to web users.
  2. can you still run multiple os's? by Anonymous Coward · · Score: 1

    as i remember plex86 allowed one to run freebsd or linux as a base w/windows/linux/freebsd running on top... can it still do this?

    1. Re:can you still run multiple os's? by Anonymous Coward · · Score: 0

      Not directly as it used to; the new version's much simplified from the older one. New one can run kernels such as Linux or *BSD that can have slightly tweaked build sequences. Binary-only OSs need to be run by hooking up with the Bochs emulator so that it handles the kernel and Plex86 handles the userland stuff.

  3. UML by Anonymous Coward · · Score: 3, Interesting

    User mode Linux has been invented and merged to the kernel already, no need for any additional software.

    1. Re:UML by Anonymous Coward · · Score: 5, Informative
      User mode Linux has been invented and merged to the kernel already, no need for any additional software.

      Yes, but UML uses almost 80% of the processor's MTRR registers as a scratchpad to save state. Therefore, any kernel drivers that require real-time interrupt service (NET, SCSI) have to use cut-through emulation, instead of the much faster native emulation.

      The bottom line is UML works fine, and exhibits quite decent responsiveness, until you start trying to push disk and or network I/O.

      It's a fundemental flaw of UML. But UML's proponents consider it a necessary evil in the name of portability and lightweight robustness. I'm not sure I disagree with them.

    2. Re:UML by Just+Some+Guy · · Score: 1

      You're right! As long, that is, as you were only wanting to run multiple copies of Linux.

      I currently have to dual-boot between Win2K (for Quickbooks Pro, which doesn't run under Crossover yet) and Debian (for everything else). I'd love to drop that setup, but the price of VMWare is a bit more than I can justify for that luxury. Plex86 would be absolutely ideal for my situation.

      --
      Dewey, what part of this looks like authorities should be involved?
    3. Re:UML by Anonymous Coward · · Score: 0

      "It means nothing. Standard slashdot cluelessness." -- Jeff Dike, author of UML, writing about your comment on uml-user

      I'm sorry that I'm unable to provide a link to his message on uml-user at this time; you can see the beginning of the thread he replied to, including a message asking what your message meant. I guess the archive has not been updated at the time of my posting.

      Anyway, this poster is full of crap, deliberately misinforming people. Wow.

  4. Plex86 vs. VMWare? by Anonymous Coward · · Score: 4, Interesting

    A topic brought up on Slashdot some time ago had some interesting discussion that if Free solutions like Plex86 took off, it would destroy VMWare's business model, and show other businesses that you can't make money developing software for Linux because someone will undercut you with a Free solution. How do you respond to these fears?

    1. Re:Plex86 vs. VMWare? by Jezral · · Score: 1, Insightful

      And this is different for Windows or MacOS?

      Last I checked APIs were available for both, and so were compilers.
      Free software is not just for Linux.

      -- Tino Didriksen / ProjectJJ.dk

    2. Re:Plex86 vs. VMWare? by Anonymous Coward · · Score: 4, Insightful

      response to fears:

      plex86 has a heckuva long ways to go before it's even near competing with software like vmware.

      provided that it even makes it there, companies like vmware have known it's coming for quite a while, and have surely been looking after their best interests just as if this were a commercial competitor.

      competition is part of life, whether it be commercial, opensource, or the kid next door.

    3. Re:Plex86 vs. VMWare? by Anonymous Coward · · Score: 3, Interesting

      A topic brought up on Slashdot some time ago had some interesting discussion that if Free solutions like Plex86 took off, it would destroy VMWare's business model, and show other businesses that you can't make money developing software for Linux because someone will undercut you with a Free solution. How do you respond to these fears?

      Easy, It's not any different than new competition for any company other than the competition in this case is giving away a product for free, so they can't compete on price. VMware will have to offer some additional value over Plex86. It could be improved performance, ease of use, stability, compatibility with more/different environments, tech support, you name it. They just have to offer something that people will be willing to pay extra for. Plex86 has a long way to go before they are a credible threat to VMware, but once that happens VMware will be forced to adapt

    4. Re:Plex86 vs. VMWare? by esquimaux · · Score: 1

      I know this is a troll, but the original question didn't seem to be. Dosemu predated VMWare by several years. IBM's various VM systems predated VMWare by decades. Intel's VM86 mode for machine virtualization came with the 80386, long before VMWare was a twinkle in its creator's eye. It's not the concept of virtualizing a machine that's valuable. It's the quality of the implementation. VMWare's hard to beat on those grounds.

    5. Re:Plex86 vs. VMWare? by LordNimon · · Score: 1

      It's different because it happens a lot more with Linux than it does with Windows or Mac. Mac users, for example, are generally keen on paying for shareware. I could not say the same thing about Linux users.

      --
      And the men who hold high places must be the ones who start
      To mold a new reality... closer to the heart
    6. Re:Plex86 vs. VMWare? by ottffssent · · Score: 4, Insightful

      What *I* say to that is that if VMware can't produce a better product than the OSS community can in their spare time, they don't deserve my $130. If they can't keep their product better, they don't deserve the younger generation's $130. If Plex86 takes off and it kills VMware, it won't "show other businesses that you can't make money developing software for Linux because someone will undercut you with a Free solution" but rather show them that you can't make money selling inferior software for Linux because someone will do it right, even if it's not you.

      Why is it that a community that could be broadly characterized as having heavy libertarian leanings encompasses so many, like you, who are willing to set aside those ideals for your pet project? I love VMware as much as the next person - I just think it's so cool seeing Phoenix BIOS show up in a window - but that doesn't mean I'm willing to set aside the capitalist ideals of free commerce and competition just so it will survive. If the Plex86 group can put together a better product and are willing to give it away, they win. If it takes them 10 years, then VMware has 10 years to find a different business model or go under. Businesses fail all the time. That's the way it works. If you can't cut it, you die. Meanwhile, Plex86 gets better in competition with VMware; VMware gets better in competition with Plex, and I win no matter which approach works best.

    7. Re:Plex86 vs. VMWare? by On+Lawn · · Score: 2, Insightful

      This is easy enough, I'll bite.

      Those were interesting discussions. I happen to own a VMware liscence, and I use it occasionaly for particular virtualizing needs. I was anxious for Plex86, and mourned the impeding stagnation of the project when the project founder was fired. After two years, I'm still with VMWare.

      Meanwhile, VMWare is being eaten at on a few fronts besides Plex86. The most recent evaluation we did for VMWare, pitted its virtual terminal server product against CodeWeavers' Wine server, Citrix, and good ol' Windows 2000. In the end Windows 2000 won, becuase, well, it was already there. Many window's programs have been decided that way.

      I don't particulary see a difference in being undercut by a free solution, or being undercut by a built-in the OS solution (*ahem* Netscape). Nor do I see a difference between those undercuts, and being beat out by a better product from a different competitor.

      In the end, its the developers obligation to ensure success with a quality feature full product. I think that is why, in the end, some have felt that OSS development models are better. But as far as interaction between Linux programs and free Linux programs, I see nothing out of the ordinary.

      ------------------
      OnRoad: A review of "Piston Envy: The Sociology of Racing Games"

    8. Re:Plex86 vs. VMWare? by steveha · · Score: 1

      if VMware can't produce a better product than the OSS community can in their spare time, they don't deserve my $130.

      Which version of VMware costs $130? Some academic version?

      I'd love to play with VMware, but it looks like it would cost me $300 per computer.

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
    9. Re:Plex86 vs. VMWare? by PD · · Score: 1

      I used to run a PC emulator on my Atari ST. I got a whopping Norton SI score of 0.3!

      For most things it wasn't very usable. But, my main app was Turbo Pascal 3.0a, which was very very speedy on an IBM PC. Under the emulator, it compiled about as fast as g++ compiles C++ code on my 800mhz laptop today. I used it quite a bit to do classwork in college, and some other programs for myself.

    10. Re:Plex86 vs. VMWare? by Anonymous Coward · · Score: 0

      That's easy, you just patent everything about the 'idea'. The patent office has a 'guarenteed to issue your patent' special happening right now. All you need to do is file whatever you can imagine with complete disregard for prior art and you can get a patent.

      Once the patent has been granted, you can destroy any possible competition with threats of lawsuits, thus being sure to maintain profitability against open source ursurpers.

    11. Re:Plex86 vs. VMWare? by Cyno · · Score: 2, Insightful

      But how can you blame the Linux user? Look what he has to put up with. His OS is nearing carrier grade stability, used all over for science, business and entertainment. Completely free as in no cost and the freedom to use it just about any way you want. And it supports more hardware than any other OS out there. Yet there are how many commercial companies writing software for Linux? How many hardware vendors release drivers or support Linux by actually writing software and releasing documentation? How many businesses support Linux as a viable alternative to mainstream commercial OSs that only look nicer or have a simpler interface.

      It should be obvious by now that the computer iliterate control more businesses, more markets and have more control over your freedom to choose than your government ever did. So then I wonder why a Linux user might choose to support a free software developer over a commercial package, which probably includes some form of registration, serial number for authorization or other form of commercial/capitalist tone that clearly shows the greedy in the eyes of all you shareholders.

      Its pathetic that we can't play fair and get along and understand eachother. I understand you. But, no, there won't be commercial software for Linux for a long time, if ever. And you know something? That doesn't matter. Because it is not needed. We will write our own. so .!..

    12. Re:Plex86 vs. VMWare? by Anonymous Coward · · Score: 0

      if Free solutions like Plex86 took off, it would destroy VMWare's business model, and show other businesses that you can't make money developing software for Linux because someone will undercut you with a Free solution. How do you respond to these fears?

      So if Linux took off, it would destroy Microsoft's business model, and show other businesses that you can't make money developing operating systems for PCs because somebody will undercut you with a free solution, right?

      Horrors...

    13. Re:Plex86 vs. VMWare? by Anonymous Coward · · Score: 1, Interesting

      if Free solutions like Plex86 took off, it would destroy VMWare's business model

      Well, there's no chance of that here. What this announcement means is that plex86 can only provide a virtual user mode x86 - i.e. it cannot virtualise an OS and give you Windows on Linux, for example.

      Frankly virtual user mode seems pretty pointless to me. Kevin Lawton thinks it is useful because you can modify Linux (and other OSes where you have source access) to be a user mode task and then get Linux on Linux using the new plex86.

      So, it's a competitor for User-Mode Linux and the like, and not a competitor for VMWare.

      To be honest I don't know how well it compares against UML, but Kevin Lawton seems to have come at this from the route of "gosh, virtualised ring 0 x86 is Really Hard - lets abandon that original objective and do something similar but easier" (see for example this LKML post) rather than "what's the best way to do Linux on Linux".

    14. Re:Plex86 vs. VMWare? by ottffssent · · Score: 1

      I'm not real sure on the $130 price, but until some used hardware sort of fell in my lap, I was seriously considering buying a copy, which would have been an academic version. I think they raised the prices, but I can't find the email they sent me about it, so my best recollection will have to stand.

    15. Re:Plex86 vs. VMWare? by Anonymous Coward · · Score: 0

      The point is that the free version doesn't need to be better than the commercial version. If it's worse, but implements all the features the users need, why would somebody buy the commercial version?

    16. Re:Plex86 vs. VMWare? by Sabalon · · Score: 1

      Yeah...this may possibly come close to the standard VMWare. (Though does VMware require a kernel driver to run? This says it does)

      But will it be able to do what the VMWare ESX server stuff can do - basically act as a mainframe on a PC?

    17. Re:Plex86 vs. VMWare? by Anonymous Coward · · Score: 0

      How is the Freeware v. commercial vendor question different than the Micro$oft v. commercial vendor question? I mean, M$ has stolen ('innovated' in M$ talk) so many other projects and either gave them away for "free" (in a mandatory, grossly overpriced OS (Ossified Shit)(eg.eating others like Norton Disk Doctor, IE, Novell, Stacker, etc.) OR M$ simply leveraged its MONOPOLY and forced manufacturers to bundle and license its other crap. At least with Linux, no one is going to write code into the kernal to crash your app or lock you out.

      Obviously the question for commercial developers should not be "Which OS will push me out of business?" but "Which OS will allow me a level field on which to compete?" No right thinking person could answer that question with "Winbloze." Anyhoo, people can and do write OS software for both platforms, and using things like WxWindows, it's not that tough either.

    18. Re:Plex86 vs. VMWare? by steveha · · Score: 1

      I think they raised the prices, but I can't find the email they sent me about it, so my best recollection will have to stand.

      Rather than let your recollection stand, why not just take a look at the web site? You can see that prices start at $300 and go up from there. The server version is $3000, or $6000, depending on configuration.

      https://www.vmware.com/vmwarestore/newstore/index. jsp

      They used to have a limited version that would only run Windows 98 as a guest, and they got rid of that.

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
    19. Re:Plex86 vs. VMWare? by chthon · · Score: 1

      This only holds when one wants to run Windows under Linux. I haven't seen any confirmation that Plex86 can run Linux under Windows.

    20. Re:Plex86 vs. VMWare? by Anonymous Coward · · Score: 0

      I used to run a PC emulator on my Atari ST

      Yes, an emulator. Plex86 is a virtual machine. You would not be able to virtualise an x86 on a 68k machine. Virtualisation and emulation are two completly different beasts.

    21. Re:Plex86 vs. VMWare? by ottffssent · · Score: 1

      If I have the choice between 2 products, one of which does everything I need, and one which does everything I need but costs money, the expensive one is worse. As a piece of software engineering it may be better but as a solution to a problem I have, it is worse.

      One does not improve software by adding crap nobody needs. This is what leads to such catastrophes as MS Word, which will make toast and pet my dog, but won't let me left-justify my name and right-justify a date on the same line without using a fucking table! Word processor indeed. I use OO because it doesn't insist on re-spelling my words and changing capitalization and punctuation on me.

    22. Re:Plex86 vs. VMWare? by Anonymous Coward · · Score: 0
      I'd love to play with VMware, but it looks like it would cost me $300 per computer.

      Per OS too. I.e. if you have a dual boot Linux/winX you need two licenses. They wanted $600 from me, so I built another machine and saved money!

    23. Re:Plex86 vs. VMWare? by PD · · Score: 1

      That's why I wrote emulator and not VM.

    24. Re:Plex86 vs. VMWare? by nathanh · · Score: 1
      This is what leads to such catastrophes as MS Word, which will make toast and pet my dog, but won't let me left-justify my name and right-justify a date on the same line without using a fucking table!

      Sure it will. Type your name, click tab, type the date. Then left-click on the horizontal ruler until a backwards capital L appears. You can drag the backwards L anywhere you like on the ruler and the date will follow it. That's tabulation and it doesn't require a table.

      I use OO because it doesn't insist on re-spelling my words and changing capitalization and punctuation on me.

      You can turn both of those options off in Microsoft Word.

    25. Re:Plex86 vs. VMWare? by nathanh · · Score: 1

      Well, there's no chance of that here. What this announcement means is that plex86 can only provide a virtual user mode x86 - i.e. it cannot virtualise an OS and give you Windows on Linux, for example.

      Frankly virtual user mode seems pretty pointless to me. Kevin Lawton thinks it is useful because you can modify Linux (and other OSes where you have source access) to be a user mode task and then get Linux on Linux using the new plex86.

      I think you've missed the point.

      Bochs provides a complete emulation environment. It emulates the CPU, the IO, several popular devices include a soundblaster and an NE2000 network card. The emulation unfortunately makes it intolerably slow.

      Plex86 provides a complete virtualisation environment. Kevin first proved this with some natty tests; eg, a busy loop that ran at 90% of native speed! Apparently people weren't impressed by that so Kevin took it to the next level; he realised that the Linux kernel is almost 100% "virtualised" already, save for a handful of instructions. He patched the Linux kernel to make it 100% virtualised and... WHAMMO... it ran within Plex86.

      Now I see many people saying "what's the point" in response to this. The point is that he's proven that Plex86 works! The virtualisation experiment has been a success. And the beautiful thing is that over the past few years Bochs has been slowly modified to support virtualisation plugins. There is only a tiny amount of work left (perhaps a year or two) and Kevin will have a plex86+bochs hybrid. The majority of code executes in virtualisation in the plex86 plugin. All IO and hardware and several unvirtualisable instructions will be emulated by Bochs. We're about to get a free VMware!

      There's another huge win here! Kevin has proven that you can run a high-speed Linux kernel in a VM sandbox WITHOUT ANY EMULATION. This is news in itself. The flood-gates are open now for massively virtualised boxes. Kevin is talking about writing special Linux drivers which don't speak to real hardware but instead communicate with the plex86 "host". This means we could soon have 100s of Linuxes running on a single platform, ala IBM's S/390. Snapshot a live Linux kernel, migrate it to another platform, and fire it back up! Dump a live kernel to tape! The possibilities are endless!

      Ok, at the moment the limitation is that plex86 has no emulation so it has no hardware. When plex86 is combined with bochs I expect more people will understand what a huge piece of news this has been.

    26. Re:Plex86 vs. VMWare? by Anonymous Coward · · Score: 0

      If ignorance is bliss, you must be the happiest fucking camper on the planet.

    27. Re:Plex86 vs. VMWare? by Anonymous Coward · · Score: 0

      (same anon coward here)

      I think you've missed the point.

      Ooops. You're right, I have. Kevin Lawton even explained it in the lkml post I quoted:

      plex86 can bolt on to bochs for accelerating user code, reverting back to bochs for emulation of kernel code - perhaps good for running non-Linux
      So he hasn't abandoned the goal of full support for ring 0/Windows-on-Linux at all. I got confused by the lkml argument where he emphasised the usefulness of what he'd already done (arguing with people who thought UML did the same thing better) and the difficulty of full virtualisation, where he implicitly meant "as opposed to emulation" and I read "at all". Thank you for explaining that.

      There's another huge win here! Kevin has proven that you can run a high-speed Linux kernel in a VM sandbox WITHOUT ANY EMULATION. This is news in itself. The flood-gates are open now for massively virtualised boxes. Kevin is talking about writing special Linux drivers which don't speak to real hardware but instead communicate with the plex86 "host". This means we could soon have 100s of Linuxes running on a single platform, ala IBM's S/390.

      Well, is this really such a huge win? We already have UML which does Linux virtualisation and by its nature already has the "special Linux drivers which don't speak to real (or emulated) hardware but instead communicate with the [...] host" optimisation and also isn't x86 specific. What things does Linux-on-plex86-on-Linux do better than UML?

    28. Re:Plex86 vs. VMWare? by kasperd · · Score: 1

      show other businesses that you can't make money developing software for Linux because someone will undercut you with a Free solution.

      I don't see why developing the software for Linux would that anymore likely than developing the software for another platform. If you developed the software only for Windows, and people really wanted it for Linux, they would have more reason to implement it themselves than if the product have been implemented for Linux in the first place.

      Instead of only asking what developers can make from this. Ask what users can make from this. If users see that when somebody makes a good product, somebody makes an even better free product. Go figure.

      Not that I believe Plex86/bochs is yet as good as VMWare, but I see no reason why it shouldn't become so in the future. The IA32 architecture was not designed with easy virtualization in mind, this gives you problems that plex86 as well as VMWare has equal chances of defeating.

      The major drawback of an open source virtualization is that it might be easier for Microsoft to find flaws they can use to make their OS incompatible with the virtualization. (Not that I see any reason why Microsoft would want to do that, except from their usual habit of course.)

      --

      Do you care about the security of your wireless mouse?
  5. Server seems slow... full text here by soorma_bhopali · · Score: 0, Redundant

    Welcome to the new plex86 web site. I have rehashed/revitalized the previous plex86 architecture to offer a very lightweight Virtual Machine (VM) for x86. Rather than implement a full and heavyweight VM which can run all guest Operating Systems (OSes) as-is, the new approach only runs guest OSes and application code at user privilege in the VM.
    This new strategy yields two interesting uses of plex86:

    Plex86 can be used on its own for running Linux as a guest. It has recently been demonstrated(1) that the Linux kernel can be executed inside the plex86 VM at user-privilege, with only minimal changes to the kernel source Makefiles. The aim is to allow multiple guest Linux VMs to run concurrently on the host machine, even of different kernel and distribution versions. Check out the boot verbage from my maiden voyage or the other successes like an X Windows application running on a Linux 2.4 guest displaying its window on my Linux host machine if you're so inclined.

    Or plex86 can be used to accelerate bochs, by executing user code inside the plex86 VM, while letting bochs execute kernel code and IO functionality inside the emulator. This is useful for executing binary-only OSes, and ones without the simple mods noted above. This was also demonstrated recently(2).

    This new incarnation of plex86 is just getting kicked off. But for now, here's some points of interest and related goals:
    Plex86 is Open Source (LGPL).
    Because of the new lightweight VM strategy, plex86 is quite small in size, and thus there is big potential for auditability of the VM technology. This is important as the VM monitor runs as a device driver in the host kernel.
    Plex86 uses the existing x86 port of the Linux kernel. It does not use a separate port. Thus, Linux as a guest enjoys all the global testing/development that Linux on x86 hosts receives.
    The guest Linux will communicate to hardware such as the disk and network via a Hardware Abstraction Layer (HAL). Vanilla guest drivers for Linux will be created to effect these guest to host communications. Thus, plex86 will offer a very clean Linux VM implementation, without all the heavy overhead and baggage necessary to virtualize/emulate IO hardware. The end-goal is a true completely virtualized Linux resource, with completely OSS componentry.
    With the exception of a few necessary kernel Makefile mods noted below, the goal is to run Linux distributions as-is. Plex86 needs a kernel compiled to run in the VM. This is just as well, as it's beneficial to configure out all the unnecessary IO devices which are irrelevant inside a guest Linux VM. A goal of mine, is to have the main Linux distributions offer a configured Linux kernel for plex86, on the distribution CDs.
    Performance potential is quite good. Because of the new strategy of "pushing" Linux kernel code down to user privilege, it along with user code can run at native speeds inside the VM (at least in between "virtualization events" such as IO). There are some logical phases for the development path to follow, with the current phase favoring rapid prototyping and bug finding, and later moving components of the virtualization into the VM monitor after they are flushed out.
    I will fight very hard against requests for unnecessary complexities and features. There should be a series of usable and stable releases, rather than a never-ending flow of "almost usable" code. As well, plex86 should remain auditable.
    -Kevin

  6. Hopefully this is fast, hehe by superman53142 · · Score: 0, Troll

    Woohoo! I've been looking for a faster alternative to bochs, and this may be it! The last incarnation of Plex86 didn't work correctly for me; I couldn't get it to completely boot from any media :-/

    Hopefully it's better now :)

  7. Features? by Slartibartfast · · Score: 1

    I seem to recall reading something about the current release over at http://kt.zork.net; IIRC, it lacks some features that the older version had that allowed easier use with "any" OS; OTOH, it also seemed to be a -much- simpler codebase with vastly less "code for exception" stuff. I'll be interested to see how it works performance-wise, as it's always fun to have machines under machines under machines... especially if it means I can finally stop VNC'ing to Windows boxen to run my Oracle client. ;-)

  8. um, by Anonymous Coward · · Score: 0

    so what the hell is plex86, because that site doesn't say anything about what it is

  9. Portability? by Chester+K · · Score: 1, Interesting

    Because of the new lightweight VM strategy, plex86 is quite small in size, and thus there is big potential for auditability of the VM technology. This is important as the VM monitor runs as a device driver in the host kernel.

    VMware doesn't need a device driver, if I'm not mistaken. Wasn't plex86 originally supposed to be a clone of VMware?

    --

    NO CARRIER
    1. Re:Portability? by user32.ExitWindowsEx · · Score: 1

      You're mistaken...VMware uses a device driver.

      VMware ESX Server is an OS in itself, though, so it doesn't need one. :P

      --
      "Evil will always triumph because good is dumb." -- Dark Helmet
    2. Re:Portability? by Kashif+Shaikh · · Score: 3, Informative

      You should check that again.

      VMware under Windows, loads up several device drivers to bridge/route network traffic between the virtual machines and your local NICs.

      And when I installed a demo VMware on my Linux box, it needed a kernel headers to build the vmware kernel modules(don't know what for). So, Vmware also needs modules/device drivers for operation.

      Kashif

    3. Re:Portability? by kma · · Score: 1

      VMware doesn't need a device driver, if I'm not mistaken.

      Actually, we do. ls -l /dev/vmmon

      The virtual machine monitor itself must run on the bare hardware, so we need help from the kernel.

      Keith Adams (VMware engineer)

    4. Re:Portability? by Anonymous Coward · · Score: 0

      Ah-HAH! I KNEW VMWare engineers were reading this thread. Feel threatened, fucky? TRY LOWERING YOUR FUCKING PRICES! You guys make a damned good piece of software, which I use every single day and couldn't live without, but your pricing is extortionary and greedy.

      Until VMWare is reasonably priced at around $59.99, I will continue pirating it in perpetuity. After all, a good VMWare license key is easy to find. :-D

      VMWare, from hell's heart I stab at thee!

    5. Re:Portability? by kasperd · · Score: 1

      The virtual machine monitor itself must run on the bare hardware

      Sounds like a design flaw to me. But is it a flaw in the CPU, Linux, or VMWare?

      --

      Do you care about the security of your wireless mouse?
    6. Re:Portability? by Fnkmaster · · Score: 1

      Dude, take a lesson in economics. They realize there are free riders like yourselves, and that hobbiests are really rather likely to pirate their software at its now-ludicrous prices. Clearly they have decided their primary target market is companies that use VMWare as a development tool, and they don't want any loopholes with "educational" pricing or "hobbiest" licenses. They want to make sure every company using VMWare pays an outrageous 300 dollars per seat license - if Joe Linuxhacker pirates their software, so what? Generic Software Development Corp. will pay market rates for top-notch development tools that provide their developers a lot of value. If VMWare can sell 50,000 licenses at 300 dollars and can sell 100,000 licenses at 60 dollars, what would you do as their CEO? And they should have pretty good information about their demand curve, given their various pricing tiers and special pricing programs they've used over time.

  10. VM? by B3ryllium · · Score: 0, Flamebait

    Well, _anything_ is faster than BOCHS (BeBochs, specifically). Plex86 certainly sounds interesting, I'll have to look into it.

    I just have one question:

    Couldn't they have called it Flex69?

  11. OT. (Windows port?) by SuperCal · · Score: 1

    I remember reading that a windows build would be availible eventaully.... Any news?

    --
    Business News and Resources: www.usasource.net
  12. Plain english please by skeedlelee · · Score: 1

    Having trouble wrapping my brain around this one. Could someone explain it a bit? Yes I read the article, didn't help at all.

    What does Plex86 run on top of? If it's a VM would it run on top of say Windows or something, allowing you to run your OS of choice within that? Or is it a way of allowing programs compiled for this quasi-x86 architecture to run on other different architectures (ie it vituralizes the hardware directly)? Or something else entirely?

    1. Re:Plain english please by Steveftoth · · Score: 3, Informative

      Plex86 is a VM that requires that it be run on an actual x86 chip, it virtualizes the code that is running inside the VM so that the code thinks it's got access to it's own machine when in fact it does not, but is running as a user process in linux.

      So you can run Windows inside linux, or linux inside linux. They all have to be for the x86 though. But I don't know how well it works.

      Bochs is the emulator that runs code for the x86 on ANY processor, PPC, Sparc, whatever it will compile on. So that you could run Windows on a Sparc or a Mac. Though I don't know if it works THAT well.

    2. Re:Plain english please by Anonymous Coward · · Score: 0

      bochs works fine, it just runs INCREDIBLY slowly.

    3. Re:Plain english please by karlm · · Score: 1

      Win98SE and Win2K both hung during install. (I wanted to run windows on my Debian box in order to run Verizon's proprietary DSL registration/setup software.) Which version of Windows were you able to install?

      --
      Copyright Violation:"theft, piracy"::Anti-Trust Violation:"thermonuclear price terrorism"<-Overly dramatic language.
    4. Re:Plain english please by Anonymous Coward · · Score: 0

      Actually Plex86 can't run Windows inside Linux by itself. It needs Bochs to do that. Plex86 can only run OSs that have been modified to support Plex86.

  13. Re:Slow news day? by Daengbo · · Score: 3, Informative

    Kevin Lawton is the article submitter, the author of the program and bochs, and is really well known and highly regarded for his skill at this. Virtualizing a bios and all the devices is about as low level as you can get.

  14. User Mode Linux? by Jim+Buzbee · · Score: 1

    Compare and contrast to User Mode Linux?

    Someone?
    Someone?
    Bueller?
    Bueller?

    1. Re:User Mode Linux? by mindstrm · · Score: 3, Informative

      User mode linux is a linux kernel that runs in userspace

      plex86 is an x86 virtualizer that lest you create multiple virtual x86 machines to run whatever you want on them.

    2. Re:User Mode Linux? by Abcd1234 · · Score: 1

      Not this version... it only let's you run Linux (or other "complient" software. Basically, code that doesn't use x86 non-virtualizable features).

  15. Question... Bochs/Plex86/MandrakeSoft by joestar · · Score: 1

    Wasn't Kevin Lawton employed for several years by MandrakeSoft to work on Plex86? Didn't MandrakeSoft bought the Bochs proprietary sources to release it in GPL?

    What did happen? It seems that all mentions of this MandrakeSoft support has been dropped from the Plex86 pages !?!

    1. Re:Question... Bochs/Plex86/MandrakeSoft by Anonymous Coward · · Score: 0

      He was laid off from MandrakeSoft around 2 years ago, the project seemed to go into a bit of a tailspin after that.

  16. When will it be useful? by steveha · · Score: 4, Interesting

    There are two things I would like to do with plex86:

    0) multiple virtual Linux servers, each in its own chroot jail.

    1) run Win98 under Linux, to be able to run Win32 apps for testing purposes or backwards compatability.

    Sounds like it will do multiple Linux servers very well, soon. But do they still have any hopes for plex86 running non-Linux OSes as guests?

    P.S. According to reviews I have read, Win4Lin does a decent job of letting you run Win98 under Linux. It's not free software, of course.

    steveha

    --
    lf(1): it's like ls(1) but sorts filenames by extension, tersely
    1. Re:When will it be useful? by Bastian · · Score: 1

      If they keep it lightweight and user-mode like they say they will, and Plex86 won't allow 2 or 3 instructions to execute, then running binary-only OSes might be a problem. A linux kernel can always be compiled to not use these instructions - they aren't necessary.

      If Win uses these instructions, then Plex86 won't work, but maybe the Plex86/Bochs solution that's mentioned on the site will.

    2. Re:When will it be useful? by Anonymous Coward · · Score: 0

      I wonder if someone could write a recompiler that can take already compiled code and recompile it to "do the right thing" with these 3 instructions?

    3. Re:When will it be useful? by yerricde · · Score: 1

      take already compiled code and recompile it to "do the right thing" with these 3 instructions?

      That's called Plex86-accelerated Bochs.

      --
      Will I retire or break 10K?
    4. Re:When will it be useful? by Anonymous Coward · · Score: 0

      >> take already compiled code and recompile it
      >> to "do the right thing" with these 3
      >> instructions?
      > That's called Plex86-accelerated Bochs.

      No, I don't think so. I think it's called "User Mode Linux". Or to be more accurate, what this person wants is a User Modeifier...

      --
      James G

    5. Re:When will it be useful? by Anonymous Coward · · Score: 0

      Good idea. Patch Win2k binary to run on Plex86! I like that. But MS can always check sum the binaries. Maybe a Win2k loader build into plex86 to patch binaries on the fly...

    6. Re:When will it be useful? by Bastian · · Score: 1

      That would be neat in a general sense.

      I don't know much about the x86 architecture, but given that it's CISC I bet it's likely that these 3 instructions could be replaced with a string of different instructions.

      Then it could be used for any binary, not just Win2k =D

    7. Re:When will it be useful? by Ed+Avis · · Score: 2

      2) run Linux under Windows. Perhaps with a Knoppix CD that autoruns and starts a full-screen Linux session without rebooting, and you can hit Alt-Tab to go back to Windows. (Bochs + Plex86 + Knoppix: what should be the name for this? Knopplechs86?)

      --
      -- Ed Avis ed@membled.com
    8. Re:When will it be useful? by Anonym0us+Cow+Herd · · Score: 1

      If they keep it lightweight and user-mode like they say they will, and Plex86 won't allow 2 or 3 instructions to execute, then running binary-only OSes might be a problem

      Please correct me if I'm wrong. (I'm not a kernel hacker.)

      A program is running. One of these 2,3 bad instructions is encountered in the instruction stream. The processor hardware generates a vectored interrupt. Kernel code executes. Normally, this results in your program being aborted. Why couldn't there be a kernel api feature to send you a signal, pointing to the offending instruction. Any user program could take advantage of this facility.

      In the case of a program like Plex86, or any similar type program like VMWare, when this signal is received, the program does Bochs style emulation of the single offending instruction. Affects the saved register states or virtualized hardware state in exactly the same way. Then the program uses a kernel api to resume execution at the following instruction.

      Magic! Now you've got complete virtualization. Even of privileged instructions not executable from user mode. All it would take would be a facility in the kernel which enables user programs to virtualize even privileged instructions.

      I must be not understand something correctly? I can't imagine that smart people closer to the problem haven't thought of this. So what am I missing?

      --
      The price of freedom is eternal litigation.
    9. Re:When will it be useful? by Anonym0us+Cow+Herd · · Score: 1

      Is there something missing from x86 hardware that makes it difficult to virtualize?

      What if Intel or maybe AMD were in some future product line to offer a few additional instructions or features that would enable complete virtualization of the hardware, IBM style. If, AMD, for instance, did this, they would have a competitive advantage. You could efficiently run multiple OSes under a VM. In fact, a VM-OS could be written. By this, I mean an OS that only runs virtual machines. From the console you could allocate virtual machines, and pick a partition or boot record to boot into one of the allocated virtual machines. You could assign resources to virtual machines, such as the sound card appears in virtual machine #2.

      --
      The price of freedom is eternal litigation.
    10. Re:When will it be useful? by orasio · · Score: 1

      GNU/Knopplechs :)

  17. User-Mode Linux? by Doc+Hopper · · Score: 4, Interesting

    With the changes he's made in the goals of Plex86, it sure seems as if he's targetting the same approach currently in use by User-Mode Linux. I understand it may be quite different under the hood, but will that matter to users? It doesn't matter much to me if the task is accomplished using a ptrace thread under kernel system calls or actually virtualizes hardware -- if I can run several virtual GNU/Linux systems on top of one physical system, at a reasonable speed for the load, using free software as much as possible, I'm happy. The technical details of how it's done are irrelevant to me -- what matters is the result.

    If the Bochs/Plex86 combination is actually faster than Bochs by itself on X86 hardware, and can approach the speed of VMWare, well, that sounds interesting to me. Virtualization technology is a large and growing market, funding a lot of IBM's recent growth in the mid-range server market with quad and 8-processor systems running VMWare to aggregate systems, improve manageability, and reduce personnel management costs. There's no denying the need is there; VMWare posted their first profit ever last quarter because of these strong sales, with more big money coming down the pipe.

    Competition among free software projects is a good thing. I'm glad to see Plex86 come out with something new that may work better than the old. But what most people wanted was to run multiple copies of Microsoft Windows on top of Linux, or to run MS Windows in VMs alongside GNU/Linux, and if that doesn't work easily & quickly, it may be a potent obstacle to widespread adoption.

    1. Re:User-Mode Linux? by Nicolas+MONNET · · Score: 2, Interesting

      The problem with User-Mode Linux, as I understand it, is that the virtual machine is not that much isolated. It doesn't guarantee as much as it seems in terms of access control, security etc.

      This virtualisation technique, however, could probably be much safer.

    2. Re:User-Mode Linux? by Anonymous Coward · · Score: 0

      Virtualization technology is a large and growing market, funding a lot of IBM's recent growth in the mid-range server market...

      Ehhh, recent?
      390 is a virtual machine. I wouldn't call it recent. :-)

    3. Re:User-Mode Linux? by Abcd1234 · · Score: 4, Informative

      This will change once SKAS mode goes into the mainline UML distribution. To quote from the UML website:

      "In short, the changes cause the UML kernel to run in an entirely different host address space from its processes. This solves the security and honeypot fingerprinting problems by making the UML kernel totally inaccessible to UML processes. Their address spaces are identical to what they would be on the host. This also provides a noticable speedup by eliminating the signal delivery that used to happen for every UML system call."

      So, there you have it. It requires a kernel patch, but basically solves all the old UML security issues. I don't believe it's quite ready for primetime, though. :) The SKAS page can be read here.

    4. Re:User-Mode Linux? by leandrod · · Score: 1
      > 390 is a virtual machine.

      390 is a number. It can designate a class of machines, the S/390, which is virtualisable hardware. And it designates its main OS, OS/390, that can run on virtual machines. These are managed by another OS, the VM/OS.

      >> IBM's recent growth in the mid-range server market...
      >I wouldn't call it recent. :-)

      He never said S/390 or OS/390 were recent, even if the monikers really are. He said that their success in middle-range is recent, which is true due to only recently S/390 machines prices being brought down enough from their former big-iron heights.

      --
      Leandro Guimarães Faria Corcete DUTRA
      DA, DBA, SysAdmin, Data Modeller
      GNU Project, Debian GNU/Lin
  18. Can someone clarify by pardasaniman · · Score: 1

    I am confused, can somebody explain to me.

    Is this a super-bochs should I feel like running windoze on linux?

    Or is this an excellent way to test out a linux kernel someone hacked, but didn't want to risk their system?

  19. Details in Kernel Traffic by bstadil · · Score: 2, Informative

    There is a detailed discussion of this in the Linux Kernel Traffic from the Jan 22-27 issue.

    --
    Help fight continental drift.
  20. One step forwards, two steps back... by TheRaven64 · · Score: 0, Redundant

    Is it just me, or are they saying that they've tailored Plex86 more towards Linux, so you can't use any other OS as a guest anymore? If so, then this sounds really useful. I can now run Linux on top of Linux! Oh, wait, I could do that already with KML. The advantage of a VM would have been to allow me to run Linux/*BSD on Windows or vice versa. Being able to run Linux on Linux just seems like rather a pointless duplication of effort.

    --
    I am TheRaven on Soylent News
    1. Re:One step forwards, two steps back... by Anonymous Coward · · Score: 0

      You miss the point. Read about Sun's 3800, 4800, 6800, and E15,000 systems, eg. Domains.

      Linux on top of linux enables this sort of enterprise functionality to be built: a host OS running several copies of itself, with dynamic hardware reallocation, permits insane levels of uptime (5 nines) and solves the problem of having too much CPU in one place, and not enough in another. Just move a couple around, and away you go.

      And its very useful for developers building kernels...

      Oh yeah, he also said that there would be the ability for binary only OSs to run. So running Windows will be possible. He just wants it to be a lighter, cleaner implementation that does it.

  21. Just found... by joestar · · Score: 2, Informative

    A reference on Slashdot:

    MandrakeSoft Buys Bochs, LGPLs It
    Linux MandrakePosted by Hemos on Thursday March 23, @00:50
    from the good-things-are-happening dept.
    Direct from the mouth of Gael Duval, we've gotten word that MandrakeSoft (Yes, the folks who make Mandrake-Linux. No, it has nothing to do with Mandrake of Enlightenment fame. ) have purchased Bochs and hired Kevin Lawton. Now that Bochs is LGPLed, the Plex86 development can be speed up as well.


    http://slashdot.org/article.pl?sid=00/03/22/185124 7&mode=nested

  22. Summary: Kevin's a loser by QuantumG · · Score: 2, Interesting

    The author of Plex86 and Bochs is the same guy who declared that VMWare had "ripped off" his idea and gone commercial after looking at his technology. The failure of Plex86 (and that's what this announcement is, an admission of failure) just goes to show that Kevin is and always was full of shit. He's been claiming that Bochs would have a binary translation system (much like VMWare and VirtualPC use) to speed it up ever since back when he was trying to flog it as shareware. So, in response to your question, there is very little fear that Kevin is going to come up with a product that can compete with VMWare (or VirutalPC for that matter) because he's no good.

    --
    How we know is more important than what we know.
    1. Re:Summary: Kevin's a loser by Anonymous Coward · · Score: 0

      > He's been claiming that Bochs would have a binary translation system (much like VMWare and VirtualPC use) to speed it up ever since back when he was trying to flog it as shareware.
      some bochs release from 2000 had this

      > there is very little fear that Kevin is going to come up with a product that can compete with VMWare (or VirutalPC for that matter) because he's no good.
      the old plex86 already provided a faster cpu emulation than vmware, the other stuff was lacking

    2. Re:Summary: Kevin's a loser by spnbs · · Score: 4, Insightful

      Dude, chill out. I'd like to see your resume before you knock one of the sharpest VM programmers in the business. Not only is Kevin smart, but he knows the x86 ISA better than most people know how to read. Add on the fact that he pumps out code at an insane rate, and you get a programmer I'm grateful is working in the OSS world. Kevin's given us a lot and I'm more willing to forgive him for being a triffle distractable in exchange. People have called Kevin a lot of things (erratic, drasticable, incapable of proper commenting), but to call him shit is unbelievable. Unless you're Linus or RMS, get off the man's back.

    3. Re:Summary: Kevin's a loser by QuantumG · · Score: 1

      ie, he's a monkey.

      --
      How we know is more important than what we know.
    4. Re:Summary: Kevin's a loser by Anonymous Coward · · Score: 0

      Where is all the amazing i386 virtualistion code that you've written then?

      I'll make it easier for you; where is all the amazing code that you've written?

      No? Easier still; where is any code you have written?

      Can you even code?

  23. VMWare isnt *just* linux by nurb432 · · Score: 1

    It does good business selling windows host versions...

    And dont forget ESX server...

    --
    ---- Booth was a patriot ----
  24. Adapt or Die by bogie · · Score: 2, Insightful

    nt

    --
    If you wanna get rich, you know that payback is a bitch
  25. Bochs works fine - where fine = doesn't work by DrSkwid · · Score: 1

    Bochs, though admirable, isn't complete.

    Plan9 won't run inside bochs for instance, as documented here.

    which is a shame. Plan 9 runs in VMWare btw

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  26. $300 is a too high for home use by DrSkwid · · Score: 2, Interesting

    it's cheaper to build another PC !

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    1. Re:$300 is a too high for home use by karearea · · Score: 2, Interesting

      Ah yes, but it IS cheaper than building 4 PCs.

    2. Re:$300 is a too high for home use by walt-sjc · · Score: 2, Interesting

      It's NOT cheaper than another laptop. Not to mention that you don't really want to carry 3 or 4 laptops around with you in the first place.

      VMWare also has several other really nice features like undoable disks. I've been using VMWare since version 1.0. Hot stuff.

      Also, think about things like power usage, heat, desk space, etc.

    3. Re:$300 is a too high for home use by evil_one · · Score: 1

      It's not cheaper that putting 2 hard-drives in one pc and partitioning them.

      --
      Desperation is a stinky cologne
    4. Re:$300 is a too high for home use by karearea · · Score: 1

      Try running different operating systems from both of them at once.

    5. Re:$300 is a too high for home use by evil_one · · Score: 1

      point.

      --
      Desperation is a stinky cologne
  27. OSS == software jobs killer ???? by Anonymous Coward · · Score: 0

    I'd speculate that once enough quality Open Source Software exists, paying software development jobs will shrink considerably. Year 2010 is likely.

    That means that there will be much less college students studying computer science which means much much less demand for college computer science courses which means much less demand for college computer science professors.

    Does this mean that the anti-MS, pro-GNU college professors are eventually going to reduce the number of paying customers (college students)?

    1. Re:OSS == software jobs killer ???? by IpalindromeI · · Score: 1

      Following your scenario out, this will lead to less people skilled in programming, which will increase demand for programmers.

      In any case, I think it's unlikely that paying positions for software developers will shrink. It might happen that the market for *selling* software may shrink, so the number of positions for writing third-party software would shrink. But with all the technologies emerging, I expect the number of in-house development jobs to skyrocket.

      --

      --
      Promoting critical thinking since 1994.
  28. Could be complimentary in the long run by Gerry+Gleason · · Score: 1
    I second the comments that if VMWare doesn't keep offering some value over what free software can produce, they don't deserve to survive. Besides, Plex is likely to only cover part of any complete solution, which could include commercial components (note that Plex is LGPL). Further, a free version would find applications that nobody would pay for a product to have this feature (often, just get another machine is the option). Testing gets mentioned a lot. You could set up a machine with a number of different versions of OSs, and even completely different OSs just to have a variety of environments to test in (software development QA processes for example). You probably would use the system sequentially anyway, but you wouldn't need to reboot, all the versions are just there. Hell, if you partitioned the I/O, you could run them together, particularly in a few years as the CPU generations roll along.

    It really is a different concept than VMWare anyway. VMWare is hosted in one of the OSs (I know they have at least Linux and some versions of Windows, probably more), where this VM runs on top of the hardware (if I understand correctly). One thing I do wonder about, though. By putting it between a hardware abstraction layer and the hardware, a huge part of the job is to support the variety of available hardware.

    One of the crowning achievements of Linux is the variety of hardware that is supported. That's always been the biggest problem for any PC OS that isn't from MS, lack of driver support, and this goes for the commercial PC UNIX vendors from the beginning (no doubt, OS/2 as well). Linux has pretty much solved this problem, and it has been a very hard problem (i.e. it takes lots of resources in the Linux community). So, aren't they taking on this problem with Plex86, or do they somehow piggyback on Linux drivers? That's certainly what I would try for if I were designing it.

    1. Re:Could be complimentary in the long run by pxpt · · Score: 1
      I second the comments that if VMWare doesn't keep offering some value over what free software can produce, they don't deserve to survive.

      ...VMWare could start by selling the windows and linux versions together in the same package instead of having the users trying to decide which version to get and then regretting the choice that they did make.

  29. An Attempt to Explain difference between UML by lkaos · · Score: 3, Interesting

    Feel free to flame and correct:

    User Mode Linux is a port of Linux that allows the host Linux operating system to run the Linux kernel as a process (this could be seen more or less, as an exokernel). This is done by changing the Linux kernel code to use malloc() to allocate memory instead accessing hardware.

    UML uses ptrace to intercept its childrens system calls and then forwards them to user-functions in the kernel.

    Plex86 on the other hands makes no modifications to the kernel. Instead, it takes a stock(1) kernel and virtualizes the few instructions that aren't allowed to run in user mode (an exception is thrown when these instructions are attempted to run and Plex86 catches this, performs the virtualization, and returns as if the instruction actually executed).

    Plex86 is literally virtual machine whereas UML is really just removing and hardware specific stuff in the kernel and making it a regular C program.

    (1) I lied a little here. There is an inherent design flaw in three instructions on x86 such that they do not allow for the above. Kevin submitted a small patch (that I assume got accepted) to make these instructions only be accessed through inlines with additional code such that they behave as they should. By correcting this, it makes implementing a VM more or less trivial.

    Note: unless someone finds a _really_ innovative way to allow these instructions to be easily handled for other operating systems, it's not likely you'll see Plex86 run other properitary operating systems.

    Note2: Plex86 is more likely to make it to Windows first because UML requires ptrace and Windows has no concept of ptrace(). Not to mention the fact that mmap behaves quite differently on Windows.

    Note3: Yes, the above problems have been addressed in the UML Win32 port but they are non-trivial. From what I can gather, a Plex86 port will be pretty trivial to Windows...

    --
    int func(int a);
    func((b += 3, b));
    1. Re:An Attempt to Explain difference between UML by Fnkmaster · · Score: 1
      I would just like to point out that there is clearly a work-around, since VMWare manages to get these 3 instructions (IRET and the two others that don't come to mind right now) right. I realize there is a design flaw in x86, and I'm not an ISA guru or processor architecture/kernel/ring 0 guru to have the foggiest idea of what the workaround is, but it clearly isn't impossible. Doesn't VMWare have a patent or some such thing that actually describes their mechanism? If it's clear enough, perhaps its described in their patent (of course, that means it's probably illegal to do it their way without licensing it from them). Or perhaps you can figure it out with a little bit of reverse engineering magic, screw around with decompiling their code and figure out how they handle these three instructions.


      Anyway, this may be one of these issues that seems like it's small but is really huge (i.e. requires a redesign rather than modification to plex86), but don't imply that the design flaw is impossible to work around, or that a "really innovative" workaround doesn't already exist.

  30. FreeMWare by Stonent1 · · Score: 1

    Is this the project formerly known as FreeMWare? Formerly part under Mandrakes broken wing?

  31. Resisting ... urge ... to comment ... by kma · · Score: 4, Interesting

    Arrggh, it's too hard.

    I work for VMware. if you want to believe we've corrupted Kevin's precious bodily fluids, feel free. I don't speak for the company, and I know nothing beyond what slashdot has posted about plex86. Consider yourself disclaimed.

    If I understand the story correctly, plex86 has basically surrendered. They've given up on running arbitrary supervisor level code; the Linux guests that Kevin refers to above require a patch to "fix" something the new "lean, mean" plex86 gets wrong.

    If Linus is feeling even vaguely himself, he will not accept this patch. Ordinarily, people trying to put stuff into the kernel that a) hurts performance, and b) fixes no real problem, but c) is critical to some contrived project that seems really important to the contributor get entertainingly flamed, and then shown the door. In fact, Kevin's most likely motivation for submitting this as a Slashdot story is to marshall support for his Linux patch.

    Even if Linus does accept this patch, I can guarantee you that Microsoft, the FreeBSD team, the now non-existent Be, etc., won't all be taking helpful hints from Kevin about which x86 features they may and may not use. Ergo, there is nothing interesting (either commercially or geekily) you can do with plex86; the most it can hope for is to run recent-ish Linux guests on recent-ish Linux hosts. Bestill my heart.

    On the upside, maybe Kevin will stop implying that VMware stole Bochs, now that he's spent four years trying to clone our software and has finally admitted defeat.

    1. Re:Resisting ... urge ... to comment ... by clem.dickey · · Score: 1

      On the one hand ... VMWare supports specific OSes, not just any x86 OS. So one wonders how complete their virtualization is.

      On the other hand ... it should be obvious that software emulation of x86 was not the bulk of VMWare's work. VMWare's major enterpreneurial contribution was the demonstration that it was possible to - pretty much - virtualize a privileged mode x86. I don't know how much device virtualization was in Bochs, but I'll bet VMWare has added a lot of work (not though so much, but effort). Device virtualization is one of those jobs which is never finished.

      On the third hand ... why spend so much time virtualizing an architecture which wasn't designed for it? That's like seducing an undesirable person just for the challenge. Though in this case it's probably pretty lucrative ...

    2. Re:Resisting ... urge ... to comment ... by kma · · Score: 3, Informative

      On the one hand ... VMWare supports specific OSes, not just any x86 OS. So one wonders how complete their virtualization is.


      Wrongo. When we say "VMware supports FreeBSD," we mean that customers can call us and expect us to help with problems running FreeBSD in a VM. "Unsupported" guests that work fine include Plan9, BeOS, Openstep, FreeDOS, and AtheOS. VMware is not just a big dumb hack that happens to work for Linux and Windows.

    3. Re:Resisting ... urge ... to comment ... by user32.ExitWindowsEx · · Score: 1

      When are you guys going to add generic VESA support to VMware Workstation?
      I've got a lot of obscure x86 OSes in my archives that I've been itching to boot...and Workstation would be perfect if I knew it was all generic hardware (I played with an evaluation a while back and noticed that no generic VESA support was its biggest lacking - otherwise I would all but be set to get a copy and finally boot my OS collection.)

      --
      "Evil will always triumph because good is dumb." -- Dark Helmet
    4. Re:Resisting ... urge ... to comment ... by Anonymous Coward · · Score: 1, Insightful

      That's not fair to say that he's surrendered just because he revived a project and decided to take a small first step. If you read the bochs archives you'll see that this is an interesting first step.

      Actually, this could be the start of a second step. The first step could be to use plex86 to run user code, and bochs to run kernel code. The second step could be to use plex86 to run user code and "friendly" kernel code. Bochs could still run "unfriendly" kernel code. Kernel pages could be marked as friendly or unfriendly on the fly in later versions.

      If kernel code is simplified by writing simplified drivers, this could be an interesting project. Even if it's not as fast as VMware, it would still be useful. Running Windows at about 300MHz on a 3GHz box would be good enough for many applications.

    5. Re:Resisting ... urge ... to comment ... by Anders1 · · Score: 3, Interesting

      Just curious -- wouldn't Kevin's patch also make Linux run faster in VMWare as well?

    6. Re:Resisting ... urge ... to comment ... by Anonymous Coward · · Score: 0

      How about binary patch the windows binaries? Afterall, the proposed changes to linux were just a bunch of asm macro expansions. Crackers always binary patch programs, no big deal.

    7. Re:Resisting ... urge ... to comment ... by QuantumG · · Score: 1

      Hope you don't get into trouble for this.

      --
      How we know is more important than what we know.
    8. Re:Resisting ... urge ... to comment ... by The+Wicked+Priest · · Score: 1

      How about OS/2? It seems to be deliberately excluded from running.

      The last time I tried them under VMWare, BeOS and QNX were extremely flaky, but improved -- there was a time when they didn't work at all.

      --
      Share and Enjoy: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    9. Re:Resisting ... urge ... to comment ... by The+Wicked+Priest · · Score: 2, Informative

      This patch doesn't hurt performance. In fact, it does absolutely nothing to a normal kernel. It's only activated by an option at compile time, to build a special kernel for the "Hardware Abstraction Layer", which won't even run on bare hardware.

      Here is a link to the actual patch.

      Yes, it IS interesting; and no, it won't be confined to Linux hosts. (Nor guests, ultimately -- at the least, *BSD will be available.) I do agree that in a sense it looks like "giving up", though; it's certainly become less ambitious.

      --
      Share and Enjoy: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    10. Re:Resisting ... urge ... to comment ... by wscott · · Score: 1
      Don't flame them for OS/2.

      Do you know how hard Intel has to work to make new processors virtualize a 286 well enough to run OS/2?

      Is there really any commercial reason they should expend the same effort?

      -Wayne

    11. Re:Resisting ... urge ... to comment ... by Anonymous Coward · · Score: 0

      If Linus is feeling even vaguely himself, he will not accept this patch.

      You're just p*ssed because VMWare didn't get their modules into the kernel.

    12. Re:Resisting ... urge ... to comment ... by Uncle+Warthog · · Score: 1
      Don't flame them for OS/2.

      Why not? They did have support for it at one time.

      When what was to become version 3 was in beta testing, they announced to the OS/2 community at large that they were looking for beta testers to test OS/2 as a hosted OS. A separate version of VMWare containing support and the utility programs for OS/2 was released as a test version. My understanding (I'll admit that I didn't try it myself) is that it was a little flaky but worked more than well enough to be useful.

      Shortly before the release of the product, the OS/2 support was yanked and never released with little explanation of the reasoning. VMWare version 3 was released without OS/2 support and with a much higher price tag (at least for the individual hobbyist-type user). I can think of a few reasons the OS/2 support was yanked, though, even ignoring the usual conspiracy theories we OS/2 users are prone to. The major reason I can think of is that most OS/2 users at the time were looking for support of OS/2 as a host OS, not a hosted OS. More recently, Virtual PC has support for OS/2 both as host and hosted OS so it certainly is possible. It also costs less but has the disadvantage of not supporting Linux as a host OS.

      Keith (if you're still following this thread) or anyone else who might know: Are these essentially the facts regarding OS/2 and VMWare? It was quite a while ago and I'm positive Idon't have all the facts about it, much less certain that all my "facts" are right...

    13. Re:Resisting ... urge ... to comment ... by Daniel+Phillips · · Score: 1

      If Linus is feeling even vaguely himself, he will not accept this patch. Ordinarily, people trying to put stuff into the kernel that a) hurts performance, and b) fixes no real problem, but c) is critical to some contrived project that seems really important to the contributor get entertainingly flamed, and then shown the door. In fact, Kevin's most likely motivation for submitting this as a Slashdot story is to marshall support for his Linux patch.

      That's harsh. I see nothing wrong with redefining the goal's more modestly, and contrary to what you suggest, I haven't seen anyone pushing for Plex86 patches in mainline. Everybody knows what the process is, and it does not happen on unproven code.

      I do particularly like the kernel service module as a design approach. For what I'd use this for, which is kernel debugging, this is entirely appropriate. To me, the key is a lightweight, clean design, without attempting to take over the world.

      It's great to see Kevin back at it.

      --
      Have you got your LWN subscription yet?
    14. Re:Resisting ... urge ... to comment ... by nathanh · · Score: 1
      If I understand the story correctly, plex86 has basically surrendered. They've given up on running arbitrary supervisor level code; the Linux guests that Kevin refers to above require a patch [iu.edu] to "fix" something the new "lean, mean" plex86 gets wrong.

      You understand the story correctly but misinterpreted the meaning.

      Kevin patched Linux to prove that Plex86 works as a virtualisation environment. This allows him to now work on combining Plex86 (VM) with Bochs (emulation) to provide a complete environment for running any guest OS.

      I think the confusion has arisen because Kevin simply couldn't contain his enthusiasm! The realisation that Linux is a 100% virtualisable operating system is quite astounding. He wanted everybody to know this. Can you blame him? He's proven that you can run Linux at 90% or better of native CPU speed but in a complete VM sandbox.

      As someone else pointed out: wouldn't it be cool to boot Knoppix on Plex86 running on Windows and have "Linux in a Window". You can do that TODAY. All that's missing is the IO emulation so unfortunately there's no VGA, no HDD, no CDROM. But that code exists in Bochs! It just requires a little more work to integrate Plex86+Bochs and we'll have:

      • Linux in a VM window running on Windows, at 90% native speed. Imagine the ability to launch Linux sessions on your Windows desktop! No more CYGWIN; just run the real thing!
      • Linux in a VM window running on Linux! Good for students. Good for developers. I remember as a second year student we used Minix+8086 *emulation* to learn operating systems. Linux+386 virtualisation would have been much faster!
      • Massively "parallel" Linux clusters running on single hardware platforms! Great for ISPs. Great for developer systems. Great for enterprises where you want to sandbox your production systems but without the expense of 100s of pieces of hardware.

      Todays' news might not mean much to most people - Plex86 won't run your DOS games or Windows XP - but it's impressive on a technical level. The fact that Plex86+Bochs will one day run your DOS games and Windows XP seems to have been missed.

  32. BSD kernels by Anonymous Coward · · Score: 0

    How well does it work for BSD kernels? I hack on BSD kernels for fun, so this is the most important thing for me.

  33. Will the new Plex86 run under Windows (or cygwin)? by orthogonal · · Score: 1

    I'm running Windows 2000, and (given EULA issues, DRM issues, etc.) I want to start using a linux distribution.

    But I've somewhat invested in Windows, and it still probably beats linux as far as ease of use.

    I've been thinking that running a virtual linux might be a good way to transition.

    I'm currently running cygwin, but I'd like to be able to use a GUI.

    Will the new Plex86 be able to help me? (I.e., is there or is it likely there will be an MS Windows port?)

    What about User Mode Linux? MS Windows port?

    Once I do transition, of course I'd want to run MS Windows virtually: I guess for that my only choice is VMWare. Or buying a another PC, and VPn'ing. Or do you have a better idea?

  34. Any word on... by karlm · · Score: 1

    ... when the official Debian package will show these changes?

    --
    Copyright Violation:"theft, piracy"::Anti-Trust Violation:"thermonuclear price terrorism"<-Overly dramatic language.
  35. What about this plex86? by perl_scrip · · Score: 1

    Plex86 Virtual Machine

    I was just reading about this one today before this article was posted. Which one is the real plex86?

    1. Re:What about this plex86? by kasperd · · Score: 1

      Which one is the real plex86?

      Interesting question? And what happened to plex86.org?

      --

      Do you care about the security of your wireless mouse?
  36. Re:Slow news day? by Anonymous Coward · · Score: 0

    Hey, Daengbo, you fucking asiaphile. Do you "love" your girlfriend, or are you just using her? Do you really think Goy would be happy to know you're posting details of your sordid sexual escapades for all the world to see? If you DO love her and are planning a long-term relationship with her, what are your future children going to think when they read archives of your postings in 20 years time?
    Fucking loser. Go back to the USA, you fucking scumbag. Just like an AmeriKKKan.

  37. VMWare 2.x Video Support Experience by pagley · · Score: 2, Informative

    Admittedlty, I haven't tried VMWare since the 2.something-or-other days, but even simple VGA emulation was far from perfect then.

    I'm a loyal, huge fan of several old DOS based engineering programs that don't have "modern" windowed or OSS equivalents that are nearly as efficient, and just don't work and play well in a Win2k DOS box (if you can call it that). But even so, I need to use Win2k for the rest of the CAD/CAM/EDA work I do day to day.

    So, basically I just needed something to run these old DOS programs. I looked at Bochs, which was pretty young at the time, and wouldn't cut it at all then. I decide to try out VMWare, thinking that just simple non-VESA basic VGA emulation would pretty much be a slam-dunk and work out of the box. Wrong. Nothing but trouble, corrupted video, all sorts of "issues".

    Now, I understand that these programs may manipulate the VGA hardware in, um, "non-standard" ways, but even so, I didn't expect the bulk of my old software running in simple 640x480x4bpp mode to exhibit such horrible artifacts. IIRC, even 320x240x4bpp mode exhibited the same problems.

    After some fooling around, as an experiment, I installed Linux inside VMWare - with the proprietary X server, and then eventually succeeded in getting my DOS programs to run inside Linux inside Xdosemu. Even though it worked, it was a bit too much of a kludge - even for me. Research and emails to VMWare basically confirmed that video support for anything other than Windows or Linux just wasn't going to be "complete". Bummer.

    So, I tried VirtualPC. Even though it was slower than VMWare, when running software in a DOS environment that was cutting edge in the 486-66 days, running in a VM on a 800MHz host seemed unnaturally fast in many ways :)

    Many people have run VirtualPC down in that it emulates "outdated" hardware like the DEC Tulip ethernet controller (Intel now I believe) and the lowly S3 Trio video card, but from what I've seen, the hardware emulation is true to the real deal - and the bonus is that just about anything can support those two hardware components. So, VPC gave me what I needed, at a price and speed that were reasonable, even if it doesn't run on everyone's favorite free OS.

    I'm sure VMWare has improved in many of these areas, but for what I needed at that time, it didn't fit at all, and was a basic disappointment. I'm sure if I needed a virtualized server farm, which is the main focus of VMWare currently, I'd be much happier. But it's strength at that time was in processor virtualization and not hardware emulation.

    I'm intrigued with the "new" Bochs/Plex86 combination, and maybe someday it will be able to do what I need it to do, under any host OS it's available on. For now, I'll use VPC and watch intently from a distance.

    Just my two cents worth.

    Brad

  38. Re:Will the new Plex86 run under Windows (or cygwi by zztzed · · Score: 1

    Cygwin has had an X server for a while. It is part of the official distribution now, though, so you can select it in the graphical installer, rather than having to download and install it separately after you've installed Cygwin.

    LINE can run Linux binaries on Windows, much like WINE executes Windows binaries on Linux, though it's probably not as useful as Cygwin or a full Linux system.

    There is also a port of User-Mode Linux to Win32 underway, but it is not very far along yet and would probably not be useful to you. (Also, it depends on the aforementioned LINE. Which I think is kind of funny.)

  39. Re:Will the new Plex86 run under Windows (or cygwi by orthogonal · · Score: 1

    Cygwin has had an X server for a while.

    Yeah, I can run xclock and xeyes and xterm, and that's about it.

    Re you telling me I could riun, for example, Gnome or KDE? If so, how?

    And yes, it's ironic UML on Win32 requires LINE to run.

    My visiion is running linux with emulated Windiws runnng Plex86 linux running Windows... Lather rinse, and repeat!

  40. Not much use.... by hughk · · Score: 1

    If I'm emulating small operating systems, or at least ones with true microkernels, then this solution would be ok. If I'm running something like Win 2K, I would have to be very patient because a lot is happening in kernel space.

    --
    See my journal, I write things there
  41. Better approach? by Anonymous Coward · · Score: 0

    Reverse-engineer the programmable microcode in an Intel or AMD cpu so that the exposed assembly language sucks less, and is fully virtualisable. Sure, Windows won't run, but we'll have mainframe-style hardware-supported virtualisation for Linux, BSD, EROS, etc.

  42. Thanks for coming out by korpiq · · Score: 2, Informative


    I must say that I appreciate VMWare for both its hack value and usefulness. (It's also one of the too few commercial applications that's as easy to deploy as should be with it's download-configure-pay -model.) Nice to hear a human^Wnerdish voice from someone inside as well.

    --

    I think, therefore thoughts exist. Ego is just an impression.
  43. Re:Will the new Plex86 run under Windows (or cygwi by jce · · Score: 1

    KDE for cygwin:
    http://kde-cygwin.sourceforge.net/

    GNOME for cygwin:
    http://cygnome.sourceforge.net/

    Have not tried either but both have screenshots.
    And if you have not used the -rootless option to the cygwin Xserver check that out too.

    -c

  44. Running Win98 inside WinXP by Anonymous Coward · · Score: 0

    Is it possible to use this program to run Win98 inside WinXP? I need that to test my software, but WMWare seems to mess up my system when installed. I can't seem to find much information about this program...

  45. Re:VMWare 2.x Video Support Experience by msouth · · Score: 1

    Did you look at Win4Lin? Despite the fact that I used to work for NeTraverse, I don't really know if what you're talking about is in the Win4Lin focus area. The stuff that they try to do, they do well, they just don't try to do everything, being a small shop.

    --
    Liberty uber alles.
  46. Interesting spin... by Daniel · · Score: 1

    The (new) plex86 website presents this as a great leap forward for the project. I suppose that almost anything would be better than its previous moribund state, but it's a bit nauseating to see the amount of spin Kevin is applying on this announcement.

    For people who are more familiar with "Web programming" than kernel code, suppose the Mozilla (or Konqueror) team made the following announcement: rather than implement a full and heavyweight web browser which can view any web page, they would take a new approach: only view web pages which conform to the HTML/1.0 specification and do not use images, tables, or forms. This would lead to a much lighter-weight browser, and faster performance -- a great improvement, right? This is just about what Plex86 is doing with this announcement.

    Now, there's nothing wrong with deciding that the hard stuff is too hard, so you'll focus on the easy stuff and do it really well. You should at least be honest and admit that's what you're doing, though. Trying to sell this as a bold step forward is rather..well..Microsoftian. Or if you object to that term, the old standby of "dishonest" will fit as well.

    Daniel

    (PS: I do not work for vmware, nor do I particularly like them)

    --
    Hurry up and jump on the individualist bandwagon!
    1. Re:Interesting spin... by sam_vilain · · Score: 1

      No. Perhaps I should put it into web programming terms for you.

      It's more like, oh, wait, let's implement Imlib so that we don't have to screw around with drawing to the screen in our HTML renderer. We'll have to port our HTML renderer to Imlib, but doesn't that make the whole code less of a headache to work with?

      This makes the code frighteningly simple, which is a good thing.

      --

  47. great! by kipsate · · Score: 1

    It's great to see that this project is making such wonderful progress. It will be fantastic to have a fully functional Windows 95 running under Linux 4.0 in ten years from now.

    --
    My karma ran over your dogma
  48. Even better than CrazyBrowser.. by The+Spoonman · · Score: 1

    AvantBrowser (www.avantbrowser.com). Has all the features of CrazyBrowser, and a couple more: first of all, scroll mice work properly all throughout (the scroll doesn't work in CB's history list). It also allows you to selectively deleted auto-complete entries, for example, mine deletes all the URLS except those I specifically type. It also works at Mazda. :)

    --
    Which is more painful? Going to work or gouging your eye out with a spoon? Find out!
    http://www.workorspoon.com
  49. IBM, stupd; slashdotter insightful by bill_mcgonigle · · Score: 1

    virtualization isn't exactly a big market

    Do you have any idea how much money gets poured into 390 systems running VM?

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    1. Re:IBM, stupd; slashdotter insightful by evilviper · · Score: 1

      That may be true, but that is nothing like Plex86.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    2. Re:IBM, stupd; slashdotter insightful by bill_mcgonigle · · Score: 1

      That may be true, but that is nothing like Plex86.

      Except that they both let you run multiple instances of linux on one machine without emulation by virtualizing the underlying hardware.

      Besides that they're different, of course - or did you mean something else?

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  50. Why 3 instructions don't virtualize by downwa · · Score: 1

    IIRC, the three instructions (PUSHF, POPF, and IRET) don't cause a kernal trap, which is the problem. There's no way to trap the instructions, but they behave differently in ring 0 than they do in ring 3 (e.g. setting the flags differently or something like that).

    --
    Life's a lot like money-- you spend it, then it's gone. Spend wisely.
    1. Re:Why 3 instructions don't virtualize by Anonym0us+Cow+Herd · · Score: 1

      three instructions (PUSHF, POPF, and IRET) don't cause a kernal trap, which is the problem. There's no way to trap the instructions, but they behave differently in ring 0 than they do in ring 3 (e.g. setting the flags differently or something like that).

      Ouch, that's ugly.

      Maybe some enterprising chip maker, AMD, might introduce a mode to trap these. If this were all it took to make the chip fully virtualizable, then they would have a competitive advantage.

      --
      The price of freedom is eternal litigation.