#
#asahi-alt · 2025-09-15 15:51
noisycoil[mds]Works for me on Debian too
#asahi-alt · 2025-09-15 15:40
noisycoil[mds]Nice, thanks
#asahi-alt · 2025-09-15 15:40
svenyes, for a long time
#asahi-alt · 2025-09-15 15:39
noisycoil[mds]sven: is the driver responsible for that already in the upstream kernel?
#asahi-alt · 2025-09-15 15:35
craftyguyOf course 😛
#asahi-alt · 2025-09-15 15:33
mpscraftyguy: please create MR for it
#asahi-alt · 2025-09-15 15:33
craftyguymps: I'll send the patch to Alpine after I have some breakfast
#asahi-alt · 2025-09-15 15:32
craftyguyK, done. Thanks for the help Sven :)
#asahi-alt · 2025-09-15 15:28
craftyguyOk I'll attempt to explain that heh
#asahi-alt · 2025-09-15 15:27
svenit's a platform device there with a separate driver called "apple-nvme"
#asahi-alt · 2025-09-15 15:26
svenyeah
#asahi-alt · 2025-09-15 15:26
craftyguysven: I don't fully understand why it it shows as "apple-nvme", because apple silicon doesn't use pcie or ?
#asahi-alt · 2025-09-15 15:25
craftyguymps: ya I was going to
#asahi-alt · 2025-09-15 15:25
svenprobably needs a singed-off-by and maybe an explanation why that changes fixes it
#asahi-alt · 2025-09-15 15:25
craftyguyAmazing, now udisks finds the local nvme 🥳
#asahi-alt · 2025-09-15 15:24
mpscraftyguy: thanks. iiuc you will add it to alpine?
#asahi-alt · 2025-09-15 15:23
craftyguythanks, that was going to be my next move 😛
#asahi-alt · 2025-09-15 15:23
craftyguyhttps://github.com/linux-nvme/libnvme/pull/1071
#asahi-alt · 2025-09-15 15:22
mpscraftyguy: when you finish patch please post url, I want to add it to alpine
#asahi-alt · 2025-09-15 15:20
mpsis BTI kernel config work on apple silicon
#asahi-alt · 2025-09-15 15:18
svenit's just trying to guard against later errors from the kernel from what i can tell
#asahi-alt · 2025-09-15 15:18
sveni quickly read through the code, i think that's the only place required
#asahi-alt · 2025-09-15 15:18
craftyguyYeah of course :)
#asahi-alt · 2025-09-15 15:18
svenideally create a PR on that project so that it's fixed for everyone :)
#asahi-alt · 2025-09-15 15:18
craftyguyI was trying to understand the rest of libnvme to see if I need to also patch something else 🤷‍♂️
#asahi-alt · 2025-09-15 15:18
svennice, should be fine then
#asahi-alt · 2025-09-15 15:18
craftyguyI already did that, and nvme list now works
#asahi-alt · 2025-09-15 15:17
svenit's really just adding strncmp(transport, "nvme-apple", 10) to that if clause above
#asahi-alt · 2025-09-15 15:17
svenwant me to write you the patch?
#asahi-alt · 2025-09-15 15:17
craftyguyOr, at least trying 🙃
#asahi-alt · 2025-09-15 15:17
craftyguyworking on fixing libnvme
#asahi-alt · 2025-09-15 15:12
svenbecause it assumes that it needs an address (think nvme over ethernet) for anything that's not pcie
#asahi-alt · 2025-09-15 15:11
sveneverything that uses libnvme right now won't work with the apple controller
#asahi-alt · 2025-09-15 15:11
svenfix libnvme :D
#asahi-alt · 2025-09-15 15:07
mpscraftyguy: I didn't used udisks so idk what is the solution
#asahi-alt · 2025-09-15 14:55
craftyguyOoooh ok I'll see if I can hack my way through it. I haven't had a chance to poke around yet
#asahi-alt · 2025-09-15 14:54
svenand then possibly at other places too since it might just fail for the same reason later on then
#asahi-alt · 2025-09-15 14:54
svenprobably needs an additional strncmp(transport, "nvme-apple", 10) there
#asahi-alt · 2025-09-15 14:53
svenfrom a quick glance https://github.com/linux-nvme/libnvme/blob/b3259538022e162ac6b40be6786ff5308bb8542d/src/nvme/tree.c#L1419 is where it fails
#asahi-alt · 2025-09-15 14:39
craftyguymps: yeah I've been booting pmOS from external storage. I'm working on adding support to our installer for the macbook, the installer uses udisks to enumerate target storage devices and udisks not finding nvme (because of that transport error) is a problem :P
#asahi-alt · 2025-09-15 08:44
svenI guess they might hardcode a check for pcie somewhere and assume it’s NVMe over network otherwise
#asahi-alt · 2025-09-15 08:41
svenit sounds like it’s trying to use some fabric code path
#asahi-alt · 2025-09-15 08:40
chaos_princesswhether a bug or not, it always did that
#asahi-alt · 2025-09-15 08:40
mpsI will look at nvme-cli
#asahi-alt · 2025-09-15 08:39
svenit’s probably some place in nvme-cli but it might just be an error propagated from the kernel
#asahi-alt · 2025-09-15 08:38
svensomeone needs to figure out where that error message comes from
#asahi-alt · 2025-09-15 08:38
svenno idea, could be either
#asahi-alt · 2025-09-15 08:38
mpssven: bug in nvme-cli or kernel?
#asahi-alt · 2025-09-15 07:01
sventhat sounds like a bug tbh
#asahi-alt · 2025-09-15 06:46
mpscraftyguy: nvme-cli doesn't work on alpine with apple nvme in last year or two. earlier it worked but only for some command. I guess this is because there is no apple plugin in it

plus ›