VisionFive #nixos=/nix/store/664jpizf2z931msm7pjnbc2aiw1k5yrb-nixos-system-misaki-22.11.20220801.ff5ef6b VisionFive # VisionFive #load mmc 0:2 ${fdt_addr_r} ${nixos}/dtbs/${fdtfile} MMC CD is 0x0, force to True. 27423 bytes read in 246 ms (108.4 KiB/s) VisionFive #fdt addr ${fdt_addr_r} VisionFive #load mmc 0:1 ${kernel_addr_r} /efi/nixos/9wc377vma7ajdnbzwqzjygjyg6lqgf21-linux-riscv64-unknown-linux-gnu-5.18.11-visionfive-Image.efi 25039360 bytes read in 5180 ms (4.6 MiB/s) VisionFive #setenv bootargs "initrd=\EFI\nixos\2bq1abwn12wg6m8szz2b0gq10lqj48xh-initrd-linux-riscv64-unknown-linux-gnu-5.18.11-visionfive-initrd.efi" VisionFive #bootefi ${kernel_addr_r} ${fdt_addr_r} MMC CD is 0x1, force to True. Card did not respond to voltage select! : -110 Disk mmc@10010000.blk not ready EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Exiting boot services... [ 0.000000] Linux version 5.18.11 (nixbld@localhost) (riscv64-unknown-linux-gnu-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38) #1-NixOS SMP Tue Jan 1 00:00:00 UTC 1980 [ 0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 [ 0.000000] Machine model: StarFive VisionFive V1 [ 0.000000] efi: EFI v2.90 by Das U-Boot [ 0.000000] efi: RTPROP=0xfe6d6040 MEMRESERVE=0xfe6cc040 [ 0.000000] OF: fdt: Ignoring memory block 0x80000000 - 0x80080000 [ 0.000000] OF: fdt: Ignoring memory range 0x80080000 - 0x80200000 [ 0.000000] Reserved memory: created CMA memory pool at 0x00000000a0000000, size 640 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000f9000000, size 16 MiB [ 0.000000] OF: reserved mem: initialized node framebuffer@f9000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000fb000000, size 32 MiB [ 0.000000] OF: reserved mem: initialized node framebuffer@fb000000, compatible id shared-dma-pool [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000080200000-0x000000027fffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x27f3b8740-0x27f3b9fff] [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000080200000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x000000027fffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080200000-0x00000000cfffffff] [ 0.000000] node 0: [mem 0x00000000d0000000-0x00000000f7ffffff] [ 0.000000] node 0: [mem 0x00000000f8000000-0x00000000f8ffffff] [ 0.000000] node 0: [mem 0x00000000f9000000-0x00000000f9ffffff] [ 0.000000] node 0: [mem 0x00000000fa000000-0x00000000faffffff] [ 0.000000] node 0: [mem 0x00000000fb000000-0x00000000fcffffff] [ 0.000000] node 0: [mem 0x00000000fd000000-0x00000000fe6d5fff] [ 0.000000] node 0: [mem 0x00000000fe6d6000-0x00000000fe6d8fff] [ 0.000000] node 0: [mem 0x00000000fe6d9000-0x00000000fe6d9fff] [ 0.000000] node 0: [mem 0x00000000fe6da000-0x00000000fe6ddfff] [ 0.000000] node 0: [mem 0x00000000fe6de000-0x00000000fff13fff] [ 0.000000] node 0: [mem 0x00000000fff14000-0x00000000fff14fff] [ 0.000000] node 0: [mem 0x00000000fff15000-0x000000027fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x000000027fffffff] [ 0.000000] On node 0, zone DMA32: 512 pages in unavailable ranges [ 0.000000] SBI specification v0.3 detected [ 0.000000] SBI implementation ID=0x1 Version=0x10000 [ 0.000000] SBI TIME extension detected [ 0.000000] SBI IPI extension detected [ 0.000000] SBI RFENCE extension detected [ 0.000000] SBI HSM extension detected [ 0.000000] riscv: base ISA extensions acdfim [ 0.000000] riscv: ELF capabilities acdfim [ 0.000000] percpu: cpu 0 has no node -1 or node-local memory [ 0.000000] percpu: Embedded 27 pages/cpu s71976 r8192 d30424 u110592 [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2063880 [ 0.000000] Policy zone: Normal [ 0.000000] Kernel command line: initrd=\EFI\nixos\2bq1abwn12wg6m8szz2b0gq10lqj48xh-initrd-linux-riscv64-unknown-linux-gnu-5.18.11-visionfive-initrd.efi [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0x000000009c000000-0x00000000a0000000] (64MB) [ 0.000000] Virtual kernel memory layout: [ 0.000000] fixmap : 0xffffffc6fee00000 - 0xffffffc6ff000000 (2048 kB) [ 0.000000] pci io : 0xffffffc6ff000000 - 0xffffffc700000000 ( 16 MB) [ 0.000000] vmemmap : 0xffffffc700000000 - 0xffffffc800000000 (4096 MB) [ 0.000000] vmalloc : 0xffffffc800000000 - 0xffffffd800000000 (65536 MB) [ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffd9ffe00000 (8190 MB) [ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB) [ 0.000000] Memory: 6695308K/8386560K available (7737K kernel code, 5597K rwdata, 8192K rodata, 2471K init, 644K bss, 1035892K reserved, 655360K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] ftrace: allocating 29928 entries in 117 pages [ 0.000000] ftrace: allocated 117 pages with 5 groups [ 0.000000] trace event string verifier disabled [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=2. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] riscv-intc: 64 local interrupts mapped [ 0.000000] plic: interrupt-controller@c000000: mapped 133 interrupts with 2 handlers for 4 contexts. [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x171024e6b, max_idle_ns: 440795202301 ns [ 0.000002] sched_clock: 64 bits at 6MHz, resolution 160ns, wraps every 4398046511040ns [ 0.000358] Console: colour dummy device 80x25 [ 0.001148] printk: console [tty0] enabled [ 0.001434] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500) [ 0.001473] pid_max: default: 32768 minimum: 301 [ 0.002007] LSM: Security Framework initializing [ 0.002155] Yama: becoming mindful. [ 0.002233] SELinux: Initializing. [ 0.003296] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.003871] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.008581] cblist_init_generic: Setting adjustable number of callback queues. [ 0.008624] cblist_init_generic: Setting shift to 1 and lim to 1. [ 0.008880] cblist_init_generic: Setting shift to 1 and lim to 1. [ 0.009135] cblist_init_generic: Setting shift to 1 and lim to 1. [ 0.009419] ASID allocator disabled (0 bits) [ 0.009717] rcu: Hierarchical SRCU implementation. [ 0.011158] Remapping and enabling EFI services. [ 0.012133] smp: Bringing up secondary CPUs ... [ 0.013823] smp: Brought up 1 node, 2 CPUs [ 0.018347] devtmpfs: initialized [ 0.028258] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.028318] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.124478] pinctrl core: initialized pinctrl subsystem [ 0.126684] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.127025] audit: initializing netlink subsys (disabled) [ 0.127690] audit: type=2000 audit(0.120:1): state=initialized audit_enabled=0 res=1 [ 0.128302] thermal_sys: Registered thermal governor 'fair_share' [ 0.128314] thermal_sys: Registered thermal governor 'step_wise' [ 0.144693] platform 12000000.crtc: Fixing up cyclic dependency with soc:display-encoder [ 0.156611] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.156645] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.159482] fbcon: Taking over console [ 0.159874] iommu: Default domain type: Translated [ 0.159897] iommu: DMA domain TLB invalidation policy: strict mode [ 0.160376] pps_core: LinuxPPS API ver. 1 registered [ 0.160398] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.160468] PTP clock support registered [ 0.160604] Registered efivars operations [ 0.162189] NetLabel: Initializing [ 0.162212] NetLabel: domain hash size = 128 [ 0.162227] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.162336] NetLabel: unlabeled traffic allowed by default [ 0.162776] vgaarb: loaded [ 0.162942] clocksource: Switched to clocksource riscv_clocksource [ 0.281118] VFS: Disk quotas dquot_6.6.0 [ 0.281288] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.291946] NET: Registered PF_INET protocol family [ 0.296423] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.305762] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 0.306142] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.306215] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.308837] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear) [ 0.313874] TCP: Hash tables configured (established 65536 bind 65536) [ 0.316423] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear) [ 0.316907] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.317603] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.318722] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.318784] NET: Registered PF_XDP protocol family [ 0.318810] PCI: CLS 0 bytes, default 64 [ 0.320525] Initialise system trusted keyrings [ 0.320624] Key type blacklist registered [ 0.321050] workingset: timestamp_bits=44 max_order=21 bucket_order=0 [ 0.332411] zbud: loaded [ 0.334694] Key type asymmetric registered [ 0.334722] Asymmetric key parser 'x509' registered [ 0.341907] alg: self-tests for CTR-KDF (hmac(sha256)) passed [ 0.342019] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) [ 0.342368] io scheduler mq-deadline registered [ 0.342392] io scheduler kyber registered [ 0.353345] L2CACHE: No. of Banks in the cache: 2 [ 0.353375] L2CACHE: No. of ways per bank: 16 [ 0.353390] L2CACHE: Sets per bank: 1024 [ 0.353403] L2CACHE: Bytes per cache block: 64 [ 0.353416] L2CACHE: Index of the largest way enabled: 15 [ 0.354264] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 0.365599] ledtrig-cpu: registered to indicate activity on CPUs [ 0.365888] riscv-pmu-sbi: SBI PMU extension is available [ 0.367031] riscv-pmu-sbi: 15 firmware and 4 hardware counters [ 0.367062] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available [ 0.368103] drop_monitor: Initializing network drop monitor service [ 0.461654] NET: Registered PF_INET6 protocol family [ 0.468312] Segment Routing with IPv6 [ 0.468346] RPL Segment Routing with IPv6 [ 0.468434] In-situ OAM (IOAM) with IPv6 [ 0.469664] registered taskstats version 1 [ 0.469902] Loading compiled-in X.509 certificates [ 0.470933] zswap: loaded using pool lzo/zbud [ 0.472034] Key type ._fscrypt registered [ 0.472058] Key type .fscrypt registered [ 0.472073] Key type fscrypt-provisioning registered [ 0.475885] Key type encrypted registered [ 0.475951] ima: No TPM chip found, activating TPM-bypass! [ 0.476007] Loading compiled-in module X.509 certificates [ 1.733075] Loaded X.509 cert 'Build time autogenerated kernel key: ae73c8fe6e71b552eade6ba3ba541dcf3db1fc51' [ 1.733117] ima: Allocated hash algorithm: sha256 [ 1.733194] ima: No architecture policies found [ 1.733345] evm: Initialising EVM extended attributes: [ 1.733364] evm: security.selinux [ 1.733378] evm: security.SMACK64 (disabled) [ 1.733392] evm: security.SMACK64EXEC (disabled) [ 1.733405] evm: security.SMACK64TRANSMUTE (disabled) [ 1.733418] evm: security.SMACK64MMAP (disabled) [ 1.733431] evm: security.apparmor [ 1.733443] evm: security.ima [ 1.733454] evm: security.capability [ 1.733467] evm: HMAC attrs: 0x1 [ 2.299975] dw-apb-uart 11870000.serial: detected caps 00000000 should be 00000100 [ 2.300047] 11870000.serial: ttyS1 at MMIO 0x11870000 (irq = 23, base_baud = 4640625) is a 16550 [ 2.300969] 12440000.serial: ttyS0 at MMIO 0x12440000 (irq = 35, base_baud = 6250000) is a 16550A [ 3.390661] printk: console [ttyS0] enabled [ 3.396475] dw-apb-uart 12440000.serial: forbid DMA for kernel console [ 3.403205] List of all partitions: [ 3.406696] No filesystem could mount root, tried: [ 3.406702] [ 3.413067] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 3.421312] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.18.11 #1-NixOS [ 3.427823] Hardware name: StarFive VisionFive V1 (DT) [ 3.432945] Call Trace: [ 3.435391] [] dump_backtrace+0x30/0x38 [ 3.440794] [] show_stack+0x40/0x4c [ 3.445842] [] dump_stack_lvl+0x44/0x5c [ 3.451238] [] dump_stack+0x18/0x20 [ 3.456279] [] panic+0x10e/0x300 [ 3.461060] [] mount_block_root+0x22c/0x248 [ 3.466795] [] mount_root+0x15a/0x174 [ 3.472007] [] prepare_namespace+0x156/0x198 [ 3.477827] [] kernel_init_freeable+0x2b4/0x2d8 [ 3.483904] [] kernel_init+0x32/0x176 [ 3.489122] [] ret_from_exception+0x0/0xc [ 3.494684] SMP: stopping secondary CPUs [ 3.498611] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---