| 26 Jul 2023 |
Alex | In reply to @alex:tunstall.xyz I've gotten Linux 5.15 (VF2 dev branch) to compile but it doesn't boot, doesn't log to journalctl, and doesn't output to HDMI, so I've folded and ordered the necessary hardware to debug over serial. I'm utterly lost.
[ 0.000000] INITRD: 0x46100000+0x05f00000 overlaps in-use memory region
[ 0.000000] - disabling initrd
I tried setting ramdisk_addr_r to something else, but it still loads at 0x46100000.
I also tried setting root=/dev/mmcblk1p2, but now systemd fails to boot. I suspect because initrd was skipped?
[ 17.542987] FAT-fs (mmcblk1p1): codepage cp437 not found
[FAILED] Failed to mount /boot.
| 17:57:26 |
raitobezarius | BTW, [0x4A6F] started https://matrix.to/#/#nixos-on-risc-v:matrix.org for RISC-V on NixOS, we want to focus on there on bringing NixOS to a higher platform tier support for RISC-V, we will also organize efforts to make build power available via Nix Community, e.g. remote builders, Hercules-CI builders and Hydra jobsets coordinated via the same remote builders. | 18:04:25 |
Alex | In reply to @raitobezarius:matrix.org BTW, [0x4A6F] started https://matrix.to/#/#nixos-on-risc-v:matrix.org for RISC-V on NixOS, we want to focus on there on bringing NixOS to a higher platform tier support for RISC-V, we will also organize efforts to make build power available via Nix Community, e.g. remote builders, Hercules-CI builders and Hydra jobsets coordinated via the same remote builders. Thanks for letting me know, joined. | 18:10:47 |
| @olafklingt:matrix.org joined the room. | 23:07:55 |
| 27 Jul 2023 |
| ribosomerocker joined the room. | 02:59:09 |
| Grace joined the room. | 22:22:37 |
| 28 Jul 2023 |
| @jackleightcap:matrix.org set a profile picture. | 19:03:31 |
| 29 Jul 2023 |
implr | anyone built misuzu 's nixos-vf2 recently? it fails on testing coreutils for me | 16:10:53 |
Alex | In reply to @implr:hackerspace.pl anyone built misuzu 's nixos-vf2 recently? it fails on testing coreutils for me misuzu themselves have recently built it to test the 6.5.0-rc1 kernel recently published by the vendor. | 16:27:13 |
Alex | In reply to @implr:hackerspace.pl anyone built misuzu 's nixos-vf2 recently? it fails on testing coreutils for me Are you building native or cross? | 16:31:41 |
implr | cross | 16:31:49 |
implr | FAIL: tests/mv/i-1
==================
mv (GNU coreutils) 9.3
Packaged by https://nixos.org
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Parker, David MacKenzie, and Jim Meyering.
a...
i-1.pl: test a failed: exit status mismatch: expected 1, got 0
FAIL tests/mv/i-1.pl (exit status: 1)
| 16:32:12 |
misuzu | In reply to @implr:hackerspace.pl anyone built misuzu 's nixos-vf2 recently? it fails on testing coreutils for me Both native and cross artefacts from master branch should be in cache specified by the flake | 16:55:12 |
implr | I was trying to build from scratch without your cache | 17:09:13 |
misuzu | Maybe you have some weird nix setup, I've had no issues on NixOS | 18:35:25 |
Alex | I've successfully reproduced up to coreutils (also on NixOS x86_64).
Maybe double check for store corruption and try again, if you don't have unusual Nix settings? | 18:40:02 |
implr | thanks, it must be on my end then, I'll go debug this | 20:15:16 |
implr | it's nix (not nixos) on gentoo amd64, so far from standard | 20:15:32 |
trofi | might be a missing underlying filesystem feature? | 21:15:51 |
trofi | which package you are trying to build out of curiosity? maybe if fails for me as well | 21:16:27 |
artemis | im running a build of `nixos-cross-image-efi` on my gentoo amd64 ill let you know if it fails | 23:37:39 |
| 30 Jul 2023 |
artemis | trofi: i also got an error in the check phase, http://dpaste.com/9RB3YHUA3
I'm building `nix build github:misuzu/nixos-vf2#nixos-cross-image-efi` without the flake's cache enabled | 02:09:49 |
artemis | in case you want to try and reproduce as well | 02:09:57 |
artemis | I ran that without anything added to my sandbox.
im re-running with `qemu-riscv64` added to my sandbox to see if this is another one of those things of enabled binfmts leaking into the sandbox and causing things to think it has an elf interpreter for an executable when that interpreter isn't actually on PATH like the other issue we were seeing | 02:12:35 |
artemis | be back in a bit | 02:12:55 |
artemis | ok i get the failure all the same so it's probably not related to the binfmts at least | 02:15:55 |
artemis | implr: to confirm, is that error log i linked above showing a failure on the same test yours fails on? | 02:26:38 |
Alex | I left mine running overnight and have gotten a failure in psutil:
psutil> =================================== FAILURES ===================================
psutil> _______________________ TestMemoryAPIs.test_swap_memory ________________________
psutil>
psutil> self = <psutil.tests.test_system.TestMemoryAPIs testMethod=test_swap_memory>
psutil>
psutil> def test_swap_memory(self):
psutil> mem = psutil.swap_memory()
psutil> self.assertEqual(
psutil> mem._fields, ('total', 'used', 'free', 'percent', 'sin', 'sout'))
psutil>
psutil> assert mem.total >= 0, mem
psutil> assert mem.used >= 0, mem
psutil> if mem.total > 0:
psutil> # likely a system with no swap partition
psutil> > assert mem.free > 0, mem
psutil> E AssertionError: sswap(total=8204054528, used=8204054528, free=0, percent=100.0, sin=35428151296, sout=75186987008)
psutil> E assert 0 > 0
psutil> E + where 0 = sswap(total=8204054528, used=8204054528, free=0, percent=100.0, sin=35428151296, sout=75186987008).free
psutil>
psutil> /nix/store/f43p2hab6y6hqqmlnyp6c61cx2kslifx-python3.10-psutil-5.9.5/lib/python3.10/site-packages/psutil/tests/test_system.py:298: AssertionError
psutil> =========================== short test summary info ============================
psutil> FAILED ../../nix/store/f43p2hab6y6hqqmlnyp6c61cx2kslifx-python3.10-psutil-5.9.5/lib/python3.10/site-packages/psutil/tests/test_system.py::TestMemoryAPIs::test_swap_memory - AssertionError: sswap(total=8204054528, used=8204054528, free=0, percent=10...
psutil> ============ 1 failed, 26 passed, 1 skipped, 16 deselected in 0.63s ============
psutil> /nix/store/ld7x5as7sc5sbzmhzh6s6s9jfksil1h4-stdenv-linux/setup: line 1596: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/24sg1zbm3wq2h8nv68jivynlmhmllnb9-python3.10-psutil-5.9.5.drv' failed with exit code 1;
This is quite possibly a bug in psutil's test suite where it fails when at 100% swap usage. | 03:20:14 |
trofi | yeah, psutil failure looks related to RAM usage.
| 06:42:49 |
trofi | coreutils' mv-i test looks simple: https://github.com/coreutils/coreutils/blob/master/tests/mv/i-1.pl . I wonder why it printed help banner. Aaaand I reproduced it in gentoo chroot as well \o/: $ nix build nixpkgs#coreutils --rebuild. | 06:53:26 |