You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have already posted it in the Arch Linux on RIDC-V matrix channel, but as RVVM use NVMe as a default choice, I think it's worth to ask it in an issue in RVVM.
Here is the problem:
nvme disk failed to be detected by the newest Archlinux 6.9.4-arch1-1 on RVVM.
That's my log:
./release.android.arm64/rvvm_arm64 ~/archriscv-tmp/fw_payload.bin -m 2g -s 2 -i /sdcard/arch.img -jitcache 64M
OpenSBI v1.2
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : RVVM v0.7-dcd391a
Platform Features : medeleg
Platform HART Count : 2
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 10000000Hz
Platform Console Device : uart8250
Platform HSM Device : ---
Platform PMU Device : ---
Platform Reboot Device : sifive_test
Platform Shutdown Device : sifive_test
Firmware Base : 0x80000000
Firmware Size : 220 KB
Runtime SBI Version : 1.0
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*,1*
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01 : 0x0000000080000000-0x000000008003ffff ()
Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x0000000080200000
Domain0 Next Arg1 : 0x0000000082200000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Boot HART ID : 0
Boot HART Domain : root
Boot HART Priv Version : v1.11
Boot HART Base ISA : rv64imafdc
Boot HART ISA Extensions : time
Boot HART PMP Count : 0
Boot HART PMP Granularity : 0
Boot HART PMP Address Bits: 0
Boot HART MHPM Count : 0
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109
U-Boot 2023.04-dirty (Apr 10 2023 - 22:42:16 +0300)
CPU: rv64imafdc_zicsr_zifencei
Model: RVVM v0.7-dcd391a
DRAM: 2 GiB
Core: 17 devices, 12 uclasses, devicetree: board
Loading Environment from nowhere... OK
In: serial
Out: serial
Err: serial
Net: eth0: eth_rtl8169
Working FDT set to ff726820
Hit any key to stop autoboot: 0
Device 0: Vendor: 0x144d Rev: R947 Prod: 26FBAV81WDJR
Type: Hard Disk
Capacity: 40960.0 MB = 40.0 GB (83886080 x 512)
... is now current device
Scanning nvme 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
Arch RISC-V RVVM Boot
1: Linux linux
2: Linux-normal linux-normal
Enter choice: 1: Linux linux
Retrieving file: /boot/vmlinuz-linux
Retrieving file: /boot/initramfs-linux-fallback.img
append: earlyprintk rw root=/dev/nvme0n1p1 rootwait rootfstype=ext4 LANG=en_US.UTF-8 console=ttyS0
Uncompressing Kernel Image
Moving Image from 0x84000000 to 0x80200000, end=82711000
## Flattened Device Tree blob at ff726820
Booting using the fdt blob at 0xff726820
Working FDT set to ff726820
Using Device Tree in place at 00000000ff726820, end 00000000ff72adcb
Working FDT set to ff726820
Starting kernel ...
:: running early hook [udev]
Starting systemd-udevd version 256.1-1-arch-g34ba18b^
:: running hook [udev]
:: Triggering uevents...
:: running hook [keymap]
:: Loading keymap...kbd_mode: KDSKBMODE: Inappropriate ioctl for device
Gdone.
Waiting 10 seconds for device /dev/nvme0n1p1 ...
Waiting 10 seconds for device /dev/nvme0n1p1 ...
ERROR: device '/dev/nvme0n1p1' not found. Skipping fsck.
:: mounting '/dev/nvme0n1p1' on real root
mount: /new_root: fsconfig system call failed: /dev/nvme0n1p1: Can't lookup blockdev.
dmesg(1) may have more information after failed mount system call.
ERROR: Failed to mount '/dev/nvme0n1p1' on real root
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ~]# dmesg
[ 0.000000] Linux version 6.9.4-arch1-1 (linux@archlinux) (gcc (GCC) 14.1.1 20240522, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Fri, 14 Jun 2024 16:24:32 +0000
[ 0.000000] random: crng init done
[ 0.000000] Machine model: RVVM v0.7-dcd391a
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10002
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI SRST extension detected
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000080000000..0x000000008003ffff (256 KiB) nomap non-reusable mmode_resv0@80000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xffdf2740-0xffdf4fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x000000008003ffff]
[ 0.000000] node 0: [mem 0x0000000080040000-0x00000000ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] SBI HSM extension detected
[ 0.000000] Falling back to deprecated "riscv,isa"
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 32 pages/cpu s93096 r8192 d29784 u131072
[ 0.000000] pcpu-alloc: s93096 r8192 d29784 u131072 alloc=32*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Kernel command line: earlyprintk rw root=/dev/nvme0n1p1 rootwait rootfstype=ext4 LANG=en_US.UTF-8 console=ttyS0
[ 0.000000] Unknown kernel command line parameters "earlyprintk LANG=en_US.UTF-8", will be passed to user space.
[ 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] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096
[ 0.000000] Policy zone: DMA32
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[ 0.000000] Memory: 1842796K/2097152K available (11065K kernel code, 8131K rwdata, 10240K rodata, 6638K init, 655K bss, 254356K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] trace event string verifier disabled
[ 0.000000] Dynamic Preempt: full
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=320 to nr_cpu_ids=2.
[ 0.000000] rcu: RCU priority boosting: priority 1 delay 500 ms.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] RCU Tasks Trace: Setting shift to 1 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] riscv: providing IPIs using SBI IPI extension
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[ 0.000017] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
[ 0.008097] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
[ 0.011584] Console: colour dummy device 80x25
[ 0.012471] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.83 BogoMIPS (lpj=33333)
[ 0.012560] pid_max: default: 32768 minimum: 301
[ 0.017734] LSM: initializing lsm=capability,landlock,lockdown,yama,bpf
[ 0.018178] landlock: Up and running.
[ 0.018223] Yama: becoming mindful.
[ 0.018389] LSM support for eBPF active
[ 0.019274] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.019365] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.049187] riscv: ELF compat mode supported
[ 0.049350] ASID allocator disabled (0 bits)
[ 0.052685] rcu: Hierarchical SRCU implementation.
[ 0.052758] rcu: Max phase no-delay instances is 1000.
[ 0.059709] EFI services will not be available.
[ 0.063410] smp: Bringing up secondary CPUs ...
[ 0.074295] smp: Brought up 1 node, 2 CPUs
[ 0.084290] devtmpfs: initialized
[ 0.100483] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.100698] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.102826] pinctrl core: initialized pinctrl subsystem
[ 0.126700] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.129744] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.130355] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.130793] audit: initializing netlink subsys (disabled)
[ 0.135111] audit: type=2000 audit(0.056:1): state=initialized audit_enabled=0 res=1
[ 0.140905] thermal_sys: Registered thermal governor 'fair_share'
[ 0.141039] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.141117] thermal_sys: Registered thermal governor 'step_wise'
[ 0.141156] thermal_sys: Registered thermal governor 'user_space'
[ 0.141183] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.142475] cpuidle: using governor ladder
[ 0.143020] cpuidle: using governor menu
[ 0.163046] cpu1: Ratio of byte access time to unaligned word access is 0.21, unaligned accesses are slow
[ 0.226522] cpu0: Ratio of byte access time to unaligned word access is 0.21, unaligned accesses are slow
[ 0.273214] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.273318] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.273388] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.273426] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.280161] Demotion targets for Node 0: null
[ 0.297200] ACPI: Interpreter disabled.
[ 0.299579] iommu: Default domain type: Translated
[ 0.299666] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.306491] SCSI subsystem initialized
[ 0.308860] libata version 3.00 loaded.
[ 0.309682] usbcore: registered new interface driver usbfs
[ 0.309977] usbcore: registered new interface driver hub
[ 0.310234] usbcore: registered new device driver usb
[ 0.311255] EDAC MC: Ver: 3.0.0
[ 0.321622] NetLabel: Initializing
[ 0.321678] NetLabel: domain hash size = 128
[ 0.321714] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.322186] NetLabel: unlabeled traffic allowed by default
[ 0.3223ctp: management component transport protocol core
[ 0.322353] NET: Registered PF_MCTP protocol family
[ 0.325378] vgaarb: loaded
[ 0.328979] clocksource: Switched to clocksource riscv_clocksource
[ 0.333261] VFS: Disk quotas dquot_6.6.0
[ 0.333561] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.335478] pnp: PnP ACPI: disabled
[ 0.387291] NET: Registered PF_INET protocol family
[ 0.388391] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.478866] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.479179] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.479418] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.479890] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[ 0.480320] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.483412] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)
[ 0.484600] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.484855] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.486124] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.486430] NET: Registered PF_XDP protocol family
[ 0.486580] PCI: CLS 0 bytes, default 64
[ 0.494581] Initialise system trusted keyrings
[ 0.495174] Key type blacklist registered
[ 0.498003] Trying to unpack rootfs image as initramfs...
[ 0.506262] workingset: timestamp_bits=41 max_order=19 bucket_order=0
[ 0.507776] zbud: loaded
[ 0.519756] fuse: init (API version 7.40)
[ 0.526044] integrity: Platform Keyring initialized
[ 0.526675] integrity: Machine keyring initialized
[ 0.645805] Key type asymmetric registered
[ 0.645914] Asymmetric key parser 'x509' registered
[ 0.646955] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.648985] io scheduler mq-deadline registered
[ 0.649079] io scheduler kyber registered
[ 0.649326] io scheduler bfq registered
[ 0.658104] riscv-plic c000000.plic: mapped 63 interrupts with 2 handlers for 4 contexts.
[ 0.663262] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 0.667937] SBI CPPC extension NOT detected!!
[ 0.673377] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.737741] printk: legacy console [ttyS0] disabled
[ 0.740250] 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 12, base_baud = 2500000) is a 16550A
[ 0.740860] printk: legacy console [ttyS0] enabled
[ 0.752802] usbcore: registered new interface driver usbserial_generic
[ 0.753071] usbserial: USB Serial support registered for generic
[ 0.755780] goldfish_rtc 101000.rtc: registered as rtc0
[ 0.756109] goldfish_rtc 101000.rtc: setting system clock to 2024-07-03T03:53:53 UTC (1719978833)
[ 0.761066] EDAC DEVICE0: Giving out device to module Sifive ECC Manager controller sifive_edac.0: DEV sifive_edac.0 (INTERRUPT)
[ 0.763358] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.764075] hid: raw HID events driver (C) Jiri Kosina
[ 0.765444] riscv-pmu-sbi: SBI PMU extension is available
[ 0.765701] riscv-pmu-sbi: 16 firmware and 2 hardware counters
[ 0.765760] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
[ 0.767945] drop_monitor: Initializing network drop monitor service
[ 0.769173] NET: Registered PF_INET6 protocol family
[ 26.564741] Freeing initrd memory: 160284K
[ 26.795237] Segment Routing with IPv6
[ 26.796622] RPL Segment Routing with IPv6
[ 26.797025] In-situ OAM (IOAM) with IPv6
[ 26.797488] NET: Registered PF_PACKET protocol family
[ 26.861689] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 26.864392] registered taskstats version 1
[ 26.880016] Loading compiled-in X.509 certificates
[ 26.950665] Loaded X.509 cert 'Build time autogenerated kernel key: 06ebd565c2af728cbdaae276281f1f112cef9039'
[ 27.067901] zswap: loaded using pool zstd/zsmalloc
[ 27.083028] Key type .fscrypt registered
[ 27.083198] Key type fscrypt-provisioning registered
[ 27.180937] clk: Disabling unused clocks
[ 27.181168] PM: genpd: Disabling unused power domains
[ 27.193762] Freeing unused kernel image (initmem) memory: 6636K
[ 27.198703] Checked W+X mappings: passed, no W+X pages found
[ 27.198875] rodata_test: all tests were successful
[ 27.199059] Run /init as init process
[ 27.199125] with arguments:
[ 27.199193] /init
[ 27.199224] earlyprintk
[ 27.199263] with environment:
[ 27.199290] HOME=/
[ 27.199314] TERM=linux
[ 27.199336] LANG=en_US.UTF-8
[rootfs ~]# lsmod
Module Size Used by
ext4 7356416 0
crc32c_generic 16384 0
crc16 12288 1 ext4
mbcache 81920 1 ext4
jbd2 1167360 1 ext4
r8169 970752 0
realtek 102400 0
mdio_devres 20480 1 r8169
of_mdio 53248 1 mdio_devres
fixed_phy 40960 1 of_mdio
fwnode_mdio 28672 1 of_mdio
libphy 835584 6 r8169,mdio_devres,fwnode_mdio,of_mdio,realtek,fixed_phy
[rootfs ~]# modprobe nvme
[rootfs ~]# modprobe nvme-core
[rootfs ~]# echo 1 > /sys/bus/pci/rescan
[rootfs ~]# ls /dev
autofs tty14 tty45 ttyS18
btrfs-control tty15 tty46 ttyS19
char tty16 tty47 ttyS2
console tty17 tty48 ttyS20
core tty18 tty49 ttyS21
cpu_dma_latency tty19 tty5 ttyS22
cuse tty2 tty50 ttyS23
dma_heap tty20 tty51 ttyS24
fd tty21 tty52 ttyS25
full tty22 tty53 ttyS26
fuse tty23 tty54 ttyS27
hwrng tty24 tty55 ttyS28
kmsg tty25 tty56 ttyS29
loop-control tty26 tty57 ttyS3
mem tty27 tty58 ttyS30
null tty28 tty59 ttyS31
port tty29 tty6 ttyS4
ptmx tty3 tty60 ttyS5
random tty30 tty61 ttyS6
rfkill tty31 tty62 ttyS7
rtc tty32 tty63 ttyS8
rtc0 tty33 tty7 ttyS9
snapshot tty34 tty8 udmabuf
snd tty35 tty9 urandom
stderr tty36 ttyS0 userfaultfd
stdin tty37 ttyS1 userio
stdout tty38 ttyS10 vcs
tty tty39 ttyS11 vcs1
tty0 tty4 ttyS12 vcsa
tty1 tty40 ttyS13 vcsa1
tty10 tty41 ttyS14 vcsu
tty11 tty42 ttyS15 vcsu1
tty12 tty43 ttyS16 vga_arbiter
tty13 tty44 ttyS17 zero
[rootfs ~]# dmesg
[ 0.000000] Linux version 6.9.4-arch1-1 (linux@archlinux) (gcc (GCC) 14.1.1 20240522, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Fri, 14 Jun 2024 16:24:32 +0000
[ 0.000000] random: crng init done
[ 0.000000] Machine model: RVVM v0.7-dcd391a
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10002
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI SRST extension detected
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000080000000..0x000000008003ffff (256 KiB) nomap non-reusable mmode_resv0@80000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xffdf2740-0xffdf4fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x000000008003ffff]
[ 0.000000] node 0: [mem 0x0000000080040000-0x00000000ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] SBI HSM extension detected
[ 0.000000] Falling back to deprecated "riscv,isa"
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 32 pages/cpu s93096 r8192 d29784 u131072
[ 0.000000] pcpu-alloc: s93096 r8192 d29784 u131072 alloc=32*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Kernel command line: earlyprintk rw root=/dev/nvme0n1p1 rootwait rootfstype=ext4 LANG=en_US.UTF-8 console=ttyS0
[ 0.000000] Unknown kernel command line parameters "earlyprintk LANG=en_US.UTF-8", will be passed to user space.
[ 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] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096
[ 0.000000] Policy zone: DMA32
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[ 0.000000] Memory: 1842796K/2097152K available (11065K kernel code, 8131K rwdata, 10240K rodata, 6638K init, 655K bss, 254356K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] trace event string verifier disabled
[ 0.000000] Dynamic Preempt: full
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=320 to nr_cpu_ids=2.
[ 0.000000] rcu: RCU priority boosting: priority 1 delay 500 ms.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] RCU Tasks Trace: Setting shift to 1 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] riscv: providing IPIs using SBI IPI extension
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[ 0.000017] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
[ 0.008097] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
[ 0.011584] Console: colour dummy device 80x25
[ 0.012471] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.83 BogoMIPS (lpj=33333)
[ 0.012560] pid_max: default: 32768 minimum: 301
[ 0.017734] LSM: initializing lsm=capability,landlock,lockdown,yama,bpf
[ 0.018178] landlock: Up and running.
[ 0.018223] Yama: becoming mindful.
[ 0.018389] LSM support for eBPF active
[ 0.019274] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.019365] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.049187] riscv: ELF compat mode supported
[ 0.049350] ASID allocator disabled (0 bits)
[ 0.052685] rcu: Hierarchical SRCU implementation.
[ 0.052758] rcu: Max phase no-delay instances is 1000.
[ 0.059709] EFI services will not be available.
[ 0.063410] smp: Bringing up secondary CPUs ...
[ 0.074295] smp: Brought up 1 node, 2 CPUs
[ 0.084290] devtmpfs: initialized
[ 0.100483] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.100698] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.102826] pinctrl core: initialized pinctrl subsystem
[ 0.126700] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.129744] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.130355] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.130793] audit: initializing netlink subsys (disabled)
[ 0.135111] audit: type=2000 audit(0.056:1): state=initialized audit_enabled=0 res=1
[ 0.140905] thermal_sys: Registered thermal governor 'fair_share'
[ 0.141039] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.141117] thermal_sys: Registered thermal governor 'step_wise'
[ 0.141156] thermal_sys: Registered thermal governor 'user_space'
[ 0.141183] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.142475] cpuidle: using governor ladder
[ 0.143020] cpuidle: using governor menu
[ 0.163046] cpu1: Ratio of byte access time to unaligned word access is 0.21, unaligned accesses are slow
[ 0.226522] cpu0: Ratio of byte access time to unaligned word access is 0.21, unaligned accesses are slow
[ 0.273214] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.273318] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.273388] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.273426] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.280161] Demotion targets for Node 0: null
[ 0.297200] ACPI: Interpreter disabled.
[ 0.299579] iommu: Default domain type: Translated
[ 0.299666] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.306491] SCSI subsystem initialized
[ 0.308860] libata version 3.00 loaded.
[ 0.309682] usbcore: registered new interface driver usbfs
[ 0.309977] usbcore: registered new interface driver hub
[ 0.310234] usbcore: registered new device driver usb
[ 0.311255] EDAC MC: Ver: 3.0.0
[ 0.321622] NetLabel: Initializing
[ 0.321678] NetLabel: domain hash size = 128
[ 0.321714] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.322186] NetLabel: unlabeled traffic allowed by default
[ 0.322314] mctp: management component transport protocol core
[ 0.322353] NET: Registered PF_MCTP protocol family
[ 0.325378] vgaarb: loaded
[ 0.328979] clocksource: Switched to clocksource riscv_clocksource
[ 0.333261] VFS: Disk quotas dquot_6.6.0
[ 0.333561] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.335478] pnp: PnP ACPI: disabled
[ 0.387291] NET: Registered PF_INET protocol family
[ 0.388391] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.478866] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.479179] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.479418] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.479890] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[ 0.480320] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.483412] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)
[ 0.484600] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.484855] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.486124] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.486430] NET: Registered PF_XDP protocol family
[ 0.486580] PCI: CLS 0 bytes, default 64
[ 0.494581] Initialise system trusted keyrings
[ 0.495174] Key type blacklist registered
[ 0.498003] Trying to unpack rootfs image as initramfs...
[ 0.506262] workingset: timestamp_bits=41 max_order=19 bucket_order=0
[ 0.507776] zbud: loaded
[ 0.519756] fuse: init (API version 7.40)
[ 0.526044] integrity: Platform Keyring initialized
[ 0.526675] integrity: Machine keyring initialized
[ 0.645805] Key type asymmetric registered
[ 0.645914] Asymmetric key parser 'x509' registered
[ 0.646955] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.648985] io scheduler mq-deadline registered
[ 0.649079] io scheduler kyber registered
[ 0.649326] io scheduler bfq registered
[ 0.658104] riscv-plic c000000.plic: mapped 63 interrupts with 2 handlers for 4 contexts.
[ 0.663262] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 0.667937] SBI CPPC extension NOT detected!!
[ 0.673377] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.737741] printk: legacy console [ttyS0] disabled
[ 0.740250] 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 12, base_baud = 2500000) is a 16550A
[ 0.740860] printk: legacy console [ttyS0] enabled
[ 0.752802] usbcore: registered new interface driver usbserial_generic
[ 0.753071] usbserial: USB Serial support registered for generic
[ 0.755780] goldfish_rtc 101000.rtc: registered as rtc0
[ 0.756109] goldfish_rtc 101000.rtc: setting system clock to 2024-07-03T03:53:53 UTC (1719978833)
[ 0.761066] EDAC DEVICE0: Giving out device to module Sifive ECC Manager controller sifive_edac.0: DEV sifive_edac.0 (INTERRUPT)
[ 0.763358] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.764075] hid: raw HID events driver (C) Jiri Kosina
[ 0.765444] riscv-pmu-sbi: SBI PMU extension is available
[ 0.765701] riscv-pmu-sbi: 16 firmware and 2 hardware counters
[ 0.765760] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
[ 0.767945] drop_monitor: Initializing network drop monitor service
[ 0.769173] NET: Registered PF_INET6 protocol family
[ 26.564741] Freeing initrd memory: 160284K
[ 26.795237] Segment Routing with IPv6
[ 26.796622] RPL Segment Routing with IPv6
[ 26.797025] In-situ OAM (IOAM) with IPv6
[ 26.797488] NET: Registered PF_PACKET protocol family
[ 26.861689] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 26.864392] registered taskstats version 1
[ 26.880016] Loading compiled-in X.509 certificates
[ 26.950665] Loaded X.509 cert 'Build time autogenerated kernel key: 06ebd565c2af728cbdaae276281f1f112cef9039'
[ 27.067901] zswap: loaded using pool zstd/zsmalloc
[ 27.083028] Key type .fscrypt registered
[ 27.083198] Key type fscrypt-provisioning registered
[ 27.180937] clk: Disabling unused clocks
[ 27.181168] PM: genpd: Disabling unused power domains
[ 27.193762] Freeing unused kernel image (initmem) memory: 6636K
[ 27.198703] Checked W+X mappings: passed, no W+X pages found
[ 27.198875] rodata_test: all tests were successful
[ 27.199059] Run /init as init process
[ 27.199125] with arguments:
[ 27.199193] /init
[ 27.199224] earlyprintk
[ 27.199263] with environment:
[ 27.199290] HOME=/
[ 27.199314] TERM=linux
[ 27.199336] LANG=en_US.UTF-8
[rootfs ~]#
It seems that the nvme module failed to detect my disk, and even after modprobed all the kernel modules by hand, the problem still existed.
And the nvme_fcloop given an error:
However, the linux_6.8 built by LekKit succeed to run on RVVM(which have nvme support built in )
I have tried to reinstall the linux and linux-firmware package, and also tried to run sudo mkinitcpio -P by hand, but nothing changed.
Does anyone know how to solve this problem?
The text was updated successfully, but these errors were encountered:
I have already posted it in the
Arch Linux on RIDC-V
matrix channel, but asRVVM
use NVMe as a default choice, I think it's worth to ask it in an issue in RVVM.Here is the problem:
nvme disk failed to be detected by the newest Archlinux 6.9.4-arch1-1 on RVVM.
That's my log:
It seems that the nvme module failed to detect my disk, and even after modprobed all the kernel modules by hand, the problem still existed.
And the
nvme_fcloop
given an error:However, the
linux_6.8
built by LekKit succeed to run on RVVM(which have nvme support built in )I have tried to reinstall the
linux
andlinux-firmware
package, and also tried to runsudo mkinitcpio -P
by hand, but nothing changed.Does anyone know how to solve this problem?
The text was updated successfully, but these errors were encountered: