OpenSBI v1.4 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : ox (Rodrigo NixOS version) Platform Features : medeleg Platform HART Count : 1 Platform IPI Device : --- Platform Timer Device : axi_timer @ 50000000Hz Platform Console Device : uart8250 Platform HSM Device : --- Platform PMU Device : --- Platform Reboot Device : --- Platform Shutdown Device : --- Platform Suspend Device : --- Platform CPPC Device : --- Firmware Base : 0x80000000 Firmware Size : 178 KB Firmware RW Offset : 0x20000 Firmware RW Size : 50 KB Firmware Heap Offset : 0x24000 Firmware Heap Size : 34 KB (total), 2 KB (reserved), 8 KB (used), 23 KB (free) Firmware Scratch Size : 4096 B (total), 280 B (used), 3816 B (free) Runtime SBI Version : 2.0 Domain0 Name : root Domain0 Boot HART : 0 Domain0 HARTs : 0* Domain0 Region00 : 0x0000000040000000-0x0000000040000fff M: (I,R,W) S/U: (R,W) Domain0 Region01 : 0x0000000080020000-0x000000008002ffff M: (R,W) S/U: () Domain0 Region02 : 0x0000000080000000-0x000000008001ffff M: (R,X) S/U: () Domain0 Region03 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x0000000080013000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Domain0 SysSuspend : yes Boot HART ID : 0 Boot HART Domain : root Boot HART Priv Version : v1.10 Boot HART Base ISA : rv64imafdc Boot HART ISA Extensions : zicntr,zihpm Boot HART PMP Count : 0 Boot HART PMP Granularity : 0 bits Boot HART PMP Address Bits: 0 Boot HART MHPM Info : 29 (0xfffffff8) Boot HART MIDELEG : 0x0000000000000222 Boot HART MEDELEG : 0x000000000000b109 Core: 12 devices, 8 uclasses, devicetree: board Loading Environment from nowhere... OK In: serial,usbkbd Out: serial,vidconsole Err: serial,vidconsole No working controllers found Net: No ethernet found. Working FDT set to 80013000 Hit any key to stop autoboot: 0 Device 0: unknown device Device 1: unknown device scanning bus for devices... Device 0: unknown device starting USB... No working controllers found No ethernet found. No ethernet found. => setenv bootargs "root=/dev/ram0 loglevel=7 debug rw earlycon=sbi boot.trace console=hvc0 ${debugargs} init=/nix/store/xwqaqpc66ijvay9wxnm5nqmi30f2lp1i-nixos-system-nixos-riscv-24.11pre-git/init" => setenv ramdisk_size 12563951 => booti ${kernel_addr_r} ${ramdisk_addr_r}:${ramdisk_size} ${fdtcontroladdr} Moving Image from 0x84000000 to 0x80200000, end=83044650 ## Flattened Device Tree blob at 80013000 Booting using the fdt blob at 0x80013000 Working FDT set to 80013000 Using Device Tree in place at 0000000080013000, end 000000008001696f Working FDT set to 80013000 Starting kernel ... [ 0.000000] Linux version 6.9.7 (nixbld@localhost) (riscv64-unknown-linux-gnu-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.41) #1-NixOS Thu Jun 27 11:52:32 UTC 2024 [ 0.000000] Machine model: Barcelona Supercomputing Center - Lagarto Ox (NixOS) [ 0.000000] SBI specification v2.0 detected [ 0.000000] SBI implementation ID=0x1 Version=0x10004 [ 0.000000] SBI TIME extension detected [ 0.000000] SBI IPI extension detected [ 0.000000] SBI RFENCE extension detected [ 0.000000] SBI DBCN extension detected [ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '') [ 0.000000] printk: legacy bootconsole [sbi0] enabled [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000060000000, size 256 MiB [ 0.000000] OF: reserved mem: initialized node dma_pool@60000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x0000000060000000..0x000000006fffffff (262144 KiB) map non-reusable dma_pool@60000000 [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000070000000, size 256 MiB [ 0.000000] OF: reserved mem: initialized node dma_pool@70000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x0000000070000000..0x000000007fffffff (262144 KiB) map non-reusable dma_pool@70000000 [ 0.000000] cma: Reserved 16 MiB at 0x00000000fee00000 on node -1 [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000ffefffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x00000000ffefffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffefffff] [ 0.000000] On node 0, zone DMA32: 256 pages in unavailable ranges [ 0.000000] Falling back to deprecated "riscv,isa" [ 0.000000] riscv: base ISA extensions adfim [ 0.000000] riscv: ELF capabilities adfim [ 0.000000] pcpu-alloc: s0 r0 d131072 u131072 alloc=1*131072 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Kernel command line: root=/dev/ram0 loglevel=7 debug rw earlycon=sbi boot.trace console=hvc0 init=/nix/store/xwqaqpc66ijvay9wxnm5nqmi30f2lp1i-nixos-system-nixos-riscv-24.11pre-git/init [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 515844 [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] Virtual kernel memory layout: [ 0.000000] fixmap : 0xffffffc6fea00000 - 0xffffffc6ff000000 (6144 kB) [ 0.000000] pci io : 0xffffffc6ff000000 - 0xffffffc700000000 ( 16 MB) [ 0.000000] vmemmap : 0xffffffc700000000 - 0xffffffc800000000 (4096 MB) [ 0.000000] vmalloc : 0xffffffc800000000 - 0xffffffd800000000 ( 64 GB) [ 0.000000] modules : 0xffffffff02e45000 - 0xffffffff80000000 (2001 MB) [ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffd87ff00000 (2047 MB) [ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB) [ 0.000000] Memory: 1675400K/2096128K available (17075K kernel code, 9047K rwdata, 10240K rodata, 8737K init, 917K bss, 404344K reserved, 16384K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] ftrace: allocating 46961 entries in 184 pages [ 0.000000] ftrace: allocated 184 pages with 4 groups [ 0.000000] trace event string verifier disabled [ 0.000000] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.000000] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] riscv-intc: 64 local interrupts mapped [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x179dd7f66, max_idle_ns: 56421785867800 ns [ 0.000020] sched_clock: 64 bits at 50kHz, resolution 20000ns, wraps every 70368744170000ns [ 0.015140] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____) [ 0.037080] Console: colour dummy device 80x25 [ 0.043380] Calibrating delay loop (skipped), value calculated using timer frequency.. 0.10 BogoMIPS (lpj=200) [ 0.054600] pid_max: default: 32768 minimum: 301 [ 0.206980] LSM: initializing lsm=capability,landlock,yama [ 0.537640] landlock: Up and running. [ 0.542180] Yama: becoming mindful. [ 0.584380] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.593160] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.885440] riscv: ELF compat mode unsupported [ 0.885820] ASID allocator disabled (0 bits) [ 0.992540] devtmpfs: initialized [ 1.122280] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 1.133360] futex hash table entries: 256 (order: 1, 12288 bytes, linear) [ 1.233120] pinctrl core: initialized pinctrl subsystem [ 1.366300] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 1.426680] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 1.441220] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 1.452360] audit: initializing netlink subsys (disabled) [ 1.468360] audit: type=2000 audit(1.200:1): state=initialized audit_enabled=0 res=1 [ 1.526400] thermal_sys: Registered thermal governor 'step_wise' [ 1.527680] cpuidle: using governor ladder [ 2.024460] cpu0: Ratio of byte access time to unaligned word access is 0.00, unaligned accesses are slow [ 2.301780] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 2.309580] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page [ 2.317240] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 2.324960] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page [ 2.807240] iommu: Default domain type: Translated [ 2.813020] iommu: DMA domain TLB invalidation policy: strict mode [ 2.938240] SCSI subsystem initialized [ 2.966020] libata version 3.00 loaded. [ 3.006820] usbcore: registered new interface driver usbfs [ 3.028200] usbcore: registered new interface driver hub [ 3.042520] usbcore: registered new device driver usb [ 3.162860] Advanced Linux Sound Architecture Driver Initialized. [ 3.331140] vgaarb: loaded [ 3.374160] clocksource: Switched to clocksource riscv_clocksource [ 18.084500] VFS: Disk quotas dquot_6.6.0 [ 18.099980] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 18.129800] netfs: FS-Cache loaded [ 18.887880] NET: Registered PF_INET protocol family [ 18.905140] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 20.307580] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 20.317920] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 20.327840] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 20.339640] TCP bind hash table entries: 16384 (order: 8, 1048576 bytes, linear) [ 20.371220] TCP: Hash tables configured (established 16384 bind 16384) [ 20.399500] MPTCP token hash table entries: 2048 (order: 4, 98304 bytes, linear) [ 20.421380] UDP hash table entries: 1024 (order: 4, 98304 bytes, linear) [ 20.432460] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes, linear) [ 20.459500] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 20.506800] RPC: Registered named UNIX socket transport module. [ 20.514160] RPC: Registered udp transport module. [ 20.520000] RPC: Registered tcp transport module. [ 20.525720] RPC: Registered tcp-with-tls transport module. [ 20.532220] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 20.541120] NET: Registered PF_XDP protocol family [ 20.547220] PCI: CLS 0 bytes, default 64 [ 20.570800] Trying to unpack rootfs image as initramfs... [ 20.733220] Initialise system trusted keyrings [ 20.772720] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 22.193520] NFS: Registering the id_resolver key type [ 22.220780] Key type id_resolver registered [ 22.226940] Key type id_legacy registered [ 22.259900] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 22.267740] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 22.310900] 9p: Installing v9fs 9p2000 file system support [ 30.612000] NET: Registered PF_ALG protocol family [ 30.625120] Key type asymmetric registered [ 30.635440] Asymmetric key parser 'x509' registered [ 30.676100] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 30.712080] io scheduler mq-deadline registered [ 30.717760] io scheduler kyber registered [ 30.797740] riscv-plic 40800000.plic: mapped 3 interrupts with 1 handlers for 2 contexts. [ 40.296340] printk: legacy console [hvc0] enabled [ 40.296340] printk: legacy console [hvc0] enabled [ 40.307600] printk: legacy bootconsole [sbi0] disabled [ 40.307600] printk: legacy bootconsole [sbi0] disabled [ 40.341220] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 40.697320] of_serial 40001000.serial: error -ENXIO: IRQ index 0 not found [ 40.844360] 40001000.serial: ttyS0 at MMIO 0x40001000 (irq = 0, base_baud = 3125000) is a 16550 [ 41.039860] 40003000.serial: ttyS1 at MMIO 0x40003000 (irq = 1, base_baud = 3125000) is a 16550 [ 41.147500] SuperH (H)SCI(F) driver initialized [ 42.464640] loop: module loaded [ 42.621480] nd_pmem namespace0.0: unable to guarantee persistence of writes [ 42.797320] pmem0: p1 p2 [ 43.117840] usbcore: registered new interface driver uas [ 43.151240] usbcore: registered new interface driver usb-storage [ 43.187600] usbcore: registered new interface driver usbserial_generic [ 43.198760] usbserial: USB Serial support registered for generic [ 43.240820] mousedev: PS/2 mouse device common for all mice [ 43.421760] sdhci: Secure Digital Host Controller Interface driver [ 43.429680] sdhci: Copyright(c) Pierre Ossman [ 43.461820] Synopsys Designware Multimedia Card Interface Driver [ 43.497400] sdhci-pltfm: SDHCI platform and OF driver helper [ 43.539140] hid: raw HID events driver (C) Jiri Kosina [ 43.569620] usbcore: registered new interface driver usbhid [ 43.576400] usbhid: USB HID core driver [ 43.621260] riscv-pmu-sbi: SBI PMU extension is available [ 43.633420] riscv-pmu-sbi: 16 firmware and 31 hardware counters [ 43.640860] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available [ 43.792480] drop_monitor: Initializing network drop monitor service [ 43.915420] NET: Registered PF_INET6 protocol family [ 49.587120] Initramfs unpacking failed: invalid magic at start of compressed archive [ 57.799900] Freeing initrd memory: 300428K [ 57.863740] Segment Routing with IPv6 [ 57.873220] In-situ OAM (IOAM) with IPv6 [ 57.882320] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 57.964280] NET: Registered PF_PACKET protocol family [ 57.993060] 9pnet: Installing 9P2000 support [ 58.003340] Key type dns_resolver registered [ 58.013600] start plist test [ 58.094820] end plist test [ 59.433600] registered taskstats version 1 [ 59.447940] Loading compiled-in X.509 certificates [ 62.396240] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers [ 62.449040] Key type .fscrypt registered [ 62.454140] Key type fscrypt-provisioning registered [ 62.540060] hid_bpf: error while preloading HID BPF dispatcher: -22 [ 62.552660] clk: Disabling unused clocks [ 62.564820] PM: genpd: Disabling unused power domains [ 62.571280] ALSA device list: [ 62.575900] No soundcards found. [ 63.179280] Freeing unused kernel image (initmem) memory: 8736K [ 63.281280] Checked W+X mappings: passed, no W+X pages found [ 63.289780] Run /init as init process [ 63.295560] with arguments: [ 63.299640] /init [ 63.303080] with environment: [ 63.307320] HOME=/ [ 63.310820] TERM=linux <<< NixOS Stage 1 >>> + IFS='=' + echo console hvc0 + set -- console hvc0 + params=hvc0 + IFS=, + echo hvc0 + set -- hvc0 + console=hvc0 + IFS='=' + echo init /nix/store/xwqaqpc66ijvay9wxnm5nqmi30f2lp1i-nixos-system-nixos-riscv-24.11pre-git/init + set -- init /nix/store/xwqaqpc66ijvay9wxnm5nqmi30f2lp1i-nixos-system-nixos-riscv-24.11pre-git/init + stage2Init=/nix/store/xwqaqpc66ijvay9wxnm5nqmi30f2lp1i-nixos-system-nixos-riscv-24.11pre-git/init + echo /nix/store/988axh0bq3wqp90gms4b4a0hkfwvkd3i-extra-utils/bin/modprobe[ 71.111740] stage-1-init: [Thu Jan 1 00:01:10 UTC 1970] + IFS='=' + basename dm_mod + info 'loading module dm_mod...' + '[[' -n 1 ]] + echo 'loading module dm_mod...' loading module dm_mod... + modprobe dm_mod [ 71.713020] stage-1-init: [Thu Jan 1 00:01:11 UTC 1970] + echo console hvc0 [ 72.282000] stage-1-init: [Thu Jan 1 00:01:11 UTC 1970] + set -- console hvc0 [ 72.828720] stage-1-init: [Thu Jan 1 00:01:12 UTC 1970] + params=hvc0 [ 73.359520] stage-1-init: [Thu Jan 1 00:01:12 UTC 1970] + IFS=, [ 73.889960] stage-1-init: [Thu Jan 1 00:01:13 UTC 1970] + echo hvc0 [ 74.448740] stage-1-init: [Thu Jan 1 00:01:13 UTC 1970] + set -- hvc0 [ 74.988080] stage-1-init: [Thu Jan 1 00:01:14 UTC 1970] + console=hvc0 [ 75.523700] stage-1-init: [Thu Jan 1 00:01:14 UTC 1970] + IFS='=' [ 76.152720] stage-1-init: [Thu Jan 1 00:01:15 UTC 1970] + echo init /nix/store/xwqaqpc66ijvay9wxnm5nqmi30f2lp1i-nixos-system-nixos-riscv-24.11pre-git/init [ 76.800900] stage-1-init: [Thu Jan 1 00:01:16 UTC 1970] + set -- init /nix/store/xwqaqpc66ijvay9wxnm5nqmi30f2lp1i-nixos-system-nixos-riscv-24.11pre-git/init [ 77.441300] stage-1-init: [Thu Jan 1 00:01:16 UTC 1970] + stage2Init=/nix/store/xwqaqpc66ijvay9wxnm5nqmi30f2lp1i-nixos-system-nixos-riscv-24.11pre-git/init [ 78.060720] stage-1-init: [Thu Jan 1 00:01:17 UTC 1970] + echo /nix/store/988axh0bq3wqp90gms4b4a0hkfwvkd3i-extra-utils/bin/modprobe [ 78.613460] stage-1-init: [Thu Jan 1 00:01:17 UTC 1970] + basename dm_mod [ 79.520040] stage-1-init: [Thu Jan 1 00:01:18 UTC 1970] + info 'loading module dm_mod...' [ 79.958040] stage-1-init: [Thu Jan 1 00:01:19 UTC 1970] + '[[' -n 1 ]] [ 80.571720] stage-1-init: [Thu Jan 1 00:01:19 UTC 1970] + echo 'loading module dm_mod...' [ 80.607660] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@lists.linux.dev + echo 'Creating a heartbeat counter at 0x1bfff0000' Creating a heartbeat counter at 0x1bfff0000 + echo 0 + info 'running udev...' + '[[' -n 1 ]] + echo 'running udev...' running udev... + ln -sfn /proc/self/fd /dev/fd + sh -c 'hb=0; while [ 1 ]; do let hb=$hb+1; devmem 0x1bfff0000 32 $hb; done' [ 81.473120] stage-1-init: [Thu Jan 1 00:01:20 UTC 1970] loading module dm_mod... + ln -sfn /proc/self/fd/0 /dev/stdin [ 82.329900] stage-1-init: [Thu Jan 1 00:01:21 UTC 1970] + modprobe dm_mod + ln -sfn /proc/self/fd/1 /dev/stdout [ 83.264540] stage-1-init: [Thu Jan 1 00:01:22 UTC 1970] + echo 'Creating a heartbeat counter at 0x1bfff0000' + ln -sfn /proc/self/fd/2 /dev/stderr + mkdir -p /etc/systemd [ 84.156700] stage-1-init: [Thu Jan 1 00:01:23 UTC 1970] Creating a heartbeat counter at 0x1bfff0000 + ln -sfn /nix/store/rwgnr0zbwm045ijjkhq9mmyqymffan17-link-units /etc/systemd/network [ 84.989640] stage-1-init: [Thu Jan 1 00:01:24 UTC 1970] + echo 0 + mkdir -p /etc/udev [ 85.867560] stage-1-init: [Thu Jan 1 00:01:25 UTC 1970] + info 'running udev...' + ln -sfn /nix/store/2lwmlx07crc2zys49kkwrfm3zhkj6zfr-udev-rules /etc/udev/rules.d [ 86.717780] stage-1-init: [Thu Jan 1 00:01:26 UTC 1970] + '[[' -n 1 ]] + mkdir -p /dev/.mdadm [ 87.589900] stage-1-init: [Thu Jan 1 00:01:26 UTC 1970] + echo 'running udev...' + systemd-udevd --daemon [ 88.423760] stage-1-init: [Thu Jan 1 00:01:27 UTC 1970] running udev... [ 89.309480] stage-1-init: [Thu Jan 1 00:01:28 UTC 1970] + ln -sfn /proc/self/fd /dev/fd [ 90.287460] stage-1-init: [Thu Jan 1 00:01:29 UTC 1970] + sh -c 'hb=0; while [ 1 ]; do let hb=$hb+1; devmem 0x1bfff0000 32 $hb; done' Starting systemd-udevd version 255.6 [ 91.248620] stage-1-init: [Thu Jan 1 00:01:30 UTC 1970] + ln -sfn /proc/self/fd/0 /dev/stdin + udevadm trigger '--action=add' [ 92.431600] stage-1-init: [Thu Jan 1 00:01:31 UTC 1970] + ln -sfn /proc/self/fd/1 /dev/stdout [ 93.623640] stage-1-init: [Thu Jan 1 00:01:32 UTC 1970] + ln -sfn /proc/self/fd/2 /dev/stderr [ 94.768040] stage-1-init: [Thu Jan 1 00:01:34 UTC 1970] + mkdir -p /etc/systemd [ 95.720180] stage-1-init: [Thu Jan 1 00:01:34 UTC 1970] + ln -sfn /nix/store/rwgnr0zbwm045ijjkhq9mmyqymffan17-link-units /etc/systemd/network [ 96.587820] stage-1-init: [Thu Jan 1 00:01:35 UTC 1970] + mkdir -p /etc/udev [ 97.519760] stage-1-init: [Thu Jan 1 00:01:36 UTC 1970] + ln -sfn /nix/store/2lwmlx07crc2zys49kkwrfm3zhkj6zfr-udev-rules /etc/udev/rules.d [ 98.364160] stage-1-init: [Thu Jan 1 00:01:37 UTC 1970] + mkdir -p /dev/.mdadm [ 99.194820] stage-1-init: [Thu Jan 1 00:01:38 UTC 1970] + systemd-udevd --daemon [ 100.050720] stage-1-init: [Thu Jan 1 00:01:39 UTC 1970] Starting systemd-udevd version 255.6 [ 100.907560] stage-1-init: [Thu Jan 1 00:01:40 UTC 1970] + udevadm trigger '--action=add' + udevadm settle [ 204.792900] stage-1-init: [Thu Jan 1 00:03:24 UTC 1970] + udevadm settle + kbd_mode -u -C /dev/console kbd_mode: KDSKBMODE: Inappropriate ioctl for device + printf '\033%%G' + loadkmap [ 305.593520] stage-1-init: [Thu Jan 1 00:05:04 UTC 1970] + kbd_mode -u -C /dev/console [ 306.507560] stage-1-init: [Thu Jan 1 00:05:05 UTC 1970] kbd_mode: KDSKBMODE: Inappropriate ioctl for device + info 'starting device mapper and LVM...' + '[[' -n 1 ]] + echo 'starting device mapper and LVM...' starting device mapper and LVM... + lvm vgchange -ay [ 307.384260] stage-1-init: [Thu Jan 1 00:05:06 UTC 1970] + printf '\033%%G' [ 308.487820] stage-1-init: [Thu Jan 1 00:05:07 UTC 1970] + loadkmap [ 309.589740] random: lvm: uninitialized urandom read (4 bytes read) [ 309.676340] stage-1-init: [Thu Jan 1 00:05:08 UTC 1970] + info 'starting device mapper and LVM...' [ 310.899120] stage-1-init: [Thu Jan 1 00:05:10 UTC 1970] + '[[' -n 1 ]] [ 311.760340] stage-1-init: [Thu Jan 1 00:05:11 UTC 1970] + echo 'starting device mapper and LVM...' [ 312.620080] stage-1-init: [Thu Jan 1 00:05:11 UTC 1970] starting device mapper and LVM... [ 313.468280] stage-1-init: [Thu Jan 1 00:05:12 UTC 1970] + lvm vgchange -ay + test -n + test -e /sys/power/resume -a -e /sys/power/disk + '[' -n ] + mkdir -p /mnt-root [ 317.268920] stage-1-init: [Thu Jan 1 00:05:16 UTC 1970] + test -n + exec + read -u 3 mountPoint + read -u 3 device + read -u 3 fsType + read -u 3 options + pseudoDevice= + test -z + waitDevice /dev/disk/by-label/NIXOS_SD + local 'device=/dev/disk/by-label/NIXOS_SD' + local IFS + '[' ext4 '=' bcachefs ] + test '!' -e /dev/disk/by-label/NIXOS_SD + udevadm settle [ 318.217580] stage-1-init: [Thu Jan 1 00:05:17 UTC 1970] + test -e /sys/power/resume -a -e /sys/power/disk [ 319.069060] stage-1-init: [Thu Jan 1 00:05:18 UTC 1970] + '[' -n ] [ 319.916780] stage-1-init: [Thu Jan 1 00:05:19 UTC 1970] + mkdir -p /mnt-root [ 320.769780] stage-1-init: [Thu Jan 1 00:05:20 UTC 1970] + exec + '[' -n ] + '[' / '=' / ] + '[' /dev/disk/by-label/NIXOS_SD '=' tmpfs ] + escapeFstab / + local 'original=/' + local 'escaped=/' + echo / [ 321.672440] stage-1-init: [Thu Jan 1 00:05:20 UTC 1970] + read -u 3 mountPoint + escapeFstab x-initrd.mount + local 'original=x-initrd.mount' + local 'escaped=x-initrd.mount' + echo x-initrd.mount + mountFS /dev/disk/by-label/NIXOS_SD / x-initrd.mount ext4 + local 'device=/dev/disk/by-label/NIXOS_SD' + local 'mountPoint=/' + local 'options=x-initrd.mount' + local 'fsType=ext4' + '[' ext4 '=' auto ] + IFS=, + '[' x- '!=' x- ] + local 'optionsFiltered=' [ 322.609040] stage-1-init: [Thu Jan 1 00:05:21 UTC 1970] + read -u 3 device + echo + sed -E 's#\<(lowerdir|upperdir|workdir)=#\1=/mnt-root#g' [ 323.548540] stage-1-init: [Thu Jan 1 00:05:22 UTC 1970] + read -u 3 fsType + local 'optionsPrefixed=' + echo '/dev/disk/by-label/NIXOS_SD /mnt-root/ ext4 ' + checkFS /dev/disk/by-label/NIXOS_SD ext4 + local 'device=/dev/disk/by-label/NIXOS_SD' + local 'fsType=ext4' + '[' '!' -b /dev/disk/by-label/NIXOS_SD ] + '[' ext4 '=' iso9660 -o ext4 '=' udf ] + '[' ext4 '=' btrfs -o ext4 '=' zfs -o ext4 '=' bcachefs ] + '[' ext4 '=' apfs ] + '[' ext4 '=' nilfs2 ] + '[' ext4 '=' squashfs ] + '[' ext4 '=' erofs ] + '[' ext4 '=' auto ] + mount + grep -q '^/dev/disk/by-label/NIXOS_SD on ' [ 324.688960] stage-1-init: [Thu Jan 1 00:05:23 UTC 1970] + read -u 3 options + test -z 1 -a '(' ext4 '=' ext3 -o ext4 '=' ext4 -o ext4 '=' reiserfs -o ext4 '=' xfs -o ext4 '=' jfs -o ext4 '=' f2fs ')' + echo 'checking /dev/disk/by-label/NIXOS_SD...' checking /dev/disk/by-label/NIXOS_SD... + fsck -V -a /dev/disk/by-label/NIXOS_SD [ 325.609200] stage-1-init: [Thu Jan 1 00:05:24 UTC 1970] + pseudoDevice= fsck (busybox 1.36.1) [fsck.ext4 (1) -- /mnt-root/] fsck.ext4 -a /dev/disk/by-label/NIXOS_SD [ 326.476140] stage-1-init: [Thu Jan 1 00:05:25 UTC 1970] + test -z NIXOS_SD: recovering journal NIXOS_SD: clean, 52833/122160 files, 393133/491520 blocks [ 327.380080] stage-1-init: [Thu Jan 1 00:05:26 UTC 1970] + waitDevice /dev/disk/by-label/NIXOS_SD + fsckResult=0 + test 2 '=' 0 + test 4 '=' 0 + test 0 -ge 8 + return 0 + '[' ext4 '=' overlay ] + info 'mounting /dev/disk/by-label/NIXOS_SD on /...' + '[[' -n 1 ]] + echo 'mounting /dev/disk/by-label/NIXOS_SD on /...' mounting /dev/disk/by-label/NIXOS_SD on /... + makeMountPoint /dev/disk/by-label/NIXOS_SD / + local 'device=/dev/disk/by-label/NIXOS_SD' + local 'mountPoint=/' + local 'options=' + local 'IFS=,' + '[' -d /dev/disk/by-label/NIXOS_SD ] + mkdir -m 0755 -p /mnt-root/ [ 328.351960] stage-1-init: [Thu Jan 1 00:05:27 UTC 1970] + local 'device=/dev/disk/by-label/NIXOS_SD' + local 'n=0' + true + mount /mnt-root/ [ 329.204940] stage-1-init: [Thu Jan 1 00:05:28 UTC 1970] + local IFS [ 329.524640] EXT4-fs (pmem0p2): mounted filesystem 44444444-4444-4444-8888-888888888888 r/w with ordered data mode. Quota mode: none. + break + mount /mnt-root/ -o remount, [ 330.096240] stage-1-init: [Thu Jan 1 00:05:29 UTC 1970] + '[' ext4 '=' bcachefs ] [ 330.423880] EXT4-fs (pmem0p2): re-mounted 44444444-4444-4444-8888-888888888888 r/w. Quota mode: none. + '[' / '==' / ] + '[' -f /mnt-root/etc/NIXOS_LUSTRATE ] + true + read -u 3 mountPoint + exec + '[' -e /mnt-root/iso ] + udevadm info --export '--export-prefix=ROOT_' '--device-id-of-file=/mnt-root' [ 331.044220] stage-1-init: [Thu Jan 1 00:05:30 UTC 1970] + test '!' -e /dev/disk/by-label/NIXOS_SD [ 331.904160] stage-1-init: [Thu Jan 1 00:05:31 UTC 1970] + udevadm settle [ 332.755700] stage-1-init: [Thu Jan 1 00:05:32 UTC 1970] + '[' -n ] [ 333.603600] stage-1-init: [Thu Jan 1 00:05:32 UTC 1970] + '[' / '=' / ] + eval 'ROOT_MAJOR=259' 'ROOT_MINOR=2' + ROOT_MAJOR=259 ROOT_MINOR=2 + '[' 259 -a 2 -a 259 '!=' 0 ] + mkdir -p /run/udev/rules.d [ 334.527860] stage-1-init: [Thu Jan 1 00:05:33 UTC 1970] + '[' /dev/disk/by-label/NIXOS_SD '=' tmpfs ] + echo 'ACTION=="add|change", SUBSYSTEM=="block", ENV{MAJOR}=="259", ENV{MINOR}=="2", SYMLINK+="root"' + udevadm control --exit [ 335.392500] stage-1-init: [Thu Jan 1 00:05:34 UTC 1970] + escapeFstab / [ 336.237560] stage-1-init: [Thu Jan 1 00:05:35 UTC 1970] + local 'original=/' [ 337.080820] stage-1-init: [Thu Jan 1 00:05:36 UTC 1970] + local 'escaped=/' + + evalexec 'exec 8>&- 9>&-' + exec [ 338.100000] stage-1-init: [Thu Jan 1 00:05:37 UTC 1970] + echo / + pgrep -v -f ^@ [ 338.990840] stage-1-init: [Thu Jan 1 00:05:38 UTC 1970] + escapeFstab x-initrd.mount [ 339.835920] stage-1-init: [Thu Jan 1 00:05:39 UTC 1970] + local 'original=x-initrd.mount' + readlink /proc/1/exe [ 340.702820] stage-1-init: [Thu Jan 1 00:05:39 UTC 1970] + local 'escaped=x-initrd.mount' + '[' 1 -eq 1 ] + continue + readlink /proc/2/exe [ 341.543740] stage-1-init: [Thu Jan 1 00:05:40 UTC 1970] + echo x-initrd.mount + continue + readlink /proc/3/exe [ 342.457600] stage-1-init: [Thu Jan 1 00:05:41 UTC 1970] + mountFS /dev/disk/by-label/NIXOS_SD / x-initrd.mount ext4 + continue + readlink /proc/4/exe [ 343.332000] stage-1-init: [Thu Jan 1 00:05:42 UTC 1970] + local 'device=/dev/disk/by-label/NIXOS_SD' + continue + readlink /proc/5/exe + [ 344.178760] stage-1-init: [Thu Jan 1 00:05:43 UTC 1970] + local 'mountPoint=/' continue + readlink /proc/6/exe + continue + readlink /proc/7/exe [ 345.050720] stage-1-init: [Thu Jan 1 00:05:44 UTC 1970] + local 'options=x-initrd.mount' + continue + readlink /proc/8/exe [ 345.927260] stage-1-init: [Thu Jan 1 00:05:45 UTC 1970] + local 'fsType=ext4' + continue + readlink /proc/9/exe [ 346.777360] stage-1-init: [Thu Jan 1 00:05:46 UTC 1970] + '[' ext4 '=' auto ] + continue + readlink /proc/10/exe [ 347.588680] stage-1-init: [Thu Jan 1 00:05:46 UTC 1970] + IFS=, + continue + readlink /proc/11/exe [ 348.448200] stage-1-init: [Thu Jan 1 00:05:47 UTC 1970] + '[' x- '!=' x- ] + continue + readlink /proc/12/exe [ 349.316640] stage-1-init: [Thu Jan 1 00:05:48 UTC 1970] + local 'optionsFiltered=' + continue + readlink /proc/13/exe [ 350.152600] stage-1-init: [Thu Jan 1 00:05:49 UTC 1970] + echo + continue + readlink /proc/14/exe [ 351.035880] stage-1-init: [Thu Jan 1 00:05:50 UTC 1970] + sed -E 's#\<(lowerdir|upperdir|workdir)=#\1=/mnt-root#g' + continue + readlink /proc/15/exe [ 351.897160] stage-1-init: [Thu Jan 1 00:05:51 UTC 1970] + local 'optionsPrefixed=' + continue + readlink /proc/16/exe [ 352.813200] stage-1-init: [Thu Jan 1 00:05:52 UTC 1970] + echo '/dev/disk/by-label/NIXOS_SD /mnt-root/ ext4 ' + continue + readlink /proc/17/exe + continue + readlink /proc/18/exe[ 353.712780] stage-1-init: [Thu Jan 1 00:05:52 UTC 1970] + checkFS /dev/disk/by-label/NIXOS_SD ext4 + continue + readlink /proc/19/exe [ 354.601220] stage-1-init: [Thu Jan 1 00:05:53 UTC 1970] + local 'device=/dev/disk/by-label/NIXOS_SD' + continue + readlink /proc/20/exe [ 355.468760] stage-1-init: [Thu Jan 1 00:05:54 UTC 1970] + local 'fsType=ext4' + continue + readlink /proc/21/exe [ 356.367400] stage-1-init: [Thu Jan 1 00:05:55 UTC 1970] + '[' '!' -b /dev/disk/by-label/NIXOS_SD ] + continue + readlink /proc/22/exe [ 357.265240] stage-1-init: [Thu Jan 1 00:05:56 UTC 1970] + '[' ext4 '=' iso9660 -o ext4 '=' udf ] + continue + readlink /proc/23/exe [ 358.205080] stage-1-init: [Thu Jan 1 00:05:57 UTC 1970] + '[' ext4 '=' btrfs -o ext4 '=' zfs -o ext4 '=' bcachefs ] + continue + readlink /proc/24/exe [ 359.079760] stage-1-init: [Thu Jan 1 00:05:58 UTC 1970] + '[' ext4 '=' apfs ] + continue + readlink /proc/25/exe [ 359.919800] stage-1-init: [Thu Jan 1 00:05:59 UTC 1970] + '[' ext4 '=' nilfs2 ] + continue + readlink /proc/26/exe + continue [ 360.787940] stage-1-init: [Thu Jan 1 00:06:00 UTC 1970] + '[' ext4 '=' squashfs ] + readlink /proc/27/exe + continue + readlink /proc/28/exe [ 361.648260] stage-1-init: [Thu Jan 1 00:06:00 UTC 1970] + '[' ext4 '=' erofs ] + continue + readlink /proc/29/exe [ 362.507320] stage-1-init: [Thu Jan 1 00:06:01 UTC 1970] + '[' ext4 '=' auto ] + continue + readlink /proc/30/exe [ 363.316580] stage-1-init: [Thu Jan 1 00:06:02 UTC 1970] + mount + continue + readlink /proc/31/exe [ 364.199960] stage-1-init: [Thu Jan 1 00:06:03 UTC 1970] + grep -q '^/dev/disk/by-label/NIXOS_SD on ' + continue + readlink /proc/32/exe [ 365.232880] stage-1-init: [Thu Jan 1 00:06:04 UTC 1970] + test -z 1 -a '(' ext4 '=' ext3 -o ext4 '=' ext4 -o ext4 '=' reiserfs -o ext4 '=' xfs -o ext4 '=' jfs -o ext4 '=' f2fs ')' + continue + readlink /proc/33/exe [ 366.162000] stage-1-init: [Thu Jan 1 00:06:05 UTC 1970] + echo 'checking /dev/disk/by-label/NIXOS_SD...' + continue + readlink /proc/34/exe [ 367.042760] stage-1-init: [Thu Jan 1 00:06:06 UTC 1970] checking /dev/disk/by-label/NIXOS_SD... + continue + readlink /proc/35/exe + continue + readlink[ 367.939480] stage-1-init: [Thu Jan 1 00:06:07 UTC 1970] + fsck -V -a /dev/disk/by-label/NIXOS_SD /proc/36/exe + continue + readlink /proc/37/exe [ 368.785380] stage-1-init: [Thu Jan 1 00:06:08 UTC 1970] fsck (busybox 1.36.1) + continue + readlink /proc/38/exe [ 369.728280] stage-1-init: [Thu Jan 1 00:06:09 UTC 1970] [fsck.ext4 (1) -- /mnt-root/] fsck.ext4 -a /dev/disk/by-label/NIXOS_SD + continue + readlink /proc/39/exe [ 370.620960] stage-1-init: [Thu Jan 1 00:06:09 UTC 1970] NIXOS_SD: recovering journal + continue + readlink /proc/40/exe [ 371.553240] stage-1-init: [Thu Jan 1 00:06:10 UTC 1970] NIXOS_SD: clean, 52833/122160 files, 393133/491520 blocks + continue + readlink /proc/47/exe [ 372.419760] stage-1-init: [Thu Jan 1 00:06:11 UTC 1970] + fsckResult=0 + continue + readlink /proc/48/exe [ 373.252460] stage-1-init: [Thu Jan 1 00:06:12 UTC 1970] + test 2 '=' 0 + continue + readlink /proc/74/exe [ 374.083140] stage-1-init: [Thu Jan 1 00:06:13 UTC 1970] + test 4 '=' 0 + '[' 74 -eq 1 ] + kill -9 74 + readlink /proc/75/exe [ 374.961120] stage-1-init: [Thu Jan 1 00:06:14 UTC 1970] + test 0 -ge 8 + '[' 75 -eq 1 ] + kill -9 75 + readlink /proc/102/exe + '[' 102 -eq 1 ] + kill -9 102 + readlink /proc/137/exe + continue + readlink /proc/674/exe + continue + readlink /proc/675/exe + continue + test -n + echo /sbin/modprobe + '[' '!' -e /mnt-root//nix/store/xwqaqpc66ijvay9wxnm5nqmi30f2lp1i-nixos-system-nixos-riscv-24.11pre-git/init ] + mkdir -m 0755 -p /mnt-root/proc /mnt-root/sys /mnt-root/dev /mnt-root/run + mount --move /proc /mnt-root/proc + mount --move /sys /mnt-root/sys + mount --move /dev /mnt-root/dev + mount --move /run /mnt-root/run + type -P switch_root + exec env -i /nix/store/988axh0bq3wqp90gms4b4a0hkfwvkd3i-extra-utils/bin/switch_root /mnt-root /nix/store/xwqaqpc66ijvay9wxnm5nqmi30f2lp1i-nixos-system-nixos-riscv-24.11pre-git/init <<< NixOS Stage 2 >>> [ 384.203680] EXT4-fs (pmem0p2): re-mounted 44444444-4444-4444-8888-888888888888 r/w. Quota mode: none. [ 384.287600] booting system configuration /nix/store/xwqaqpc66ijvay9wxnm5nqmi30f2lp1i-nixos-system-nixos-riscv-24.11pre-git running activation script... [ 388.163860] stage-2-init: running activation script... [ 391.643500] random: perl: uninitialized urandom read (4 bytes read) [ 391.884800] random: perl: uninitialized urandom read (4 bytes read) [ 425.302000] random: perl: uninitialized urandom read (4 bytes read)