!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

632 Members
NixOS ❤️ systemd180 Servers

Load older messages


SenderMessageTime
11 Mar 2025
@aloisw:julia0815.dealoisw
In reply to @elvishjerricco:matrix.org
systemd-boot or systemd-stub will pass the initrd via a custom uefi protocl
Oh wait, it's only the kernel that decompresses it. Ignore what I said then.
18:07:10
@elvishjerricco:matrix.orgElvishJerriccoyea....18:07:27
@elvishjerricco:matrix.orgElvishJerriccocertainly the issue must have to do with the massive initrd; that's such a strange and blatant variable18:08:22
@elvishjerricco:matrix.orgElvishJerriccobut I have no idea why18:08:26
@aloisw:julia0815.dealoisw (Unless for some reason it fails to do a contiguous allocation of the 358.5 megabytes, but that's not that much from remote speculation.) 18:08:27
@elvishjerricco:matrix.orgElvishJerriccounless it wants to allocate that close to the 4G boundary I guess?18:08:54
@elvishjerricco:matrix.orgElvishJerriccono idea why it would18:09:01
@elvishjerricco:matrix.orgElvishJerriccoi mean that might actually just be randomness or board specificness18:10:46
@elvishjerricco:matrix.orgElvishJerricco"EFI says to allocate here" and systemd-boot says "but I WANTED it behind there!"18:11:28
@elvishjerricco:matrix.orgElvishJerricco sidenote, I'm extremely annoyed by andre4ik3's comment claiming to show the answer clearly when it's anything but clear 18:13:13
@aloisw:julia0815.dealoisw If xmalloc_initrd_pages is the correct function, then it asks the firmware to allocate anywhere below 4G: https://github.com/systemd/systemd/blob/7fa3b5018bfffa176c77a2a5794dce792eebadcb/src/boot/util.h#L111-L115 18:15:59
@elvishjerricco:matrix.orgElvishJerriccoyes18:16:15
@elvishjerricco:matrix.orgElvishJerriccoso why should 358M be hard to allocate below 4G?18:16:28
@aloisw:julia0815.dealoiswIt just asks the firmware to do that and it fails, ask the firmware I guess.18:16:48
@elvishjerricco:matrix.orgElvishJerricco(unless the decompressed size is huge)18:16:51
@elvishjerricco:matrix.orgElvishJerriccowait not it doesn't decompress18:17:05
@aloisw:julia0815.dealoiswSystemd-boot does not decompress the initrd and I think the kernel alread18:17:07
@elvishjerricco:matrix.orgElvishJerricco* wait no it doesn't decompress18:17:09
@aloisw:julia0815.dealoisw* Systemd-boot does not decompress the initrd and I think the kernel already has virtual memory at the point it does.18:17:18
@elvishjerricco:matrix.orgElvishJerriccoregardless, the bug on nixos's side is how the hell we made a 358M initrd18:18:00
@elvishjerricco:matrix.orgElvishJerriccogod dammit nvidia firmware18:41:01
@elvishjerricco:matrix.orgElvishJerricco K900: do you expect that putting your nvidia modules / firmware in initrd would make it 358M? Because that's what happened 18:41:35
@elvishjerricco:matrix.orgElvishJerriccoI don't know why it only happened for them on unstable, but I suspect they left some info out18:42:19
@k900:0upti.meK900 Uhh 18:48:39
@k900:0upti.meK900I think the Nvidia firmware is chonky18:48:45
@k900:0upti.meK900 But I don't know if it's that chonky 18:48:50
@antifuchs:asf.computerantifuchsDid it pull in a ton of x11 libs?19:03:12
@elvishjerricco:matrix.orgElvishJerriccothe firmware files wouldn't19:30:15
@adam_neverwas:matrix.orgAdam Neverwas removed their display name adam_neverwas.23:24:10
12 Mar 2025
@adam_neverwas:matrix.orgAdam Neverwas set their display name to Adam Neverwas.14:27:30

Show newer messages


Back to Room ListRoom Version: 6