News for hackers. Stuff that matters.
Re:Former Tesla Firmware Engineer Discusses the System by devy on Friday August 24, 2018 @02:11PM (#17836678)
If the infotainment system caused the MCUs to reboot while someone traveling "130mph on San Mateo Bridge" and that caused the break system to segfault due to unconventional way of loading parts firmware, it might be a life&death situation, easily. Examples in that threads go on, literally hundreds!
Re:Former Tesla Firmware Engineer Discusses the System by vvanders on Friday August 24, 2018 @03:49PM (#17837408)
Well, you can reboot the system while driving(both console and dash), nothing special happens other than the AC turning off for a brief period of time. Brakes, wheel, throttle all respond normally.

Source: Done this a few times to clear bad map data or occasional glitch.

Re:Former Tesla Firmware Engineer Discusses the System by rconti on Friday August 24, 2018 @05:58PM (#17838128)
Doesn't surprise me -- a couple of times my new 3 has had nothing on the display but it's still happy to let me put it in gear and drive away, and the display pops up within a second or two.

To be sure, it's a bit unsettling, and I wouldn't be thrilled about it deciding to not work for a day or two, but, in a way, it makes me MORE comfortable that the vehicle control systems function as expected.

Re:Former Tesla Firmware Engineer Discusses the System by rrcaptain on Friday August 24, 2018 @08:02PM (#17838727)
AC should be considered mission critical.
Re:Former Tesla Firmware Engineer Discusses the System by vvanders on Friday August 24, 2018 @08:13PM (#17838758)
Definitely, I'd put it on the mission criticality list right below inflight wifi.
Re:Former Tesla Firmware Engineer Discusses the System by blub on Saturday August 25, 2018 @10:04AM (#17840794)
It's not mission critical, but it's important: in cold weather the windshield can fog up to the point of 0% visibility.

In hot weather it can become very uncomfortable or even impossible to drive without AC.

Re:Former Tesla Firmware Engineer Discusses the System by mikeash on Saturday August 25, 2018 @11:10AM (#17841076)
There’s a distinction between safety critical equipment and essential equipment. If the former fails, it could kill you. If the latter fails, you can’t drive anymore but you won’t die if it happens on the road. Brakes are in the former category, while things like HVAC and instruments are in the latter.

Safety equipment must not fail, but essential equipment can fail as much as your customers will tolerate.

Re:Former Tesla Firmware Engineer Discusses the System by vvanders on Saturday August 25, 2018 @11:15AM (#17841106)
You can steal a trick the motorcycle community discovered a long time ago, some water + soap on the windshield prevents condensation.

Our '83 Vanagon doesn't have AC, it can be uncomfortable but sure isn't the end of the world.

Re:Former Tesla Firmware Engineer Discusses the System by Too on Saturday August 25, 2018 @03:59AM (#17840042)
Seriously yes, at least ventilation. Anybody who don't believe this, try turn off your AC completely and see how quickly your wind screen is fogged up to the point you can't see out. (depending on which climate you live in)
Re:Former Tesla Firmware Engineer Discusses the System by mikeash on Friday August 24, 2018 @02:16PM (#17836726)
I don't understand how that could happen. MCU reboots, ???, brake system segfaults? What goes in the middle?
Re:Former Tesla Firmware Engineer Discusses the System by floatboth on Friday August 24, 2018 @02:19PM (#17836746)
Probably everything has access to everything on the CAN bus.

IIRC car manufactures are irresponsibly lazy and never properly air-gap infotainment from critical stuff.

Re:Former Tesla Firmware Engineer Discusses the System by mikeash on Friday August 24, 2018 @02:42PM (#17836929)
Even if this were true (and as another commenter says, it's not) I don't see how that fills in this gap. It would make sense if the first step were "MCU goes crazy," but not with a simple reboot.
Re:Former Tesla Firmware Engineer Discusses the System by Globz on Friday August 24, 2018 @02:25PM (#17836791)
There's a firewall between the CAN bus so it cannot be affected at all by the MCU.
Re:Former Tesla Firmware Engineer Discusses the System by h4b4n3r0 on Friday August 24, 2018 @05:32PM (#17838027)
There’s no concept of “reboot” with MCUs, since there’s usually no OS. Likewise there’s usually no concept of segfault, because segfault requires memory protection which is something most MCUs don’t use.
Re:Former Tesla Firmware Engineer Discusses the System by mikeash on Friday August 24, 2018 @05:46PM (#17838080)
Tesla’s MCU runs Linux. Older ones use a 2012-era Nvidia mobile SoC, while newer ones use something from Intel.
Re:Former Tesla Firmware Engineer Discusses the System by h4b4n3r0 on Friday August 24, 2018 @07:10PM (#17838495)
Nah. No way the mcu responsible for braking would run an OS
Re:Former Tesla Firmware Engineer Discusses the System by mikeash on Friday August 24, 2018 @08:52PM (#17838936)
This must be an acronym mixup. We’re talking about the Media Control Unit, i.e. the giant screen in the center of the dashboard responsible for zero safety-critical systems.
Re:Former Tesla Firmware Engineer Discusses the System by rurban on Saturday August 25, 2018 @02:10AM (#17839793)
Yes, The infotainment stuff, like the screen, internal lights, speakers are connected via a low profile third bus system, certainly not the main CAN bus or profibus or firewire. Some, like in the BMW even via WiFi. These are the systems usually used with Linux or Windows or Android. On top of the important stuff.
Re:Former Tesla Firmware Engineer Discusses the System by h4b4n3r0 on Friday August 24, 2018 @09:43PM (#17839089)
MCU in the case of braking and steering is “micro controller unit”.
Re:Former Tesla Firmware Engineer Discusses the System by mikeash on Friday August 24, 2018 @09:47PM (#17839094)
Yeah, those definitely aren’t running Linux, and the guy here wasn’t working on them.
Re:Former Tesla Firmware Engineer Discusses the System by rrcaptain on Friday August 24, 2018 @08:03PM (#17838729)
Didn't they already do an Over-the-Air update to fix the braking time in response to a bad review?
Re:Former Tesla Firmware Engineer Discusses the System by h4b4n3r0 on Friday August 24, 2018 @08:41PM (#17838893)
You don’t need an OS for that.
Re:Former Tesla Firmware Engineer Discusses the System by berti on Friday August 24, 2018 @08:13PM (#17838759)
s/reboot/reset/, s/segfault/bus-fault/