News for hackers. Stuff that matters.
Re:A Linux Evening by jeffbee on Friday December 16, 2022 @09:15AM (#34014658)
Is there one? I know that unplugging a Thunderbolt peer will crash my MacBook Pro (bridgeOS, not macOS, panics). Disappearing buses is an edge case that is little-tested on most operating systems.
Re:A Linux Evening by kalleboo on Friday December 16, 2022 @10:19AM (#34015504)
Hot-plugging Thunderbolt devices is hardly an edge-case on Macs, it's a heavily advertised feature.

I had about weekly kernel panics or machine freezes (would not wake from sleep) while unplugging my Thunderbolt dock (with displays and lots of devices) all throughout the USB-C Intel Mac era, but they all went away when I got an M1 Pro machine, so I wonder how much is down to OS design vs drivers vs hardware (vs how specific hardware influences driver design).

Re:A Linux Evening by jeffbee on Friday December 16, 2022 @11:08AM (#34016161)
M1 machines don’t have bridgeOS at all, right?
Re:A Linux Evening by bombcar on Friday December 16, 2022 @11:21AM (#34016371)
If it can panic apparently they do have it.

https://en.wikipedia.org/wiki/BridgeOS says it runs the Touch Bar.

Re:A Linux Evening by jeffbee on Friday December 16, 2022 @02:42PM (#34019207)
The M1 lacks the T-series coprocessor altogether and all its functions are inside the main SoC. Whether that means that bridgeOS still runs on non-architectural cores inside the SoC, or its responsibilities have been rolled into macOS, I have no idea. I do know that only my T2-having MacBook suffers from these panics.
Re:A Linux Evening by aiwv on Friday December 16, 2022 @04:19PM (#34020551)
Raises the question whether or not anyone writing this kind of software actually uses it.