!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

82 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5127 Servers

Load older messages


SenderMessageTime
28 Jan 2023
@lily:lily.flowers@lily:lily.flowers(I would hope mounting an unrelated disk that wasn't present at hibernation would be fine, but idk why it's a problem to begin with so maybe not)22:29:15
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgAn EFI variable should work, right? lol22:29:44
@lily:lily.flowers@lily:lily.flowersYou know, that's an even better idea22:30:16
@lily:lily.flowers@lily:lily.flowersCursed, but better22:30:23
@elvishjerricco:matrix.org@elvishjerricco:matrix.orglol great22:30:38
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI did not mean for that to be taken seriously22:30:44
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbut yea it might be better22:30:49
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgWell, the issue author created a version of the hibernate test that exhibits the issue22:31:33
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthey just hard coded the resume offset22:31:38
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgso that's fragile and we can't actually have that in nixpkgs :P22:31:52
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbut it helps diagnose for now22:31:57
@lily:lily.flowers@lily:lily.flowersI wonder if one of the more esoteric filesystems in the kernel allows you to either deterministically know or set a specific offset for a file22:32:58
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh22:33:59
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh no22:34:00
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbest bad idea yet22:34:03
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgnetworking22:34:06
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthe test machine tells a server machine the offset, which remembers it until initrd (using initrd networking) asks for it22:34:41
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgabsolutely cursed22:34:45
@lily:lily.flowers@lily:lily.flowersVery cursed yeah 😆22:35:17
@elvishjerricco:matrix.org@elvishjerricco:matrix.org

Ok, I used their config and I see this:

resume # [    0.948879] systemd[1]: Found device /dev/vda1.
resume # [    0.949179] systemd[1]: Mounting /sysroot...
resume # [    0.949847] systemd[1]: Starting Resume from hibernation using device /dev/vda1...
resume # [    0.951809] systemd-hibernate-resume[115]: Could not resume from '/dev/vda1' (254:1).
22:37:33
@elvishjerricco:matrix.org@elvishjerricco:matrix.org it doesn't say why it couldn't resume, so maybe I need to enable some debug output 22:37:48
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbut22:37:49
@lily:lily.flowers@lily:lily.flowersWait I've got another one. What if you made a swap partition but nuked that partition from the table and set an offset relative to the previous partition22:37:54
@elvishjerricco:matrix.org@elvishjerricco:matrix.org the Mounting /sysroot thing is scary 22:37:57
@lily:lily.flowers@lily:lily.flowers
In reply to @elvishjerricco:matrix.org
the Mounting /sysroot thing is scary
Yes
22:38:02
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI mean, I've known about that ordering issue for a while22:38:13
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbut it hasn't actually bitten any of my testing22:38:19
@elvishjerricco:matrix.org@elvishjerricco:matrix.org maybe btrfs is smart enough to make it bite you 22:38:28
@lily:lily.flowers@lily:lily.flowers
In reply to @lily:lily.flowers
Wait I've got another one. What if you made a swap partition but nuked that partition from the table and set an offset relative to the previous partition
(it would read in basically the same from the kernel's perspective as a swapfile, right?)
22:38:34
@elvishjerricco:matrix.org@elvishjerricco:matrix.orglet me see what happens if I force a proper ordering...22:38:56

Show newer messages


Back to Room ListRoom Version: 6