5 Jun 2023 |
@elvishjerricco:matrix.org | we copy the whole modulesClosure derivation in | 12:26:23 |
@janne.hess:helsinki-systems.de | In reply to @nikstur:matrix.org I just came across something curious: I'm currently building a custom kernel for an Nvidia BlueField2 and when I try to boot it with the systemd initrd, it fails to load the overlay module, giving me this error: overlay: module has no symbols (stripped?) . When I use the legacy initrd, it is able to load the module. Could this happen because of the way makeInitrdNG works? we have the same issue on rpi4 | 12:26:30 |
@janne.hess:helsinki-systems.de | solution is to disable stripping | 12:26:35 |
@nikstur:matrix.org | Is there an issue for that already? | 12:26:45 |
@nikstur:matrix.org | I guess its an AARCH64 thing then | 12:26:53 |
@janne.hess:helsinki-systems.de | boot.initrd.systemd.strip | 12:26:55 |
@janne.hess:helsinki-systems.de | I don't think so, we thought it was a random oddity with our kernel | 12:27:05 |
@elvishjerricco:matrix.org | huh, how am I only just now realizing I never enabled systemd initrd on my two rpi cm4s.... | 12:27:58 |
@elvishjerricco:matrix.org | Maybe I tried it, experienced this, disabled it, and forgot about it :P | 12:28:13 |
@nikstur:matrix.org | In reply to @janne.hess:helsinki-systems.de I don't think so, we thought it was a random oddity with our kernel Mhmm, might be worth looking into... another time | 12:28:56 |
@janne.hess:helsinki-systems.de | In reply to @nikstur:matrix.org Mhmm, might be worth looking into... another time Once iscsi support is there i can also try it on our mac | 12:29:23 |
@elvishjerricco:matrix.org | is iscsi going to be particularly difficult? I don't know what all is involved in that one | 12:30:09 |
@janne.hess:helsinki-systems.de | I don't think so, the main blocker was networking support | 12:30:57 |
@elvishjerricco:matrix.org | ah, cool | 12:31:15 |
@janne.hess:helsinki-systems.de | It's pretty much this: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/networking/iscsi/root-initiator.nix | 12:31:15 |
@nikstur:matrix.org | In reply to @janne.hess:helsinki-systems.de solution is to disable stripping Thanks! It worked | 12:56:52 |
oddlama | Is there any kind of conflict between systemd-networkd in initrd and on the main system? | 18:14:45 |
oddlama |
My systemd-networkd isn't starting in stage2 seemingly because it was deactivated in stage1 (or I'm misinterpreting) | 18:14:54 |
@elvishjerricco:matrix.org | I would not expect that to be the case | 18:15:21 |
@elvishjerricco:matrix.org | Well, with systemd initrd, we changed the default of flushBeforeStage2 to false | 18:15:50 |
@elvishjerricco:matrix.org | so if the network config is different between stage 1 and 2, that might be a problem | 18:16:05 |
oddlama | Yeah it is | 18:16:12 |
oddlama | In initrd I only have absolute minimum required connectivity | 18:16:24 |
oddlama | In the real system I have a lot of macvtaps and wireguard interfaces | 18:16:37 |
@elvishjerricco:matrix.org | yea but those are additional things, not differing things, right? | 18:16:58 |
oddlama | Yes additional. | 18:17:05 |
@elvishjerricco:matrix.org | So I would have expected that to be fine | 18:17:05 |
@elvishjerricco:matrix.org | If that expectation is wrong, we should test for it and probably change the default for flushBeforeStage2 back to true | 18:17:47 |
oddlama | The only related logs I'm getting are these:
Jun 05 19:38:12 sentinel systemd[1]: systemd-networkd.service: Deactivated successfully.
[...]
Jun 05 19:38:12 sentinel systemd[1]: systemd-networkd-wait-online.service: Bound to unit systemd-networkd.service, but unit isn't active.
Jun 05 19:38:12 sentinel systemd[1]: Dependency failed for Wait for Network to be Configured.
Jun 05 19:38:12 sentinel systemd[1]: systemd-networkd-wait-online.service: Job systemd-networkd-wait-online.service/start failed with result 'dependency'.
[...]
Jun 05 19:38:14 sentinel systemd[1]: network-local-commands.service: Bound to unit systemd-networkd.service, but unit isn't active.
Jun 05 19:38:14 sentinel systemd[1]: Dependency failed for Extra networking commands..
Jun 05 19:38:14 sentinel systemd[1]: network-local-commands.service: Job network-local-commands.service/start failed with result 'dependency'.
| 18:17:56 |