Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Board request: NanoPc CM3588 NAS #142

Open
NomisIV opened this issue Jun 6, 2024 · 74 comments
Open

Board request: NanoPc CM3588 NAS #142

NomisIV opened this issue Jun 6, 2024 · 74 comments

Comments

@NomisIV
Copy link

NomisIV commented Jun 6, 2024

What would be required to add support for the FriendlyElec CM3588 NAS kit board? I have very little experience in this area, but I am motivated to get this implemented. I do own this board myself, so I would be able to perform testing on it.

What I've figured out myself is that the device tree (dts) file needs to be included here. The proper device tree for this board is probably this one.

Are there any more files that need to be included for proper support?

Looking forward for input!

@jjpe
Copy link

jjpe commented Jun 13, 2024

I too would like to know how support for the CM3588 would be added.

@mariobalanica
Copy link
Collaborator

You can use one of the existing platforms as a template.
They're all fairly similar, with notable differences being power enable GPIOs (e.g. for USB) and I2C peripheral locations. These details can be found in the device tree and board schematics.

Board-specific code resides in the .DSC file and RockchipPlatformLib.

The DTB should indeed be imported from Armbian's rk 6.1 branch. Right now it's only used for booting Linux, UEFI itself does not care about it.

By the way, the PCIe code does not currently support bifurcation (which the CM3588 appears to be using), so things like NVME drives won't be usable in UEFI.

@jjpe
Copy link

jjpe commented Jun 25, 2024

Thank you for the response.

By the way, the PCIe code does not currently support bifurcation (which the CM3588 appears to be using), so things like NVME drives won't be usable in UEFI.

What exactly would be needed for PCIe bifurcation support? I ask because my primary use case for the board is as a NAS, with... you guessed it, NVMe drives.

EDIT: OTOH, if it's only in UEFI where bifurcation doesn't work then perhaps it's not that much of a problem for the use case of a NAS?

@mariobalanica
Copy link
Collaborator

Bifurcation missing in UEFI means you can't boot from NVME. Maybe one of the slots would work at x1 link depending on how things are wired, but I don't know for sure.

It shouldn't be difficult to implement. It mostly needs changes to the PCIe 3 PHY driver and some nice user-configurable settings for lane mapping. I haven't had the hardware to test this and hence no interest really, but I'm going to accept pull requests if anyone's interested in taking on this task.

If your use-case is booting Linux with a device tree off SD/eMMC/USB, then you probably don't care about any of the above.

@navarro967
Copy link

I have begun simple work to get it ported to the device here.

The fork/branch produces a bootable build of EDK2. This device is almost identical to the T6 which I used as the base. I don't particularly require NVMe boot however the first NVMe device did show as a boot option.

I'm relatively new to the ARM scene and not very adept at reading device schematics however if I can reverse engineer the values from the T6 to understand how this is mapped I should be able to clean this up and submit a PR. @mariobalanica Maybe you can give me a simple example of how this mapping done?

Otherwise, if anyone want's to take a crack at it you can build from my fork

@NomisIV
Copy link
Author

NomisIV commented Jul 11, 2024

I tried your fork @navarro967, but my keyboard wouldn't get detected. If I was lucky I could get into the boot options by pressing Escape, but once I got in I couldn't navigate anything.

Were you able to get this working on your board, or are you experiencing the same issue?

@jjpe
Copy link

jjpe commented Jul 12, 2024

I just got my hardware.
I'm not familiar with the intricate parts of bootloading etc, so what can I do to help, short of bricking the device?

@Rippanda12
Copy link

short of bricking the device?

@jjpe
These devices aren't "brickable" since you have access to flashing modes etc which aren't really present on phones so don't worry about something happening to your device

@jjpe
Copy link

jjpe commented Jul 13, 2024

These devices aren't "brickable"

Not even if a wrong image is flashed, which at least in theory, could cause electrical damage by driving e.g. some I/O ports incorrectly? If that's true, then that is very useful to know indeed.

@Rippanda12
Copy link

These devices aren't "brickable"

Not even if a wrong image is flashed, which at least in theory, could cause electrical damage by driving e.g. some I/O ports incorrectly? If that's true, then that is very useful to know indeed.

Software wise they can't be bricked just like a regular pc, ofc physical damage can be done i.e plugging stuff where they don't belong but that rarely happens

@navarro967
Copy link

I tried your fork @navarro967, but my keyboard wouldn't get detected. If I was lucky I could get into the boot options by pressing Escape, but once I got in I couldn't navigate anything.

Were you able to get this working on your board, or are you experiencing the same issue?

I was able to, I plugged my Keychron K10 into a USB A port and was able to enter the BIOS and make changes.

@Jeidnx
Copy link

Jeidnx commented Jul 23, 2024

I have tried 5 different Keyboards, and the only one that worked was a Microsoft Sculpt (notably, the only one which uses a wireless dongle). Every one of them worked, once booted into the OS. I couldn't find any error messages, the only thing i noticed was that all keyboards get power when plugged in, but only for a second before turning off again.

@jneem
Copy link

jneem commented Aug 27, 2024

Thanks for kicking this off @navarro967! I rebased your fork on the latest master to bring in the PCIe bifurcation support, and I can confirm that the firmware loads and sees my NVMe drive.

I haven't actually managed to boot into an OS yet. I have a working Ubuntu installation on the eMMC -- I know it's working because if I remove the sd card with edk2 then it boots -- but selecting it in the boot configuration menu just flashes the screen black and brings me back to edk2. If anyone has suggestions about how to debug it, I'd be grateful. Otherwise, I'm going to poke around with GPIO settings.

@serpent213
Copy link

serpent213 commented Sep 4, 2024

Got my NAS board today and tried @navarro967's fork, flashed to eMMC via the FriendlyWrt web flasher. Console is serial, connected to the three pin header.

Looks pretty good, menu works fine, I switched from ACPI to DT and it boots into Grub from USB or microSD. I used a NixOS ISO (nixos-minimal-24.05.4469.6e99f2a27d60-aarch64-linux.iso).

After selecting the serial console in Grub and progressing to the kernel it gets stuck, though:

EFI stub: Booting Linux Kernel...
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services...

Also tried an ISO from another distro with very similar results.

Did not get any output on HDMI, but I didn't try very hard.

Any idea on how to move on?

@serpent213
Copy link

I built the NixOS image from @ryan4yin: https://github.com/ryan4yin/nixos-rk3588/tree/main, the rock5a variant, needed a small patch:

diff --git a/flake.nix b/flake.nix
index 5102bbc..ecffe1a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -31,7 +31,7 @@
     ...
   }: let
     # Local system's architecture, the host you are running this flake on.
-    localSystem = "x86_64-linux";
+    localSystem = "aarch64-linux";
     pkgsLocal = import nixpkgs {system = localSystem;};
     # The native system of the target SBC.
     aarch64System = "aarch64-linux";
diff --git a/pkgs/mali-firmware/default.nix b/pkgs/mali-firmware/default.nix
index f2bb1c0..bc48e64 100644
--- a/pkgs/mali-firmware/default.nix
+++ b/pkgs/mali-firmware/default.nix
@@ -7,7 +7,7 @@ stdenv.mkDerivation {
   version = "g21p0-01eac0";
 
   src = fetchurl {
-    url = "https://github.com/JeffyCN/mirrors/raw/e08ced3e0235b25a7ba2a3aeefd0e2fcbd434b68/firmware/g610/mali_csffw.bin";
+    url = "https://github.com/JeffyCN/mirrors/raw/libmali/firmware/g610/mali_csffw.bin";
     hash = "sha256-jnyCGlXKHDRcx59hJDYW3SX8NbgfCQlG8wKIbWdxLfU=";
   };
 

Copied to SD; throws errors due to hardware mismatch but boots fully with network working (on serial console, did not try HDMI).

@NomisIV
Copy link
Author

NomisIV commented Sep 17, 2024

I built the NixOS image from @ryan4yin: https://github.com/ryan4yin/nixos-rk3588/tree/main, the rock5a variant, needed a small patch:

diff --git a/flake.nix b/flake.nix
index 5102bbc..ecffe1a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -31,7 +31,7 @@
     ...
   }: let
     # Local system's architecture, the host you are running this flake on.
-    localSystem = "x86_64-linux";
+    localSystem = "aarch64-linux";
     pkgsLocal = import nixpkgs {system = localSystem;};
     # The native system of the target SBC.
     aarch64System = "aarch64-linux";
diff --git a/pkgs/mali-firmware/default.nix b/pkgs/mali-firmware/default.nix
index f2bb1c0..bc48e64 100644
--- a/pkgs/mali-firmware/default.nix
+++ b/pkgs/mali-firmware/default.nix
@@ -7,7 +7,7 @@ stdenv.mkDerivation {
   version = "g21p0-01eac0";
 
   src = fetchurl {
-    url = "https://github.com/JeffyCN/mirrors/raw/e08ced3e0235b25a7ba2a3aeefd0e2fcbd434b68/firmware/g610/mali_csffw.bin";
+    url = "https://github.com/JeffyCN/mirrors/raw/libmali/firmware/g610/mali_csffw.bin";
     hash = "sha256-jnyCGlXKHDRcx59hJDYW3SX8NbgfCQlG8wKIbWdxLfU=";
   };
 

Copied to SD; throws errors due to hardware mismatch but boots fully with network working (on serial console, did not try HDMI).

Could you elaborate on the steps you took to get this working? I am unable to reproduce. The rawEfiImage fails to build, and the sdImage seems to have a broken partition table (I cannot mount the second partition, and the first one is empty)

@jneem
Copy link

jneem commented Sep 18, 2024

My local system isn't an aarch64-linux, so I only changed the mali firmware url. (But it doesn't look like it matters; localSystem is only used in the cross-compiling targets.) I'm on an x86-64 system with boot.binfmt.emulatedSystems = [ "aarch64-linux" ] in my nixos configuration (otherwise it will probably fail with an error about needing to build on an aarch64 system).

Then I run nix build .#rawEfiImage-rock5a, dd the result to an sdcard, and plugging it into my cm3588 with edk2 already installed just works.

(I've been struggling with updating to a more recent kernel, but that's another story...)

@zatevakhin
Copy link

@jneem What kernel versions worked for you?

@jneem
Copy link

jneem commented Sep 19, 2024

  • the 6.1.43 kernel from orangepi (the one that's currently used in nixos-rk3588) boots and has ethernet
  • I tried updating to the armbian/linux-rockchip kernel version 6.1.75. It boots but doesn't have ethernet (the r8169 module is available, it just doesn't get loaded)
  • I tried updating to mainline 6.10.9 with config from armbian, but it doesn't boot at all. I get nonsense like this on the serial console:
EFI stub: Booting Linux Kernel...
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services...
I nCiagI dPwi alt
                 I dPilg/SaUwnnld
/eaUinnld
I dC ag/SaPsi aro
                 I nCianISdPsioaro
                                  I dCiagISdPsioaro
                                                   I dCianISdPsioaro
                                                                    [    0.702728] rtc-hym8563 6-0051: hctosys: unable to read the hardware clock
[    0.705401] rockchip-thermal fec00000.tsadc: failed to register sensor 0: -19
[    0.706080] rockchip-thermal fec00000.tsadc: error -ENODEV: failed to register sensor[0].
ISaUwn ldt
          I nCilgI dPwi alt
/SaUwnnldt                 I dPil
          I dPilgISaUwn ldt
                           I dCiag/SaPwi alt
                                            I dCiag/SdPwiomro
                                                             I nC anI dCshtmob
                                                                              I dPilgISaPwi llt
                                                                                               I dCilgISdPwi alt
                                                                                                                I dCilgISaPwi alt
                                                                                                                                 I dCilgISaPwi alo
                                                                                                                                                  I dCianI nC htmoo
                                                                                                                                                                   I nC inI n  c ow
I nC anISdPshtmo

I tried booting the second two options (armbian/linux-rockchip and mainline 6.10) using armbian (instead of nixos) to build an sdcard image. The bootable armbian sdcards skip edk2 and they boot with working ethernet.

@jneem
Copy link

jneem commented Sep 19, 2024

Btw, I have an updated branch here. Compared to @navarro967 's branch, it's based on a more recent master and it comes with some updates to the pin definitions (but I didn't actually observe any differences caused by these changes)

@Jeidnx
Copy link

Jeidnx commented Sep 19, 2024

Thanks for your work @jneem! Did you use mainline with just the armbian config or did you also apply their kernel patches? I have tried to build the 6.10.{5,9} Kernels with the armbian patches and a modified version of their config (with compressed firmware loading enabled), but haven't been able to successfully build it yet. I am pretty sure it is an issue with my build process though. I have also tried the armbian 6.1.75 and the friendlyarm 6.1.57 kernels, both boot but no Ethernet. The chip doesn't show in lspci, i haven't done more digging yet. Curiously the friendlyarm kernel with almost the same config (i had to enable efi and dmiid) and the same dts has working ethernet when used in the vendor debian 12 image.

I have made a flake to test nixos on the cm3588 a while ago, but just now gotten around to cleaning it up. Here is a link for anyone that's interested.

@jneem
Copy link

jneem commented Sep 19, 2024

I've been trying without the armbian patches so far, but maybe I should give them a try. Btw, 6.11 now has mainline support for the cm3588! I'm building that now.

Working ethernet is a priority for me, but I was hoping to get a new kernel booting before digging into the ethernet issue...

@jneem
Copy link

jneem commented Sep 19, 2024

but haven't been able to successfully build it yet

If it's the same issue I had, it's because you need to set CONFIG_CRYPTO_AEGIS128_SIMD=n, because the assembler nix is using to build the kernel thinks that the rk3588 doesn't support some instructions. I don't know how armbian gets away with this setting; maybe their assembler thinks differently...

@NomisIV
Copy link
Author

NomisIV commented Sep 19, 2024

I got 6.11 working (with ethernet, but no HDMI for some reason) on my cm3588. Here is the minimal config needed:

  boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest;
  hardware = {
    enableRedistributableFirmware = true;
    deviceTree = {
      enable = true;
      name = "rockchip/rk3588-friendlyelec-cm3588-nas.dtb";
    };
  };

see the entire config here

@DualTachyon
Copy link

but haven't been able to successfully build it yet

If it's the same issue I had, it's because you need to set CONFIG_CRYPTO_AEGIS128_SIMD=n, because the assembler nix is using to build the kernel thinks that the rk3588 doesn't support some instructions. I don't know how armbian gets away with this setting; maybe their assembler thinks differently...

The Crypto instructions on RK3588 are disabled by default. Whether they are enabled in your environment depends on what build of BL31 is being used. See this patch for reference: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/29363

@jneem
Copy link

jneem commented Sep 20, 2024

boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest;

Amazing! All that fiddling with armbian forks and custom configs, and it turns out that latest mainline just works! (For anyone following along, it's important here to be using nixos-unstable or else linux_latest is too old.) Now I have edk2 on my eMMC, booting into nixos on an nvme drive.

@samyak-jain
Copy link

I am trying to flash the firmware from this branch (https://github.com/jneem/edk2-rk3588/tree/cm3588), however, I am unable to enter the boot options when pressing escape at the boot splash screen. I've tried 2 different keyboards. It boots into openmediavault by default no matter what I do. Any suggestions?

@jneem
Copy link

jneem commented Sep 22, 2024

It looks like only one USB port was being powered up (the upper USB 3.0 port). The latest commit should enable them all.

@jjpe
Copy link

jjpe commented Sep 25, 2024

For the NixOS users here, how did you cross compile jneem's EDK2 branch?
I'd rather not have to muck about with Debian and the like.

@sanderhollaar
Copy link
Contributor

sanderhollaar commented Sep 25, 2024

@jneem Thanks a lot for your work! 🤗

For the NixOS users here, how did you cross compile jneem's EDK2 branch? I'd rather not have to muck about with Debian and the like.

Until someone actually answers your question ..

I did not want to trial and error the required tools and went the Debian route (on x68_64):

Enable podman with virtualisation.podman.enable = true;

Create /tmp/mnt/: mkdir /tmp/mnt/
Start Debian: podman run --rm -it --network=host --volume=/tmp/mnt:/root debian:trixie /bin/bash

In Debian:
apt update && apt upgrade -y
apt install -y git gcc g++ build-essential gcc-aarch64-linux-gnu acpica-tools python3-pyelftools uuid-dev python-is-python3 device-tree-compiler
cd ~
git clone --recursive https://github.com/jneem/edk2-rk3588.git
cd edk2-rk3588
git switch cm3588
./build.sh --device nanopc-cm3588-nas --release Release

Find RK3588_NOR_FLASH.img in /tmp/mnt/edk2-rk3588/

Have not tried the UEFI image yet.

I also have a NanoPi R6C running NixOS.

@jjpe
Copy link

jjpe commented Oct 4, 2024

There is unofficial support for linux 6.11 in zfs_unstable (link). I have successfully installed NixOS on ZFS on 4 SSDs.

@NomisIV Could you tell me what EFI settings you used to make nixos recognize all 4 drives?

@sanderhollaar
Copy link
Contributor

sanderhollaar commented Oct 5, 2024

@NomisIV Could you tell me what EFI settings you used to make nixos recognize all 4 drives?

in EFI I have ACPI/DeviceTree set to DeviceTree, and PCI set to 1x 1x 1x 1x.

I'm booting NixOS from emmc and have just installed and configured four nvme drives:

$ for disk in mmcblk0 nvme0n1 nvme1n1 nvme2n1 nvme3n1
> do
> sudo gdisk -l /dev/${disk} | grep ${disk}
> done
Disk /dev/mmcblk0: 488554496 sectors, 233.0 GiB
Disk /dev/nvme0n1: 7814037168 sectors, 3.6 TiB
Disk /dev/nvme1n1: 7814037168 sectors, 3.6 TiB
Disk /dev/nvme2n1: 7814037168 sectors, 3.6 TiB
Disk /dev/nvme3n1: 7814037168 sectors, 3.6 TiB
$ df -h /storage
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p1   15T   37G   15T   1% /storage

Running stock linux-6.11 with:

    boot = {
        kernelPackages                =  pkgs.linuxPackages_latest;
        loader = {
            efi.canTouchEfiVariables  =  true;
            systemd-boot = {
                enable                =  true;
            };
        };
    };

    hardware = {
        deviceTree = {
            enable                    =  true;
            name                      = "rockchip/rk3588-friendlyelec-cm3588-nas.dtb";
        };
    };

@jjpe
Copy link

jjpe commented Oct 6, 2024

Thank you, that will be most helpful.

One tricky aspect:
In the EFI setup menu, the emmc device is detected (so it's definitely present).
But when I boot in ACPI mode, the emmc drive isn't detected.
However, In Device Tree mode, I have no HDMI output (as mentioned in earlier posts). In addition, my keyboard is turned off, which means I can't (blindly) type passwd, enter a password, confirm it, in order to then ssh into the device.

So one (hopefully) last question: How did you manage to install the OS to the emmc drive?
If I can manage to get there, the rest will be pretty easy thanks to your help.

@sanderhollaar
Copy link
Contributor

However, In Device Tree mode, I have no HDMI output (as mentioned in earlier posts). In addition, my keyboard is turned off, which means I can't (blindly) type passwd, enter a password, confirm it, in order to then ssh into the device.

With EFI set to DeviceTree my usb keyboard works in one of the two blue usb 3.0 ports. I used it to blindly configure the network to be able to ssh in. In my initial configuration during install, I had the wrong name of the interface. It is enP4p65s0 on my device.

So one (hopefully) last question: How did you manage to install the OS to the emmc drive?

From https://download.friendlyelec.com/CM3588 found on https://wiki.friendlyelec.com/wiki/index.php/CM3588 I downloaded rk3588-sd-debian-bookworm-core-6.1-arm64-20240818.img and dd'ed it to a microsd card.

In Debian I installed nix to be able to start a shell with tools. dd'ed the UEFI image to emmc, partitioned the emmc (keeping the first partition from the UEFI image untouched), and installed NixOS as usual (nixos-generate-config /nixos-install):

curl -L https://nixos.org/nix/install | sh -s -- --daemon
echo 'extra-experimental-features = flakes nix-command' | tee -a /etc/nix/nix.conf

nix shell -- nixpkgs#{coreutils-full,dosfstools,f2fs-tools,fscrypt-experimental,gptfdisk,nixos-install-tools,util-linux,vim}
$ sudo gdisk -l /dev/mmcblk0
[..]
Found valid GPT with protective MBR; using GPT.
Disk /dev/mmcblk0: 488554496 sectors, 233.0 GiB
[..]
Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048           18431   8.0 MiB     8300  uboot
   2           18432         1067007   512.0 MiB   EF00  hamster_uefi
   3         1067008       488554462   232.5 GiB   8300  hamster

uboot is the UEFI image, hamster_uefi is /boot

@jjpe
Copy link

jjpe commented Oct 12, 2024

This definitely helped, as it allowed me to partition and format the nvme and internal emmc drives, and then install NixOS on the emmc drive.
Even the systemd bootloader seems to work, as the usual NixOS generation boot menu now pops up.

The only thing I'm wondering is: how did you blindly configure the network?
And for that matter, how did you figure out that the network interface should be enP4p65s0?

I'm asking because after selecting a NixOS generation to boot, the screen (expectedly) goes blank, the keyboard lights stay lit, but when I try to log in with the root account (for which a password was entered during install), nothing seems to happen. And I can't tell the difference except for running shutdown now at the end, which always fails. So from that I infer that I was never logged in at all.

@sanderhollaar
Copy link
Contributor

sanderhollaar commented Oct 12, 2024

The only thing I'm wondering is: how did you blindly configure the network? And for that matter, how did you figure out that the network interface should be enP4p65s0?

I'm asking because after selecting a NixOS generation to boot, the screen (expectedly) goes blank, the keyboard lights stay lit, but when I try to log in with the root account (for which a password was entered during install), nothing seems to happen. And I can't tell the difference except for running shutdown now at the end, which always fails. So from that I infer that I was never logged in at all.

First thing I did was also power off the system to verify successful login. I use systemctl poweroff and see the leds on the CM switch off. shutdown now should work too, so it seems you are indeed not reaching login.

During install, I use a stripped down configuration.nix from another system with accounts, ssh and keys. And I use filesystem labels in hardware-configuration.nix, with ext4 filesystem for /boot (and f2fs for /). Would this help your case, or is this already similar to your setup?

For the interface: I constructed a oneliner to fetch the name of the interface, and assign an ip to it:

ip a a 192.168.178.3/24 dev $(ip a s | grep -m1 MULTICAST | awk -F ':' '{print $2}')

I carefully typed the command and verified success with ping running on my laptop.

I then could ssh in with the non-root account already configured during install, ip route add a default route to the internet, correct the interface name in configuration.nix and nixos-rebuild.

Did you try enP4p65s0 in your configuration.nix?

I later learned of the kernel parameter earlycon=efifb. Can you try if that continues output after the systemd bootloader?

@jjpe
Copy link

jjpe commented Oct 13, 2024

Would this help your case, or is this already similar to your setup?

I'll post my configuration for clarity, as viewed from the booted Debian SD card image.

I use 2 partitions on the emmc drive.
The mount command (actually a one-liner, broken up for easier reading):

mkdir -p /mnt-nixos/boot  \
  &&  mount /dev/disk/by-label/NIXROOT /mnt-nixos  \
  &&  mount /dev/disk/by-label/NIXBOOT /mnt-nixos/boot/ -o umask=077,fmask=0077,dmask=0077  \
  &&  systemctl daemon-reload

mount cmd output:

root@CM3588:~# mount
...  # snip irrelevant Debian-related mount details
/dev/mmcblk2p3 on /mnt-nixos type ext4 (rw,relatime)
/dev/mmcblk2p2 on /mnt-nixos/boot type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=936,iocharset=utf8,shortname=mixed,errors=remount-ro)

The reason I made these formatting choices is that the NixOS manual uses them.
So I figured that these should be uncontroversial and reliable options for now (Of course, I could be wrong about that ...).
Once there's a working baseline, making changes is easy.

configuration.nix:

{ config, lib, pkgs, ... }:
{
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
    ];

  boot.kernelPackages = pkgs.linuxPackages_latest;
  boot.loader = {
    efi = {
      canTouchEfiVariables = true;
    };
    systemd-boot = {
      enable = true;
      configurationLimit = 10;
    };
  };

# TODO: configure ZFS
#  boot.supportedFilesystems.zfs = true;
#  boot.initrd.supportedFilesystems.zfs = true;
#  boot.zfs.package = pkgs.zfs_unstable;
#  services.zfs = {
#    autoScrub.enable = true;
#    autoSnapshot.enable = true;
#  };
  networking.hostId = "54e492c4"; # See https://nixos.org/manual/nixos/unstable/options#opt-networking.hostId
  nixpkgs.config.allowBroken = true; # allow broken ZFS for now

  hardware.enableRedistributableFirmware = true;
  hardware.deviceTree = {
    enable = true;
    name = "rockchip/rk3588-friendlyelec-cm3588-nas.dtb";
  };

  networking.hostName = "cumulus"; # Define your hostname.

  # Set your time zone.
  time.timeZone = "Europe/Amsterdam";

  # Configure network proxy if necessary
  # networking.proxy.default = "http://user:password@proxy:port/";
  # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";

  i18n.defaultLocale = "en_US.UTF-8";
  console = {
    # font = "Lat2-Terminus16";
    keyMap = "us";
    # useXkbConfig = true; # use xkb.options in tty.
  };

  # Configure keymap in X11
  services.xserver.xkb.layout = "us";

  # Define a user account. Don't forget to set a password with ‘passwd’.
  users.users.j = {
    isNormalUser = true;
    initialPassword = "cumulus"; # just a placeholder
    extraGroups = [ "networkmanager" "wheel" ]; # Enable ‘sudo’ for the user.
    packages = with pkgs; [];
  };

  # List packages installed in system profile. To search, run:
  # $ nix search wget
  environment.systemPackages = with pkgs; [
    git
    vim
    # wget
  ];

  # Enable the OpenSSH daemon.
  services.openssh.enable = true;
  services.openssh.settings.PasswordAuthentication = true; # TODO disable

  networking = { # I also tried the eth0 interface, as that's how it's enumerated in Debian. Alas, to no avail.
    interfaces.enP4p65s0 = {
      ipv4.addresses = [{
        address = "192.168.1.200";
        prefixLength = 24;
      }];
      ipv6.addresses = [{
        address = "fdf1:c31d:8bf2::1e6";
        prefixLength = 64;
      }];
    };
    defaultGateway = {
      address = "192.168.1.1";
      interface = "enP4p65s0" ;
    };
    defaultGateway6 = {
      address = "fdf1:c31d:8bf2::1";
      interface = "enP4p65s0" ;
    };
  };

  # Open ports in the firewall.
  networking.firewall.allowedTCPPorts = [ 22 ];  # shouldn't be necessary but can't hurt during setup.

  # This option defines the first version of NixOS you have installed on this particular machine,
  # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
  #
  # Most users should NEVER change this value after the initial install, for any reason,
  # even if you've upgraded your system to a new NixOS release.
  #
  # This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
  # so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how
  # to actually do that.
  #
  # This value being lower than the current NixOS release does NOT mean your system is
  # out of date, out of support, or vulnerable.
  #
  # Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
  # and migrated your data accordingly.
  #
  # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
  system.stateVersion = "24.11"; # Did you read the comment?
}

I started out with network-manager only, but your post made me consider assigning a static IP for now. However, in either case, my router doesn't see the device, implying that neither configuration is fully correct. Which in and of itself is remarkable, since using network-manager means doing exactly the same thing as on my workstation (which also runs nixos).
I've also tried only using manual IP network configuration, and as far as I can tell that doesn't change the outcome.

As for the drives, I mount them by uuid (which I also do on my other nixos hosts): I have 4 identical NVMe drives so it seems like there's less chance of confusion when mounting by label.
I expect mounting by uuid to be at least as stable as mounting by label.
However, if I'm wrong in that, I'm open to mounting them by label.

hardware-configuration.nix:

# Do not modify this file!  It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations.  Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
  imports = [
    (modulesPath + "/installer/scan/not-detected.nix")
  ];

  boot.initrd.availableKernelModules = [ "nvme" "usbhid" ];
  boot.initrd.kernelModules = [ ];
  boot.kernelModules = [ ];
  boot.extraModulePackages = [ ];

  fileSystems."/" = {
    device = "/dev/disk/by-uuid/729b1082-27d9-45cb-88da-f2117f2d3ec9";
    fsType = "ext4";
    options = [ "lazytime" ];
  };

  fileSystems."/boot" = {
    device = "/dev/disk/by-uuid/08D8-4A5D";
    fsType = "vfat";
    options = [ "umask=0077" "fmask=0077" "dmask=0077" ];
  };

  swapDevices = [ ];

  # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
  # (the default) this is the recommended approach. When using systemd-networkd it's
  # still possible to use this option, but it's recommended to use it in conjunction
  # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
  networking.useDHCP = lib.mkDefault true;
  # networking.interfaces.eth0.useDHCP = lib.mkDefault true;

  nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
}

I installed nixos using nixos-install --root /mnt-nixos --flake .#cumulus, so here is my flake.nix as well:

{
  description = "NixOS Configuration Flake (cumulus)";

  inputs = {
    # NixOS official package source, using the `nixos-unstable` branch
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    home-manager.url = "github:nix-community/home-manager";
    home-manager.inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
    nixosConfigurations.cumulus = nixpkgs.lib.nixosSystem {
      system = "aarch64-linux";
      modules = [
        # Import the old config file so it will still take effect
        ./configuration.nix

        home-manager.nixosModules.home-manager

        {
          home-manager.useGlobalPkgs = true;
          home-manager.useUserPackages = true;
          home-manager.users.j = import ./home.nix;

          # Optionally, use `home-manager.extraSpecialArgs`
          # to pass arguments to ./home.nix
        }
      ];
    };
  };
}

I also tried disabling home manager for now, but that turns out not to make a difference.

For the interface: I constructed a oneliner to fetch the name of the interface, and assign an ip to it:

ip a a 192.168.178.3/24 dev $(ip a s | grep -m1 MULTICAST | awk -F ':' '{print $2}')

I carefully typed the command and verified success with ping running on my laptop.

Once I can log in, this will be most useful, thanks.

I then could ssh in with the non-root account already configured during install

This is where things currently break for me. I tried logging in with both root and the non-root account I configured (called j), and can successfully log in with neither. I don't see anything obvious wrong in my config that would prevent login, but perhaps you see something wrong in the config files above?

Did you try enP4p65s0 in your configuration.nix?
I tried both enP4p65s0 and eth0 (see configuration.nix above), and neither seems to work.

I later learned of the kernel parameter earlycon=efifb. Can you try if that continues output after the systemd bootloader?

Just tried that. The outcome is that it prints a few lines (apologies for the quality):
20241013_134103

After that the screen goes blank as usual.

@sanderhollaar
Copy link
Contributor

sanderhollaar commented Oct 13, 2024

mkdir -p /mnt-nixos/boot  \
  &&  mount /dev/disk/by-label/NIXROOT /mnt-nixos  \
  &&  mount /dev/disk/by-label/NIXBOOT /mnt-nixos/boot/ -o umask=077,fmask=0077,dmask=0077  \
  &&  systemctl daemon-reload

This will not work if you mkfs'ed the filesystems just before these commands. The /mnt-nixos/boot directory created with mkdir will be hidden by the mount at /mnt-nixos. So I assume you are mounting a previous install here, with a directory structure that includes /boot.

Can you show the contents of your /boot directory with find /mnt-nixos/boot? Could it be that it is missing rockchip/rk3588-friendlyelec-cm3588-nas.dtb ? Maybe because during the initial install, the mount of /boot failed due to missing /boot directory?

mount cmd output:

root@CM3588:~# mount
...  # snip irrelevant Debian-related mount details
/dev/mmcblk2p3 on /mnt-nixos type ext4 (rw,relatime)
/dev/mmcblk2p2 on /mnt-nixos/boot type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=936,iocharset=utf8,shortname=mixed,errors=remount-ro)

