!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

236 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux 69 Servers

Load older messages


SenderMessageTime
20 Sep 2024
@rosscomputerguy:matrix.orgTristan Ross
$ ls /sys/class/pci_bus/
0000:00  0000:01  0001:00  0001:01
20:34:48
@alex:tunstall.xyzAlexTo double check, are you sure you have an NVMe M.2 SSD and not a SATA M.2 SSD?20:36:02
@rosscomputerguy:matrix.orgTristan RossIdk20:40:05
@alex:tunstall.xyzAlexOn my system (vendor kernel, not 6.11), it shows up under 0001:00.20:40:07
@rosscomputerguy:matrix.orgTristan RossIt's a Samsung 970 Evo Plus20:40:24
@rosscomputerguy:matrix.orgTristan RossSays V-NAND SSD20:40:34
@rosscomputerguy:matrix.orgTristan Ross
In reply to @alex:tunstall.xyz
On my system (vendor kernel, not 6.11), it shows up under 0001:00.

What branch of the vendor kernel are you using? I'm building the kernel right now and I have this:

  boot.kernelPackages = let
    starfive_pkg = { lib, fetchurl, buildLinux, ... }@args:
      buildLinux (args // rec {
        version = "6.10.0";
        modDirVersion = version;

        src = fetchurl {
          url = "https://github.com/starfive-tech/linux/archive/37087c6cd7f818990c3c37d2e3cb01b05fc8bb69.tar.gz";
          hash = "sha256-n3By/goN6+SEjd7a8zirhqTZyb6qvqZPDb9TYd4riQI=";
        };

        kernelPatches = [];

        structuredExtraConfig = with lib.kernel; {
          PINCTRL_STARFIVE_JH7110_SYS = yes;
          SERIAL_8250_DW = yes;
        };

        extraMeta.branch = "esmil_starlight";
      } // (args.argsOverride or {}));
  in pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor (pkgs.callPackage starfive_pkg {}));

I went based on activity on GitHub.

21:32:50
@alex:tunstall.xyzAlex The upstream branch.
https://github.com/AlexandreTunstall/nixos-riscv/blob/df3a550f99766ae7bfe88449494648cdb5f65e53/flake.nix#L5
21:34:09
@rosscomputerguy:matrix.orgTristan RossAlright21:34:38
@rosscomputerguy:matrix.orgTristan Ross
[  431.435107] rcu: rcu_sched kthread timer wakeup didn't happen for 100268 jiffies! g4449 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200
[  431.450921] rcu:     Possible timer handling issue on cpu=0 timer-softirq=1268
[  431.462411] rcu: rcu_sched kthread starved for 100276 jiffies! g4449 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200 ->cpu=0
[  431.477377] rcu:     Unless rcu_sched kthread gets sufficient CPU time, OOM is now expected behavior.
[  431.490929] rcu: RCU grace-period kthread stack dump:
[  431.500539] task:rcu_sched       state:R stack:0     pid:17    ppid:2      flags:0x00000000
[  431.513528] Call Trace:
[  431.520563] [<ffffffff80e9db9e>] __schedule+0x37c/0xafc
[  431.530394] [<ffffffff80e9e376>] schedule+0x58/0xf2
[  431.539818] [<ffffffff80ea4d2e>] schedule_timeout+0x92/0x18e
[  431.549966] [<ffffffff800bacc2>] rcu_gp_fqs_loop+0x2f8/0x3fa
[  431.560048] [<ffffffff800bde90>] rcu_gp_kthread+0x132/0x178
[  431.569996] [<ffffffff800422be>] kthread+0xe8/0x108
[  431.579180] [<ffffffff8000411a>] ret_from_fork+0xe/0x20

This isn't good, serial is filled with this.

22:26:05
@rosscomputerguy:matrix.orgTristan Ross Alex: I see your repo has jh7110-crypto blacklisted, could that cause this? I see there's console outputs mentioning the module. 22:43:25
@rosscomputerguy:matrix.orgTristan Ross Oh, blacklisting that does fix the issue 22:57:09
@rosscomputerguy:matrix.orgTristan RossNVME still not visible23:04:58
21 Sep 2024
@alex:tunstall.xyzAlex

Did alsa-firmware regress for anyone else or is it because of my unusual hostPlatform configuration?

configure: error: C compiler cannot create executables

18:14:58
22 Sep 2024
@implr:hackerspace.plimplr left the room.18:29:10
@implr:hackerspace.plimplr joined the room.18:36:12
@hive:the-apothecary.clubion changed their profile picture.23:06:03
@hive:the-apothecary.clubion changed their display name from D. Tritus to ion.23:07:43
26 Sep 2024
@-noname:matrix.orgNeo joined the room.10:50:31
27 Sep 2024
@austreelis:the-apothecary.clubAustreelis joined the room.16:13:31
28 Sep 2024
@SeTSeR:matrix.orgWhite Whale

Hello! Today I tried to flash image from Nick Cao on my VisionFive 2, but I’m getting weird errors on boot:
Can't set block device
Importing environment from mmc1 ...

Warning: Input data exceeds 1048576 bytes - truncated

Info: input data size = 1048578 = 0x100002

Error: "boot2" not defined

switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:3...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Card did not respond to voltage select! : -110
No EFI system partition
ethernet@16030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup() failed: -110FAILED: -110ethernet@16040000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup() failed: -110FAILED: -110ethernet@16030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !

I don’t have an Ethernet connection for this board, as I use wireless network. I tried to boot directly from mmc using boot_mmc0, but that also failed. I see this line:
libfdt fdt_check_header(): FDT_ERR_BADMAGIC

Does it mean that current image is broken?

20:12:35
@alex:tunstall.xyzAlexTo verify: you flashed the image to a microSD?20:13:37
@alex:tunstall.xyzAlexYou could go look at the boot partition and see what devicetree it is trying (and failing) to load?20:17:52
@rosscomputerguy:matrix.orgTristan RossStill haven't figured out how to get my NVME SSD visible in lsblk lol21:35:56
@libregeekingkid:matrix.orgrajudev joined the room.22:13:38
30 Sep 2024
@humaidq:matrix.orgHumaid changed their display name from Humaid Alqasimi to Humaid.02:56:35
1 Oct 2024
@nscnt:matrix.orgnscnt removed their display name nscnt.15:24:45
@nscnt:matrix.orgnscnt left the room.15:29:16
@-_o:matrix.org-_o joined the room.21:03:28
7 Oct 2024
@lehmanator:tchncs.deSam Lehman changed their profile picture.14:24:56

There are no newer messages yet.


Back to Room ListRoom Version: 10