Skip to content

Instantly share code, notes, and snippets.

@cheapie
Created September 29, 2023 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cheapie/b675281a91c77823cc111c4d3eba5870 to your computer and use it in GitHub Desktop.
Save cheapie/b675281a91c77823cc111c4d3eba5870 to your computer and use it in GitHub Desktop.
FS0:\> linux initrd=initrd.gz console=ttyS0,115200 earlycon
FSOpen: Open '\linux' Success
FSOpen: Open '\linux' Success
FSOpen: Open '\linux' Success
FSOpen: Open '\linux' Success
InvalidateDataCacheRange:RISC-V unsupported function.
WriteBackDataCacheRange:RISC-V unsupported function.
InvalidateDataCacheRange:RISC-V unsupported function.
WriteBackDataCacheRange:RISC-V unsupported function.
InvalidateDataCacheRange:RISC-V unsupported function.
WriteBackDataCacheRange:RISC-V unsupported function.
InvalidateDataCacheRange:RISC-V unsupported function.
WriteBackDataCacheRange:RISC-V unsupported function.
[Security] 3rd party image[0] can be loaded after EndOfDxe: VenHw(B549F005-4BD4-4020-A0CB-06F5478A68C3)/HD(3,GPT,F6ADF4E7-9FF2-4931-8A9E-6BA44A2095A3,0xA000,0x1DD000)/\linux.
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 7E976040
InvalidateInstructionCacheRange:RISC-V unsupported function.
Loading driver at 0x0007B093000 EntryPoint=0x0007BAD8FFA
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 7E977898
ProtectUefiImageCommon - 0x7E976040
- 0x000000007B093000 - 0x0000000001A57000
InstallProtocolInterface: 752F3136-4E16-4FDC-A22A-E5F46812F4CA 7FA0A858
EFI stub: Booting Linux Kernel...
ConvertPages: failed to find range 200000 - 1C56FFF
FSOpen: Open 'initrd.gz' Success
InvalidateDataCacheRange:RISC-V unsupported function.
WriteBackDataCacheRange:RISC-V unsupported function.
InvalidateDataCacheRange:RISC-V unsupported function.
WriteBackDataCacheRange:RISC-V unsupported function.
EFI stub: Loaded initrd from command line option
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services...
TimerDriverSetTimerPeriod(0x0)
PROGRESS CODE: V03101019 I0
SetUefiImageMemoryAttributes - 0x000000007F9AC000 - 0x000000000000A000 (0x0000000000000000)
CpuSetMemoryAttributes: Set memory attributes not supported yet
SetUefiImageMemoryAttributes - 0x000000007F9A3000 - 0x0000000000009000 (0x0000000000000000)
CpuSetMemoryAttributes: Set memory attributes not supported yet
SetUefiImageMemoryAttributes - 0x000000007F999000 - 0x000000000000A000 (0x0000000000000000)
CpuSetMemoryAttributes: Set memory attributes not supported yet
SetUefiImageMemoryAttributes - 0x000000007F991000 - 0x0000000000008000 (0x0000000000000000)
CpuSetMemoryAttributes: Set memory attributes not supported yet
SetUefiImageMemoryAttributes - 0x000000007F98A000 - 0x0000000000007000 (0x0000000000000000)
CpuSetMemoryAttributes: Set memory attributes not supported yet
SetUefiImageMemoryAttributes - 0x000000007E8B6000 - 0x000000000001A000 (0x0000000000000000)
CpuSetMemoryAttributes: Set memory attributes not supported yet
SetUefiImageMemoryAttributes - 0x000000007E89E000 - 0x0000000000007000 (0x0000000000000000)
CpuSetMemoryAttributes: Set memory attributes not supported yet
SetUefiImageMemoryAttributes - 0x000000007E897000 - 0x0000000000007000 (0x0000000000000000)
CpuSetMemoryAttributes: Set memory attributes not supported yet
SetUefiImageMemoryAttributes - 0x000000007E890000 - 0x0000000000007000 (0x0000000000000000)
CpuSetMemoryAttributes: Set memory attributes not supported yet
SetUefiImageMemoryAttributes - 0x000000007E88A000 - 0x0000000000006000 (0x0000000000000000)
CpuSetMemoryAttributes: Set memory attributes not supported yet
SetUefiImageMemoryAttributes - 0x000000007E882000 - 0x0000000000006000 (0x0000000000000000)
CpuSetMemoryAttributes: Set memory attributes not supported yet
InvalidateInstructionCacheRange:RISC-V unsupported function.
InvalidateInstructionCacheRange:RISC-V unsupported function.
InvalidateInstructionCacheRange:RISC-V unsupported function.
InvalidateInstructionCacheRange:RISC-V unsupported function.
InvalidateInstructionCacheRange:RISC-V unsupported function.
InvalidateInstructionCacheRange:RISC-V unsupported function.
InvalidateInstructionCacheRange:RISC-V unsupported function.
InvalidateInstructionCacheRange:RISC-V unsupported function.
InvalidateInstructionCacheRange:RISC-V unsupported function.
InvalidateInstructionCacheRange:RISC-V unsupported function.
[ 0.000000] Linux version 6.5.0-1-riscv64 (debian-kernel@lists.debian.org) (gcc-13 (Debian 13.2.0-3) 13.2.0, GNU ld (GNU Binutils for Debian) 2.41) #1 SMP Debian 6.5.3-1 (2023-09-13)
[ 0.000000] Machine model: StarFive VisionFive V2
[ 0.000000] SBI specification v0.3 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x9
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] earlycon: uart0 at MMIO32 0x0000000010000000 (options '115200')
[ 0.000000] printk: bootconsole [uart0] enabled
[ 0.000000] efi: EFI v2.7 by EDK II
[ 0.000000] efi: SMBIOS=0x7e901000 INITRD=0x7e660f18 MEMRESERVE=0x7e660f98
[ 0.000000] secureboot: Secure boot disabled
[ 0.000000] OF: reserved mem: failed to allocate memory for node 'linux,cma': size 512 MiB
[ 0.000000] OF: reserved mem: 0x0000000040000000..0x000000004003ffff (256 KiB) nomap non-reusable mmode_resv0@40000000
[ 0.000000] OF: reserved mem: 0x00000000c0110000..0x00000000c01fffff (960 KiB) nomap non-reusable e24@c0000000
[ 0.000000] OF: reserved mem: 0x00000000f0000000..0x00000000f1fffffe (32767 KiB) nomap non-reusable xrpbuffer@f0000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000041000000-0x000000007fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x7fdba640-0x7fdbbfff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000041000000-0x000000007fffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000041000000-0x000000007e660fff]
[ 0.000000] node 0: [mem 0x000000007e661000-0x000000007e6c7fff]
[ 0.000000] node 0: [mem 0x000000007e6c8000-0x000000007e87ffff]
[ 0.000000] node 0: [mem 0x000000007e880000-0x000000007e905fff]
[ 0.000000] node 0: [mem 0x000000007e906000-0x000000007f985fff]
[ 0.000000] node 0: [mem 0x000000007f986000-0x000000007f9d9fff]
[ 0.000000] node 0: [mem 0x000000007f9da000-0x000000007f9e5fff]
[ 0.000000] node 0: [mem 0x000000007f9e6000-0x000000007f9e9fff]
[ 0.000000] node 0: [mem 0x000000007f9ea000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000041000000-0x000000007fffffff]
[ 0.000000] On node 0, zone DMA32: 4096 pages in unavailable ranges
[ 0.000000] SBI HSM extension detected
[ 0.000000] CPU with hartid=0 is not available
[ 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 29 pages/cpu s79976 r8192 d30616 u118784
[ 0.000000] Kernel command line: linux initrd=initrd.gz console=ttyS0,115200 earlycon
[ 0.000000] Unknown kernel command line parameters "linux", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 254016
[ 0.000000] Policy zone: DMA32
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[ 0.000000] Memory: 119808K/1032192K available (9477K kernel code, 5183K rwdata, 8192K rodata, 2559K init, 793K bss, 180832K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 34867 entries in 137 pages
[ 0.000000] ftrace: allocated 137 pages with 3 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 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 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: unable to find hart id for /cpus/cpu@0/interrupt-controller
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: plic@c000000: mapped 136 interrupts with 4 handlers for 9 contexts.
[ 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: 0x1d854df40, max_idle_ns: 881590404240 ns
[ 0.000002] sched_clock: 64 bits at 4MHz, resolution 250ns, wraps every 2199023255500ns
[ 0.010027] Console: colour dummy device 80x25
[ 0.018236] Calibrating delay loop (skipped), value calculated using timer frequency.. 8.00 BogoMIPS (lpj=16000)
[ 0.029474] pid_max: default: 32768 minimum: 301
[ 0.041223] LSM: initializing lsm=capability,landlock,yama,apparmor,tomoyo,bpf,integrity
[ 0.050265] landlock: Up and running.
[ 0.054318] Yama: disabled by default; enable with sysctl kernel.yama.*
[ 0.061914] AppArmor: AppArmor initialized
[ 0.066482] TOMOYO Linux initialized
[ 0.070514] LSM support for eBPF active
[ 0.077032] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.085258] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.105407] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.114030] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.122756] ASID allocator disabled (0 bits)
[ 0.127985] rcu: Hierarchical SRCU implementation.
[ 0.133305] rcu: Max phase no-delay instances is 1000.
[ 0.140867] Remapping and enabling EFI services.
[ 0.147403] smp: Bringing up secondary CPUs ...
Edk2OpensbiPlatformEarlyInit: Entry
Edk2OpensbiPlatformIrqchipInit: Entry
Edk2OpensbiPlatformIpiInit: Entry
Edk2OpensbiPlatformTimerInit: Entry
Edk2OpensbiPlatformFinalInit: Entry
Edk2OpensbiPlatformEarlyInit: Entry
Edk2OpensbiPlatformIrqchipInit: Entry
Edk2OpensbiPlatformIpiInit: Entry
Edk2OpensbiPlatformTimerInit: Entry
Edk2OpensbiPlatformFinalInit: Entry
Edk2OpensbiPlatformEarlyInit: Entry
Edk2OpensbiPlatformIrqchipInit: Entry
Edk2OpensbiPlatformIpiInit: Entry
Edk2OpensbiPlatformTimerInit: Entry
Edk2OpensbiPlatformFinalInit: Entry
[ 0.207750] smp: Brought up 1 node, 4 CPUs
[ 0.263878] node 0 deferred pages initialised in 48ms
[ 0.271929] devtmpfs: initialized
[ 0.295594] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.306564] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.314873] pinctrl core: initialized pinctrl subsystem
[ 0.325507] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.333383] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.341662] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.352887] audit: initializing netlink subsys (disabled)
[ 0.359485] audit: type=2000 audit(0.248:1): state=initialized audit_enabled=0 res=1
[ 0.360634] thermal_sys: Registered thermal governor 'fair_share'
[ 0.368082] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.374819] thermal_sys: Registered thermal governor 'step_wise'
[ 0.381442] thermal_sys: Registered thermal governor 'user_space'
[ 0.388061] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.394894] cpuidle: using governor ladder
[ 0.406658] cpuidle: using governor menu
[ 0.421241] platform soc: Fixed dependency cycle(s) with /soc/plic@c000000
[ 0.454938] platform soc:dsi-output: Fixed dependency cycle(s) with /soc/dc8200@29400000/port/endpoint@2
[ 0.466280] platform 295d0000.mipi: Fixed dependency cycle(s) with /soc/dsi-output/ports/port@1/endpoint
[ 0.477538] platform 29590000.hdmi: Fixed dependency cycle(s) with /soc/dc8200@29400000/port/endpoint@1
[ 0.503854] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.511378] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.526851] ACPI: Interpreter disabled.
[ 0.532241] iommu: Default domain type: Translated
[ 0.537558] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.545240] pps_core: LinuxPPS API ver. 1 registered
[ 0.550731] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.560853] PTP clock support registered
[ 0.565740] efivars: Registered efivars operations
[ 0.573736] NetLabel: Initializing
[ 0.577528] NetLabel: domain hash size = 128
[ 0.582333] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.588713] NetLabel: unlabeled traffic allowed by default
[ 0.595489] vgaarb: loaded
[ 0.598811] clocksource: Switched to clocksource riscv_clocksource
[ 0.721907] VFS: Disk quotas dquot_6.6.0
[ 0.726699] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.736335] AppArmor: AppArmor Filesystem Enabled
[ 0.741733] pnp: PnP ACPI: disabled
[ 0.781036] NET: Registered PF_INET protocol family
[ 0.787230] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.801434] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.811486] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.820388] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.829973] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.840593] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.849758] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear)
[ 0.858448] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.865855] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.875070] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.881543] NET: Registered PF_XDP protocol family
[ 0.886873] PCI: CLS 0 bytes, default 64
[ 0.892056] Trying to unpack rootfs image as initramfs...
[ 0.894045] Initialise system trusted keyrings
[ 0.898227] Initramfs unpacking failed: invalid magic at start of compressed archive
[ 0.903090] Key type blacklist registered
[ 0.916825] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[ 0.924193] zbud: loaded
[ 0.932868] integrity: Platform Keyring initialized
[ 0.938415] integrity: Machine keyring initialized
[ 0.943787] Key type asymmetric registered
[ 0.948368] Asymmetric key parser 'x509' registered
[ 1.228325] Freeing initrd memory: 97280K
[ 1.243171] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 1.251938] io scheduler mq-deadline registered
[ 1.274547] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.291533] mousedev: PS/2 mouse device common for all mice
[ 1.300809] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.413143] NET: Registered PF_INET6 protocol family
[ 1.429324] Segment Routing with IPv6
[ 1.433554] In-situ OAM (IOAM) with IPv6
[ 1.438057] mip6: Mobile IPv6
[ 1.441383] NET: Registered PF_PACKET protocol family
[ 1.447488] mpls_gso: MPLS GSO support
[ 1.462844] registered taskstats version 1
[ 1.468158] Loading compiled-in X.509 certificates
[ 1.904157] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 1.913959] Loaded X.509 cert 'Debian Secure Boot Signer 2022 - linux: 14011249c2675ea8e5148542202005810584b25f'
[ 1.941065] Key type .fscrypt registered
[ 1.945465] Key type fscrypt-provisioning registered
[ 1.958391] Key type encrypted registered
[ 1.962968] AppArmor: AppArmor sha1 policy hashing enabled
[ 1.969518] ima: No TPM chip found, activating TPM-bypass!
[ 1.975677] ima: Allocated hash algorithm: sha256
[ 1.980960] ima: No architecture policies found
[ 1.986137] evm: Initialising EVM extended attributes:
[ 1.991826] evm: security.selinux
[ 1.995498] evm: security.SMACK64 (disabled)
[ 2.000222] evm: security.SMACK64EXEC (disabled)
[ 2.005323] evm: security.SMACK64TRANSMUTE (disabled)
[ 2.010904] evm: security.SMACK64MMAP (disabled)
[ 2.016008] evm: security.apparmor
[ 2.019773] evm: security.ima
[ 2.023065] evm: security.capability
[ 2.027022] evm: HMAC attrs: 0x1
[ 2.576661] Legacy PMU implementation is available
[ 2.583121] clk: Disabling unused clocks
[ 2.587707] Warning: unable to open an initial console.
[ 2.593819] List of all partitions:
[ 2.597702] No filesystem could mount root, tried:
[ 2.597711]
[ 2.604730] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 2.613808] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 6.5.0-1-riscv64 #1 Debian 6.5.3-1
[ 2.622700] Hardware name: StarFive VisionFive V2 (DT)
[ 2.628345] Call Trace:
[ 2.631032] [<ffffffff800063dc>] dump_backtrace+0x28/0x30
[ 2.636980] [<ffffffff8092c2b8>] show_stack+0x38/0x44
[ 2.642544] [<ffffffff80937826>] dump_stack_lvl+0x44/0x5c
[ 2.648490] [<ffffffff80937856>] dump_stack+0x18/0x20
[ 2.654056] [<ffffffff8092c5fe>] panic+0x114/0x2f6
[ 2.659337] [<ffffffff80a01a04>] mount_root_generic+0x2a2/0x2bc
[ 2.665858] [<ffffffff80a01b96>] mount_root+0x178/0x194
[ 2.671609] [<ffffffff80a01d7e>] prepare_namespace+0x1cc/0x224
[ 2.678027] [<ffffffff80a0136a>] kernel_init_freeable+0x2e2/0x302
[ 2.684737] [<ffffffff80939786>] kernel_init+0x2a/0x158
[ 2.690485] [<ffffffff80003e3e>] ret_from_fork+0xe/0x20
[ 2.696235] SMP: stopping secondary CPUs
[ 2.700572] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment