Slashdot Mirror


Free60 Project Aims for Linux on Xbox 360

BlueMoon writes "The Free60 Project wiki and developers mailinglist has been launched. The project aims to port open source operating systems like GNU/Linux and Darwin to the Microsoft Xbox 360 gaming console. The site already contains some interesting details about the Xbox 360 security: per-box key stored on CPU, boot ROM will be on CPU too and a hypervisor verifies the running state of the kernel."

34 of 511 comments (clear)

  1. os x? by jest3r · · Score: 5, Interesting

    Being a triple core 3.2GHz PowerPC it would be cool to get OS X running on the XBOX 360.

    1. Re:os x? by cbreaker · · Score: 5, Interesting

      The Xbox 360 CPU cores are very simple and a full G5 processor should be able to outperform the Xbox in any real world applications.

      --
      - It's not the Macs I hate. It's Digg users. -
  2. My Thoughts Exactly by slashbob22 · · Score: 3, Interesting

    This goes extremely well with my solution to the overheating problem:

    I suggest that correct this problem that you transform your "XBox" into the form it should have originally been in:

    1) Buy MicroATX case (with powersupply)
    2) Rip apart XBox
    3) Rebuild your computer. err XBox.

    Done Right?

    and I suppose:
    4) Install Linux and stop buying those ridiculously priced games.

    --
    Proof by very large bribes. QED.
    1. Re:My Thoughts Exactly by Anonymous Coward · · Score: 2, Interesting

      Seeing as MS is selling these at a loss, if these guys get it up and running nicely, I'd be interesting in buying. Sweet machine theoretically if all the hardware is made to work, and a dollar loss to MS.

      Sounds a little "teh M$ is teh evil" slashdottery? Think again.

      It's payback for those licences on latops and packaged computers that I and others don't use but have to pay for because they enforce a monopoly.

      Microsoft is constantly profiting from these anti-competitive moves, and they are trying to sink other console makers by selling their machines at a loss (their whole xbox division doesn't turn a profit), I say if some company tries to use it's raw billions to put others out of business by selling below cost, then they deserve to have people buy them and use them for other purposes.

      It's time someone stood up for the little guys (and I don't mean those macromedia flash producing infinium labs guys here either, there are real jobs on the line when MS bullys people), if our governments won't do it. We can.

    2. Re:My Thoughts Exactly by Kadin2048 · · Score: 3, Interesting

      Yeah if there actually turned out to be even some semblance of support for it as an architecture, I'd probably pick one up just to play around with. I don't really have any desire to buy any games for it, but if I could get a development/hobby platform for under $400 (okay, add a case that doesn't suck) while at the same time sticking Microsoft for $125, I'm all over it.

      What would be cool is if somebody would port the BOINC distributed computing client, and put together a bootable CD for xBox. If you know you're not going to be using your console for a while, just put the CD in and reboot it, and it crunches numbers until you're ready to play again. If you think of the numbers of game consoles that are sold, and the number of hours that they're probably used per day (after the initial fascination wears off), that's a lot of idle CPU time. Now that consoles are getting comparable to computers in power, and have network connections and attached disk storage, I don't think it's that ridiculous an idea.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    3. Re:My Thoughts Exactly by Feminist-Mom · · Score: 0, Interesting

      Right. Or, as I am thinking about, it could be a good basis for a homebrew "supercomputer".

  3. Not too quick! by Anonymous Coward · · Score: 3, Interesting

    If they're too quick at crackin the new box, microsoft will patch the other xboxes they'll be making. I'd imagine that's one of the reasons they released so few at this time. The other major one being that they didn't wanna get slapped with too many lawsuits concerning house fires.

  4. Odd Timing by nurb432 · · Score: 2, Interesting

    Just as apple drops the PPC, Microsoft starts using it?

    --
    ---- Booth was a patriot ----
    1. Re:Odd Timing by Anonymous Coward · · Score: 2, Interesting

      Actually, it's more like "Just as Microsoft drops Intel, Apple starts using it."

      The PPC was planned as the processor for (most of) this generation of consoles for a while. Rumour had it, once upon a time, that the 360 devkit ran on Dual G5 Powermacs with the right video card.

    2. Re:Odd Timing by Magic5Ball · · Score: 3, Interesting

      Mobile computing doesn't really matter much to the gaming console market.

      Sure it does. GameBoy* and PSP* are profitable, and will continue to be profitable as they gain enough processing power to run re-releases of current console games in the next five years or so. A self-powered X-Box that fits into a discman-size form factor would be a killer app, and is close to being achievable today.

      --
      There are 1.1... kinds of people.
  5. are there any non-gaming applications to this by caffeinemessiah · · Score: 5, Interesting

    ...because a lot of good came out of the original Xbox being hacked. I'm sure there are a lot of high-perf researchers on a shoestring who are eyeing the price on the basic Xbox 360. Even without a hard disk, a small memory card should be enough to house a basic computation/communications infrastructure, and with the retail price on the basic 360, you should be able to string a bunch of them together to get decent computing power at a price even lower than a low-end Beowulf. I understand that the obvious application of hacking the 360 is so that you can play pirated games, but I for one am eagerly waiting to see what comes out of this project, and the PS3-hack that is soon to be.

    --
    An old-timer with old-timey ideas.
    1. Re:are there any non-gaming applications to this by interiot · · Score: 4, Interesting

      Simply adding support for extra codecs, and better/configurable upscaling of DVD or 720p content would be a wonderful place to start. Though the PS3 supposedly has more horsepower and 1080p output, so it may be preferable for use as a software scaler.

  6. Source by morcheeba · · Score: 4, Interesting

    Interesting source of the information: I met someone on the IRC the other day who told me the following...

    The biggest thing I wonder about in "The key is stored inside the CPU". This adds cost, but it is possible. It means that to execute your own code, the serial number must be determined so that a replacement flash chip can be properly encrypted. I'm betting it's pretty hard to find this number out without taking apart the processor.

    1. Re:Source by Anonymous Coward · · Score: 3, Interesting

      It could add cost, but perhaps not.

      IIRC, there's an extention to the JTAG specification for in-system programming of devices, such as programmable logic or flash memory.

      I don't think it would be too cheap to store the unique per-console key in a few bits of flash memory in the chip die. Then all CPUs would be identical, and during the normal testing phase they could program the flash. And God knows we have flash memory technology issues down these days.

      There's other ways too; fuseable links to make it permanent. But nothing that require a new die per CPU, it's the kind of thing that can be implemented cheaply.

    2. Re:Source by amberarcher · · Score: 2, Interesting

      If they do in fact allow for remote certificate revocation over XBox Live this might provides a means to hack it, ironically enough. Put the 360 on a network you control with a DNS provider that redirects the site it's trying to connect to to a new, fake one, and have your fake certificate authority tell it that the original certificates were hacked and provide new ones. The machine will download the replacement code-signing certificates from My 360 CA. Then what was a crytographically secure mechanism becomes just "security by obscurity" (no one knows that site URL or the format it exchanges) and we all know how well that works.

      As Ed Nisley always says in his DDJ column, "to own is to be root" -- there's no truly secure hardware.

  7. Well, in regards to piracy... by Sigmund+Dali · · Score: 5, Interesting

    I've long thought that the only reason MS decided to go with the smaller laptop drives is their drastically reduced capacity. Does the lure of piracy decrease with the size of the Hard Drive? I'll admit that on my modded XBox, I prefer to rip all of my *legit* games to the HD, just for easy access. Anybody else think the same way?

    1. Re:Well, in regards to piracy... by Anonymous Coward · · Score: 3, Interesting

      Someone actually tried connecting a standard SATA drive to the 360.. it connects just fine, but the xbox doesn't recognize it without the right data on the disk. It's only time before someone finds out what the xbox looks for, makes a tool to convert your sata disk, and then have 350GB of hard drive space to play with :)

  8. Re:Consoles are not general computing platforms by garcia · · Score: 4, Interesting

    Well, if the device actually works (and the apparent overheating issues worked out) you will end up with a low cost, low profile machine with TV-out that can be used as a media center box while (in a perfect world) being able to still playing XBox games online.

    One box to do it all. You get a lot by being able to run your own OS on the box. Don't troll with unintelligent comments, it's not worth it.

  9. Because it's there by CustomDesigned · · Score: 4, Interesting
    Why are you climbing this mountain?

    An Indian Psycologist (whose name went something like Sikh Sent Mahalia - but I'm sure I totally mangled it, and can't lay my hands on the book) identified the necessary components of "flow" as skills, rules, goals, and feedback. For any activity, whether work or play, if you lack the skill, or if the activity is too easy or too hard, you are frustrated and unhappy. If you can't discern the rules (or meta rules), you are frustrated and unhappy. If there is no goal, you are frustrated and unhappy. If there is no feedback on your progress, you are frustrated and unhappy.

    Sports like football have all the components (for those with the skill), and there is "flow". Putting linux on machines designed to prevent that very thing is like a game of football for geeks. It requires skill (is not too easy), but has been and probably can be done (is not too hard). The rules are those of logic and electronics. The goal is clear, and there is feedback along the way as you (carefully arrange to) see evidence of the system running your code further and further along in the boot process.

    It can get frustrating if there is a lack of feedback - you can't find a visible bit to twiddle to show the code has gotten to a specific point.

    1. Re:Because it's there by keyshawn632 · · Score: 2, Interesting
      You're probably referring to Mihaly Csikszentmihaly [wikipedia article].

      How he defines flow: being completely involved in an activity for its own sake. The ego falls away. Time flies. Every action, movement, and thought follows inevitably from the previous one, like playing jazz. Your whole being is involved, and you're using your skills to the utmost.

      The quinessential example that would accurately describe "flow" for the slashdot crowd would be the lost sense of time, sort of euphoric feeling that you get when you've been coding for hours.


      I've read most of his book, Creativity, for my seminar class (college frosh) that I'm currently taking. In it, he does devote a chapter of ~20 pgs to Flow, and the entire book is actually a very insightful read and recommend it to slashdotters....
      /end cheap plug
      /His last name is pronounced: "chick-sent-me-hi-ee"
      /seriously, that alone should give you reason to buy the book or check it out from your local library...

  10. Question by GroeFaZ · · Score: 3, Interesting

    As other posters have noted, game consoles share the distinctive trait of standardized, special-purpose hardware, on which a general-purpose Linux OS is installed. But even the best game consoles make for pretty poor PCs if you just look at the specs, so it seems to me that this is more of a proof-of-concept and the sheer devilish joy of seeing Tux on an Xbox.

    But is it not possible to modify a distro for specifically that set of hardware that comes with, say, the Xbox 360? Would the gain in performance not be equal to that of games software written for that set of hardware?

    --
    The grass is always greener on the other side of the light cone.
  11. Re:Why would you need it on a three 3.2 GHz proces by Anonymous Coward · · Score: 1, Interesting

    Sometimes we want people to get karma for making us laugh. And Taco took away karma for Funny mods. Thus, Informative.

  12. Erm why? by squoozer · · Score: 2, Interesting

    It would be pretty cool if Linux worked on a 360 but please remind me again why people are trying to make it so? Aren't there enough projects crying out for some decent developer input already? Maybe I am just getting old and grumpy but this seems like a terrible waste of time that could be used to great benefit.

    --
    I used to have a better sig but it broke.
  13. Re:Why would you need it on a three 3.2 GHz proces by ThaFooz · · Score: 4, Interesting

    I know that was a joke, but the appeal of getting linux on the Xbox for me is to be able to run MythFrontend for all my video needs... which requires QT and tends to be a little clunky on ancient machines. Not that you need 3.2 ghz processors, but hey, the XBox is cheaper than a new machine.

  14. Re:Yay by sgant · · Score: 4, Interesting

    Renderfarm maybe?

    If only we could port Vray, Mental Ray and PRman to it.

    Cheap renderfarm networked together. Need lots of cooling though from what I understand about the 360

    --

    "Leo Fender was in a 'state of grace' when he designed the Stratocaster." -- Paul Reed Smith
  15. TCPA by marcosdumay · · Score: 4, Interesting

    This is (as far as I know) the very first Trusted Computing platform that we can put our hands on. Very, very interesting. And it is well done (no obvious flaws).

    If somebody can break that, we may be safe! That or they may build a more secure one, but we'll be safe for more time anyway.

  16. PSP cat and mouse by tepples · · Score: 2, Interesting

    so I highly doubt Microsoft would create huge disruptions in supplies just to stop this behavoir.....

    If Sony's cat-and-mouse game with PSP homebrew enthusiasts is any indication of what Microsoft might do, especially given that one of the linked pages has "TPM"...

  17. Don't shut it down by Midnight+Warrior · · Score: 3, Interesting

    Everyone expects that Microsoft would want to shut such a site down. Believe it or not, if the Trusted Computing Machine paradigm is to really take hold, Microsoft is going to have to wait it out. Lots of companies have worked on other tamper-proof technology. If this platform can withstand a very large portion of that attack, then they will have a reputation to be proud of - from a security perspective.

    Bruce Schneier reminds us of several attributes in his book Secrets and Lies.

    • Tamper proof hardware through zeroization techniques (no evidence thus far), but may involve destruction when a critical chip is removed.
    • Revocation of privilege to participate. If the hypervisor detects trouble, it fails to a safe position.
    • "Only the key is secret" (and only for so long). Call this a free update CD every XBox360 owner must run after two years from launch - this is a valid application with new Microsoft keys.
    • Compromise in one section does not compromise the whole unit (defense in depth)
    • Assume something like the James Bond 007 game save buffer overflow will happen again, and the damage should require everyone to purchase this game to continue running non-standard code - during which time the bug will be patched in the new distribution discs.
    • Fiercly litigate anyone that builds disc reading/writing technology for the XBox 360, specifically targetting hardware vendors.
    • Develop a method by which an honest enthusiast can work in a sandbox that does anything. They'll never be entirely happy, but it will keep all but the most zealous enthusiasts at bay. Make this disk cost, oh, say $150 to cover the lost profit, or $40 per year per console. Call this a bizaare toy for the sophisticated adult, and the cost should make it a disincentive to commercial distribution of competitive products.

    For the record, I have no interest in playing on a 360, much less compromizing one, but if Microsoft can apply the above principles, then they will have a reputation and platform other non-gaming industries can embrace. Even Sony couldn't buy that with money. I do, however, have my doubts that Microsoft has focused on security robustness because their first and formost motto should be "It's all about the gaming experience." Fail that and the thing dies anyway.

  18. Re:Consoles are not general computing platforms by Ashtead · · Score: 2, Interesting
    In theory, anything with a microcontroller could be reprogrammed. In practice there tends to be a number of obstacles put in the way of performing re-programming, in these cases where re-programming never is expected to be needed, or when re-programming is not desired for whatever reason. Mouse and garage-door opener controllers are typical examples of mask-programmed controllers, where there is a large volume and a simple function that never needs to be changed in the field; if there are changes these are applied at the factory, and a new mask is laid for the new revision or model of controller.

    Other systems may use one-time-programmable chips, and most of these have various kinds of "security bits" that effectively slams the door on the possibility of reading the existing program and changing it. Typically something done in order to retain trade secrets.

    Now, there are also field-programmable units, whether memories or erasable and re-writeable controller, with some kind of EEPROM memory in them. Even if they can be erased and re-programmed, these still tend to have some kind of security mechanism for the benefit of those wanting to keep their trade secrets.

    I do expect that Microsoft has not made it easy to reprogram or even inspect the contents of these memory areas that hold the key for the unit. And it's not like there'd be a separate 24C01 memory chip with an I2C-bus interface holding the secret key, we can expect that there are some nonvolatile bytes of memory safely tucked away inside the chip.

    Very likely, this memory is designed as externally write-only-once, so that once the key is written it can never be either read or rewritten. This resembles the region coding change limitation on DVD-drives, where the region code may be changed N times and it eventually sticks at the last one. Reduce N to 1 here, don't implement any way of externally reading the value, and there it is.

    That does not preclude the possibility of overall testing of the external response to stimuli and deducing the internal secrets; but it does make this job quite a bit harder. After all, the device must eventually be able to run code from an external data source, as opposed to embedded controllers that have a fixed program that hardly ever changes.

    --
    SIGBUS @ NO-07.308
  19. Re:Why "Free-something?" by eclectro · · Score: 1, Interesting

    I doubt it. IANAL - but they do not use the words "xbox" in their name, which means that they are going against the phrase "360". Numbers cannot be trademarked - though others have tried. Think intel and 486. That's why they changed the name of their next generation CPU to a word which was "pentium". They had a naming contest within the company with nice prizes and came up with something usable from one of the employees.

    Free60 is very clever. Kudos to them.

    --
    Take the cheese to sickbay, the doctor should see it as soon as possible - B'Elanna Torres, "Learning Curve"
  20. Re:Nice try by Rew190 · · Score: 4, Interesting

    To the best of my knowledge there is still no crack for the Xbox that doesn't involve hardware modification.

    Done and done.

    It involves getting in through a savegame. I had this done to my XBox; it has something to do with FTPing in and replacing boot files.

    Hopefully the new system gets cracked quickly; an XBox with XBox Media Center is very useful!

  21. Re:Nice try by Geoffreyerffoeg · · Score: 2, Interesting

    To the best of my knowledge there is still no crack for the Xbox that doesn't involve hardware modification.

    There's a simple, Free exploit that uses a buffer overflow in MechAssault to run unsigned code under the security restrictions of the game itself; one of the things it can do is write files to disk. Appropriate files can replace or modify the Dashboard, allowing unsigned code to run with no restrictions and act as an operating system. Such code exists Freely for older Xboxen; for newer ones, there is technically illegal code with the same effect.

    ("Technically illegal" because it was built with an unlicensed copy of the Xbox developer's kit.)

    SourceForge downloads page - get "MechInstaller", dd that to a drive that you can hook up to your Xbox, and load one of its saved games with an original (not "Platinum Hits") version of MechAssault 1. See xbox-linux.org.

  22. Re:Er... say wha? by interiot · · Score: 1, Interesting
    The benefits of modding (namely, XBMC and the ability to play backups) are just too great to *not* do it.

    And the downsides are that you can't play XBox Live games. Which is fine for some, because you may not want to pay to play on servers that may otherwise be free, but on the XBox 360, the central online service plays a much more important role, so it will be a greater disincentive to hack your box.

  23. Aren't there better OSS thing to do? by Theovon · · Score: 2, Interesting

    Look, I think getting Linux running on some random platform is interesting, and the Xbox 360 may actually have a fair amount of horsepower. But aren't there better things for people to be spending their time and money on that would contribute more to the future of open source? So, instead of hacking the Xbox, how about developing hardware that's open by design?

    If people took the money they're going to spend on reverse engineering the Xbox and spent it instead on open hardware development, we'd already have open GPU's, sound cards, motherboards, you name it.

    At the same time, open source is borne out of everyone doing whatever they find to be most fascinating, and it's that freedom that has resulted in many people developing open source software that is useful to everyone, whether intentionally or by accident.