!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

332 Members
https://github.com/nix-community/NixOS-WSL55 Servers

Load older messages


SenderMessageTime
18 Aug 2024
@k900:0upti.meK900Yeah that seems normal20:52:04
@k900:0upti.meK900Though I wonder why the sh thing is back20:52:20
@k900:0upti.meK900And you are using latest nixos-wsl, correct?20:52:34
@whovian9369:matrix.orgWhovian9369 I believe so yeah, I even updated nixos-wsl's flake input recently while I was updating the rest of my config 20:53:27
@k900:0upti.meK900Oh wait no this is fine20:53:31
@k900:0upti.meK900Because you didn't have a /bin/sh presumably20:53:46
@k900:0upti.meK900So it just lost the race once20:53:59
@k900:0upti.meK900Which is fine probably20:54:02
@k900:0upti.meK900 Check journalctl on the NixOS side, are there any errors 20:54:20
@k900:0upti.meK900 Check journalctl on the NixOS side, are there any errors? 20:54:22
@whovian9369:matrix.orgWhovian9369
[    3.088622] misc dxg: dxgk: dxgkio_is_feature_enabled: Ioctl failed: -22
[    3.094189] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[    3.095047] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[    3.095696] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[    3.096450] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2
[    3.180922] Failed to connect to bus: No such file or directory
[    3.437537] Failed to connect to bus: No such file or directory
[    3.694745] Failed to connect to bus: No such file or directory
[    3.950524] Failed to connect to bus: No such file or directory
[    3.993589] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2
[    4.122778] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2
[    4.123407] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2

This is right after what I posted above -- Lots of Failed to connect to bus: No such file or directory or misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2 after that though

20:54:41
@k900:0upti.meK900Those are fine20:54:56
@k900:0upti.meK900That's just WSLg being weird20:55:08
@k900:0upti.meK900"Failed to connect to bus" is presumably because your user session is still not starting correctly20:55:24
@whovian9369:matrix.orgWhovian9369
In reply to @k900:0upti.me
Check journalctl on the NixOS side, are there any errors?

Aug 18 16:50:18 nixos-wsl kernel: FS-Cache: Duplicate cookie detected then its information

Aug 18 16:50:18 nixos-wsl unknown: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link
Aug 18 16:50:18 nixos-wsl unknown: WSL (2) ERROR: WaitForBootProcess:3352: /sbin/init failed to start within 10000ms

Aug 18 16:50:18 nixos-wsl systemd-journald[79]: Received client request to flush runtime journal.
Aug 18 16:50:18 nixos-wsl systemd-journald[79]: File /var/log/journal/3f0405037402365e4122e654618a2843/system.journal corrupted or uncleanly shut down, renaming and replacing.
...
Aug 18 16:50:18 nixos-wsl systemd-sysctl[263]: Couldn't write '16' to 'kernel/sysrq', ignoring: No such file or directory

These are what stood out to me, and mostly repeat a few times

20:56:28
@k900:0upti.meK900Yeah that's fine20:56:41
@whovian9369:matrix.orgWhovian9369
In reply to @k900:0upti.me
Check journalctl on the NixOS side, are there any errors?
*

Aug 18 16:50:18 nixos-wsl kernel: FS-Cache: Duplicate cookie detected then its information

Aug 18 16:50:18 nixos-wsl unknown: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link
Aug 18 16:50:18 nixos-wsl unknown: WSL (2) ERROR: WaitForBootProcess:3352: /sbin/init failed to start within 10000ms
...
Aug 18 16:50:18 nixos-wsl systemd-journald[79]: Received client request to flush runtime journal.
Aug 18 16:50:18 nixos-wsl systemd-journald[79]: File /var/log/journal/3f0405037402365e4122e654618a2843/system.journal corrupted or uncleanly shut down, renaming and replacing.
...
Aug 18 16:50:18 nixos-wsl systemd-sysctl[263]: Couldn't write '16' to 'kernel/sysrq', ignoring: No such file or directory

These are what stood out to me, and mostly repeat a few times

20:56:41
@k900:0upti.meK900As in none of that is fatal20:56:51
@k900:0upti.meK900Though init not starting is weird20:56:55
@k900:0upti.meK900Is this NixOS 24.05 or unstable?20:57:02
@whovian9369:matrix.orgWhovian9369Should be Unstable20:57:10
@k900:0upti.meK900Oh20:57:19
@k900:0upti.meK900And did you update in between restarting the VMs?20:57:28
@whovian9369:matrix.orgWhovian9369You mean while we were experimenting? No, not to my knowledge20:57:50
@k900:0upti.meK900 Do you have

[wsl2]
kernelCommandLine = cgroup_no_v1=all

in your .wslconfig?
20:58:02
@whovian9369:matrix.orgWhovian9369 I don't have anything in my C:\Users\Whovian\.wslconfig (Everything is commented out.) 20:59:05
@k900:0upti.meK900Yeah, you need to set that20:59:33
@k900:0upti.meK900For systemd 256 to start correctly20:59:36
@k900:0upti.meK900Otherwise things get Funny20:59:40
@whovian9369:matrix.orgWhovian9369Ah damn it, thanks 😅 I'll try that in a moment20:59:49

Show newer messages


Back to Room ListRoom Version: 9