Using Kexec Allows Starting Linux In PlayStation 4 70
jones_supa writes: Team fail0verflow, the hacker group who made Sony PlayStation 4, has introduced another method to start Linux in the game console. Instead of the previous exploit which was based on a security hole in an old PS4 firmware version, the new trick allows a kexec call to start Linux through Orbis OS (the FreeBSD-based system software of PS4). The code can be found in GitHub. Maybe this will lead to more and better PlayStation clusters.
What? (Score:5, Insightful)
Team fail0verflow, the hacker group who made Sony PlayStation 4,
Highlighted for the accuracy of this summary.
Re:What? (Score:5, Informative)
Facepalm. It seems that both I and Timothy are sleeping on the wheel. :D
Anyway, I would also add to the summary that you need some another way to actually make the kexec call. Over at PSXHAX there was posted a new BadIRET exploit [psxhax.com] last Wednesday. Maybe it works.
Re: (Score:2)
Re: (Score:2)
Re: (Score:1)
I heard the some hackers group attacked Sony, but I was not aware that they actually took over their operations permanently.
Re:What? (Score:5, Funny)
It was nice of them to turn over production of it to Sony.
Okay, but (Score:2, Funny)
Launching Linux from FreeBSD is also known as "downgrade". Just sayin'
Re:Okay, but (Score:5, Funny)
Launching Linux from FreeBSD is also known as "downgrade". Just sayin'
Only if you'd run systemd.
Re: Alternative solution (Score:1)
Don't know when I'll run out of replacement PS3s or maybe get an offer from Sony to migrate my collection to a newer console. Not holding my breath for that last bit though.
But now that I have a legitmate purchase, most of which at one point
Re: (Score:2)
PS3 clusters were *briefly* interesting... (Score:5, Insightful)
The cell processor was very briefly an interesting beast at the time it came out. It represented surprisingly good bang for the buck when the PS3 released. No console hardware before or since has been 'ahead of its time' enough to offset the inherent limitations of a home entertainment device.
Unfortunately, while it had tremendous capability to run certain traditional HPC jobs, it wasn't that good a match for what game developers needed most...
The current crop is particularly less compelling, since they were basically midrange PC at the time of launch.
Re: (Score:2)
Re:PS3 clusters were *briefly* interesting... (Score:5, Informative)
Unfortunately, while it had tremendous capability to run certain traditional HPC jobs, it wasn't that good a match for what game developers needed most...
Which is???
The cell broadband chip was originally designed to be used for multimedia processing. It had amazing vector processing capabilities, but videogame code doesn't have a lot of cases where you're crunching large amounts of data using simple algorithms, as with video decoding. As it turns out, typical game code tends to have lots of branches, special cases, one offs, etc (physics, AI, pathfinding, skeletal animation, etc). I imagine this is also why the major manufacturers returned to a more traditional x86-64 architecture instead of the PPC. The PowerPC had crappy out-of-order processing and branch prediction, and suffers rather badly when faced with branch-heavy code.
In other words, most videogames require processors that can deal efficiently with branching code and lots of small, irregular data sets via caching. That's pretty much the exact opposite of what the cell is good at. There were some some devs who went through some fairly heroic efforts to squeeze all they could out of the cell, but in the end, all that effort netted about the same results as another couple of general-purpose CPU cores that took almost no coding effort. Most game developers I know disliked the PS3, because to get the same performance as on the Xbox 360 required about 10x the effort.
PowerPC was common in gaming... (Score:3)
The Xbox 360 had a PowerPC-based chip as well, named Xenon. The original devkits for it were PowerMac G5s.
The GameCube, Wii, and Wii U were also all based around PowerPC.
Re: (Score:3)
Correct - I didn't mean to imply otherwise, if that's what it sounded like. The reason Xbox 360 fared better was because of it's symmetric three-core/six-thread configuration, which was much easier to program than the PS3's asymmetric single PPE + seven SPE configuration. But all the PPC-based chips had the same issue with the CPUs stalling quite a bit in normal gameplay code - there's really very little you can do about that as a developer, as you can only simplify or re-architect your code so much to he
Re: (Score:2)
Whereas I loved the PS3 for exactly the same reason. Why do developers whine that their job is hard? If it was easy they'd get minimum-wage slaves to do it.
Not every programmer enjoys the same sort of challenges. There are always some devs who love getting as close to the metal as possible, doing crazy micro-optimizations to squeeze just a few more cycles from the hardware. It sounds like you're one of those guys.
Personally, I'd much rather be productive creating an actual game than farting around with (IMO) needlessly over-complex hardware - something Sony (up until the PS4) seemed to specialize in. There are no shortage of challenges beyond hardware-relat
Re: (Score:2)
In other words, most videogames require processors that can deal efficiently with branching code and lots of small, irregular data sets via caching.
That almost sounds like an argument for Forth chip grids. Forth/stack chips were historically excellent at very branchy code.
Re: (Score:2)
Re: (Score:2)
Re: (Score:1)
the ps4 memory architecture differ from the PC and the xbox one, the memory is GDDR5 shared between the CPU cores and the GPU using a ring buffer. In a typical PC the VRAM is not shared between the gpu and the GPU.
Re: (Score:2)
Okay, in practical terms, what does this get you?
Re: (Score:1)
Assuming they offer APIs to do this.
Re: (Score:2)
Thanks!
I'm impressed (Score:5, Funny)
Team fail0verflow, the hacker group who made Sony PlayStation 4
Well if they built it in the first place, no wonder they're able to hack it.
Why bother (Score:2, Interesting)
If freebsd is underneath the whole PS4 system, then why not just use that instead of booting into linux? Seems a little excessive.
Re: (Score:3)
Because it's not FreeBSD. Just because Sony based their kernel on FreeBSD doesn't mean it has a FreeBSD userland, nor does it mean you can just slap on a FreeBSD userland and make it work.
You'd have to port FreeBSD all over again - and it turns out that Linux has better off-the-shelf support for the PS4 hardware than FreeBSD does. The only reason Sony didn't use Linux is because of the license, not because it isn't easier to make work on this hardware.
How long (Score:5, Funny)
Re: (Score:2)
Considering xbox controllers have worked on PCs for a long while, wouldn't be a stretch...
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
We already have 3D working. It's not production-quality but it runs real games with decent performance.
Re: (Score:2)
in before "update" (Score:3, Insightful)
it should only be a day or so before Sony removes this ability for "security" reasons. fuck Sony. yes, fuck Microsoft more but still, fuck Sony.
Re: (Score:2)
They can't remove this "ability" because this "ability" is just a piece of code that runs on any PS4 you can get kernel code to run on.
It's up to you to figure out how to run the code in the first place. That is affected by updates.
Re: (Score:2)
They can't remove this "ability" because this "ability" is just a piece of code that runs on any PS4 you can get kernel code to run on.
you act as if Sony is incapable of altering the kernel. don't be a dullard, think before you post.
Re: (Score:3)
How exactly do you alter the kernel to stop you from running kernel code when you can already run kernel code? I'd like to hear about this magical technology that Sony has invented.
Try better reading comprehension next time. This is just code. It's not a way to run code. Therefore, Sony can't do anything about it, because there's nothing to be done. Sony can't magically make code stop being code. That's like saying Microsoft is capable of making Linux stop working on an (open) machine you choose to install
Editing (Score:2)
"the hacker group who made Sony PlayStation 4"? Really?
Might want to check that.
And I can't find this interesting, when it's basically a way to run Linux on something that we know could run it, whose predecessors have run it, and which is deliberately made not to run it for no real valid reason.
It's not even like a PS4 is cheaper than a laptop or whatever nowadays.
Re: (Score:1)
Re: (Score:2)
It's just new(ish) spam. I assume it's fully automated.
Not worth clustering as with PS3 (Score:2)
Back with the PS3, you had a novel processor (Cell) and the PS3 was a cheap way to get machines with it. With the PS4, you have a mid range AMD APU processor. Newer APUs will probably outperform it in raw performance terms, and clustering will be easier with commodity hardware.
Re: (Score:2)
The one caveat being that the APUs are probably still lacking in performance compared to the console APUs (that basically devoted most all of the power/cooling budget to the GPU and a very weak CPU). However a very modest discrete GPU would handily overcome that gap.
Re: Not worth clustering as with PS3 (Score:1)
clustering was even easier with commodity hardware back in the ps3 days. The horrific 256mb ram meant it didn't even perform as well as a pi2+ does today.