I'm surprised by the 2 in /dev/mmcblk2 - mine is /dev/mmcblk0 - but with labels or uuid that should not matter.

networking.hostName = "cumulus"; # Define your hostname.

Nice hostname 😎 I named my company Humilis, after Cumulus Humilis.

networking = { # I also tried the eth0 interface, as that's how it's enumerated in Debian. Alas, to no avail.

I'm using systemd.network, but that does not matter.

networking.firewall.allowedTCPPorts = [ 22 ]; # shouldn't be necessary but can't hurt during setup.

hardware-configuration.nix:
networking.useDHCP = lib.mkDefault true;

I do however, disable both firewall and dhcp:

    networking = {
        dhcpcd.enable    =  false;
        firewall.enable  =  false;
        hostName         = "hamster";
        useDHCP          =  false;
        useNetworkd      =  true;
    };

Likely does not matter.

As for the drives, I mount them by uuid (which I also do on my other nixos hosts): I have 4 identical NVMe drives so it seems like there's less chance of confusion when mounting by label. I expect mounting by uuid to be at least as stable as mounting by label.

Agreed. Although the NVMe drives are not in play yet.

I installed nixos using nixos-install --root /mnt-nixos --flake .#cumulus, so here is my flake.nix as well:

I also tried disabling home manager for now, but that turns out not to make a difference.

Yeah home-manager has no part in the OS itself. I have my home-manager entirely in my home directory btw, but unrelated.

This is where things currently break for me. I tried logging in with both root and the non-root account I configured (called j), and can successfully log in with neither. I don't see anything obvious wrong in my config that would prevent login, but perhaps you see something wrong in the config files above?

Nothing obvious. It is a long shot but could be missing files in /boot, or long boot time if somehow it tries to DHCP.

If you can't make it work I'll recreate the stripped-down configuration.nix I used.

I later learned of the kernel parameter earlycon=efifb. Can you try if that continues output after the systemd bootloader?

Just tried that. The outcome is that it prints a few lines (apologies for the quality):
After that the screen goes blank as usual.

I guess this requires upstream HDMI support then. Next step could be, find the patch that enables HDMI in Armbian and include that in your NixOS kernel stanza.

@jjpe
Copy link

jjpe commented Oct 13, 2024

This will not work if you mkfs'ed the filesystems just before these commands. The /mnt-nixos/boot directory created with mkdir will be hidden by the mount at /mnt-nixos. So I assume you are mounting a previous install here, with a directory structure that includes /boot.

Indeed, what I did to gather this information was:

  1. Boot Debian with the same SD card I used initially
  2. Enter a nix shell with nix shell -- nixpkgs#{coreutils-full,dosfstools,f2fs-tools,fscrypt-experimental,gptfdisk,nixos-install-tools,util-linux,neovim,emacs,nix,nixos-rebuild,nix-tree}
  3. Execute mkdir -p /mnt-nixos/boot && mount /dev/disk/by-label/NIXROOT /mnt-nixos && mount /dev/disk/by-label/NIXBOOT /mnt-nixos/boot/ -o umask=077,fmask=0077,dmask=0077 && systemctl daemon-reload
  4. Execute nixos-install --root /mnt-nixos --flake .#cumulus from the git repo containing the nix configuration files.

In particular, the partitions I'm mounting were created just before I created the first NixOS generation with the first execution step 4.
As presented above, the idea is to take the extant partitions as they are, and just bluntly install NixOS over the previous installation. This results in the creation of a new generation, just as if the system had been updated using nixos-rebuild.

In order to create and format the partitions with the proper flags I followed the steps outlined in the NixOS manual. Except I used a flake, which should work just as well as direct usage of configuration.nix.

Can you show the contents of your /boot directory with find /mnt-nixos/boot?
Sure, here's the output:

root@CM3588:~# find /mnt-nixos/boot/
/mnt-nixos/boot/
/mnt-nixos/boot/EFI
/mnt-nixos/boot/EFI/systemd
/mnt-nixos/boot/EFI/systemd/systemd-bootaa64.efi
/mnt-nixos/boot/EFI/BOOT
/mnt-nixos/boot/EFI/BOOT/BOOTAA64.EFI
/mnt-nixos/boot/EFI/Linux
/mnt-nixos/boot/EFI/nixos
/mnt-nixos/boot/EFI/nixos/g78kk77p63yj65m885p578swjy19grp7-linux-6.11.2-Image.efi
/mnt-nixos/boot/EFI/nixos/d19pz28xk6h2v3mfv2w2g1rwqj3dfqxr-initrd-linux-6.11.2-initrd.efi
/mnt-nixos/boot/EFI/nixos/g78kk77p63yj65m885p578swjy19grp7-linux-6.11.2-rk3588-friendlyelec-cm3588-nas.dtb.efi
/mnt-nixos/boot/EFI/nixos/.extra-files
/mnt-nixos/boot/EFI/nixos/f0f8n5zwk3kixg722ahdldp3jd40yp4z-initrd-linux-6.11.2-initrd.efi
/mnt-nixos/boot/EFI/nixos/n0lc1vg2fdvypnl8icas8y72hxgmfs65-initrd-linux-6.11.2-initrd.efi
/mnt-nixos/boot/EFI/nixos/anzs9381sh15m21f6ba4c3y0d6hwgr59-initrd-linux-6.11.2-initrd.efi
/mnt-nixos/boot/EFI/nixos/c7x9rrris4w298s43hgwd1sbriq1vbc2-initrd-linux-6.11.2-initrd.efi
/mnt-nixos/boot/loader
/mnt-nixos/boot/loader/entries
/mnt-nixos/boot/loader/entries/nixos-generation-11.conf
/mnt-nixos/boot/loader/entries/nixos-generation-12.conf
/mnt-nixos/boot/loader/entries/nixos-generation-3.conf
/mnt-nixos/boot/loader/entries/nixos-generation-4.conf
/mnt-nixos/boot/loader/entries/nixos-generation-5.conf
/mnt-nixos/boot/loader/entries/nixos-generation-6.conf
/mnt-nixos/boot/loader/entries/nixos-generation-7.conf
/mnt-nixos/boot/loader/entries/nixos-generation-8.conf
/mnt-nixos/boot/loader/entries/nixos-generation-9.conf
/mnt-nixos/boot/loader/entries/nixos-generation-10.conf
/mnt-nixos/boot/loader/loader.conf
/mnt-nixos/boot/loader/random-seed
/mnt-nixos/boot/loader/entries.srel
root@CM3588:~#

In particular, /mnt-nixos/boot/EFI/nixos/g78kk77p63yj65m885p578swjy19grp7-linux-6.11.2-rk3588-friendlyelec-cm3588-nas.dtb.efi pops out as what should / could be (a modified version of) the.dtb file.

Could it be that it is missing rockchip/rk3588-friendlyelec-cm3588-nas.dtb ? Maybe because during the initial install, the mount of /boot failed due to missing /boot directory?

If my assumption is correct that /mnt-nixos/boot/EFI/nixos/g78kk77p63yj65m885p578swjy19grp7-linux-6.11.2-rk3588-friendlyelec-cm3588-nas.dtb.efi is essentially the .dtb file specified in configuration.nix, then it's present for sure.

I'm surprised by the 2 in /dev/mmcblk2 - mine is /dev/mmcblk0 - but with labels or uuid that should not matter.

Yeah it's definitely a little weird - also that there's no /dev/mmcblk1 device.
It turns out that /dev/mmcblk0 is the external SD card on my board. I found that out the hard way and then had to reflash the Debian image.

Nice hostname 😎 I named my company Humilis, after Cumulus Humilis.

Thank you! That's also where I got the name from :)
Seems fitting as I'll essentially be building a private cloud with my CM3588.

I'm using systemd.network, but that does not matter.

Did you only use systemd.network.enable = true, or is there more to your systemd network config?

I do however, disable both firewall and dhcp:

networking = {
    dhcpcd.enable    =  false;
    firewall.enable  =  false;
    hostName         = "hamster";
    useDHCP          =  false;
    useNetworkd      =  true;
};

Likely does not matter.

It's worth a shot, so I tried it. But yeah, these options (including disabling DHCP) doesn't seem to make a difference.

If you can't make it work I'll recreate the stripped-down configuration.nix I used.

That's starting to look pretty good, thanks.

I guess this requires upstream HDMI support then. Next step could be, find the patch that enables HDMI in Armbian and include that in your NixOS kernel stanza.

In the meantime I'll explore this option.

@sanderhollaar
Copy link
Contributor

3. Execute `mkdir -p /mnt-nixos/boot  &&  mount /dev/disk/by-label/NIXROOT /mnt-nixos  &&  mount /dev/disk/by-label/NIXBOOT /mnt-nixos/boot/ -o umask=077,fmask=0077,dmask=0077  &&  systemctl daemon-reload`

As you are posting this sequence of commands again: mkdir -p /mnt-nixos/boot && mount [..] /mnt-nixos && mount [..] /mnt-nixos/boot/ does not do what you expect it to do.

The directory boot created in /mnt-nixos immediately gets hidden below the filesystem that gets mounted at /mnt-nixos.

The only reason that second mount [..] /mnt-nixos/boot can succeed, is because there happens to already be a directory /boot created in the filesystem mounted at /mnt-nixos. The sequence will fail with just created empty filesystems.

4. Execute `nixos-install --root /mnt-nixos --flake .#cumulus` from the git repo containing the nix configuration files.

In order to create and format the partitions with the proper flags I followed the steps outlined in the NixOS manual. Except I used a flake, which should work just as well as direct usage of configuration.nix.

Yes, I install using flakes the same way you do.

root@CM3588:~# find /mnt-nixos/boot/
[..]
/mnt-nixos/boot/EFI/nixos/g78kk77p63yj65m885p578swjy19grp7-linux-6.11.2-rk3588-friendlyelec-cm3588-nas.dtb.efi
[..]

In particular, /mnt-nixos/boot/EFI/nixos/g78kk77p63yj65m885p578swjy19grp7-linux-6.11.2-rk3588-friendlyelec-cm3588-nas.dtb.efi pops out as what should / could be (a modified version of) the.dtb file.

Could it be that it is missing rockchip/rk3588-friendlyelec-cm3588-nas.dtb ? Maybe because during the initial install, the mount of /boot failed due to missing /boot directory?

If my assumption is correct that /mnt-nixos/boot/EFI/nixos/g78kk77p63yj65m885p578swjy19grp7-linux-6.11.2-rk3588-friendlyelec-cm3588-nas.dtb.efi is essentially the .dtb file specified in configuration.nix, then it's present for sure.

Looks good. For reference:

$ find /boot/ -name '*.dtb*'
/boot/EFI/nixos/g78kk77p63yj65m885p578swjy19grp7-linux-6.11.2-rk3588-friendlyelec-cm3588-nas.dtb.efi
/boot/EFI/nixos/vabylncn2iiiqld92ncza7vwrl7dp8pb-linux-6.11.3-rk3588-friendlyelec-cm3588-nas.dtb.efi
$ grep dtb /boot/loader/entries/nixos-generation-34.conf
devicetree /EFI/nixos/vabylncn2iiiqld92ncza7vwrl7dp8pb-linux-6.11.3-rk3588-friendlyelec-cm3588-nas.dtb.efi

I'm using systemd.network, but that does not matter.

Did you only use systemd.network.enable = true, or is there more to your systemd network config?

I have - stripped ipv6 details - but as I had the wrong interface name it was of no use:

    systemd = {
        network = {
            enable                  = true;
            networks = {
                enP4p65s0 = {
                    address         = [ "192.168.178.3/24" ];
                    matchConfig     = { Name = "enP4p65s0"; Type = "ether"; };
                    gateway         = [ "192.168.178.1" ];
                };
            };
        };
    };

If you can't make it work I'll recreate the stripped-down configuration.nix I used.

That's starting to look pretty good, thanks.

hamster-configuration.nix (I've removed the users.users stanza and some not relevant bits):

{ config, pkgs, ... }:

{
    imports = [ ./hamster-hardware.nix ];

    boot = {
        kernelPackages                  =  pkgs.linuxPackages_latest;
        loader = {
            efi.canTouchEfiVariables    =  true;
            systemd-boot = {
                enable                  =  true;
                configurationLimit      =  16;
            };
        };
    };

    hardware = {
        deviceTree = {
            enable                      =  true;
            name                        = "rockchip/rk3588-friendlyelec-cm3588-nas.dtb";
        };
    };

    networking = {
        dhcpcd.enable                   =  false;
        firewall.enable                 =  false;
        hostName                        = "hamster";
        useDHCP                         =  false;
        useNetworkd                     =  true;
    };

    services = {
        openssh = {
            enable                      =  true;
            settings = {
                KbdInteractiveAuthentication  =  false;
                PasswordAuthentication  =  false;
                PermitRootLogin         = "no";
            };
        };
    };

    system = {
        stateVersion                    = "24.11";
    };

    systemd = {
        network = {
            enable                      = true;
            networks = {
                enP4p65s0 = {
                    address             = [ "192.168.178.3/24" ];
                    matchConfig         = { Name = "enP4p65s0"; Type = "ether"; };
                    gateway             = [ "192.168.178.1" ];
                };
            };
        };
    };
}

hamster-hardware.nix:

{ config, lib, pkgs, modulesPath, ... }:

{
    imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];

    boot.initrd.availableKernelModules = [ ];
    boot.initrd.kernelModules = [ ];
    boot.kernelModules = [ ];
    boot.extraModulePackages = [ ];

    fileSystems."/" = {
        label = "hamster";
        fsType = "f2fs";
    };

    fileSystems."/boot" = {
        label = "hamster_efi";
        fsType = "vfat";
    };

    nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
    powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}

@jjpe
Copy link

jjpe commented Oct 14, 2024

As you are posting this sequence of commands again: mkdir -p /mnt-nixos/boot && mount [..] /mnt-nixos && mount [..] /mnt-nixos/boot/ does not do what you expect it to do.

The directory boot created in /mnt-nixos immediately gets hidden below the filesystem that gets mounted at /mnt-nixos.

The only reason that second mount [..] /mnt-nixos/boot can succeed, is because there happens to already be a directory /boot created in the filesystem mounted at /mnt-nixos. The sequence will fail with just created empty filesystems.

Yeah IIRC the first time I had to mkdir that directory manually on /mnt-nixos after mounting it, which makes the mkdir in the compound mount command redundant altogether.
But all I really (think I) need is that /mnt-nixos/boot is available to nixos-install while being backed by /dev/disk/by-label/NIXBOOT; I don't manually manipulate the /mnt-nixos/boot dir (or the backing device) manually at all after creating and formatting the partitions.

Therefore my reasoning was that the empty /mnt-nixos/boot directory on the mounted /mnt-nixos drive should work for the purposes of mounting /dev/disk/by-label/NIXBOOT), after which the installer would just do the right thing.

