| 8 Jun 2023 |
Alex | In reply to @genericnerdyusername:matrix.org do you need rust if you build without docs? I added an overlay to disable building Nix's documentation and now I don't have to build LLVM and rustc, so the answer is definitely no. Thanks for the tip. | 01:57:38 |
fgaz | In reply to @genericnerdyusername:matrix.org do you need rust if you build without docs? I built without docs for bootstrap, but now I want a full build if possibke | 04:51:33 |
fgaz | Also having rust is nice | 04:51:51 |
misuzu | In reply to @zhaofeng:zhaofeng.li Hmm, at least building natively worked fine last I tried It is, except for gnu-efi | 08:42:57 |
misuzu | I've a native binary cache for https://github.com/NixOS/nixpkgs/commit/f91ee3065de91a3531329a674a45ddcb3467a650 | 08:44:15 |
| 10 Jun 2023 |
| skyrgobbler joined the room. | 17:08:44 |
| 13 Jun 2023 |
| @elvishjerricco:matrix.org joined the room. | 04:53:46 |
| @federicodschonborn:matrix.org changed their profile picture. | 20:55:36 |
| 14 Jun 2023 |
| raphi changed their display name from raphi (element unread channel fix when) to raphi. | 07:03:16 |
| j4m3s joined the room. | 12:17:46 |
| 15 Jun 2023 |
@lotte:chir.rs | trying to get my visionfive 2 (rev 1.3b) to netboot and it seems to lose connectivity as soon as it mounts an nfs partition with a configuration based on misuzu’s, can someone see if there’s something obviously wrong in my config? | 18:07:21 |
@lotte:chir.rs | how do you boot nixos from an nfs export? Relevant config: https://git.chir.rs/darkkirb/nixos-config/src/commit/0c3abc30d0dff4ff3df0f34c22194ca190dc7d39/config/vf2.nix#L135-L147 https://git.chir.rs/darkkirb/nixos-config/src/commit/0c3abc30d0dff4ff3df0f34c22194ca190dc7d39/config/vf2.nix#L118-L120
The error i’m encountering is this:
mounting 192.168.2.1:/export/vf2 on /...
mount: mounting 192.168.2.1:/export/vf2 on /mnt-root failed: Invalid argument
the same mount options do work after boot, and the boot seems to just hang at the point
| 18:07:36 |
@lotte:chir.rs | yeah, udhcp has acquired an ip address | 18:07:42 |
@lotte:chir.rs | server output: https://thermalpaste.technogothic.net/p/lBoLIA.txt | 18:07:51 |
@lotte:chir.rs | Gstarting device mapper and LVM...
mounting 192.168.2.1:/export/vf2 on /...
mount: mounting 192.168.2.1:/export/vf2 on /mnt-root failed: Invalid argument
[ 38.487202] starfive-dwmac 16030000.ethernet end0: Link is Down
| 18:07:55 |
@lotte:chir.rs | a few minutes later it says
[ 218.085919] nfs: server 192.168.2.1 not responding, still trying
[ 279.525845] nfs: server 192.168.2.1 not responding, timed out
| 18:08:00 |
@lotte:chir.rs | (originally asked it in #nix:nixos.org | 18:08:16 |
raitobezarius | how are you netbooting it at all? | 18:30:33 |
raitobezarius | from a nfs export only? | 18:30:43 |
raitobezarius | hmm I didn't try this type of netbooting, like I netbooted via TFTP and it was ~OK grade IIRC | 18:31:02 |
@lotte:chir.rs | i have /boot on a small sd card | 18:32:38 |
raitobezarius |
mount: mounting 192.168.2.1:/export/vf2 on /mnt-root failed: Invalid argument
invalid argument looks like to me that you maybe don't have the right kernel modules to perform the mount?
| 18:32:58 |
raitobezarius | you probably want to enable all debug options for boot | 18:33:13 |
raitobezarius | like tracing etc | 18:33:15 |
raitobezarius | boot1debugmounts, etc. | 18:33:18 |
raitobezarius | (documented in nixos manual) | 18:33:21 |
@lotte:chir.rs | it should be present, nfs is in supportedFilesystems, and nfs4 is in availableKernelModules. also the server is contacted for a few files (/, /etc, /etc/NIXOS_LUSTRATE) | 18:34:59 |
@lotte:chir.rs | it just stops after that | 18:35:21 |
raitobezarius | are you able to have proper internet with the current kernel module? | 18:35:55 |
raitobezarius |
[ 38.487202] starfive-dwmac 16030000.ethernet end0: Link is Down
| 18:35:57 |