| 7 Jul 2023 |
@elvishjerricco:matrix.org | in fact I don't even think we load FS drivers with that | 00:40:24 |
oddlama | I had a similar thought, but it's definitely an issue with the modules. If you enter the emergency shell you can just mount them without any issue | 00:40:52 |
@elvishjerricco:matrix.org | Hm. Would love to see a minimal repro nixos tests | 00:41:08 |
@elvishjerricco:matrix.org | * Hm. Would love to see a minimal repro nixos test | 00:41:09 |
@elvishjerricco:matrix.org | regardless | 00:41:14 |
@elvishjerricco:matrix.org | you can do x-systemd.after=systemd-modules-load.service as a workaround | 00:41:30 |
oddlama | It's especially hard to reproduce, because I can only reliably hit the bug when restarting 6 vms at once, and even then only 20% of the time | 00:41:46 |
@elvishjerricco:matrix.org | luckily nixos tests let you define arbitrarily many machines and start them all with start_all() :) | 00:42:26 |
oddlama | I can try isolating this tomorrow. It's already past bedtime for me | 00:45:36 |
oddlama | My best explanation for this right now is that the virtiofs module is loaded but not virtio_blk or some other module required for to see the actual shares. The initial mounts fail with virtio-fs: tag <ro-store> not found (the share is called ro-store), suggesting that the virtiofs module is loaded but some underlying module is missing to communicate with the hypervisor | 00:49:12 |
@elvishjerricco:matrix.org | oh that's interesting | 00:49:46 |
@elvishjerricco:matrix.org | yea there's probably another module or something involved | 00:49:56 |
oddlama | The last post here has logs in case you are interested https://github.com/astro/microvm.nix/issues/114 .
(At first I though this might be a virtiofsd bug, ignore all of that :P) | 00:50:50 |
oddlama | Anyhow gotta sleep now. I'll isolate this tomorrow. | 00:51:09 |
@lily:lily.flowers | I only skimmed your messages, but this sounds like it could be the same issue the tmpfs-on-root qemu-vm test had with systemd-initrd, where the 9pfs filesystem would attempt to be mounted before the virtfs channels were ready. There's a nixpkgs issue somewhere for that | 07:21:44 |