But maybe you know something I don't know, and more is needed than just making it available to nixos-install? How I'd need to change the mount process would depend on the answer.

Looks good. For reference:

$ find /boot/ -name '.dtb'
/boot/EFI/nixos/g78kk77p63yj65m885p578swjy19grp7-linux-6.11.2-rk3588-friendlyelec-cm3588-nas.dtb.efi
/boot/EFI/nixos/vabylncn2iiiqld92ncza7vwrl7dp8pb-linux-6.11.3-rk3588-friendlyelec-cm3588-nas.dtb.efi

$ grep dtb /boot/loader/entries/nixos-generation-34.conf
devicetree /EFI/nixos/vabylncn2iiiqld92ncza7vwrl7dp8pb-linux-6.11.3-rk3588-friendlyelec-cm3588-nas.dtb.efi

I get similar output for both queries:

root@CM3588:~# find /mnt-nixos/boot -name '*.dtb*'
/mnt-nixos/boot/EFI/nixos/g78kk77p63yj65m885p578swjy19grp7-linux-6.11.2-rk3588-friendlyelec-cm3588-nas.dtb.efi
root@CM3588:~# grep dtb /mnt-nixos/boot/loader/entries/nixos-generation-11.conf
devicetree /EFI/nixos/g78kk77p63yj65m885p578swjy19grp7-linux-6.11.2-rk3588-friendlyelec-cm3588-nas.dtb.efi

So I'm thinking that part is probably ok.

hamster-configuration.nix (I've removed the users.users stanza and some not relevant bits):

hamster-hardware.nix:

Thank you for taking the effort.

Bafflingly, and the strongest hint yet something else might be going on here:
This minimal config (after adding my own users.users block) yields the same observable results as my own: It'll appear to boot a selected generation, print a couple of lines of text, then no-HDMI screen blank, after which complete non-responsiveness from the device until it's power cycled.

Of course, if the mounting above step truly is problematic as it is, then perhaps that is where (part of ) the solution lies.

I'm going to have another look at the nixos manual, see if there's something I missed.

@sanderhollaar
Copy link
Contributor

Yeah IIRC the first time I had to mkdir that directory manually on /mnt-nixos after mounting it, which makes the mkdir in the compound mount command redundant altogether. But all I really (think I) need is that /mnt-nixos/boot is available to nixos-install while being backed by /dev/disk/by-label/NIXBOOT; I don't manually manipulate the /mnt-nixos/boot dir (or the backing device) manually at all after creating and formatting the partitions.

Therefore my reasoning was that the empty /mnt-nixos/boot directory on the mounted /mnt-nixos drive should work for the purposes of mounting /dev/disk/by-label/NIXBOOT)

Thing is, /mnt-nixos/boot is not available for NIXBOOT to be mounted on, after NIXROOT is mounted at /mnt-nixos.

Create directory:

$ sudo mkdir -p /mnt-nixos/boot

List contents of /mnt-nixos:

$ sudo ls -l /mnt-nixos/
total 4
drwx--x--x 2 root root 3452 Oct 14 17:25 boot

Mount filesystem at /mnt-nixos:

$ sudo mount -t tmpfs tmpfs /mnt-nixos

List contents of /mnt-nixos:

$ sudo ls -l /mnt-nixos/
total 0

The directory boot is now hidden underneath the mount.

To make /mnt-nixos/boot available for NIXBOOT, mkdir it in the empty filesystem mounted at /mnt-nixos as you apparently did the very first time.

$ sudo mkdir /mnt-nixos
$ sudo mount -t tmpfs tmpfs /mnt-nixos
$ sudo mkdir /mnt-nixos/boot
$ sudo mount -t tmpfs tmpfs /mnt-nixos/boot
$ df -h /mnt-nixos/ /mnt-nixos/boot
Filesystem      Size  Used Avail Use% Mounted on
tmpfs            32G     0   32G   0% /mnt-nixos
tmpfs            32G     0   32G   0% /mnt-nixos/boot

So I'm really just nitpicking as you kept posting the command sequence that created a directory that you could not use.

Bafflingly, and the strongest hint yet something else might be going on here: This minimal config (after adding my own users.users block) yields the same observable results as my own: It'll appear to boot a selected generation, print a couple of lines of text, then no-HDMI screen blank, after which complete non-responsiveness from the device until it's power cycled.

In Armdebian, can you post the output of journalctl -D /mnt-nixos/var/log/journal/ ?

@jjpe
Copy link

jjpe commented Oct 14, 2024

In Armdebian, can you post the output of journalctl -D /mnt-nixos/var/log/journal/ ?

Sure, here's the output:

