News for hackers. Stuff that matters.
Re:Apple's custom NVMes are amazingly fast – if you don't ca... by fauigerzigerk on Thursday February 17, 2022 @03:37AM (#30370820)
>But they aren't doing that. I tested it on the Mac Mini. It loses several seconds of fsync()ed data on hard shutdown.

That's unfortunate. My Mac Mini crashes every other night during sleep. I guess I'm going to have to shut it down to avoid any data corruption.

Re:Apple's custom NVMes are amazingly fast – if you don't ca... by marcan_42 on Thursday February 17, 2022 @03:40AM (#30370837)
It should be flushing the drive cache on sleep. This is mostly an issue for sudden AC power loss.
Re:Apple's custom NVMes are amazingly fast – if you don't ca... by fauigerzigerk on Thursday February 17, 2022 @04:41AM (#30371261)
Ah, thanks! That's good to know.
Re:Apple's custom NVMes are amazingly fast – if you don't ca... by sgt on Thursday February 17, 2022 @05:51AM (#30371737)
Why does it crash? Mac Minis are some of the most reliable machines on the market, in my experience. Maybe a faulty unit?
Re:Apple's custom NVMes are amazingly fast – if you don't ca... by salamandersauce on Thursday February 17, 2022 @06:01AM (#30371798)
Shitty software? My 2018 Mac Mini would crash every single time going to sleep on the last version of Mojave. I'm not alone in this as there's huge threads on MacRumors and Apple's support forum about it. Apple's "fix" was to just update to Catalina which indeed fixes it but doesn't really help if you want to run 32 bit software. Wouldn't surprise me if they did something similar again.
Re:Apple's custom NVMes are amazingly fast – if you don't ca... by fauigerzigerk on Thursday February 17, 2022 @08:10AM (#30372653)
It has started crashing the night after I upgraded to macOS 12.2.0. The latest update to 12.2.1 hasn't fixed it. I'm pretty sure it's not hardware related as I had no issues before the OS upgrade.

Edit: Here's the first line of the crash log (which I'm sending to Apple every time):

  panic(cpu 3 caller 0xfffffe0023be8be0): [data.kalloc.16]: 
  element modified after free (off:0, val:0x0000000000000030, sz:16, ptr:0xfffffe2fffc9bb00)
Looks like a use after free bug.
Re:Apple's custom NVMes are amazingly fast – if you don't ca... by yborg on Thursday February 17, 2022 @12:03PM (#30375510)
This is why I'm still on Catalina. I used to be in the "trail by one point release" mode on macOS, now I'm in the "trail by 2 major releases" camp.
Re:Apple's custom NVMes are amazingly fast – if you don't ca... by david_allison on Thursday February 17, 2022 @02:49PM (#30377777)
I get regular crashes restoring from sleep on my 2014 Mac Mini (running Monterey)