!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

342 Members
103 Servers

Load older messages


SenderMessageTime
15 Jun 2023
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&server output: https://thermalpaste.technogothic.net/p/lBoLIA.txt18:07:51
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&
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.rsLotte (it/its)/Cinny (she/her) θΔ&

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.rsLotte (it/its)/Cinny (she/her) θΔ& (originally asked it in #nix:nixos.org 18:08:16
@raitobezarius:matrix.orgraitobezariushow are you netbooting it at all?18:30:33
@raitobezarius:matrix.orgraitobezariusfrom a nfs export only?18:30:43
@raitobezarius:matrix.orgraitobezariushmm I didn't try this type of netbooting, like I netbooted via TFTP and it was ~OK grade IIRC18:31:02
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&i have /boot on a small sd card18:32:38
@raitobezarius:matrix.orgraitobezarius

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:matrix.orgraitobezariusyou probably want to enable all debug options for boot18:33:13
@raitobezarius:matrix.orgraitobezariuslike tracing etc18:33:15
@raitobezarius:matrix.orgraitobezariusboot1debugmounts, etc.18:33:18
@raitobezarius:matrix.orgraitobezarius(documented in nixos manual)18:33:21
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&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.rsLotte (it/its)/Cinny (she/her) θΔ&it just stops after that18:35:21
@raitobezarius:matrix.orgraitobezariusare you able to have proper internet with the current kernel module?18:35:55
@raitobezarius:matrix.orgraitobezarius

[ 38.487202] starfive-dwmac 16030000.ethernet end0: Link is Down

18:35:57
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&i am building the same kernel as here: https://github.com/misuzu/nixos-vf218:36:41
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&and i know that the natively compiled build works18:36:57
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& * and i know that the natively compiled build on that repo18:37:11
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& * i am building the same kernel code and config as here: https://github.com/misuzu/nixos-vf218:44:54
@aciceri:nixos.devaciceri joined the room.18:49:03
@misuzu:matrix.orgmisuzu
In reply to @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
boot.initrd.network.flushBeforeStage2 = false;?
19:28:02
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&i can try that19:29:17
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&ohhhh19:29:39
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&that makes sense19:29:41
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&yup that was it!19:55:02
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&thank you very much19:55:06
16 Jun 2023
@alex:tunstall.xyzAlex

misuzu I've been trying to boot your NixOS VF2 configuration (https://github.com/misuzu/nixos-vf2) on my rev1.3b board, but it doesn't seem to be working (continuous red LED, no green LED). I've also tried the pre-built native image you've published, but that didn't help.

I don't have any way of connecting serial to debug it, so I thought I'd ask you a few questions that'll help me figure out what's going wrong:

  • I flashed the latest firmware using the manufacturer's pre-compiled Debian image, could that be the cause? (The Debian image still boots.)
  • Should I expect ethernet or HDMI out to work with your image? (I'm hoping to get the Linux console on HDMI.)
  • Do the on-board LEDs blink when the system successfully boots, similarly to the Debian image?
  • The GPIO switches on the board are currently set to boot from SD, since that worked for the Debian image; should they be set to something else?
11:10:18
@misuzu:matrix.orgmisuzu
In reply to @alex:tunstall.xyz

misuzu I've been trying to boot your NixOS VF2 configuration (https://github.com/misuzu/nixos-vf2) on my rev1.3b board, but it doesn't seem to be working (continuous red LED, no green LED). I've also tried the pre-built native image you've published, but that didn't help.

I don't have any way of connecting serial to debug it, so I thought I'd ask you a few questions that'll help me figure out what's going wrong:

  • I flashed the latest firmware using the manufacturer's pre-compiled Debian image, could that be the cause? (The Debian image still boots.)
  • Should I expect ethernet or HDMI out to work with your image? (I'm hoping to get the Linux console on HDMI.)
  • Do the on-board LEDs blink when the system successfully boots, similarly to the Debian image?
  • The GPIO switches on the board are currently set to boot from SD, since that worked for the Debian image; should they be set to something else?
1 vendor firmware should work
2 ethernet should work, didn't test hdmi
3 red led should be on
4 there's no firmware in the image, boot switch should be set to boot from spi
11:14:49

Show newer messages


Back to Room ListRoom Version: 6