News for hackers. Stuff that matters.
Re:Inception - Root any machine over FireWire, Thunderbolt, ... by Fasebook on Sunday January 26, 2014 @01:30AM (#7124131)
These interfaces have DMA, they don't need drivers to interface with the hardware.
Re:Inception - Root any machine over FireWire, Thunderbolt, ... by Sanddancer on Sunday January 26, 2014 @02:09AM (#7124200)
They do need a driver to set up which DMA channel to use, etc. While these devices can go nuts once things are up and running, just plugging it in won't do anything until the computer actually acknowledges it.
Re:Inception - Root any machine over FireWire, Thunderbolt, ... by RexRollman on Sunday January 26, 2014 @08:41AM (#7125029)
So, for example, if one builds a custom Linux kernel without support for Firewire, then plugging in a firewire controller would do nothing? It couldn't access anything?
Re:Inception - Root any machine over FireWire, Thunderbolt, ... by Sanddancer on Sunday January 26, 2014 @09:32AM (#7125160)
Exactly. A PCI(e) device needs to ask things of the kernel for it to initialize. Until it gets that info, it's just a motherboard warmer.
Re:Inception - Root any machine over FireWire, Thunderbolt, ... by Fasebook on Sunday January 26, 2014 @12:50PM (#7125959)
It can still read and write to memory. If it needs to "initialize" anything, it will have to commandeer the CPU by creatively rewriting memory that is in use.
Re:Inception - Root any machine over FireWire, Thunderbolt, ... by userbinator on Monday January 27, 2014 @03:12AM (#7129348)
This would be possible with regular PCI which is bus-based, but PCIe is a star topology with ports on the upstream switch needing to be configured into an active state for the newly plugged in device to communicate with the rest of the system. I haven't looked at the specifications but I imagine it's the same for Thunderbolt - the controller itself has to be enabled first.