root@CM3588:~# journalctl -D /mnt-nixos/var/log/journal/ | cat
Oct 14 21:52:50 hamster kernel: Booting Linux on physical CPU 0x0000000000 [0x412fd050]
Oct 14 21:52:50 hamster kernel: Linux version 6.11.2 (nixbld@localhost) (gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42) #1-NixOS SMP Fri Oct  4 14:38:57 UTC 2024
Oct 14 21:52:50 hamster kernel: KASLR enabled
Oct 14 21:52:50 hamster kernel: Machine model: FriendlyElec CM3588 NAS
Oct 14 21:52:50 hamster kernel: efi: EFI v2.7 by EDK II
Oct 14 21:52:50 hamster kernel: efi: SMBIOS=0xeac30000 SMBIOS 3.0=0xeac10000 MEMATTR=0xef2e0018 ACPI 2.0=0xeafcb018 RNG=0xeafcbe98 INITRD=0xea90cf98 MEMRESERVE=0xea90d118
Oct 14 21:52:50 hamster kernel: random: crng init done
Oct 14 21:52:50 hamster kernel: NUMA: No NUMA configuration found
Oct 14 21:52:50 hamster kernel: NUMA: Faking a node at [mem 0x0000000000200000-0x00000003ffffffff]
Oct 14 21:52:50 hamster kernel: NUMA: NODE_DATA [mem 0x3fdcb48c0-0x3fdcb7fff]
Oct 14 21:52:50 hamster kernel: Zone ranges:
Oct 14 21:52:50 hamster kernel:   DMA      [mem 0x0000000000200000-0x00000000ffffffff]
Oct 14 21:52:50 hamster kernel:   DMA32    empty
Oct 14 21:52:50 hamster kernel:   Normal   [mem 0x0000000100000000-0x00000003ffffffff]
Oct 14 21:52:50 hamster kernel:   Device   empty
Oct 14 21:52:50 hamster kernel: Movable zone start for each node
Oct 14 21:52:50 hamster kernel: Early memory node ranges
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x0000000000200000-0x00000000006fffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x00000000007c0000-0x00000000007effff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x00000000007f0000-0x00000000083fffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x0000000008400000-0x00000000093fffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x0000000009400000-0x00000000ea05ffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x00000000ea060000-0x00000000ea8fffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x00000000ea900000-0x00000000eab3ffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x00000000eab40000-0x00000000eafbffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x00000000eafc0000-0x00000000effaffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x00000000effb0000-0x00000000effdffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x00000000effe0000-0x00000000efffffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x0000000100000000-0x00000003fbffffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x00000003fc000000-0x00000003fc4fffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x00000003fc500000-0x00000003ffefffff]
Oct 14 21:52:50 hamster kernel:   node   0: [mem 0x00000003fff00000-0x00000003ffffffff]
Oct 14 21:52:50 hamster kernel: Initmem setup node 0 [mem 0x0000000000200000-0x00000003ffffffff]
Oct 14 21:52:50 hamster kernel: On node 0, zone DMA: 512 pages in unavailable ranges
Oct 14 21:52:50 hamster kernel: On node 0, zone DMA: 192 pages in unavailable ranges
Oct 14 21:52:50 hamster kernel: cma: Reserved 32 MiB at 0x00000000ed200000 on node -1
Oct 14 21:52:50 hamster kernel: psci: probing for conduit method from DT.
Oct 14 21:52:50 hamster kernel: psci: PSCIv1.1 detected in firmware.
Oct 14 21:52:50 hamster kernel: psci: Using standard PSCI v0.2 function IDs
Oct 14 21:52:50 hamster kernel: psci: Trusted OS migration not required
Oct 14 21:52:50 hamster kernel: psci: SMC Calling Convention v1.2
Oct 14 21:52:50 hamster kernel: percpu: Embedded 55 pages/cpu s100824 r8192 d116264 u225280
Oct 14 21:52:50 hamster kernel: pcpu-alloc: s100824 r8192 d116264 u225280 alloc=55*4096
Oct 14 21:52:50 hamster kernel: pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
Oct 14 21:52:50 hamster kernel: Detected VIPT I-cache on CPU0
Oct 14 21:52:50 hamster kernel: CPU features: detected: GIC system register CPU interface
Oct 14 21:52:50 hamster kernel: CPU features: detected: Virtualization Host Extensions
Oct 14 21:52:50 hamster kernel: CPU features: kernel page table isolation forced ON by KASLR
Oct 14 21:52:50 hamster kernel: CPU features: detected: Kernel page table isolation (KPTI)
Oct 14 21:52:50 hamster kernel: CPU features: detected: ARM errata 1165522, 1319367, or 1530923
Oct 14 21:52:50 hamster kernel: alternatives: applying boot alternatives
Oct 14 21:52:50 hamster kernel: Kernel command line: initrd=\EFI\nixos\82hnfbja1a1xfsnpmd9mdp9x78n7j8j0-initrd-linux-6.11.2-initrd.efi init=/nix/store/k53qfcxcr9dbmnhxafvfgfgr3c2b80ap-nixos-system-hamster-24.11.20241006.c31898a/init loglevel=4
Oct 14 21:52:50 hamster kernel: Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
Oct 14 21:52:50 hamster kernel: Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
Oct 14 21:52:50 hamster kernel: Fallback order for Node 0: 0
Oct 14 21:52:50 hamster kernel: Built 1 zonelists, mobility grouping on.  Total pages: 4128064
Oct 14 21:52:50 hamster kernel: Policy zone: Normal
Oct 14 21:52:50 hamster kernel: mem auto-init: stack:all(zero), heap alloc:on, heap free:off
Oct 14 21:52:50 hamster kernel: software IO TLB: area num 8.
Oct 14 21:52:50 hamster kernel: software IO TLB: mapped [mem 0x00000000e4cc0000-0x00000000e8cc0000] (64MB)
Oct 14 21:52:50 hamster kernel: SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
Oct 14 21:52:50 hamster kernel: ftrace: allocating 74646 entries in 292 pages
Oct 14 21:52:50 hamster kernel: ftrace: allocated 292 pages with 3 groups
Oct 14 21:52:50 hamster kernel: trace event string verifier disabled
Oct 14 21:52:50 hamster kernel: rcu: Hierarchical RCU implementation.
Oct 14 21:52:50 hamster kernel: rcu:         RCU event tracing is enabled.
Oct 14 21:52:50 hamster kernel: rcu:         RCU restricting CPUs from NR_CPUS=384 to nr_cpu_ids=8.
Oct 14 21:52:50 hamster kernel:         Rude variant of Tasks RCU enabled.
Oct 14 21:52:50 hamster kernel:         Tracing variant of Tasks RCU enabled.
Oct 14 21:52:50 hamster kernel: rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
Oct 14 21:52:50 hamster kernel: rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
Oct 14 21:52:50 hamster kernel: RCU Tasks Rude: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
Oct 14 21:52:50 hamster kernel: RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
Oct 14 21:52:50 hamster kernel: NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
Oct 14 21:52:50 hamster kernel: GICv3: GIC: Using split EOI/Deactivate mode
Oct 14 21:52:50 hamster kernel: GICv3: 480 SPIs implemented
Oct 14 21:52:50 hamster kernel: GICv3: 0 Extended SPIs implemented
Oct 14 21:52:50 hamster kernel: GICv3: MBI range [424:479]
Oct 14 21:52:50 hamster kernel: GICv3: Using MBI frame 0x00000000fe610000
Oct 14 21:52:50 hamster kernel: Root IRQ handler: gic_handle_irq
Oct 14 21:52:50 hamster kernel: GICv3: GICv3 features: 16 PPIs
Oct 14 21:52:50 hamster kernel: GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=1
Oct 14 21:52:50 hamster kernel: GICv3: CPU0: found redistributor 0 region 0:0x00000000fe680000
Oct 14 21:52:50 hamster kernel: ITS [mem 0xfe640000-0xfe65ffff]
Oct 14 21:52:50 hamster kernel: GIC: enabling workaround for ITS: Rockchip erratum RK3588001
Oct 14 21:52:50 hamster kernel: ITS@0x00000000fe640000: allocated 8192 Devices @1002e0000 (indirect, esz 8, psz 64K, shr 0)
Oct 14 21:52:50 hamster kernel: ITS@0x00000000fe640000: allocated 32768 Interrupt Collections @1002f0000 (flat, esz 2, psz 64K, shr 0)
Oct 14 21:52:50 hamster kernel: ITS: using cache flushing for cmd queue
Oct 14 21:52:50 hamster kernel: ITS [mem 0xfe660000-0xfe67ffff]
Oct 14 21:52:50 hamster kernel: GIC: enabling workaround for ITS: Rockchip erratum RK3588001
Oct 14 21:52:50 hamster kernel: ITS@0x00000000fe660000: allocated 8192 Devices @100310000 (indirect, esz 8, psz 64K, shr 0)
Oct 14 21:52:50 hamster kernel: ITS@0x00000000fe660000: allocated 32768 Interrupt Collections @100320000 (flat, esz 2, psz 64K, shr 0)
Oct 14 21:52:50 hamster kernel: ITS: using cache flushing for cmd queue
Oct 14 21:52:50 hamster kernel: GICv3: using LPI property table @0x0000000100330000
Oct 14 21:52:50 hamster kernel: GIC: using cache flushing for LPI property table
Oct 14 21:52:50 hamster kernel: GICv3: CPU0: using allocated LPI pending table @0x0000000100340000
Oct 14 21:52:50 hamster kernel: GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@100[1] /cpus/cpu@200[2] /cpus/cpu@300[3] }
Oct 14 21:52:50 hamster kernel: GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@400[4] /cpus/cpu@500[5] /cpus/cpu@600[6] /cpus/cpu@700[7] }
Oct 14 21:52:50 hamster kernel: rcu: srcu_init: Setting srcu_struct sizes based on contention.
Oct 14 21:52:50 hamster kernel: arch_timer: cp15 timer(s) running at 24.00MHz (phys).
Oct 14 21:52:50 hamster kernel: clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
Oct 14 21:52:50 hamster kernel: sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
Oct 14 21:52:50 hamster kernel: kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
Oct 14 21:52:50 hamster kernel: Console: colour dummy device 80x25
Oct 14 21:52:50 hamster kernel: printk: legacy console [tty0] enabled
Oct 14 21:52:50 hamster kernel: Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
Oct 14 21:52:50 hamster kernel: pid_max: default: 32768 minimum: 301
Oct 14 21:52:50 hamster kernel: LSM: initializing lsm=capability,landlock,yama,bpf
Oct 14 21:52:50 hamster kernel: landlock: Up and running.
Oct 14 21:52:50 hamster kernel: Yama: becoming mindful.
Oct 14 21:52:50 hamster kernel: LSM support for eBPF active
Oct 14 21:52:50 hamster kernel: Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
Oct 14 21:52:50 hamster kernel: Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
Oct 14 21:52:50 hamster kernel: rcu: Hierarchical SRCU implementation.
Oct 14 21:52:50 hamster kernel: rcu:         Max phase no-delay instances is 1000.
Oct 14 21:52:50 hamster kernel: Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
Oct 14 21:52:50 hamster kernel: fsl-mc MSI: msi-controller@fe640000 domain created
Oct 14 21:52:50 hamster kernel: fsl-mc MSI: msi-controller@fe660000 domain created
Oct 14 21:52:50 hamster kernel: Remapping and enabling EFI services.
Oct 14 21:52:50 hamster kernel: smp: Bringing up secondary CPUs ...
Oct 14 21:52:50 hamster kernel: Detected VIPT I-cache on CPU1
Oct 14 21:52:50 hamster kernel: GICv3: CPU1: found redistributor 100 region 0:0x00000000fe6a0000
Oct 14 21:52:50 hamster kernel: GICv3: CPU1: using allocated LPI pending table @0x0000000100350000
Oct 14 21:52:50 hamster kernel: CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
Oct 14 21:52:50 hamster kernel: Detected VIPT I-cache on CPU2
Oct 14 21:52:50 hamster kernel: GICv3: CPU2: found redistributor 200 region 0:0x00000000fe6c0000
Oct 14 21:52:50 hamster kernel: GICv3: CPU2: using allocated LPI pending table @0x0000000100360000
Oct 14 21:52:50 hamster kernel: CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
Oct 14 21:52:50 hamster kernel: Detected VIPT I-cache on CPU3
Oct 14 21:52:50 hamster kernel: GICv3: CPU3: found redistributor 300 region 0:0x00000000fe6e0000
Oct 14 21:52:50 hamster kernel: GICv3: CPU3: using allocated LPI pending table @0x0000000100370000
Oct 14 21:52:50 hamster kernel: CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
Oct 14 21:52:50 hamster kernel: CPU features: detected: Spectre-v4
Oct 14 21:52:50 hamster kernel: CPU features: detected: Spectre-BHB
Oct 14 21:52:50 hamster kernel: CPU features: detected: SSBS not fully self-synchronizing
Oct 14 21:52:50 hamster kernel: Detected PIPT I-cache on CPU4
Oct 14 21:52:50 hamster kernel: GICv3: CPU4: found redistributor 400 region 0:0x00000000fe700000
Oct 14 21:52:50 hamster kernel: GICv3: CPU4: using allocated LPI pending table @0x0000000100380000
Oct 14 21:52:50 hamster kernel: CPU4: Booted secondary processor 0x0000000400 [0x414fd0b0]
Oct 14 21:52:50 hamster kernel: Detected PIPT I-cache on CPU5
Oct 14 21:52:50 hamster kernel: GICv3: CPU5: found redistributor 500 region 0:0x00000000fe720000
Oct 14 21:52:50 hamster kernel: GICv3: CPU5: using allocated LPI pending table @0x0000000100390000
Oct 14 21:52:50 hamster kernel: CPU5: Booted secondary processor 0x0000000500 [0x414fd0b0]
Oct 14 21:52:50 hamster kernel: Detected PIPT I-cache on CPU6
Oct 14 21:52:50 hamster kernel: GICv3: CPU6: found redistributor 600 region 0:0x00000000fe740000
Oct 14 21:52:50 hamster kernel: GICv3: CPU6: using allocated LPI pending table @0x00000001003a0000
Oct 14 21:52:50 hamster kernel: CPU6: Booted secondary processor 0x0000000600 [0x414fd0b0]
Oct 14 21:52:50 hamster kernel: Detected PIPT I-cache on CPU7
Oct 14 21:52:50 hamster kernel: GICv3: CPU7: found redistributor 700 region 0:0x00000000fe760000
Oct 14 21:52:50 hamster kernel: GICv3: CPU7: using allocated LPI pending table @0x00000001003b0000
Oct 14 21:52:50 hamster kernel: CPU7: Booted secondary processor 0x0000000700 [0x414fd0b0]
Oct 14 21:52:50 hamster kernel: smp: Brought up 1 node, 8 CPUs
Oct 14 21:52:50 hamster kernel: SMP: Total of 8 processors activated.
Oct 14 21:52:50 hamster kernel: CPU: All CPU(s) started at EL2
Oct 14 21:52:50 hamster kernel: CPU features: detected: 32-bit EL0 Support
Oct 14 21:52:50 hamster kernel: CPU features: detected: Data cache clean to the PoU not required for I/D coherence
Oct 14 21:52:50 hamster kernel: CPU features: detected: Common not Private translations
Oct 14 21:52:50 hamster kernel: CPU features: detected: CRC32 instructions
Oct 14 21:52:50 hamster kernel: CPU features: detected: RCpc load-acquire (LDAPR)
Oct 14 21:52:50 hamster kernel: CPU features: detected: LSE atomic instructions
Oct 14 21:52:50 hamster kernel: CPU features: detected: Privileged Access Never
Oct 14 21:52:50 hamster kernel: CPU features: detected: RAS Extension Support
Oct 14 21:52:50 hamster kernel: CPU features: detected: Speculative Store Bypassing Safe (SSBS)
Oct 14 21:52:50 hamster kernel: alternatives: applying system-wide alternatives
Oct 14 21:52:50 hamster kernel: CPU features: detected: Hardware dirty bit management on CPU4-7
Oct 14 21:52:50 hamster kernel: Memory: 15952500K/16512256K available (25792K kernel code, 6804K rwdata, 24492K rodata, 17792K init, 1013K bss, 513960K reserved, 32768K cma-reserved)
Oct 14 21:52:50 hamster kernel: devtmpfs: initialized
Oct 14 21:52:50 hamster kernel: clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
Oct 14 21:52:50 hamster kernel: futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
Oct 14 21:52:50 hamster kernel: 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
Oct 14 21:52:50 hamster kernel: 0 pages in range for non-PLT usage
Oct 14 21:52:50 hamster kernel: 505248 pages in range for PLT usage
Oct 14 21:52:50 hamster kernel: pinctrl core: initialized pinctrl subsystem
Oct 14 21:52:50 hamster kernel: SMBIOS 3.3.0 present.
Oct 14 21:52:50 hamster kernel: DMI: FriendlyElec NanoPC CM3588-NAS/NanoPC CM3588-NAS, BIOS 7ae64341 09/25/2024
Oct 14 21:52:50 hamster kernel: DMI: Memory slots populated: 1/1
Oct 14 21:52:50 hamster kernel: NET: Registered PF_NETLINK/PF_ROUTE protocol family
Oct 14 21:52:50 hamster kernel: DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
Oct 14 21:52:50 hamster kernel: DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
Oct 14 21:52:50 hamster kernel: DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
Oct 14 21:52:50 hamster kernel: audit: initializing netlink subsys (disabled)
Oct 14 21:52:50 hamster kernel: audit: type=2000 audit(0.064:1): state=initialized audit_enabled=0 res=1
Oct 14 21:52:50 hamster kernel: thermal_sys: Registered thermal governor 'step_wise'
Oct 14 21:52:50 hamster kernel: thermal_sys: Registered thermal governor 'power_allocator'
Oct 14 21:52:50 hamster kernel: cpuidle: using governor ladder
Oct 14 21:52:50 hamster kernel: cpuidle: using governor menu
Oct 14 21:52:50 hamster kernel: hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
Oct 14 21:52:50 hamster kernel: ASID allocator initialised with 32768 entries
Oct 14 21:52:50 hamster kernel: Serial: AMBA PL011 UART driver
Oct 14 21:52:50 hamster kernel: platform a40c00000.pcie: Fixed dependency cycle(s) with /pcie@fe180000/legacy-interrupt-controller
Oct 14 21:52:50 hamster kernel: platform a41000000.pcie: Fixed dependency cycle(s) with /pcie@fe190000/legacy-interrupt-controller
Oct 14 21:52:50 hamster kernel: platform fc000000.usb: Fixed dependency cycle(s) with /phy@fed80000
Oct 14 21:52:50 hamster kernel: platform fed80000.phy: Fixed dependency cycle(s) with /i2c@fec80000/typec-portc@22/connector
Oct 14 21:52:50 hamster kernel: gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
Oct 14 21:52:50 hamster kernel: rockchip-gpio fd8a0000.gpio: probed /pinctrl/gpio@fd8a0000
Oct 14 21:52:50 hamster kernel: gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
Oct 14 21:52:50 hamster kernel: rockchip-gpio fec20000.gpio: probed /pinctrl/gpio@fec20000
Oct 14 21:52:50 hamster kernel: gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
Oct 14 21:52:50 hamster kernel: rockchip-gpio fec30000.gpio: probed /pinctrl/gpio@fec30000
Oct 14 21:52:50 hamster kernel: gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
Oct 14 21:52:50 hamster kernel: rockchip-gpio fec40000.gpio: probed /pinctrl/gpio@fec40000
Oct 14 21:52:50 hamster kernel: gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation.
Oct 14 21:52:50 hamster kernel: rockchip-gpio fec50000.gpio: probed /pinctrl/gpio@fec50000
Oct 14 21:52:50 hamster kernel: platform a40000000.pcie: Fixed dependency cycle(s) with /pcie@fe150000/legacy-interrupt-controller
Oct 14 21:52:50 hamster kernel: platform a40400000.pcie: Fixed dependency cycle(s) with /pcie@fe160000/legacy-interrupt-controller
Oct 14 21:52:50 hamster kernel: platform a40800000.pcie: Fixed dependency cycle(s) with /pcie@fe170000/legacy-interrupt-controller
Oct 14 21:52:50 hamster kernel: HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
Oct 14 21:52:50 hamster kernel: HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
Oct 14 21:52:50 hamster kernel: HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
Oct 14 21:52:50 hamster kernel: HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
Oct 14 21:52:50 hamster kernel: HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
Oct 14 21:52:50 hamster kernel: HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
Oct 14 21:52:50 hamster kernel: HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
Oct 14 21:52:50 hamster kernel: HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
Oct 14 21:52:50 hamster kernel: ACPI: Interpreter disabled.
Oct 14 21:52:50 hamster kernel: iommu: Default domain type: Translated
Oct 14 21:52:50 hamster kernel: iommu: DMA domain TLB invalidation policy: strict mode
Oct 14 21:52:50 hamster kernel: SCSI subsystem initialized
Oct 14 21:52:50 hamster kernel: libata version 3.00 loaded.
Oct 14 21:52:50 hamster kernel: usbcore: registered new interface driver usbfs
Oct 14 21:52:50 hamster kernel: usbcore: registered new interface driver hub
Oct 14 21:52:50 hamster kernel: usbcore: registered new device driver usb
Oct 14 21:52:50 hamster kernel: pps_core: LinuxPPS API ver. 1 registered
Oct 14 21:52:50 hamster kernel: pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
Oct 14 21:52:50 hamster kernel: PTP clock support registered
Oct 14 21:52:50 hamster kernel: EDAC MC: Ver: 3.0.0
Oct 14 21:52:50 hamster kernel: scmi_core: SCMI protocol bus registered
Oct 14 21:52:50 hamster kernel: efivars: Registered efivars operations
Oct 14 21:52:50 hamster kernel: FPGA manager framework
Oct 14 21:52:50 hamster kernel: Advanced Linux Sound Architecture Driver Initialized.
Oct 14 21:52:50 hamster kernel: vgaarb: loaded
Oct 14 21:52:50 hamster kernel: clocksource: Switched to clocksource arch_sys_counter
Oct 14 21:52:50 hamster kernel: VFS: Disk quotas dquot_6.6.0
Oct 14 21:52:50 hamster kernel: VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Oct 14 21:52:50 hamster kernel: netfs: FS-Cache loaded
Oct 14 21:52:50 hamster kernel: pnp: PnP ACPI: disabled
Oct 14 21:52:50 hamster kernel: NET: Registered PF_INET protocol family
Oct 14 21:52:50 hamster kernel: IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
Oct 14 21:52:50 hamster kernel: tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
Oct 14 21:52:50 hamster kernel: Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
Oct 14 21:52:50 hamster kernel: TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
Oct 14 21:52:50 hamster kernel: TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
Oct 14 21:52:50 hamster kernel: TCP: Hash tables configured (established 131072 bind 65536)
Oct 14 21:52:50 hamster kernel: MPTCP token hash table entries: 16384 (order: 6, 393216 bytes, linear)
Oct 14 21:52:50 hamster kernel: UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
Oct 14 21:52:50 hamster kernel: UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
Oct 14 21:52:50 hamster kernel: NET: Registered PF_UNIX/PF_LOCAL protocol family
Oct 14 21:52:50 hamster kernel: RPC: Registered named UNIX socket transport module.
Oct 14 21:52:50 hamster kernel: RPC: Registered udp transport module.
Oct 14 21:52:50 hamster kernel: RPC: Registered tcp transport module.
Oct 14 21:52:50 hamster kernel: RPC: Registered tcp-with-tls transport module.
Oct 14 21:52:50 hamster kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
Oct 14 21:52:50 hamster kernel: NET: Registered PF_XDP protocol family
Oct 14 21:52:50 hamster kernel: PCI: CLS 0 bytes, default 64
Oct 14 21:52:50 hamster kernel: Trying to unpack rootfs image as initramfs...
Oct 14 21:52:50 hamster kernel: kvm [1]: nv: 529 coarse grained trap handlers
Oct 14 21:52:50 hamster kernel: kvm [1]: IPA Size Limit: 40 bits
Oct 14 21:52:50 hamster kernel: kvm [1]: GICv3: no GICV resource entry
Oct 14 21:52:50 hamster kernel: kvm [1]: disabling GICv2 emulation
Oct 14 21:52:50 hamster kernel: kvm [1]: GIC system register CPU interface enabled
Oct 14 21:52:50 hamster kernel: kvm [1]: vgic interrupt IRQ18
Oct 14 21:52:50 hamster kernel: kvm [1]: VHE mode initialized successfully
Oct 14 21:52:50 hamster kernel: Initialise system trusted keyrings
Oct 14 21:52:50 hamster kernel: workingset: timestamp_bits=42 max_order=22 bucket_order=0
Oct 14 21:52:50 hamster kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Oct 14 21:52:50 hamster kernel: NFS: Registering the id_resolver key type
Oct 14 21:52:50 hamster kernel: Key type id_resolver registered
Oct 14 21:52:50 hamster kernel: Key type id_legacy registered
Oct 14 21:52:50 hamster kernel: nfs4filelayout_init: NFSv4 File Layout Driver Registering...
Oct 14 21:52:50 hamster kernel: nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
Oct 14 21:52:50 hamster kernel: 9p: Installing v9fs 9p2000 file system support
Oct 14 21:52:50 hamster kernel: Key type asymmetric registered
Oct 14 21:52:50 hamster kernel: Asymmetric key parser 'x509' registered
Oct 14 21:52:50 hamster kernel: Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
Oct 14 21:52:50 hamster kernel: io scheduler mq-deadline registered
Oct 14 21:52:50 hamster kernel: io scheduler kyber registered
Oct 14 21:52:50 hamster kernel: dma-pl330 fea10000.dma-controller: Loaded driver for PL330 DMAC-241330
Oct 14 21:52:50 hamster kernel: dma-pl330 fea10000.dma-controller:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
Oct 14 21:52:50 hamster kernel: dma-pl330 fea30000.dma-controller: Loaded driver for PL330 DMAC-241330
Oct 14 21:52:50 hamster kernel: dma-pl330 fea30000.dma-controller:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
Oct 14 21:52:50 hamster kernel: dma-pl330 fed10000.dma-controller: Loaded driver for PL330 DMAC-241330
Oct 14 21:52:50 hamster kernel: dma-pl330 fed10000.dma-controller:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
Oct 14 21:52:50 hamster kernel: Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
Oct 14 21:52:50 hamster kernel: feb50000.serial: ttyS2 at MMIO 0xfeb50000 (irq = 41, base_baud = 1500000) is a 16550A
Oct 14 21:52:50 hamster kernel: printk: legacy console [ttyS2] enabled
Oct 14 21:52:50 hamster kernel: feb90000.serial: ttyS0 at MMIO 0xfeb90000 (irq = 42, base_baud = 1500000) is a 16550A
Oct 14 21:52:50 hamster kernel: msm_serial: driver initialized
Oct 14 21:52:50 hamster kernel: SuperH (H)SCI(F) driver initialized
Oct 14 21:52:50 hamster kernel: STM32 USART driver initialized
Oct 14 21:52:50 hamster kernel: loop: module loaded
Oct 14 21:52:50 hamster kernel: megasas: 07.727.03.00-rc1
Oct 14 21:52:50 hamster kernel: rockchip-spi feb20000.spi: Runtime PM usage count underflow!
Oct 14 21:52:50 hamster kernel: spi spi2.0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/regulators/dcdc-reg7
Oct 14 21:52:50 hamster kernel: spi spi2.0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/dvs3-null-pins
Oct 14 21:52:50 hamster kernel: spi spi2.0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/dvs2-null-pins
Oct 14 21:52:50 hamster kernel: spi spi2.0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/dvs1-null-pins
Oct 14 21:52:50 hamster kernel: tun: Universal TUN/TAP device driver, 1.6
Oct 14 21:52:50 hamster kernel: thunder_xcv, ver 1.0
Oct 14 21:52:50 hamster kernel: thunder_bgx, ver 1.0
Oct 14 21:52:50 hamster kernel: nicpf, ver 1.0
Oct 14 21:52:50 hamster kernel: hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
Oct 14 21:52:50 hamster kernel: hns3: Copyright (c) 2017 Huawei Corporation.
Oct 14 21:52:50 hamster kernel: hclge is initializing
Oct 14 21:52:50 hamster kernel: e1000: Intel(R) PRO/1000 Network Driver
Oct 14 21:52:50 hamster kernel: e1000: Copyright (c) 1999-2006 Intel Corporation.
Oct 14 21:52:50 hamster kernel: e1000e: Intel(R) PRO/1000 Network Driver
Oct 14 21:52:50 hamster kernel: e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
Oct 14 21:52:50 hamster kernel: igb: Intel(R) Gigabit Ethernet Network Driver
Oct 14 21:52:50 hamster kernel: igb: Copyright (c) 2007-2014 Intel Corporation.
Oct 14 21:52:50 hamster kernel: igbvf: Intel(R) Gigabit Virtual Function Network Driver
Oct 14 21:52:50 hamster kernel: igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
Oct 14 21:52:50 hamster kernel: sky2: driver version 1.30
Oct 14 21:52:50 hamster kernel: Freeing initrd memory: 8896K
Oct 14 21:52:50 hamster kernel: usbcore: registered new interface driver usb-storage
Oct 14 21:52:50 hamster kernel: usbcore: registered new interface driver usbserial_generic
Oct 14 21:52:50 hamster kernel: usbserial: USB Serial support registered for generic
Oct 14 21:52:50 hamster kernel: rtc-efi rtc-efi.0: registered as rtc0
Oct 14 21:52:50 hamster kernel: rtc-efi rtc-efi.0: setting system clock to 2024-10-14T21:52:46 UTC (1728942766)
Oct 14 21:52:50 hamster kernel: i2c_dev: i2c /dev entries driver
Oct 14 21:52:50 hamster kernel: sdhci: Secure Digital Host Controller Interface driver
Oct 14 21:52:50 hamster kernel: sdhci: Copyright(c) Pierre Ossman
Oct 14 21:52:50 hamster kernel: Synopsys Designware Multimedia Card Interface Driver
Oct 14 21:52:50 hamster kernel: sdhci-pltfm: SDHCI platform and OF driver helper
Oct 14 21:52:50 hamster kernel: ledtrig-cpu: registered to indicate activity on CPUs
Oct 14 21:52:50 hamster kernel: [drm] Initialized simpledrm 1.0.0 for simple-framebuffer.0 on minor 0
Oct 14 21:52:50 hamster kernel: fbcon: Deferring console take-over
Oct 14 21:52:50 hamster kernel: simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
Oct 14 21:52:50 hamster kernel: scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16
Oct 14 21:52:50 hamster kernel: arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
Oct 14 21:52:50 hamster kernel: arm-scmi firmware:scmi: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0
Oct 14 21:52:50 hamster kernel: pstore: Using crash dump compression: deflate
Oct 14 21:52:50 hamster kernel: pstore: Registered efi_pstore as persistent store backend
Oct 14 21:52:50 hamster kernel: SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
Oct 14 21:52:50 hamster kernel: hid: raw HID events driver (C) Jiri Kosina
Oct 14 21:52:50 hamster kernel: usbcore: registered new interface driver usbhid
Oct 14 21:52:50 hamster kernel: usbhid: USB HID core driver
Oct 14 21:52:50 hamster kernel: hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 counters available
Oct 14 21:52:50 hamster kernel: hw perfevents: enabled with armv8_cortex_a76 PMU driver, 7 counters available
Oct 14 21:52:50 hamster kernel: optee: probing for conduit method.
Oct 14 21:52:50 hamster kernel: optee: revision 3.13 (62aa10b7)
Oct 14 21:52:50 hamster kernel: optee: dynamic shared memory is enabled
Oct 14 21:52:50 hamster kernel: optee: initialized driver
Oct 14 21:52:50 hamster kernel: drop_monitor: Initializing network drop monitor service
Oct 14 21:52:50 hamster kernel: NET: Registered PF_INET6 protocol family
Oct 14 21:52:50 hamster kernel: Segment Routing with IPv6
Oct 14 21:52:50 hamster kernel: In-situ OAM (IOAM) with IPv6
Oct 14 21:52:50 hamster kernel: NET: Registered PF_PACKET protocol family
Oct 14 21:52:50 hamster kernel: 9pnet: Installing 9P2000 support
Oct 14 21:52:50 hamster kernel: Key type dns_resolver registered
Oct 14 21:52:50 hamster kernel: registered taskstats version 1
Oct 14 21:52:50 hamster kernel: Loading compiled-in X.509 certificates
Oct 14 21:52:50 hamster kernel: Demotion targets for Node 0: null
Oct 14 21:52:50 hamster kernel: Key type .fscrypt registered
Oct 14 21:52:50 hamster kernel: Key type fscrypt-provisioning registered
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40c00000.pcie: host bridge /pcie@fe180000 ranges:
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40c00000.pcie:       IO 0x00f3100000..0x00f31fffff -> 0x00f3100000
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40c00000.pcie:      MEM 0x00f3200000..0x00f3ffffff -> 0x00f3200000
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40c00000.pcie:      MEM 0x09c0000000..0x09ffffffff -> 0x0040000000
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40c00000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40c00000.pcie: PCIe Gen.3 x1 link up
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40c00000.pcie: PCI host bridge to bus 0003:30
Oct 14 21:52:50 hamster kernel: pci_bus 0003:30: root bus resource [bus 30-3f]
Oct 14 21:52:50 hamster kernel: pci_bus 0003:30: root bus resource [io  0x0000-0xfffff] (bus address [0xf3100000-0xf31fffff])
Oct 14 21:52:50 hamster kernel: pci_bus 0003:30: root bus resource [mem 0xf3200000-0xf3ffffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0003:30: root bus resource [mem 0x9c0000000-0x9ffffffff] (bus address [0x40000000-0x7fffffff])
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0: [1d87:3588] type 01 class 0x060400 PCIe Root Port
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0: ROM [mem 0x00000000-0x0000ffff pref]
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0: PCI bridge to [bus 01-ff]
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0:   bridge window [io  0x0000-0x0fff]
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0:   bridge window [mem 0x00000000-0x000fffff]
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0: supports D1 D2
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0: PME# supported from D0 D1 D3hot
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0: Primary bus is hard wired to 0
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring
Oct 14 21:52:50 hamster kernel: pci 0003:31:00.0: [1d97:1602] type 00 class 0x010802 PCIe Endpoint
Oct 14 21:52:50 hamster kernel: pci 0003:31:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit]
Oct 14 21:52:50 hamster kernel: pci 0003:31:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x1 link at 0003:30:00.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)
Oct 14 21:52:50 hamster kernel: pci_bus 0003:31: busn_res: [bus 31-3f] end is updated to 31
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0: bridge window [mem 0xf3200000-0xf32fffff]: assigned
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0: ROM [mem 0xf3300000-0xf330ffff pref]: assigned
Oct 14 21:52:50 hamster kernel: pci 0003:31:00.0: BAR 0 [mem 0xf3200000-0xf3203fff 64bit]: assigned
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0: PCI bridge to [bus 31]
Oct 14 21:52:50 hamster kernel: pci 0003:30:00.0:   bridge window [mem 0xf3200000-0xf32fffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0003:30: resource 4 [io  0x0000-0xfffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0003:30: resource 5 [mem 0xf3200000-0xf3ffffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0003:30: resource 6 [mem 0x9c0000000-0x9ffffffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0003:31: resource 1 [mem 0xf3200000-0xf32fffff]
Oct 14 21:52:50 hamster kernel: pcieport 0003:30:00.0: PME: Signaling with IRQ 62
Oct 14 21:52:50 hamster kernel: pcieport 0003:30:00.0: AER: enabled with IRQ 63
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40000000.pcie: host bridge /pcie@fe150000 ranges:
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40000000.pcie:       IO 0x00f0100000..0x00f01fffff -> 0x00f0100000
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40000000.pcie:      MEM 0x00f0200000..0x00f0ffffff -> 0x00f0200000
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40000000.pcie:      MEM 0x0900000000..0x093fffffff -> 0x0040000000
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40000000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40000000.pcie: PCIe Gen.3 x1 link up
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40000000.pcie: PCI host bridge to bus 0000:00
Oct 14 21:52:50 hamster kernel: pci_bus 0000:00: root bus resource [bus 00-0f]
Oct 14 21:52:50 hamster kernel: pci_bus 0000:00: root bus resource [io  0x100000-0x1fffff] (bus address [0xf0100000-0xf01fffff])
Oct 14 21:52:50 hamster kernel: pci_bus 0000:00: root bus resource [mem 0xf0200000-0xf0ffffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0000:00: root bus resource [mem 0x900000000-0x93fffffff] (bus address [0x40000000-0x7fffffff])
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: [1d87:3588] type 01 class 0x060400 PCIe Root Port
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x3fffffff]
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: BAR 1 [mem 0x00000000-0x3fffffff]
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: ROM [mem 0x00000000-0x0000ffff pref]
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: PCI bridge to [bus 01-ff]
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: supports D1 D2
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: PME# supported from D0 D1 D3hot
Oct 14 21:52:50 hamster kernel: pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
Oct 14 21:52:50 hamster kernel: pci 0000:01:00.0: [1d97:1602] type 00 class 0x010802 PCIe Endpoint
Oct 14 21:52:50 hamster kernel: pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit]
Oct 14 21:52:50 hamster kernel: pci 0000:01:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x1 link at 0000:00:00.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: BAR 0 [mem 0x900000000-0x93fffffff]: assigned
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: BAR 1 [mem size 0x40000000]: can't assign; no space
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: BAR 1 [mem size 0x40000000]: failed to assign
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: bridge window [mem 0xf0200000-0xf02fffff]: assigned
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: ROM [mem 0xf0300000-0xf030ffff pref]: assigned
Oct 14 21:52:50 hamster kernel: pci 0000:01:00.0: BAR 0 [mem 0xf0200000-0xf0203fff 64bit]: assigned
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0: PCI bridge to [bus 01-ff]
Oct 14 21:52:50 hamster kernel: pci 0000:00:00.0:   bridge window [mem 0xf0200000-0xf02fffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
Oct 14 21:52:50 hamster kernel: pci_bus 0000:00: resource 4 [io  0x100000-0x1fffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0000:00: resource 5 [mem 0xf0200000-0xf0ffffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0000:00: resource 6 [mem 0x900000000-0x93fffffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0000:01: resource 1 [mem 0xf0200000-0xf02fffff]
Oct 14 21:52:50 hamster kernel: pcieport 0000:00:00.0: PME: Signaling with IRQ 74
Oct 14 21:52:50 hamster kernel: pcieport 0000:00:00.0: AER: enabled with IRQ 75
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40400000.pcie: host bridge /pcie@fe160000 ranges:
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40400000.pcie:       IO 0x00f1100000..0x00f11fffff -> 0x00f1100000
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40400000.pcie:      MEM 0x00f1200000..0x00f1ffffff -> 0x00f1200000
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40400000.pcie:      MEM 0x0940000000..0x097fffffff -> 0x0040000000
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40400000.pcie: PCIe Gen.3 x1 link up
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40400000.pcie: PCI host bridge to bus 0001:10
Oct 14 21:52:50 hamster kernel: pci_bus 0001:10: root bus resource [bus 10-1f]
Oct 14 21:52:50 hamster kernel: pci_bus 0001:10: root bus resource [io  0x200000-0x2fffff] (bus address [0xf1100000-0xf11fffff])
Oct 14 21:52:50 hamster kernel: pci_bus 0001:10: root bus resource [mem 0xf1200000-0xf1ffffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0001:10: root bus resource [mem 0x940000000-0x97fffffff] (bus address [0x40000000-0x7fffffff])
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0: [1d87:3588] type 01 class 0x060400 PCIe Root Port
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0: ROM [mem 0x00000000-0x0000ffff pref]
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0: PCI bridge to [bus 01-ff]
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0:   bridge window [io  0x0000-0x0fff]
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0:   bridge window [mem 0x00000000-0x000fffff]
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0: supports D1 D2
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0: PME# supported from D0 D1 D3hot
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0: Primary bus is hard wired to 0
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring
Oct 14 21:52:50 hamster kernel: pci 0001:11:00.0: [1d97:1602] type 00 class 0x010802 PCIe Endpoint
Oct 14 21:52:50 hamster kernel: pci 0001:11:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit]
Oct 14 21:52:50 hamster kernel: pci 0001:11:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x1 link at 0001:10:00.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)
Oct 14 21:52:50 hamster kernel: pci_bus 0001:11: busn_res: [bus 11-1f] end is updated to 11
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0: bridge window [mem 0xf1200000-0xf12fffff]: assigned
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0: ROM [mem 0xf1300000-0xf130ffff pref]: assigned
Oct 14 21:52:50 hamster kernel: pci 0001:11:00.0: BAR 0 [mem 0xf1200000-0xf1203fff 64bit]: assigned
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0: PCI bridge to [bus 11]
Oct 14 21:52:50 hamster kernel: pci 0001:10:00.0:   bridge window [mem 0xf1200000-0xf12fffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0001:10: resource 4 [io  0x200000-0x2fffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0001:10: resource 5 [mem 0xf1200000-0xf1ffffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0001:10: resource 6 [mem 0x940000000-0x97fffffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0001:11: resource 1 [mem 0xf1200000-0xf12fffff]
Oct 14 21:52:50 hamster kernel: pcieport 0001:10:00.0: PME: Signaling with IRQ 86
Oct 14 21:52:50 hamster kernel: pcieport 0001:10:00.0: AER: enabled with IRQ 87
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40800000.pcie: host bridge /pcie@fe170000 ranges:
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40800000.pcie:       IO 0x00f2100000..0x00f21fffff -> 0x00f2100000
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40800000.pcie:      MEM 0x00f2200000..0x00f2ffffff -> 0x00f2200000
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40800000.pcie:      MEM 0x0980000000..0x09bfffffff -> 0x0040000000
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40800000.pcie: PCIe Gen.3 x1 link up
Oct 14 21:52:50 hamster kernel: rockchip-dw-pcie a40800000.pcie: PCI host bridge to bus 0002:20
Oct 14 21:52:50 hamster kernel: pci_bus 0002:20: root bus resource [bus 20-2f]
Oct 14 21:52:50 hamster kernel: pci_bus 0002:20: root bus resource [io  0x300000-0x3fffff] (bus address [0xf2100000-0xf21fffff])
Oct 14 21:52:50 hamster kernel: pci_bus 0002:20: root bus resource [mem 0xf2200000-0xf2ffffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0002:20: root bus resource [mem 0x980000000-0x9bfffffff] (bus address [0x40000000-0x7fffffff])
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0: [1d87:3588] type 01 class 0x060400 PCIe Root Port
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0: ROM [mem 0x00000000-0x0000ffff pref]
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0: PCI bridge to [bus 01-ff]
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0:   bridge window [io  0x0000-0x0fff]
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0:   bridge window [mem 0x00000000-0x000fffff]
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0: supports D1 D2
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0: PME# supported from D0 D1 D3hot
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0: Primary bus is hard wired to 0
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring
Oct 14 21:52:50 hamster kernel: pci 0002:21:00.0: [1d97:1602] type 00 class 0x010802 PCIe Endpoint
Oct 14 21:52:50 hamster kernel: pci 0002:21:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit]
Oct 14 21:52:50 hamster kernel: pci 0002:21:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x1 link at 0002:20:00.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)
Oct 14 21:52:50 hamster kernel: pci_bus 0002:21: busn_res: [bus 21-2f] end is updated to 21
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0: bridge window [mem 0xf2200000-0xf22fffff]: assigned
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0: ROM [mem 0xf2300000-0xf230ffff pref]: assigned
Oct 14 21:52:50 hamster kernel: pci 0002:21:00.0: BAR 0 [mem 0xf2200000-0xf2203fff 64bit]: assigned
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0: PCI bridge to [bus 21]
Oct 14 21:52:50 hamster kernel: pci 0002:20:00.0:   bridge window [mem 0xf2200000-0xf22fffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0002:20: resource 4 [io  0x300000-0x3fffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0002:20: resource 5 [mem 0xf2200000-0xf2ffffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0002:20: resource 6 [mem 0x980000000-0x9bfffffff]
Oct 14 21:52:50 hamster kernel: pci_bus 0002:21: resource 1 [mem 0xf2200000-0xf22fffff]
Oct 14 21:52:50 hamster kernel: pcieport 0002:20:00.0: PME: Signaling with IRQ 98
Oct 14 21:52:50 hamster kernel: pcieport 0002:20:00.0: AER: enabled with IRQ 99
Oct 14 21:52:50 hamster kernel: rk808-regulator rk808-regulator.2.auto: there is no dvs0 gpio
Oct 14 21:52:50 hamster kernel: rk808-regulator rk808-regulator.2.auto: there is no dvs1 gpio
Oct 14 21:52:50 hamster kernel: vdd_2v0_pldo_s3: Bringing 2025000uV into 2000000-2000000uV
Oct 14 21:52:50 hamster kernel: vcc_3v3_s3: Bringing 3325000uV into 3300000-3300000uV
Oct 14 21:52:50 hamster kernel: vcc_1v8_s3: Bringing 1825000uV into 1800000-1800000uV
Oct 14 21:52:50 hamster kernel: ehci-platform fc800000.usb: EHCI Host Controller
Oct 14 21:52:50 hamster kernel: ehci-platform fc800000.usb: new USB bus registered, assigned bus number 1
Oct 14 21:52:50 hamster kernel: ehci-platform fc800000.usb: irq 117, io mem 0xfc800000
Oct 14 21:52:50 hamster kernel: ehci-platform fc880000.usb: EHCI Host Controller
Oct 14 21:52:50 hamster kernel: ehci-platform fc880000.usb: new USB bus registered, assigned bus number 2
Oct 14 21:52:50 hamster kernel: ehci-platform fc880000.usb: irq 118, io mem 0xfc880000
Oct 14 21:52:50 hamster kernel: ohci-platform fc840000.usb: Generic Platform OHCI controller
Oct 14 21:52:50 hamster kernel: ohci-platform fc840000.usb: new USB bus registered, assigned bus number 3
Oct 14 21:52:50 hamster kernel: ohci-platform fc840000.usb: irq 119, io mem 0xfc840000
Oct 14 21:52:50 hamster kernel: ohci-platform fc8c0000.usb: Generic Platform OHCI controller
Oct 14 21:52:50 hamster kernel: ohci-platform fc8c0000.usb: new USB bus registered, assigned bus number 4
Oct 14 21:52:50 hamster kernel: fan53555-regulator 2-0042: FAN53555 Option[10] Rev[1] Detected!
Oct 14 21:52:50 hamster kernel: ohci-platform fc8c0000.usb: irq 120, io mem 0xfc8c0000
Oct 14 21:52:50 hamster kernel: fan53555-regulator 0-0042: FAN53555 Option[10] Rev[1] Detected!
Oct 14 21:52:50 hamster kernel: fan53555-regulator 0-0043: FAN53555 Option[10] Rev[1] Detected!
Oct 14 21:52:50 hamster kernel: regulator-vcc-3v3-sd-s0 enforce active low on GPIO handle
Oct 14 21:52:50 hamster kernel: ehci-platform fc800000.usb: USB 2.0 started, EHCI 1.00
Oct 14 21:52:50 hamster kernel: dwmmc_rockchip fe2c0000.mmc: IDMAC supports 32-bit address mode.
Oct 14 21:52:50 hamster kernel: dwmmc_rockchip fe2c0000.mmc: Using internal DMA controller.
Oct 14 21:52:50 hamster kernel: dwmmc_rockchip fe2c0000.mmc: Version ID is 270a
Oct 14 21:52:50 hamster kernel: dwmmc_rockchip fe2c0000.mmc: DW MMC controller at irq 122,32 bit host data width,256 deep fifo
Oct 14 21:52:50 hamster kernel: hub 1-0:1.0: USB hub found
Oct 14 21:52:50 hamster kernel: hub 1-0:1.0: 1 port detected
Oct 14 21:52:50 hamster kernel: cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 816000 KHz, changing to: 1008000 KHz
Oct 14 21:52:50 hamster kernel: cpu cpu0: EM: created perf domain
Oct 14 21:52:50 hamster kernel: energy_model: Accessing cpu4 policy failed
Oct 14 21:52:50 hamster kernel: cpufreq: cpufreq_online: CPU4: Running at unlisted initial frequency: 816000 KHz, changing to: 1200000 KHz
Oct 14 21:52:50 hamster kernel: cpu cpu4: EM: created perf domain
Oct 14 21:52:50 hamster kernel: energy_model: Accessing cpu6 policy failed
Oct 14 21:52:50 hamster kernel: cpufreq: cpufreq_online: CPU6: Running at unlisted initial frequency: 816000 KHz, changing to: 1200000 KHz
Oct 14 21:52:50 hamster kernel: cpu cpu6: EM: created perf domain
Oct 14 21:52:50 hamster kernel: energy_model: updating cpu0 cpu_cap=397 old capacity=530
Oct 14 21:52:50 hamster kernel: input: gpio-keys as /devices/platform/gpio-keys/input/input0
Oct 14 21:52:50 hamster kernel: ehci-platform fc880000.usb: USB 2.0 started, EHCI 1.00
Oct 14 21:52:50 hamster kernel: hub 2-0:1.0: USB hub found
Oct 14 21:52:50 hamster kernel: hub 2-0:1.0: 1 port detected
Oct 14 21:52:50 hamster kernel: mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
Oct 14 21:52:50 hamster kernel: mmc0: SDHCI controller on fe2e0000.mmc [fe2e0000.mmc] using ADMA
Oct 14 21:52:50 hamster kernel: clk: Disabling unused clocks
Oct 14 21:52:50 hamster kernel: PM: genpd: Disabling unused power domains
Oct 14 21:52:50 hamster kernel: ALSA device list:
Oct 14 21:52:50 hamster kernel:   No soundcards found.
Oct 14 21:52:50 hamster kernel: dw-apb-uart feb50000.serial: forbid DMA for kernel console
Oct 14 21:52:50 hamster kernel: hub 4-0:1.0: USB hub found
Oct 14 21:52:50 hamster kernel: hub 4-0:1.0: 1 port detected
Oct 14 21:52:50 hamster kernel: hub 3-0:1.0: USB hub found
Oct 14 21:52:50 hamster kernel: hub 3-0:1.0: 1 port detected
Oct 14 21:52:50 hamster kernel: Freeing unused kernel memory: 17792K
Oct 14 21:52:50 hamster kernel: Run /init as init process
Oct 14 21:52:50 hamster kernel:   with arguments:
Oct 14 21:52:50 hamster kernel:     /init
Oct 14 21:52:50 hamster kernel:   with environment:
Oct 14 21:52:50 hamster kernel:     HOME=/
Oct 14 21:52:50 hamster kernel:     TERM=linux
Oct 14 21:52:50 hamster stage-1-init: [Mon Oct 14 21:52:47 UTC 2024] loading module dm_mod...
Oct 14 21:52:50 hamster kernel: device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: [email protected]
Oct 14 21:52:50 hamster stage-1-init: [Mon Oct 14 21:52:47 UTC 2024] running udev...
Oct 14 21:52:50 hamster kernel: mmc0: new HS400 Enhanced strobe MMC card at address 0001
Oct 14 21:52:50 hamster kernel: mmcblk0: mmc0:0001 A3A561 57.6 GiB
Oct 14 21:52:50 hamster kernel:  mmcblk0: p1 p2 p3
Oct 14 21:52:50 hamster kernel: mmcblk0boot0: mmc0:0001 A3A561 4.00 MiB
Oct 14 21:52:50 hamster kernel: mmcblk0boot1: mmc0:0001 A3A561 4.00 MiB
Oct 14 21:52:50 hamster kernel: mmcblk0rpmb: mmc0:0001 A3A561 16.0 MiB, chardev (234:0)
Oct 14 21:52:50 hamster stage-1-init: [Mon Oct 14 21:52:47 UTC 2024] Starting systemd-udevd version 256.4
Oct 14 21:52:50 hamster kernel: nvme nvme3: pci function 0002:21:00.0
Oct 14 21:52:50 hamster kernel: nvme nvme2: pci function 0001:11:00.0
Oct 14 21:52:50 hamster kernel: nvme 0002:21:00.0: enabling device (0000 -> 0002)
Oct 14 21:52:50 hamster kernel: nvme 0001:11:00.0: enabling device (0000 -> 0002)
Oct 14 21:52:50 hamster kernel: nvme nvme1: pci function 0003:31:00.0
Oct 14 21:52:50 hamster kernel: nvme 0003:31:00.0: enabling device (0000 -> 0002)
Oct 14 21:52:50 hamster kernel: nvme nvme0: pci function 0000:01:00.0
Oct 14 21:52:50 hamster kernel: nvme 0000:01:00.0: enabling device (0000 -> 0002)
Oct 14 21:52:50 hamster kernel: hwmon hwmon0: temp1_input not attached to any thermal zone
Oct 14 21:52:50 hamster kernel: hwmon hwmon0: temp2_input not attached to any thermal zone
Oct 14 21:52:50 hamster kernel: hwmon hwmon1: temp1_input not attached to any thermal zone
Oct 14 21:52:50 hamster kernel: hwmon hwmon2: temp1_input not attached to any thermal zone
Oct 14 21:52:50 hamster kernel: hwmon hwmon0: temp3_input not attached to any thermal zone
Oct 14 21:52:50 hamster kernel: hwmon hwmon1: temp2_input not attached to any thermal zone
Oct 14 21:52:50 hamster kernel: hwmon hwmon2: temp2_input not attached to any thermal zone
Oct 14 21:52:50 hamster kernel: hwmon hwmon1: temp3_input not attached to any thermal zone
Oct 14 21:52:50 hamster kernel: hwmon hwmon2: temp3_input not attached to any thermal zone
Oct 14 21:52:50 hamster kernel: hwmon hwmon3: temp1_input not attached to any thermal zone
Oct 14 21:52:50 hamster kernel: hwmon hwmon3: temp2_input not attached to any thermal zone
Oct 14 21:52:50 hamster kernel: hwmon hwmon3: temp3_input not attached to any thermal zone
Oct 14 21:52:50 hamster kernel: nvme nvme1: allocated 40 MiB host memory buffer.
Oct 14 21:52:50 hamster kernel: nvme nvme3: allocated 40 MiB host memory buffer.
Oct 14 21:52:50 hamster kernel: nvme nvme2: allocated 40 MiB host memory buffer.
Oct 14 21:52:50 hamster kernel: nvme nvme0: allocated 40 MiB host memory buffer.
Oct 14 21:52:50 hamster kernel: cma: cma_alloc: reserved: alloc failed, req-size: 16 pages, ret: -12
Oct 14 21:52:50 hamster kernel: fbcon: Taking over console
Oct 14 21:52:50 hamster kernel: cma: number of available pages: => 0 free of 8192 total pages
Oct 14 21:52:50 hamster kernel: cma: cma_alloc: reserved: alloc failed, req-size: 4 pages, ret: -12
Oct 14 21:52:50 hamster kernel: cma: cma_alloc: reserved: alloc failed, req-size: 16 pages, ret: -12
Oct 14 21:52:50 hamster kernel: cma: number of available pages: => 0 free of 8192 total pages
Oct 14 21:52:50 hamster kernel: cma: cma_alloc: reserved: alloc failed, req-size: 16 pages, ret: -12
Oct 14 21:52:50 hamster kernel: cma: number of available pages: => 0 free of 8192 total pages
Oct 14 21:52:50 hamster kernel: cma: number of available pages: => 0 free of 8192 total pages
Oct 14 21:52:50 hamster kernel: cma: cma_alloc: reserved: alloc failed, req-size: 16 pages, ret: -12
Oct 14 21:52:50 hamster kernel: cma: number of available pages: => 0 free of 8192 total pages
Oct 14 21:52:50 hamster kernel: cma: cma_alloc: reserved: alloc failed, req-size: 4 pages, ret: -12
Oct 14 21:52:50 hamster kernel: cma: number of available pages: => 0 free of 8192 total pages
Oct 14 21:52:50 hamster kernel: cma: cma_alloc: reserved: alloc failed, req-size: 4 pages, ret: -12
Oct 14 21:52:50 hamster kernel: cma: number of available pages: => 0 free of 8192 total pages
Oct 14 21:52:50 hamster kernel: cma: cma_alloc: reserved: alloc failed, req-size: 16 pages, ret: -12
Oct 14 21:52:50 hamster kernel: cma: cma_alloc: reserved: alloc failed, req-size: 16 pages, ret: -12
Oct 14 21:52:50 hamster kernel: cma: number of available pages: => 0 free of 8192 total pages
Oct 14 21:52:50 hamster kernel: cma: number of available pages: => 0 free of 8192 total pages
Oct 14 21:52:50 hamster kernel: cma: cma_alloc: reserved: alloc failed, req-size: 4 pages, ret: -12
Oct 14 21:52:50 hamster kernel: cma: number of available pages: => 0 free of 8192 total pages
Oct 14 21:52:50 hamster kernel: cma: number of available pages: => 0 free of 8192 total pages
Oct 14 21:52:50 hamster kernel: Console: switching to colour frame buffer device 240x67
Oct 14 21:52:50 hamster kernel: nvme nvme3: 8/0/0 default/read/poll queues
Oct 14 21:52:50 hamster kernel: nvme nvme1: 8/0/0 default/read/poll queues
Oct 14 21:52:50 hamster kernel: nvme nvme0: 8/0/0 default/read/poll queues
Oct 14 21:52:50 hamster kernel: nvme nvme2: 8/0/0 default/read/poll queues
Oct 14 21:52:50 hamster kernel:  nvme0n1: p1
Oct 14 21:52:50 hamster stage-1-init: [Mon Oct 14 21:52:47 UTC 2024] kbd_mode: KDSKBMODE: Inappropriate ioctl for device
Oct 14 21:52:50 hamster stage-1-init: [Mon Oct 14 21:52:47 UTC 2024] starting device mapper and LVM...
Oct 14 21:52:50 hamster stage-1-init: [Mon Oct 14 21:52:47 UTC 2024] File descriptor 8 (/dev/console) leaked on lvm invocation. Parent PID 1: /nix/store/pf7ih7qi57xmkzgl2ywkf722r96hikxx-extra-utils/bin/ash
Oct 14 21:52:50 hamster stage-1-init: [Mon Oct 14 21:52:48 UTC 2024] File descriptor 9 (/dev/console) leaked on lvm invocation. Parent PID 1: /nix/store/pf7ih7qi57xmkzgl2ywkf722r96hikxx-extra-utils/bin/ash
Oct 14 21:52:50 hamster stage-1-init: [Mon Oct 14 21:52:48 UTC 2024] checking /dev/disk/by-uuid/c78caa56-d4ea-4c3d-878b-2fdc99ac1414...
Oct 14 21:52:50 hamster stage-1-init: [Mon Oct 14 21:52:48 UTC 2024] fsck (busybox 1.36.1)
Oct 14 21:52:50 hamster stage-1-init: [Mon Oct 14 21:52:48 UTC 2024] [fsck.ext4 (1) -- /mnt-root/] fsck.ext4 -a /dev/disk/by-uuid/c78caa56-d4ea-4c3d-878b-2fdc99ac1414
Oct 14 21:52:50 hamster stage-1-init: [Mon Oct 14 21:52:48 UTC 2024] NIXROOT: clean, 183305/3751936 files, 1215022/14978816 blocks
Oct 14 21:52:50 hamster stage-1-init: [Mon Oct 14 21:52:48 UTC 2024] mounting /dev/disk/by-uuid/c78caa56-d4ea-4c3d-878b-2fdc99ac1414 on /...
Oct 14 21:52:50 hamster kernel: EXT4-fs (mmcblk0p3): mounted filesystem c78caa56-d4ea-4c3d-878b-2fdc99ac1414 r/w with ordered data mode. Quota mode: none.
Oct 14 21:52:50 hamster kernel: EXT4-fs (mmcblk0p3): re-mounted c78caa56-d4ea-4c3d-878b-2fdc99ac1414 r/w. Quota mode: none.
Oct 14 21:52:50 hamster kernel: EXT4-fs (mmcblk0p3): re-mounted c78caa56-d4ea-4c3d-878b-2fdc99ac1414 r/w. Quota mode: none.
Oct 14 21:52:50 hamster unknown: booting system configuration /nix/store/k53qfcxcr9dbmnhxafvfgfgr3c2b80ap-nixos-system-hamster-24.11.20241006.c31898a
Oct 14 21:52:50 hamster stage-2-init: running activation script...
Oct 14 21:52:50 hamster stage-2-init: setting up /etc...
Oct 14 21:52:50 hamster systemd[1]: systemd 256.4 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -XKBCOMMON +UTMP -SYSVINIT +LIBARCHIVE)
Oct 14 21:52:50 hamster systemd[1]: Detected architecture arm64.
Oct 14 21:52:50 hamster systemd[1]: Hostname set to <hamster>.
Oct 14 21:52:50 hamster systemd[1]: bpf-restrict-fs: LSM BPF program attached
Oct 14 21:52:50 hamster systemd[1]: Queued start job for default target Multi-User System.
Oct 14 21:52:50 hamster systemd[1]: Created slice Slice /system/getty.
Oct 14 21:52:50 hamster systemd[1]: Created slice Slice /system/modprobe.
Oct 14 21:52:50 hamster systemd[1]: Created slice Slice /system/serial-getty.
Oct 14 21:52:50 hamster systemd[1]: Created slice Slice /system/systemd-fsck.
Oct 14 21:52:50 hamster systemd[1]: Created slice User and Session Slice.
Oct 14 21:52:50 hamster systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
Oct 14 21:52:50 hamster systemd[1]: Started Forward Password Requests to Wall Directory Watch.
Oct 14 21:52:50 hamster systemd[1]: Expecting device /dev/disk/by-uuid/C602-70A5...
Oct 14 21:52:50 hamster systemd[1]: Expecting device /dev/ttyS2...
Oct 14 21:52:50 hamster systemd[1]: Reached target Local Encrypted Volumes.
Oct 14 21:52:50 hamster systemd[1]: Reached target Containers.
Oct 14 21:52:50 hamster systemd[1]: Reached target Path Units.
Oct 14 21:52:50 hamster systemd[1]: Reached target Remote File Systems.
Oct 14 21:52:50 hamster systemd[1]: Reached target Slice Units.
Oct 14 21:52:50 hamster systemd[1]: Reached target Swaps.
Oct 14 21:52:50 hamster systemd[1]: Listening on Process Core Dump Socket.
Oct 14 21:52:50 hamster systemd[1]: Listening on Credential Encryption/Decryption.
Oct 14 21:52:50 hamster systemd[1]: Listening on Journal Socket (/dev/log).
Oct 14 21:52:50 hamster systemd[1]: Listening on Journal Sockets.
Oct 14 21:52:50 hamster systemd[1]: Listening on Network Service Netlink Socket.
Oct 14 21:52:50 hamster systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket.
Oct 14 21:52:50 hamster systemd[1]: Make TPM PCR Policy was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
Oct 14 21:52:50 hamster systemd[1]: Listening on udev Control Socket.
Oct 14 21:52:50 hamster systemd[1]: Listening on udev Kernel Socket.
Oct 14 21:52:50 hamster systemd[1]: Mounting Huge Pages File System...
Oct 14 21:52:50 hamster systemd[1]: Mounting POSIX Message Queue File System...
Oct 14 21:52:50 hamster systemd[1]: Mounting Kernel Debug File System...
Oct 14 21:52:50 hamster systemd[1]: Starting Create List of Static Device Nodes...
Oct 14 21:52:50 hamster systemd[1]: Starting Load Kernel Module configfs...
Oct 14 21:52:50 hamster systemd[1]: Starting Load Kernel Module drm...
Oct 14 21:52:50 hamster systemd[1]: Starting Load Kernel Module efi_pstore...
Oct 14 21:52:50 hamster systemd[1]: Starting Load Kernel Module fuse...
Oct 14 21:52:50 hamster systemd[1]: Starting mount-pstore.service...
Oct 14 21:52:50 hamster systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
Oct 14 21:52:50 hamster systemd[1]: Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
Oct 14 21:52:50 hamster systemd[1]: Starting Journal Service...
Oct 14 21:52:50 hamster kernel: fuse: init (API version 7.40)
Oct 14 21:52:50 hamster systemd[1]: Starting Load Kernel Modules...
Oct 14 21:52:50 hamster systemd[1]: Starting Remount Root and Kernel File Systems...
Oct 14 21:52:50 hamster systemd[1]: Early TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
Oct 14 21:52:50 hamster systemd[1]: Starting Coldplug All udev Devices...
Oct 14 21:52:50 hamster kernel: bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Oct 14 21:52:50 hamster systemd-journald[481]: Collecting audit messages is disabled.
Oct 14 21:52:50 hamster systemd[1]: Mounted Huge Pages File System.
Oct 14 21:52:50 hamster systemd[1]: Mounted POSIX Message Queue File System.
Oct 14 21:52:50 hamster systemd[1]: Mounted Kernel Debug File System.
Oct 14 21:52:50 hamster systemd[1]: Finished Create List of Static Device Nodes.
Oct 14 21:52:50 hamster kernel: EXT4-fs (mmcblk0p3): re-mounted c78caa56-d4ea-4c3d-878b-2fdc99ac1414 r/w. Quota mode: none.
Oct 14 21:52:50 hamster systemd[1]: [email protected]: Deactivated successfully.
Oct 14 21:52:50 hamster systemd[1]: Finished Load Kernel Module configfs.
Oct 14 21:52:50 hamster systemd-journald[481]: Journal started
Oct 14 21:52:50 hamster systemd-journald[481]: Runtime Journal (/run/log/journal/9e83112939134b138a663e9635b3adf4) is 8M, max 391.2M, 383.2M free.
Oct 14 21:52:50 hamster systemd-modules-load[482]: Inserted module 'bridge'
Oct 14 21:52:50 hamster systemd-modules-load[482]: Inserted module 'macvlan'
Oct 14 21:52:50 hamster systemd-modules-load[482]: Inserted module 'tap'
Oct 14 21:52:50 hamster systemd-modules-load[482]: Module 'tun' is built in
Oct 14 21:52:50 hamster systemd-modules-load[482]: Inserted module 'cpufreq_powersave'
Oct 14 21:52:50 hamster systemd-modules-load[482]: Module 'loop' is built in
Oct 14 21:52:50 hamster systemd-modules-load[482]: Module 'atkbd' is built in
Oct 14 21:52:50 hamster systemd[1]: Started Journal Service.
Oct 14 21:52:50 hamster systemd[1]: [email protected]: Deactivated successfully.
Oct 14 21:52:50 hamster systemd[1]: Finished Load Kernel Module drm.
Oct 14 21:52:50 hamster systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
Oct 14 21:52:50 hamster systemd[1]: Finished Load Kernel Module efi_pstore.
Oct 14 21:52:50 hamster systemd[1]: [email protected]: Deactivated successfully.
Oct 14 21:52:50 hamster systemd[1]: Finished Load Kernel Module fuse.
Oct 14 21:52:50 hamster systemd[1]: Finished Load Kernel Modules.
Oct 14 21:52:50 hamster systemd[1]: Finished Remount Root and Kernel File Systems.
Oct 14 21:52:50 hamster systemd[1]: Mounting FUSE Control File System...
Oct 14 21:52:50 hamster systemd[1]: Mounting Kernel Configuration File System...
Oct 14 21:52:50 hamster systemd[1]: Starting Flush Journal to Persistent Storage...
Oct 14 21:52:50 hamster systemd[1]: Starting Load/Save OS Random Seed...
Oct 14 21:52:50 hamster systemd[1]: Starting Apply Kernel Variables...
Oct 14 21:52:50 hamster systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
Oct 14 21:52:50 hamster systemd-journald[481]: Time spent on flushing to /var/log/journal/9e83112939134b138a663e9635b3adf4 is 10.591ms for 717 entries.
Oct 14 21:52:50 hamster systemd-journald[481]: System Journal (/var/log/journal/9e83112939134b138a663e9635b3adf4) is 8M, max 4G, 3.9G free.
Oct 14 21:52:50 hamster systemd-journald[481]: Received client request to flush runtime journal.
Oct 14 21:52:50 hamster systemd[1]: TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
Oct 14 21:52:50 hamster systemd[1]: Finished mount-pstore.service.
Oct 14 21:52:50 hamster systemd[1]: Mounted FUSE Control File System.
Oct 14 21:52:50 hamster systemd[1]: Mounted Kernel Configuration File System.
Oct 14 21:52:50 hamster systemd[1]: Finished Coldplug All udev Devices.
Oct 14 21:52:50 hamster systemd[1]: Finished Flush Journal to Persistent Storage.
Oct 14 21:52:50 hamster systemd[1]: Finished Load/Save OS Random Seed.
Oct 14 21:52:50 hamster systemd[1]: Finished Apply Kernel Variables.
Oct 14 21:52:50 hamster systemd[1]: Finished Create Static Device Nodes in /dev gracefully.
Oct 14 21:52:50 hamster systemd[1]: First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes).
Oct 14 21:52:50 hamster systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
Oct 14 21:52:50 hamster systemd[1]: Starting Create Static Device Nodes in /dev...
Oct 14 21:52:50 hamster systemd[1]: Finished Create Static Device Nodes in /dev.
Oct 14 21:52:50 hamster systemd[1]: Reached target Preparation for Local File Systems.
Oct 14 21:52:50 hamster systemd[1]: Starting Rule-based Manager for Device Events and Files...
Oct 14 21:52:50 hamster systemd-udevd[530]: Using default interface naming scheme 'v255'.
Oct 14 21:52:50 hamster systemd[1]: Started Rule-based Manager for Device Events and Files.
Oct 14 21:52:50 hamster systemd[1]: Starting Network Configuration...
Oct 14 21:52:50 hamster systemd[1]: Found device /dev/ttyS2.
Oct 14 21:52:50 hamster systemd[1]: Found device /dev/disk/by-uuid/C602-70A5.
Oct 14 21:52:50 hamster systemd[1]: Starting File System Check on /dev/disk/by-uuid/C602-70A5...
Oct 14 21:52:50 hamster kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database
Oct 14 21:52:50 hamster kernel: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Oct 14 21:52:50 hamster kernel: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
Oct 14 21:52:50 hamster systemd-networkd[560]: /etc/systemd/network/enP4p65s0.network:6: Address '192.168.1.145' is specified without prefix length. Assuming the prefix length is 32. Please specify the prefix length explicitly.
Oct 14 21:52:50 hamster systemd-networkd[560]: lo: Link UP
Oct 14 21:52:50 hamster systemd-networkd[560]: lo: Gained carrier
Oct 14 21:52:50 hamster systemd-networkd[560]: Enumeration completed
Oct 14 21:52:50 hamster systemd[1]: Started Network Configuration.
Oct 14 21:52:50 hamster systemd[1]: Starting Enable Persistent Storage in systemd-networkd...
Oct 14 21:52:50 hamster systemd[1]: Starting Wait for Network to be Configured...
Oct 14 21:52:50 hamster systemd[1]: Finished Enable Persistent Storage in systemd-networkd.
Oct 14 21:52:50 hamster systemd-fsck[574]: fsck.fat 4.2 (2021-01-31)
Oct 14 21:52:50 hamster systemd-fsck[574]: /dev/mmcblk0p2: 18 files, 21093/122380 clusters
Oct 14 21:52:50 hamster systemd[1]: Finished File System Check on /dev/disk/by-uuid/C602-70A5.
Oct 14 21:52:50 hamster kernel: rockchip-drm display-subsystem: [drm:rockchip_drm_platform_probe [rockchipdrm]] *ERROR* No available vop found for display-subsystem.
Oct 14 21:52:51 hamster kernel: mc: Linux media interface: v0.10
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: [drm] clock rate = 198000000
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: EM: OPP:900000 is inefficient
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: EM: OPP:800000 is inefficient
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: EM: OPP:700000 is inefficient
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: EM: OPP:600000 is inefficient
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: EM: OPP:500000 is inefficient
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: EM: OPP:400000 is inefficient
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: EM: OPP:300000 is inefficient
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: EM: created perf domain
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: [drm] mali-g610 id 0xa867 major 0x0 minor 0x0 status 0x5
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: [drm] Features: L2:0x7120306 Tiler:0x809 Mem:0x301 MMU:0x2830 AS:0xff
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: [drm] shader_present=0x50005 l2_present=0x1 tiler_present=0x1
Oct 14 21:52:51 hamster kernel: videodev: Linux video capture interface: v2.00
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: [drm] Firmware protected mode entry not be supported, ignoring
Oct 14 21:52:51 hamster kernel: panthor fb000000.gpu: [drm] CSF FW v1.1.0, Features 0x0 Instrumentation features 0x71
Oct 14 21:52:51 hamster kernel: [drm] Initialized panthor 1.0.0 for fb000000.gpu on minor 1
Oct 14 21:52:51 hamster kernel: rockchip-thermal fec00000.tsadc: Missing rockchip,grf property
Oct 14 21:52:51 hamster kernel: rockchip-dw-pcie a41000000.pcie: host bridge /pcie@fe190000 ranges:
Oct 14 21:52:51 hamster kernel: rockchip-dw-pcie a41000000.pcie:       IO 0x00f4100000..0x00f41fffff -> 0x00f4100000
Oct 14 21:52:51 hamster kernel: rockchip-dw-pcie a41000000.pcie:      MEM 0x00f4200000..0x00f4ffffff -> 0x00f4200000
Oct 14 21:52:51 hamster kernel: rockchip-dw-pcie a41000000.pcie:      MEM 0x0a00000000..0x0a3fffffff -> 0x0040000000
Oct 14 21:52:51 hamster kernel: rockchip-dw-pcie a41000000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
Oct 14 21:52:51 hamster kernel: input: pwm-beeper as /devices/platform/pwm-beeper/input/input2
Oct 14 21:52:51 hamster kernel: Registered IR keymap rc-empty
Oct 14 21:52:51 hamster kernel: hantro-vpu fdc70000.video-codec: registered rockchip,rk3588-av1-vpu-dec as /dev/video0
Oct 14 21:52:51 hamster kernel: input: rk805 pwrkey as /devices/platform/feb20000.spi/spi_master/spi2/spi2.0/rk805-pwrkey.3.auto/input/input1
Oct 14 21:52:51 hamster kernel: rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
Oct 14 21:52:51 hamster kernel: rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
Oct 14 21:52:51 hamster kernel: input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input3
Oct 14 21:52:51 hamster kernel: rtc-hym8563 6-0051: registered as rtc1
Oct 14 21:52:51 hamster systemd[1]: Mounting /boot...
Oct 14 21:52:51 hamster systemd[1]: Mounting /run/wrappers...
Oct 14 21:52:51 hamster systemd[1]: Mounted /run/wrappers.
Oct 14 21:52:51 hamster systemd[1]: Mounted /boot.
Oct 14 21:52:51 hamster systemd[1]: Reached target Local File Systems.
Oct 14 21:52:51 hamster systemd[1]: Listening on Boot Entries Service Socket.
Oct 14 21:52:51 hamster systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Oct 14 21:52:51 hamster systemd[1]: Starting Create SUID/SGID Wrappers...
Oct 14 21:52:51 hamster systemd[1]: Starting Update Boot Loader Random Seed...
Oct 14 21:52:51 hamster systemd[1]: Starting Create System Files and Directories...
Oct 14 21:52:51 hamster systemd[1]: Starting Virtual Console Setup...
Oct 14 21:52:51 hamster kernel: rockchip-dw-pcie a41000000.pcie: PCIe Gen.2 x1 link up
Oct 14 21:52:51 hamster kernel: rockchip-dw-pcie a41000000.pcie: PCI host bridge to bus 0004:40
Oct 14 21:52:51 hamster kernel: pci_bus 0004:40: root bus resource [bus 40-4f]
Oct 14 21:52:51 hamster kernel: pci_bus 0004:40: root bus resource [io  0x400000-0x4fffff] (bus address [0xf4100000-0xf41fffff])
Oct 14 21:52:51 hamster kernel: pci_bus 0004:40: root bus resource [mem 0xf4200000-0xf4ffffff]
Oct 14 21:52:51 hamster kernel: pci_bus 0004:40: root bus resource [mem 0xa00000000-0xa3fffffff] (bus address [0x40000000-0x7fffffff])
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0: [1d87:3588] type 01 class 0x060400 PCIe Root Port
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0: ROM [mem 0x00000000-0x0000ffff pref]
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0: PCI bridge to [bus 01-ff]
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0:   bridge window [io  0x0000-0x0fff]
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0:   bridge window [mem 0x00000000-0x000fffff]
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0: supports D1 D2
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0: PME# supported from D0 D1 D3hot
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0: Primary bus is hard wired to 0
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring
Oct 14 21:52:51 hamster kernel: pci 0004:41:00.0: [10ec:8125] type 00 class 0x020000 PCIe Endpoint
Oct 14 21:52:51 hamster kernel: pci 0004:41:00.0: BAR 0 [io  0x0000-0x00ff]
Oct 14 21:52:51 hamster kernel: pci 0004:41:00.0: BAR 2 [mem 0x00000000-0x0000ffff 64bit]
Oct 14 21:52:51 hamster kernel: pci 0004:41:00.0: BAR 4 [mem 0x00000000-0x00003fff 64bit]
Oct 14 21:52:51 hamster kernel: pci 0004:41:00.0: supports D1 D2
Oct 14 21:52:51 hamster kernel: pci 0004:41:00.0: PME# supported from D0 D1 D2 D3hot D3cold
Oct 14 21:52:51 hamster systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.
Oct 14 21:52:51 hamster systemd[1]: Stopped Virtual Console Setup.
Oct 14 21:52:51 hamster kernel: pci_bus 0004:41: busn_res: [bus 41-4f] end is updated to 41
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0: bridge window [mem 0xf4200000-0xf42fffff]: assigned
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0: ROM [mem 0xf4300000-0xf430ffff pref]: assigned
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0: bridge window [io  0x400000-0x400fff]: assigned
Oct 14 21:52:51 hamster kernel: pci 0004:41:00.0: BAR 2 [mem 0xf4200000-0xf420ffff 64bit]: assigned
Oct 14 21:52:51 hamster kernel: pci 0004:41:00.0: BAR 4 [mem 0xf4210000-0xf4213fff 64bit]: assigned
Oct 14 21:52:51 hamster kernel: pci 0004:41:00.0: BAR 0 [io  0x400000-0x4000ff]: assigned
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0: PCI bridge to [bus 41]
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0:   bridge window [io  0x400000-0x400fff]
Oct 14 21:52:51 hamster kernel: pci 0004:40:00.0:   bridge window [mem 0xf4200000-0xf42fffff]
Oct 14 21:52:51 hamster kernel: pci_bus 0004:40: resource 4 [io  0x400000-0x4fffff]
Oct 14 21:52:51 hamster kernel: pci_bus 0004:40: resource 5 [mem 0xf4200000-0xf4ffffff]
Oct 14 21:52:51 hamster kernel: pci_bus 0004:40: resource 6 [mem 0xa00000000-0xa3fffffff]
Oct 14 21:52:51 hamster kernel: pci_bus 0004:41: resource 0 [io  0x400000-0x400fff]
Oct 14 21:52:51 hamster kernel: pci_bus 0004:41: resource 1 [mem 0xf4200000-0xf42fffff]
Oct 14 21:52:51 hamster kernel: pcieport 0004:40:00.0: PME: Signaling with IRQ 179
Oct 14 21:52:51 hamster kernel: pcieport 0004:40:00.0: AER: enabled with IRQ 180
Oct 14 21:52:51 hamster kernel: r8169 0004:41:00.0: enabling device (0000 -> 0003)
Oct 14 21:52:51 hamster systemd[1]: Starting Virtual Console Setup...
Oct 14 21:52:51 hamster bootctl[602]: ! Mount point '/boot' which backs the random seed file is world accessible, which is a security hole! !
Oct 14 21:52:51 hamster bootctl[602]: ! Random seed file '/boot/loader/random-seed' is world accessible, which is a security hole! !
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 5
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.4.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.4.auto: irq 182, io mem 0xfcd00000
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 6
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0 SuperSpeed
Oct 14 21:52:51 hamster kernel: hub 5-0:1.0: USB hub found
Oct 14 21:52:51 hamster kernel: hub 5-0:1.0: 1 port detected
Oct 14 21:52:51 hamster kernel: usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
Oct 14 21:52:51 hamster kernel: hub 6-0:1.0: USB hub found
Oct 14 21:52:51 hamster kernel: hub 6-0:1.0: 1 port detected
Oct 14 21:52:51 hamster kernel: r8169 0004:41:00.0: can't read MAC address, setting random one
Oct 14 21:52:51 hamster kernel: r8169 0004:41:00.0 eth0: RTL8125B, ee:cc:c5:c1:93:41, XID 641, IRQ 183
Oct 14 21:52:51 hamster kernel: r8169 0004:41:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
Oct 14 21:52:51 hamster bootctl[602]: Random seed file /boot/loader/random-seed successfully refreshed (32 bytes).
Oct 14 21:52:51 hamster bootctl[602]: Successfully initialized system token in EFI variable with 32 bytes.
Oct 14 21:52:51 hamster systemd[1]: Finished Update Boot Loader Random Seed.
Oct 14 21:52:51 hamster systemd[1]: Finished Create System Files and Directories.
Oct 14 21:52:51 hamster systemd[1]: Starting Rebuild Journal Catalog...
Oct 14 21:52:51 hamster systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer...
Oct 14 21:52:51 hamster systemd-networkd[560]: eth0: Interface name change detected, renamed to enP4p65s0.
Oct 14 21:52:51 hamster kernel: r8169 0004:41:00.0 enP4p65s0: renamed from eth0
Oct 14 21:52:51 hamster systemd[1]: Starting Network Name Resolution...
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 7
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.5.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.5.auto: irq 184, io mem 0xfc400000
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 8
Oct 14 21:52:51 hamster kernel: xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
Oct 14 21:52:51 hamster kernel: hub 7-0:1.0: USB hub found
Oct 14 21:52:51 hamster kernel: hub 7-0:1.0: 1 port detected
Oct 14 21:52:51 hamster kernel: usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
Oct 14 21:52:51 hamster kernel: hub 8-0:1.0: USB hub found
Oct 14 21:52:51 hamster kernel: hub 8-0:1.0: 1 port detected
Oct 14 21:52:51 hamster systemd[1]: Starting Network Time Synchronization...
Oct 14 21:52:51 hamster systemd[1]: Starting Record System Boot/Shutdown in UTMP...
Oct 14 21:52:51 hamster kernel: input: adc-key-recovery as /devices/platform/adc-key-recovery/input/input4
Oct 14 21:52:51 hamster kernel: input: realtek,rt5616-codec Headphones as /devices/platform/analog-sound/sound/card0/input5
Oct 14 21:52:51 hamster systemd-networkd[560]: enP4p65s0: Configuring with /etc/systemd/network/enP4p65s0.network.
Oct 14 21:52:51 hamster systemd[1]: Reached target Sound Card.
Oct 14 21:52:51 hamster systemd[1]: Finished Record System Boot/Shutdown in UTMP.
Oct 14 21:52:51 hamster systemd[1]: Finished Rebuild Journal Catalog.
Oct 14 21:52:51 hamster systemd[1]: Starting Update is Completed...
Oct 14 21:52:51 hamster systemd-oomd[632]: No swap; memory pressure usage will be degraded
Oct 14 21:52:51 hamster systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer.
Oct 14 21:52:51 hamster kernel: RTL8226B_RTL8221B 2.5Gbps PHY r8169-4-4100:00: attached PHY driver (mii_bus:phy_addr=r8169-4-4100:00, irq=MAC)
Oct 14 21:52:51 hamster systemd[1]: Finished Update is Completed.
Oct 14 21:52:51 hamster systemd[1]: Finished Virtual Console Setup.
Oct 14 21:52:51 hamster systemd-resolved[634]: Positive Trust Anchors:
Oct 14 21:52:51 hamster systemd-resolved[634]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
Oct 14 21:52:51 hamster systemd-resolved[634]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 170.0.0.192.in-addr.arpa 171.0.0.192.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa ipv4only.arpa resolver.arpa corp home internal intranet lan local private test
Oct 14 21:52:51 hamster systemd-timesyncd[665]: Disabling NSCD because DNSSEC validation is turned off
Oct 14 21:52:51 hamster systemd[1]: Started Network Time Synchronization.
Oct 14 21:52:51 hamster systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.
Oct 14 21:52:51 hamster systemd[1]: Finished Create SUID/SGID Wrappers.
Oct 14 21:52:51 hamster systemd-resolved[634]: Using system hostname 'hamster'.
Oct 14 21:52:51 hamster systemd-networkd[560]: enP4p65s0: Link UP
Oct 14 21:52:51 hamster kernel: r8169 0004:41:00.0 enP4p65s0: Link is Down
Oct 14 21:52:51 hamster systemd[1]: Started Network Name Resolution.
Oct 14 21:52:51 hamster systemd[1]: Reached target System Initialization.
Oct 14 21:52:51 hamster systemd[1]: Started Discard unused filesystem blocks once a week.
Oct 14 21:52:51 hamster systemd[1]: Started logrotate.timer.
Oct 14 21:52:51 hamster systemd[1]: Started Daily Cleanup of Temporary Directories.
Oct 14 21:52:51 hamster systemd[1]: Reached target Timer Units.
Oct 14 21:52:51 hamster systemd[1]: Listening on D-Bus System Message Bus Socket.
Oct 14 21:52:51 hamster systemd[1]: Listening on Nix Daemon Socket.
Oct 14 21:52:51 hamster systemd[1]: Listening on Hostname Service Socket.
Oct 14 21:52:51 hamster systemd[1]: Reached target Socket Units.
Oct 14 21:52:51 hamster systemd[1]: Reached target Basic System.
Oct 14 21:52:51 hamster systemd[1]: Starting Kernel Auditing...
Oct 14 21:52:51 hamster systemd[1]: Starting CPU Frequency Setup...
Oct 14 21:52:51 hamster systemd[1]: Starting Home Manager environment for j...
Oct 14 21:52:51 hamster systemd[1]: Starting Logrotate configuration check...
Oct 14 21:52:51 hamster systemd[1]: Starting Extra networking commands....
Oct 14 21:52:51 hamster z0kmvz15s3mbx3ydd8pmhvpy5b3x66k1-audit-disable[708]: No rules
Oct 14 21:52:51 hamster systemd[1]: Starting Name Service Cache Daemon (nsncd)...
Oct 14 21:52:51 hamster logrotate[706]: warning: logrotate in debug mode does nothing except printing debug messages!  Consider using verbose mode (-v) instead if this is not what you want.
Oct 14 21:52:51 hamster logrotate[706]: reading config file /nix/store/2hhvd0vnd6xgs70swrmlrxk11rx6af7i-logrotate.conf
Oct 14 21:52:51 hamster logrotate[706]: note: 'monthly' overrides previously specified 'weekly'
Oct 14 21:52:51 hamster logrotate[706]: Reading state from file: /var/lib/logrotate.status
Oct 14 21:52:51 hamster logrotate[706]: state file /var/lib/logrotate.status does not exist
Oct 14 21:52:51 hamster logrotate[706]: Allocating hash table for state file, size 64 entries
Oct 14 21:52:51 hamster logrotate[706]: Handling 2 logs
Oct 14 21:52:51 hamster logrotate[706]: rotating pattern: "/var/log/btmp" monthly empty log files are not rotated, only log files >= 1048576 bytes are rotated, (1 rotations), old logs are removed
Oct 14 21:52:51 hamster logrotate[706]: considering log /var/log/btmp
Oct 14 21:52:51 hamster logrotate[706]: Creating new state
Oct 14 21:52:51 hamster logrotate[706]:   Now: 2024-10-14 21:52
Oct 14 21:52:51 hamster logrotate[706]:   Last rotated at 2024-10-14 21:00
Oct 14 21:52:51 hamster logrotate[706]:   log does not need rotating (log has already been rotated)
Oct 14 21:52:51 hamster logrotate[706]: rotating pattern: "/var/log/wtmp" monthly empty log files are not rotated, only log files >= 1048576 bytes are rotated, (1 rotations), old logs are removed
Oct 14 21:52:51 hamster logrotate[706]: considering log /var/log/wtmp
Oct 14 21:52:51 hamster logrotate[706]: Creating new state
Oct 14 21:52:51 hamster logrotate[706]:   Now: 2024-10-14 21:52
Oct 14 21:52:51 hamster logrotate[706]:   Last rotated at 2024-10-14 21:00
Oct 14 21:52:51 hamster logrotate[706]:   log does not need rotating (log has already been rotated)
Oct 14 21:52:51 hamster systemd[1]: Started Reset console on configuration changes.
Oct 14 21:52:51 hamster systemd[1]: Finished Kernel Auditing.
Oct 14 21:52:51 hamster nsncd[712]: Oct 14 21:52:51.864 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 3s }, path: "/var/run/nscd/socket"
Oct 14 21:52:51 hamster systemd[1]: Started Name Service Cache Daemon (nsncd).
Oct 14 21:52:51 hamster hm-activate-j[705]: Starting Home Manager activation
Oct 14 21:52:51 hamster systemd[1]: Finished Logrotate configuration check.
Oct 14 21:52:51 hamster systemd[1]: Finished Extra networking commands..
Oct 14 21:52:51 hamster cpupower[704]: Setting cpu: 0
Oct 14 21:52:51 hamster cpupower[704]: Setting cpu: 1
Oct 14 21:52:51 hamster cpupower[704]: Setting cpu: 2
Oct 14 21:52:51 hamster cpupower[704]: Setting cpu: 3
Oct 14 21:52:51 hamster cpupower[704]: Setting cpu: 4
Oct 14 21:52:51 hamster cpupower[704]: Setting cpu: 5
Oct 14 21:52:51 hamster cpupower[704]: Setting cpu: 6
Oct 14 21:52:51 hamster cpupower[704]: Setting cpu: 7
Oct 14 21:52:51 hamster systemd[1]: Finished CPU Frequency Setup.
Oct 14 21:52:51 hamster systemd[1]: Reached target Network.
Oct 14 21:52:51 hamster systemd[1]: Reached target Host and Network Name Lookups.
Oct 14 21:52:51 hamster systemd[1]: Reached target User and Group Name Lookups.
Oct 14 21:52:51 hamster systemd[1]: Starting D-Bus System Message Bus...
Oct 14 21:52:51 hamster systemd[1]: Starting SSH Daemon...
Oct 14 21:52:52 hamster systemd[1]: Starting User Login Management...
Oct 14 21:52:52 hamster systemd[1]: Started Nix Daemon.
Oct 14 21:52:52 hamster systemd[1]: Started D-Bus System Message Bus.
Oct 14 21:52:52 hamster systemd-logind[738]: New seat seat0.
Oct 14 21:52:52 hamster systemd-logind[738]: Watching system buttons on /dev/input/event2 (rk805 pwrkey)
Oct 14 21:52:52 hamster systemd[1]: Started User Login Management.
Oct 14 21:52:52 hamster nix-daemon[746]: accepted connection from pid 730, user j
Oct 14 21:52:52 hamster hm-activate-j[705]: Activating checkFilesChanged
Oct 14 21:52:52 hamster hm-activate-j[705]: Activating checkLinkTargets
Oct 14 21:52:52 hamster hm-activate-j[705]: Activating writeBoundary
Oct 14 21:52:52 hamster hm-activate-j[705]: Activating installPackages
Oct 14 21:52:52 hamster hm-activate-j[705]: Activating linkGeneration
Oct 14 21:52:52 hamster hm-activate-j[705]: Creating profile generation 1
Oct 14 21:52:52 hamster nix-daemon[746]: accepted connection from pid 776, user j
Oct 14 21:52:52 hamster nix-daemon[746]: accepted connection from pid 780, user j
Oct 14 21:52:52 hamster hm-activate-j[705]: Creating home file links in /home/j
Oct 14 21:52:54 hamster kernel: r8169 0004:41:00.0 enP4p65s0: Link is Up - 1Gbps/Full - flow control off
Oct 14 21:52:54 hamster systemd-networkd[560]: enP4p65s0: Gained carrier
Oct 14 21:52:54 hamster systemd-timesyncd[665]: Network configuration changed, trying to establish connection.
Oct 14 21:52:54 hamster hm-activate-j[705]: Activating onFilesChange
Oct 14 21:52:54 hamster systemd-resolved[634]: Switching to fallback DNS server 1.1.1.1#cloudflare-dns.com.
Oct 14 21:52:54 hamster hm-activate-j[705]: Activating reloadSystemd
Oct 14 21:52:54 hamster hm-activate-j[705]: User systemd daemon not running. Skipping reload.
Oct 14 21:52:54 hamster systemd[1]: Finished Home Manager environment for j.
Oct 14 21:52:54 hamster systemd[1]: Starting Permit User Sessions...
Oct 14 21:52:54 hamster systemd[1]: Finished Permit User Sessions.
Oct 14 21:52:54 hamster systemd[1]: Started Getty on tty1.
Oct 14 21:52:54 hamster systemd[1]: Started Serial Getty on ttyS2.
Oct 14 21:52:54 hamster systemd[1]: Reached target Login Prompts.
Oct 14 21:52:55 hamster systemd-networkd[560]: enP4p65s0: Gained IPv6LL
Oct 14 21:52:55 hamster systemd-timesyncd[665]: Network configuration changed, trying to establish connection.
Oct 14 21:52:56 hamster systemd-timesyncd[665]: Network configuration changed, trying to establish connection.
Oct 14 21:52:58 hamster systemd-timesyncd[665]: Network configuration changed, trying to establish connection.
Oct 14 21:52:58 hamster sshd-pre-start[745]: Generating public/private rsa key pair.
Oct 14 21:52:58 hamster sshd-pre-start[745]: Your identification has been saved in /etc/ssh/ssh_host_rsa_key
Oct 14 21:52:58 hamster sshd-pre-start[745]: Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub
Oct 14 21:52:58 hamster sshd-pre-start[745]: The key fingerprint is:
Oct 14 21:52:58 hamster sshd-pre-start[745]: SHA256:m2zwNiMmdo6F0cq4W+oL90JN1KEjnPatsRKbYU0Xut4 root@hamster
Oct 14 21:52:58 hamster sshd-pre-start[745]: The key's randomart image is:
Oct 14 21:52:58 hamster sshd-pre-start[745]: +---[RSA 4096]----+
Oct 14 21:52:58 hamster sshd-pre-start[745]: |     .o.         |
Oct 14 21:52:58 hamster sshd-pre-start[745]: | . ..o..         |
Oct 14 21:52:58 hamster sshd-pre-start[745]: |  =.= .          |
Oct 14 21:52:58 hamster sshd-pre-start[745]: | . =.*           |
Oct 14 21:52:58 hamster sshd-pre-start[745]: |  +o* + S        |
Oct 14 21:52:58 hamster sshd-pre-start[745]: | ..O.O + o       |
Oct 14 21:52:58 hamster sshd-pre-start[745]: |..* @ E X        |
Oct 14 21:52:58 hamster sshd-pre-start[745]: | o.B B + o       |
Oct 14 21:52:58 hamster sshd-pre-start[745]: | .*+o .          |
Oct 14 21:52:58 hamster sshd-pre-start[745]: +----[SHA256]-----+
Oct 14 21:52:58 hamster sshd-pre-start[1177]: Generating public/private ed25519 key pair.
Oct 14 21:52:58 hamster sshd-pre-start[1177]: Your identification has been saved in /etc/ssh/ssh_host_ed25519_key
Oct 14 21:52:58 hamster sshd-pre-start[1177]: Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub
Oct 14 21:52:58 hamster sshd-pre-start[1177]: The key fingerprint is:
Oct 14 21:52:58 hamster sshd-pre-start[1177]: SHA256:cJFb7Bp9kWwP92fZwXVUJNMbE87W5i0HnMyb8+HBshY root@hamster
Oct 14 21:52:58 hamster sshd-pre-start[1177]: The key's randomart image is:
Oct 14 21:52:58 hamster sshd-pre-start[1177]: +--[ED25519 256]--+
Oct 14 21:52:58 hamster sshd-pre-start[1177]: |        .o . .+=X|
Oct 14 21:52:58 hamster sshd-pre-start[1177]: |        ..o *++O+|
Oct 14 21:52:58 hamster sshd-pre-start[1177]: |      . .= . =*=X|
Oct 14 21:52:58 hamster sshd-pre-start[1177]: |       oo o . +O*|
Oct 14 21:52:58 hamster sshd-pre-start[1177]: |        So . E===|
Oct 14 21:52:58 hamster sshd-pre-start[1177]: |        .     ==o|
Oct 14 21:52:58 hamster sshd-pre-start[1177]: |             o ..|
Oct 14 21:52:58 hamster sshd-pre-start[1177]: |            .    |
Oct 14 21:52:58 hamster sshd-pre-start[1177]: |                 |
Oct 14 21:52:58 hamster sshd-pre-start[1177]: +----[SHA256]-----+
Oct 14 21:52:58 hamster systemd[1]: Started SSH Daemon.
Oct 14 21:52:58 hamster sshd[1178]: Server listening on 0.0.0.0 port 22.
Oct 14 21:52:58 hamster sshd[1178]: Server listening on :: port 22.
Oct 14 21:54:42 hamster systemd-logind[738]: Power key pressed short.
Oct 14 21:54:42 hamster systemd-logind[738]: Powering off...
Oct 14 21:54:42 hamster systemd-logind[738]: System is powering down.
Oct 14 21:54:42 hamster systemd[1]: Removed slice Slice /system/modprobe.
Oct 14 21:54:42 hamster systemd[1]: Stopped target Login Prompts.
Oct 14 21:54:42 hamster systemd[1]: Stopped target Containers.
Oct 14 21:54:42 hamster systemd[1]: Stopped target Host and Network Name Lookups.
Oct 14 21:54:42 hamster systemd[1]: Stopped target Sound Card.
Oct 14 21:54:42 hamster systemd[1]: Stopped target Timer Units.
Oct 14 21:54:42 hamster systemd[1]: fstrim.timer: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Discard unused filesystem blocks once a week.
Oct 14 21:54:42 hamster systemd[1]: logrotate.timer: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped logrotate.timer.
Oct 14 21:54:42 hamster systemd[1]: systemd-tmpfiles-clean.timer: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Oct 14 21:54:42 hamster systemd[1]: systemd-rfkill.socket: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Oct 14 21:54:42 hamster systemd[1]: Mounting /run/initramfs...
Oct 14 21:54:42 hamster systemd[1]: Stopping Kernel Auditing...
Oct 14 21:54:42 hamster systemd[1]: cpufreq.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped CPU Frequency Setup.
Oct 14 21:54:42 hamster systemd[1]: Stopping D-Bus System Message Bus...
Oct 14 21:54:42 hamster systemd[1]: Stopping Getty on tty1...
Oct 14 21:54:42 hamster systemd[1]: logrotate-checkconf.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Logrotate configuration check.
Oct 14 21:54:42 hamster systemd[1]: mount-pstore.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped mount-pstore.service.
Oct 14 21:54:42 hamster systemd[1]: Stopping Nix Daemon...
Oct 14 21:54:42 hamster systemd[1]: reload-systemd-vconsole-setup.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Reset console on configuration changes.
Oct 14 21:54:42 hamster systemd[1]: Starting Save Hardware Clock...
Oct 14 21:54:42 hamster systemd[1]: Stopping Serial Getty on ttyS2...
Oct 14 21:54:42 hamster systemd[1]: Stopping SSH Daemon...
Oct 14 21:54:42 hamster sshd[1178]: Received signal 15; terminating.
Oct 14 21:54:42 hamster systemd[1]: Stopping User Login Management...
Oct 14 21:54:42 hamster systemd[1]: Stopping Enable Persistent Storage in systemd-networkd...
Oct 14 21:54:42 hamster zh3bdbj6w9c4c55r056v6xbj2nq4s7da-audit-stop[1189]: No rules
Oct 14 21:54:42 hamster systemd[1]: Stopping Userspace Out-Of-Memory (OOM) Killer...
Oct 14 21:54:42 hamster zh3bdbj6w9c4c55r056v6xbj2nq4s7da-audit-stop[1192]: enabled 0
Oct 14 21:54:42 hamster zh3bdbj6w9c4c55r056v6xbj2nq4s7da-audit-stop[1192]: failure 1
Oct 14 21:54:42 hamster zh3bdbj6w9c4c55r056v6xbj2nq4s7da-audit-stop[1192]: pid 0
Oct 14 21:54:42 hamster zh3bdbj6w9c4c55r056v6xbj2nq4s7da-audit-stop[1192]: rate_limit 0
Oct 14 21:54:42 hamster zh3bdbj6w9c4c55r056v6xbj2nq4s7da-audit-stop[1192]: backlog_limit 64
Oct 14 21:54:42 hamster zh3bdbj6w9c4c55r056v6xbj2nq4s7da-audit-stop[1192]: lost 0
Oct 14 21:54:42 hamster zh3bdbj6w9c4c55r056v6xbj2nq4s7da-audit-stop[1192]: backlog 0
Oct 14 21:54:42 hamster zh3bdbj6w9c4c55r056v6xbj2nq4s7da-audit-stop[1192]: backlog_wait_time 15000
Oct 14 21:54:42 hamster zh3bdbj6w9c4c55r056v6xbj2nq4s7da-audit-stop[1192]: backlog_wait_time_actual 0
Oct 14 21:54:42 hamster systemd[1]: systemd-networkd-wait-online.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Wait for Network to be Configured.
Oct 14 21:54:42 hamster systemd[1]: systemd-oomd.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Userspace Out-Of-Memory (OOM) Killer.
Oct 14 21:54:42 hamster systemd[1]: dbus.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped D-Bus System Message Bus.
Oct 14 21:54:42 hamster systemd[1]: systemd-logind.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped User Login Management.
Oct 14 21:54:42 hamster systemd[1]: nix-daemon.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Nix Daemon.
Oct 14 21:54:42 hamster systemd[1]: [email protected]: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Getty on tty1.
Oct 14 21:54:42 hamster systemd[1]: run-credentials-getty\x40tty1.service.mount: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: [email protected]: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Serial Getty on ttyS2.
Oct 14 21:54:42 hamster systemd[1]: run-credentials-serial\x2dgetty\x40ttyS2.service.mount: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: sshd.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped SSH Daemon.
Oct 14 21:54:42 hamster systemd[1]: sshd.service: Consumed 6.416s CPU time, 4M memory peak.
Oct 14 21:54:42 hamster systemd[1]: Mounted /run/initramfs.
Oct 14 21:54:42 hamster systemd[1]: audit.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Kernel Auditing.
Oct 14 21:54:42 hamster systemd[1]: Removed slice Slice /system/getty.
Oct 14 21:54:42 hamster systemd[1]: Removed slice Slice /system/serial-getty.
Oct 14 21:54:42 hamster systemd[1]: Starting Generate shutdown ramfs...
Oct 14 21:54:42 hamster systemd[1]: Stopping Permit User Sessions...
Oct 14 21:54:42 hamster systemd[1]: systemd-networkd-persistent-storage.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Enable Persistent Storage in systemd-networkd.
Oct 14 21:54:42 hamster make-initrd-ng[1209]: /etc/initrd-release -> /nix/store/7h3719imxlcxjc8cahz6rz7h4430w3l8-etc-os-release
Oct 14 21:54:42 hamster make-initrd-ng[1209]: /etc/os-release -> /nix/store/7h3719imxlcxjc8cahz6rz7h4430w3l8-etc-os-release
Oct 14 21:54:42 hamster make-initrd-ng[1209]: /shutdown -> /nix/store/p0n0m1j2lzz1kmrxk1pxq9pb4x7mlk0i-systemd-256.4/lib/systemd/systemd-shutdown
Oct 14 21:54:42 hamster make-initrd-ng[1209]: Warning: Couldn't satisfy dependency libc.so.6 for "/nix/store/mvsq4z2g9l05vfwdkr9nihbxyxm18nak-glibc-2.39-52/lib/libdl.so.2"
Oct 14 21:54:42 hamster make-initrd-ng[1209]: Warning: Couldn't satisfy dependency ld-linux-aarch64.so.1 for "/nix/store/mvsq4z2g9l05vfwdkr9nihbxyxm18nak-glibc-2.39-52/lib/libc.so.6"
Oct 14 21:54:42 hamster systemd[1]: systemd-user-sessions.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Permit User Sessions.
Oct 14 21:54:42 hamster systemd[1]: Stopped target Network.
Oct 14 21:54:42 hamster systemd[1]: Stopped target User and Group Name Lookups.
Oct 14 21:54:42 hamster systemd[1]: Stopped target Remote File Systems.
Oct 14 21:54:42 hamster systemd[1]: home-manager-j.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Home Manager environment for j.
Oct 14 21:54:42 hamster make-initrd-ng[1209]: Warning: Couldn't satisfy dependency libc.so.6 for "/nix/store/mvsq4z2g9l05vfwdkr9nihbxyxm18nak-glibc-2.39-52/lib/libm.so.6"
Oct 14 21:54:42 hamster make-initrd-ng[1209]: Warning: Couldn't satisfy dependency ld-linux-aarch64.so.1 for "/nix/store/mvsq4z2g9l05vfwdkr9nihbxyxm18nak-glibc-2.39-52/lib/libm.so.6"
Oct 14 21:54:42 hamster systemd[1]: network-local-commands.service: Deactivated successfully.
Oct 14 21:54:42 hamster systemd[1]: Stopped Extra networking commands..
Oct 14 21:54:42 hamster systemd[1]: Stopping Name Service Cache Daemon (nsncd)...
Oct 14 21:54:42 hamster make-initrd-ng[1209]: Warning: Couldn't satisfy dependency libc.so.6 for "/nix/store/mvsq4z2g9l05vfwdkr9nihbxyxm18nak-glibc-2.39-52/lib/libpthread.so.0"
Oct 14 21:54:43 hamster systemd[1]: Stopping Network Configuration...
Oct 14 21:54:43 hamster systemd[1]: nscd.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Name Service Cache Daemon (nsncd).
Oct 14 21:54:43 hamster systemd[1]: save-hwclock.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Finished Save Hardware Clock.
Oct 14 21:54:43 hamster systemd-timesyncd[665]: Network configuration changed, trying to establish connection.
Oct 14 21:54:43 hamster systemd[1]: generate-shutdown-ramfs.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Finished Generate shutdown ramfs.
Oct 14 21:54:43 hamster systemd-resolved[634]: Switching to fallback DNS server 1.1.1.1#cloudflare-dns.com.
Oct 14 21:54:43 hamster systemd[1]: Stopped target Basic System.
Oct 14 21:54:43 hamster systemd[1]: Stopped target Path Units.
Oct 14 21:54:43 hamster systemd[1]: Stopped target Slice Units.
Oct 14 21:54:43 hamster systemd[1]: Removed slice User and Session Slice.
Oct 14 21:54:43 hamster systemd[1]: Stopped target Socket Units.
Oct 14 21:54:43 hamster systemd[1]: dbus.socket: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Closed D-Bus System Message Bus Socket.
Oct 14 21:54:43 hamster systemd[1]: nix-daemon.socket: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Closed Nix Daemon Socket.
Oct 14 21:54:43 hamster systemd[1]: systemd-hostnamed.socket: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Closed Hostname Service Socket.
Oct 14 21:54:43 hamster systemd[1]: Stopped target System Initialization.
Oct 14 21:54:43 hamster systemd[1]: Stopped target Local Encrypted Volumes.
Oct 14 21:54:43 hamster systemd[1]: systemd-ask-password-console.path: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
Oct 14 21:54:43 hamster systemd[1]: systemd-ask-password-wall.path: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
Oct 14 21:54:43 hamster systemd[1]: systemd-oomd.socket: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Closed Userspace Out-Of-Memory (OOM) Killer Socket.
Oct 14 21:54:43 hamster systemd[1]: systemd-boot-random-seed.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Update Boot Loader Random Seed.
Oct 14 21:54:43 hamster systemd[1]: Stopping Load/Save OS Random Seed...
Oct 14 21:54:43 hamster systemd[1]: Stopping Network Name Resolution...
Oct 14 21:54:43 hamster systemd[1]: Stopping Network Time Synchronization...
Oct 14 21:54:43 hamster systemd[1]: systemd-update-done.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Update is Completed.
Oct 14 21:54:43 hamster systemd[1]: systemd-journal-catalog-update.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Rebuild Journal Catalog.
Oct 14 21:54:43 hamster systemd[1]: Stopping Record System Boot/Shutdown in UTMP...
Oct 14 21:54:43 hamster systemd[1]: systemd-networkd.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Network Configuration.
Oct 14 21:54:43 hamster systemd[1]: systemd-networkd.service: Consumed 86ms CPU time, 4.1M memory peak, 992B incoming IP traffic, 56B outgoing IP traffic.
Oct 14 21:54:43 hamster systemd[1]: run-credentials-systemd\x2dnetworkd.service.mount: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: systemd-resolved.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Network Name Resolution.
Oct 14 21:54:43 hamster systemd[1]: systemd-resolved.service: Consumed 315ms CPU time, 10.2M memory peak, 1.7K incoming IP traffic, 1.2K outgoing IP traffic.
Oct 14 21:54:43 hamster systemd[1]: run-credentials-systemd\x2dresolved.service.mount: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: systemd-timesyncd.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Network Time Synchronization.
Oct 14 21:54:43 hamster systemd[1]: systemd-random-seed.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Load/Save OS Random Seed.
Oct 14 21:54:43 hamster systemd[1]: systemd-networkd.socket: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Closed Network Service Netlink Socket.
Oct 14 21:54:43 hamster systemd[1]: systemd-sysctl.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Apply Kernel Variables.
Oct 14 21:54:43 hamster systemd[1]: systemd-coredump.socket: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Closed Process Core Dump Socket.
Oct 14 21:54:43 hamster systemd[1]: systemd-modules-load.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Load Kernel Modules.
Oct 14 21:54:43 hamster systemd[1]: systemd-update-utmp.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Record System Boot/Shutdown in UTMP.
Oct 14 21:54:43 hamster systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Create System Files and Directories.
Oct 14 21:54:43 hamster systemd[1]: Stopped target Local File Systems.
Oct 14 21:54:43 hamster systemd[1]: Unmounting /boot...
Oct 14 21:54:43 hamster systemd[1]: Unmounting /run/keys...
Oct 14 21:54:43 hamster systemd[1]: Unmounting /run/wrappers...
Oct 14 21:54:43 hamster systemd[1]: run-credentials-systemd\x2dsysctl.service.mount: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dsetup.service.mount: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: boot.mount: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Unmounted /boot.
Oct 14 21:54:43 hamster systemd[1]: run-keys.mount: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Unmounted /run/keys.
Oct 14 21:54:43 hamster systemd[1]: systemd-fsck@dev-disk-by\x2duuid-C602\x2d70A5.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped File System Check on /dev/disk/by-uuid/C602-70A5.
Oct 14 21:54:43 hamster systemd[1]: Removed slice Slice /system/systemd-fsck.
Oct 14 21:54:43 hamster systemd[1]: run-wrappers.mount: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Unmounted /run/wrappers.
Oct 14 21:54:43 hamster systemd[1]: Stopped target Preparation for Local File Systems.
Oct 14 21:54:43 hamster systemd[1]: Stopped target Swaps.
Oct 14 21:54:43 hamster systemd[1]: Reached target Unmount All Filesystems.
Oct 14 21:54:43 hamster systemd[1]: systemd-remount-fs.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Remount Root and Kernel File Systems.
Oct 14 21:54:43 hamster systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Create Static Device Nodes in /dev.
Oct 14 21:54:43 hamster systemd[1]: systemd-tmpfiles-setup-dev-early.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Stopped Create Static Device Nodes in /dev gracefully.
Oct 14 21:54:43 hamster systemd[1]: Reached target System Shutdown.
Oct 14 21:54:43 hamster systemd[1]: Reached target Late Shutdown Services.
Oct 14 21:54:43 hamster systemd[1]: systemd-poweroff.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Finished System Power Off.
Oct 14 21:54:43 hamster systemd[1]: Reached target System Power Off.
Oct 14 21:54:43 hamster systemd[1]: Shutting down.
Oct 14 21:54:43 hamster systemd-shutdown[1]: Syncing filesystems and block devices.
Oct 14 21:54:43 hamster systemd-shutdown[1]: Sending SIGTERM to remaining processes...
Oct 14 21:54:43 hamster systemd-journald[481]: Received SIGTERM from PID 1 (systemd-shutdow).
Oct 14 21:54:43 hamster systemd-journald[481]: Journal stopped
root@CM3588:~#

@sanderhollaar
Copy link
Contributor

In Armdebian, can you post the output of journalctl -D /mnt-nixos/var/log/journal/ ?

Sure, here's the output:

root@CM3588:~# journalctl -D /mnt-nixos/var/log/journal/ | cat
[..]
Oct 14 21:52:51 hamster systemd[1]: Finished CPU Frequency Setup.
Oct 14 21:52:51 hamster systemd[1]: Reached target Network.
Oct 14 21:52:51 hamster systemd[1]: Reached target Host and Network Name Lookups.
Oct 14 21:52:51 hamster systemd[1]: Reached target User and Group Name Lookups.
Oct 14 21:52:51 hamster systemd[1]: Starting D-Bus System Message Bus...
Oct 14 21:52:51 hamster systemd[1]: Starting SSH Daemon...
Oct 14 21:52:52 hamster systemd[1]: Starting User Login Management...
Oct 14 21:52:52 hamster systemd[1]: Started Nix Daemon.
Oct 14 21:52:52 hamster systemd[1]: Started D-Bus System Message Bus.
Oct 14 21:52:52 hamster systemd-logind[738]: New seat seat0.
Oct 14 21:52:52 hamster systemd-logind[738]: Watching system buttons on /dev/input/event2 (rk805 pwrkey)
Oct 14 21:52:52 hamster systemd[1]: Started User Login Management.
Oct 14 21:52:52 hamster nix-daemon[746]: accepted connection from pid 730, user j
Oct 14 21:52:52 hamster hm-activate-j[705]: Activating checkFilesChanged
Oct 14 21:52:52 hamster hm-activate-j[705]: Activating checkLinkTargets
Oct 14 21:52:52 hamster hm-activate-j[705]: Activating writeBoundary
Oct 14 21:52:52 hamster hm-activate-j[705]: Activating installPackages
Oct 14 21:52:52 hamster hm-activate-j[705]: Activating linkGeneration
Oct 14 21:52:52 hamster hm-activate-j[705]: Creating profile generation 1
Oct 14 21:52:52 hamster nix-daemon[746]: accepted connection from pid 776, user j
Oct 14 21:52:52 hamster nix-daemon[746]: accepted connection from pid 780, user j
Oct 14 21:52:52 hamster hm-activate-j[705]: Creating home file links in /home/j
Oct 14 21:52:54 hamster kernel: r8169 0004:41:00.0 enP4p65s0: Link is Up - 1Gbps/Full - flow control off
Oct 14 21:52:54 hamster systemd-networkd[560]: enP4p65s0: Gained carrier
Oct 14 21:52:54 hamster systemd-timesyncd[665]: Network configuration changed, trying to establish connection.
Oct 14 21:52:54 hamster hm-activate-j[705]: Activating onFilesChange
Oct 14 21:52:54 hamster systemd-resolved[634]: Switching to fallback DNS server 1.1.1.1#cloudflare-dns.com.
Oct 14 21:52:54 hamster hm-activate-j[705]: Activating reloadSystemd
Oct 14 21:52:54 hamster hm-activate-j[705]: User systemd daemon not running. Skipping reload.
Oct 14 21:52:54 hamster systemd[1]: Finished Home Manager environment for j.
Oct 14 21:52:54 hamster systemd[1]: Starting Permit User Sessions...
Oct 14 21:52:54 hamster systemd[1]: Finished Permit User Sessions.
Oct 14 21:52:54 hamster systemd[1]: Started Getty on tty1.
Oct 14 21:52:54 hamster systemd[1]: Started Serial Getty on ttyS2.
Oct 14 21:52:54 hamster systemd[1]: Reached target Login Prompts.

This seems a successful boot. Can you try to logon?

Oct 14 21:52:55 hamster systemd-networkd[560]: enP4p65s0: Gained IPv6LL
Oct 14 21:52:55 hamster systemd-timesyncd[665]: Network configuration changed, trying to establish connection.
Oct 14 21:52:56 hamster systemd-timesyncd[665]: Network configuration changed, trying to establish connection.
Oct 14 21:52:58 hamster systemd-timesyncd[665]: Network configuration changed, trying to establish connection.
Oct 14 21:52:58 hamster sshd-pre-start[745]: Generating public/private rsa key pair.
Oct 14 21:52:58 hamster sshd-pre-start[745]: Your identification has been saved in /etc/ssh/ssh_host_rsa_key
Oct 14 21:52:58 hamster sshd-pre-start[745]: Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub
[..]
Oct 14 21:52:58 hamster sshd-pre-start[1177]: Generating public/private ed25519 key pair.
Oct 14 21:52:58 hamster sshd-pre-start[1177]: Your identification has been saved in /etc/ssh/ssh_host_ed25519_key
Oct 14 21:52:58 hamster sshd-pre-start[1177]: Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub
[..]
Oct 14 21:52:58 hamster systemd[1]: Started SSH Daemon.
Oct 14 21:52:58 hamster sshd[1178]: Server listening on 0.0.0.0 port 22.
Oct 14 21:52:58 hamster sshd[1178]: Server listening on :: port 22.

Network:

Oct 14 21:52:50 hamster systemd-networkd[560]: /etc/systemd/network/enP4p65s0.network:6: Address '192.168.1.145' is specified without prefix length. Assuming the prefix length is 32. Please specify the prefix length explicitly.
Oct 14 21:52:50 hamster systemd-networkd[560]: lo: Link UP
Oct 14 21:52:50 hamster systemd-networkd[560]: lo: Gained carrier
Oct 14 21:52:50 hamster systemd-networkd[560]: Enumeration completed
Oct 14 21:52:50 hamster systemd[1]: Started Network Configuration.

Could it be that your address is missing trailing /24 like address = [ "192.168.178.3/24" ]; ?

Oct 14 21:52:51 hamster systemd-networkd[560]: eth0: Interface name change detected, renamed to enP4p65s0.
Oct 14 21:52:51 hamster kernel: r8169 0004:41:00.0 enP4p65s0: renamed from eth0
Oct 14 21:54:42 hamster systemd-logind[738]: Power key pressed short.
Oct 14 21:54:42 hamster systemd-logind[738]: Powering off...
Oct 14 21:54:42 hamster systemd-logind[738]: System is powering down.
[..]
Oct 14 21:54:43 hamster systemd[1]: Reached target System Shutdown.
Oct 14 21:54:43 hamster systemd[1]: Reached target Late Shutdown Services.
Oct 14 21:54:43 hamster systemd[1]: systemd-poweroff.service: Deactivated successfully.
Oct 14 21:54:43 hamster systemd[1]: Finished System Power Off.
Oct 14 21:54:43 hamster systemd[1]: Reached target System Power Off.
Oct 14 21:54:43 hamster systemd[1]: Shutting down.
Oct 14 21:54:43 hamster systemd-shutdown[1]: Syncing filesystems and block devices.
Oct 14 21:54:43 hamster systemd-shutdown[1]: Sending SIGTERM to remaining processes...
Oct 14 21:54:43 hamster systemd-journald[481]: Received SIGTERM from PID 1 (systemd-shutdow).
Oct 14 21:54:43 hamster systemd-journald[481]: Journal stopped
root@CM3588:~#

@jjpe
Copy link

jjpe commented Oct 15, 2024

This seems a successful boot. Can you try to logon?

When I try to log into the root account and then execute shutdown now, it actually takes effect, indicating success. So that's definitely progress.

However, after I log in, I execute ip a a 192.168.1.145/24 dev $(ip a s | grep -m1 MULTICAST | awk -F ':' '{print $2}'), but that doesn't seem to make any difference to my ability to ping the device (I ping the hostname as I have added a static route to my router for the device):

j@~❯ ping 192.168.1.145                                                                                            09:13:34.232301834
PING 192.168.1.145 (192.168.1.145) 56(84) bytes of data.
From 192.168.1.150 icmp_seq=1 Destination Host Unreachable
From 192.168.1.150 icmp_seq=2 Destination Host Unreachable
From 192.168.1.150 icmp_seq=3 Destination Host Unreachable
From 192.168.1.150 icmp_seq=4 Destination Host Unreachable
From 192.168.1.150 icmp_seq=5 Destination Host Unreachable
From 192.168.1.150 icmp_seq=6 Destination Host Unreachable
^C
--- 192.168.1.145 ping statistics ---
8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 7201ms

So something is still off with the network config in particular.
I just had a thought: Since the eMMC device is (for some reason) consistently listed as /dev/mmcblk2, perhaps the network interface is enumerated differently too? The only problem with that is that IIUC the ip oneliner should automatically fetch the correct interface.

Could it be that your address is missing trailing /24 like address = [ "192.168.178.3/24" ]; ?

I tried adding the /24 subnet mask and reinstalling nixos, but that seems to make no difference in my ability to log into the device using ssh.

What I'll try next is adding the subnet mask to both the address and gateway attributes, see if that helps.

EDIT: I've finally managed to ssh into the device using my non-root account, so thank you for the help!
The only thing left to for now is configuring the network on the device such that I can always get in via ssh, for which I'm looking into ip route add (I have no prior experience with this particular cli command).

@sanderhollaar
Copy link
Contributor

EDIT: I've finally managed to ssh into the device using my non-root account, so thank you for the help! The only thing left to for now is configuring the network on the device such that I can always get in via ssh, for which I'm looking into ip route add (I have no prior experience with this particular cli command).

Glad you made it work!

I would not bother with ip to configure your network in a permanent way. Something like this should work:

    networking = {
        dhcpcd.enable    =  false;
        firewall.enable  =  false;
        useDHCP          =  false;
        useNetworkd      =  true;
    };

    systemd = {
        network = {
            enable               = true;
            networks = {
                enP4p65s0 = {
                    address      = [ "192.168.1.145/24" ];
                    matchConfig  = { Name = "enP4p65s0"; Type = "ether"; };
                    gateway      = [ "192.168.1.1" ];
                };
            };
        };
    };

@jjpe
Copy link

jjpe commented Oct 15, 2024

Turns out I already had those blocks in my config.
So I rebooted the CM3588, tried ssh'ing in, and... it works!

If I ever meet you in meatspace, I definitely owe you a beer :)

@jjpe
Copy link

jjpe commented Oct 16, 2024

There's 1 final issue I need to tackle: The nixos config provides LAN access to I can ssh into it, but no internet access, making updating the system a bit difficult.

So I create a default route using ip, which does work:

[j@hamster:~]$ ping google.com
ping: connect: Network is unreachable

[j@hamster:~]$ sudo ip route add default via 192.168.1.1 dev enP4p65s0
[sudo] password for j:

[j@hamster:~]$ ping google.com
PING google.com (172.217.23.206) 56(84) bytes of data.
64 bytes from prg03s05-in-f206.1e100.net (172.217.23.206): icmp_seq=1 ttl=56 time=3.25 ms
64 bytes from prg03s05-in-f206.1e100.net (172.217.23.206): icmp_seq=2 ttl=56 time=2.74 ms
64 bytes from prg03s05-in-f206.1e100.net (172.217.23.206): icmp_seq=3 ttl=56 time=2.73 ms
^C
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 2.725/2.904/3.254/0.247 ms

The only issue is, at the moment it's necessary that I execute it on every reboot, which is undesirable.
Ive tried adding networking.interfaces.enP4p65s0.ipv4.routes:

  networking = {
    dhcpcd.enable = false;
    firewall.enable = false;
    hostName = "cumulus";
    useDHCP = false;
    useNetworkd = true;
    interfaces.enP4p65s0.ipv4.routes = [{ # I was hoping this would do the trick
      address = "192.168.1.145/24";
      prefixLength = 24;
      via = "192.168.1.1/24";
    }];
  };

But that just borks the LAN connection, necessitating a reinstall from Armbian.

Any idea how I can "nixify" the ip command, i.e. any idea how I can capture that default route in my nixos config files?

EDIT: I also tried this, but without success:

  systemd.services.internetAccess = {
      wantedBy = [ "multi-user.target" ];
      after = [ "network.target" ];
      description = "Add internet access.";
      path = [pkgs.bash pkgs.iproute];
      script = ''
        ip route add default via 192.168.1.1 dev enP4p65s0
      '';
      serviceConfig = {
        Type= "oneshot";
        User = "root";
        Restart = "no";
      };
    };

@ryan4yin
Copy link

@jjpe you set networking.useNetworkd to true, which means that the content of networking.interfaces will be ignored, you need to set your interface's configuration via systemd.network.networks.xx. see #142 (comment) as an example.

@jjpe
Copy link

jjpe commented Oct 16, 2024

You need to set your interface's configuration via systemd.network.networks.xx

Everything I mentioned in my last post is with this block in the configuration:

  systemd = {
    network = {
      enable = true;
      networks = {
        enP4p65s0 = {
          address = [ "192.168.1.145/24" ];
          matchConfig = { Name = "enP4p65s0"; Type = "ether"; };
          gateway = [ "192.168.1.1/24" ];
        };
      };
    };
  };

And this does allow me to ssh in from another host on my LAN.

But it doesn't provide internet access for the CM3588, necessitating the manual execution after every boot of sudo ip route add default via 192.168.1.1 dev enP4p65s0 to bring up the internet connection.

That's a bit... suboptimal for a server, especially so since none of my other hosts need any manual network configuration at all.

@sanderhollaar
Copy link
Contributor

  systemd = {
    network = {
      enable = true;
      networks = {
        enP4p65s0 = {
          address = [ "192.168.1.145/24" ];
          matchConfig = { Name = "enP4p65s0"; Type = "ether"; };
          gateway = [ "192.168.1.1/24" ];
        };
      };
    };
  };

But it doesn't provide internet access for the CM3588, necessitating the manual execution after every boot of sudo ip route add default via 192.168.1.1 dev enP4p65s0 to bring up the internet connection.

The gateway must not have the /24 postfix.

@jjpe
Copy link

jjpe commented Oct 16, 2024

Removing the gateway subnet mask made the difference.
I think I put it in there when I was trying out different settings to see what works, and then forgot about it.

Thanks, now the real configuration can begin :)

@jjpe
Copy link

jjpe commented Oct 19, 2024

Somewhat related to this thread: does anyone happen to know if the same CM3588 firmware can be used for the CM3588 Plus?

Looking at the website, it looks exactly like the CM3588 except with more RAM and possibly higher capacity emmc. But I also know that looks can be deceiving when it comes to hardware, so I'm not making any assumptions.

@sanderhollaar
Copy link
Contributor

Somewhat related to this thread: does anyone happen to know if the same CM3588 firmware can be used for the CM3588 Plus?

Yes, mine is a CM3588 Plus, with 32GB memory and 256GB emmc.

@jjpe
Copy link

jjpe commented Oct 20, 2024

@sanderhollaar Thank you for this info, that helps a lot!

Aside from my CM3588 I also ordered a CM3588 Plus so that will be useful quite soon :)

@cite
Copy link

cite commented Oct 21, 2024

First of all, this is really great work. I'll get a CM3588 next week and am really looking forward to having an alternative to the Debian BSP. However, from the Collabora-Link, it looks like running this board in a mainline 6.11 kernel will not support any of the video de-/encoding features of the board, right?

I was hoping I could run Jellyfin there, because they support rkmpp natively. It looks like support for these functions is indicated by the presence of the following device files:

  • /dev/dri/
  • /dev/dma_heap
  • /dev/mali0
  • /dev/rga
  • /dev/mpp_service

Is it possible to boot the verndor's BSP Debian kernel as a workaround (if that's needed)?

@nyanmisaka
Copy link

First of all, this is really great work. I'll get a CM3588 next week and am really looking forward to having an alternative to the Debian BSP. However, from the Collabora-Link, it looks like running this board in a mainline 6.11 kernel will not support any of the video de-/encoding features of the board, right?

I was hoping I could run Jellyfin there, because they support rkmpp natively. It looks like support for these functions is indicated by the presence of the following device files:

  • /dev/dri/
  • /dev/dma_heap
  • /dev/mali0
  • /dev/rga
  • /dev/mpp_service

Is it possible to boot the verndor's BSP Debian kernel as a workaround (if that's needed)?

There won't be any mature replacement for RKMPP & RKRGA in the mainline anytime soon, so Jellyfin rewrote RKMPP support in FFmpeg from scratch. If you need normal transcoding functionality, please stay away from the mainline.

https://jellyfin.org/docs/general/administration/hardware-acceleration/rockchip

@jjpe
Copy link

jjpe commented Oct 21, 2024

There won't be any mature replacement for RKMPP & RKRGA in the mainline anytime soon

Do you happen to know the reason for this?

@nyanmisaka
Copy link

There won't be any mature replacement for RKMPP & RKRGA in the mainline anytime soon

Do you happen to know the reason for this?

Because third-party developers do not have enough resources and time to develop extremely complex VPU drivers in the mainline full-time, and because V4L2 cannot meet Rockchip's actual product needs, they will not spend any time in upstream V4L2.

Read through this ticket. jellyfin/jellyfin-ffmpeg#34

@NomisIV
Copy link
Author

NomisIV commented Oct 25, 2024

Not sure if this question belongs here, but has anyone gotten higher speeds than 100Mb/s on the NIC? I'm running nixos on the 6.11 kernel, and for whatever reason the NIC decides to run in 100Mb/s mode. The only thing I can think of is that it's some limitation of the DTS file in the 6.11 kernel, kind of like how HDMI isn't working either. If anyone has any info on this, please let me know! :)

EDIT: Today I Learned that I had a CAT5 cable in my home network setup......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests