connecting to NetworkSerialPort(target=Target(name='sifive_fu540', env=None), name='USBSerialPort', state=, avail=True, host='nuc-2', port=51725, speed=115200, protocol='rfc2217') calling microcom -s 115200 -t nuc-2:51725 connected to 192.168.0.2 (port 51725) Escape character: Ctrl-\ Type the escape character to get to the prompt. SiFive FSBL: 2018-03-20 HiFive-U serial #: 0000013c OpenSBI v1.1 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : sifive,hifive-unleashed-a00 Platform Features : medeleg Platform HART Count : 5 Platform IPI Device : aclint-mswi Platform Timer Device : aclint-mtimer @ 1000000Hz Platform Console Device : sifive_uart Platform HSM Device : --- Platform Reboot Device : gpio-restart Platform Shutdown Device : --- Firmware Base : 0x80000000 Firmware Size : 320 KB Runtime SBI Version : 1.0 Domain0 Name : root Domain0 Boot HART : 2 Domain0 HARTs : 0*,1*,2*,3*,4* Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I) Domain0 Region01 : 0x0000000080000000-0x000000008007ffff () 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 : 2 Boot HART Domain : root Boot HART Priv Version : v1.10 Boot HART Base ISA : rv64imafdc Boot HART ISA Extensions : none Boot HART PMP Count : 8 Boot HART PMP Granularity : 4 Boot HART PMP Address Bits: 36 Boot HART MHPM Count : 2 Boot HART MIDELEG : 0x0000000000000222 Boot HART MEDELEG : 0x000000000000b109 U-Boot 2022.07 (Aug 25 2022 - 14:57:58 -0700) CPU: rv64imac Model: SiFive HiFive Unleashed A00 DRAM: 8 GiB Core: 36 devices, 22 uclasses, devicetree: separate MMC: spi@10050000:mmc@0: 0 Loading Environment from SPIFlash... SF: Detected is25wp256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB *** Warning - bad CRC, using default environment In: serial@10010000 Out: serial@10010000 Err: serial@10010000 Net: sifive-reset reset: failed to get cltx_reset reset eth0: ethernet@10090000 Hit any key to stop autoboot: 2  0 => setenv autoload no => setenv initrd_high 0xffffffffffffffff => setenv fdt_high 0xffffffffffffffff => dhcp ethernet@10090000: PHY present at 0 ethernet@10090000: Starting autonegotiation... ethernet@10090000: Autonegotiation complete ethernet@10090000: link up, 100Mbps full-duplex (lpa: 0xcde1) BOOTP broadcast 1 DHCP client bound to address 192.168.0.123 (9 ms) => setenv serverip 192.168.0.2 => tftp 0x80200000 3900695/tftp-deploy-cul_dc1h/kernel/Image ethernet@10090000: PHY present at 0 ethernet@10090000: Starting autonegotiation... ethernet@10090000: Autonegotiation complete ethernet@10090000: link up, 100Mbps full-duplex (lpa: 0xcde1) Using ethernet@10090000 device TFTP from server 192.168.0.2; our IP address is 192.168.0.123 Filename '3900695/tftp-deploy-cul_dc1h/kernel/Image'. Load address: 0x80200000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################ 1.4 MiB/s done Bytes transferred = 22171648 (1525000 hex) => tftp 0x83500000 3900695/tftp-deploy-cul_dc1h/ramdisk/ramdisk.cpio.gz.uboot ethernet@10090000: PHY present at 0 ethernet@10090000: Starting autonegotiation... ethernet@10090000: Autonegotiation complete ethernet@10090000: link up, 100Mbps full-duplex (lpa: 0xcde1) Using ethernet@10090000 device TFTP from server 192.168.0.2; our IP address is 192.168.0.123 Filename '3900695/tftp-deploy-cul_dc1h/ramdisk/ramdisk.cpio.gz.uboot'. Load address: 0x83500000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################### 1.4 MiB/s done Bytes transferred = 14825536 (e23840 hex) => setenv initrd_size ${filesize} => tftp 0x83000000 3900695/tftp-deploy-cul_dc1h/dtb/hifive-unleashed-a00.dtb ethernet@10090000: PHY present at 0 ethernet@10090000: Starting autonegotiation... ethernet@10090000: Autonegotiation complete ethernet@10090000: link up, 100Mbps full-duplex (lpa: 0xcde1) Using ethernet@10090000 device TFTP from server 192.168.0.2; our IP address is 192.168.0.123 Filename '3900695/tftp-deploy-cul_dc1h/dtb/hifive-unleashed-a00.dtb'. Load address: 0x83000000 Loading: *# 1012.7 KiB/s done Bytes transferred = 8303 (206f hex) => setenv bootargs 'console=ttySIF0,115200n8 root=/dev/ram0 console_msg_format=syslog earlycon deferred_probe_timeout=60 ip=dhcp' => booti 0x80200000 0x83500000 0x83000000 ## Loading init Ramdisk from Legacy Image at 83500000 ... Image Name: Image Type: RISC-V Linux RAMDisk Image (uncompressed) Data Size: 14825472 Bytes = 14.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 83000000 Booting using the fdt blob at 0x83000000 Using Device Tree in place at 0000000083000000, end 000000008300506e Starting kernel ... [ 0.000000] Linux version 6.12.0-rc1-next-20241004 (KernelCI@build-j332195-riscv-clang-17-defconfig-4p5x5) (Debian clang version 17.0.6 (++20231208085813+6009708b4367-1~exp1~20231208085906.81), GNU ld (GNU Binutils for Debian) 2.40) #1 SMP Fri Oct 4 07:32:06 UTC 2024 [ 0.000000] Machine model: SiFive HiFive Unleashed A00 [ 0.000000] SBI specification v1.0 detected [ 0.000000] SBI implementation ID=0x1 Version=0x10001 [ 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..0x000000008007ffff (512 KiB) nomap non-reusable mmode_resv0@80000000 [ 0.000000] earlycon: sifive0 at MMIO 0x0000000010010000 (options '') [ 0.000000] printk: legacy bootconsole [sifive0] enabled [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000080000000-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 0x0000000080000000-0x000000008007ffff] [ 0.000000] node 0: [mem 0x0000000080080000-0x000000027fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000027fffffff] [ 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: Embedded 22 pages/cpu s49512 r8192 d32408 u90112 [ 0.000000] Kernel command line: console=ttySIF0,115200n8 root=/dev/ram0 console_msg_format=syslog earlycon deferred_probe_timeout=60 ip=dhcp <6>[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) <6>[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) <6>[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2097152 <6>[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off <6>[ 0.000000] software IO TLB: area num 4. <6>[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB) <5>[ 0.000000] Virtual kernel memory layout: <5>[ 0.000000] fixmap : 0xffffffc4fea00000 - 0xffffffc4ff000000 (6144 kB) <5>[ 0.000000] pci io : 0xffffffc4ff000000 - 0xffffffc500000000 ( 16 MB) <5>[ 0.000000] vmemmap : 0xffffffc500000000 - 0xffffffc600000000 (4096 MB) <5>[ 0.000000] vmalloc : 0xffffffc600000000 - 0xffffffd600000000 ( 64 GB) <5>[ 0.000000] modules : 0xffffffff015a1000 - 0xffffffff80000000 (2026 MB) <5>[ 0.000000] lowmem : 0xffffffd600000000 - 0xffffffd800000000 (8192 MB) <5>[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB) <6>[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 <6>[ 0.000000] rcu: Hierarchical RCU implementation. <6>[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4. <6>[ 0.000000] rcu: RCU debug extended QS entry/exit. <6>[ 0.000000] Tracing variant of Tasks RCU enabled. <6>[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. <6>[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 <6>[ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. <6>[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 <6>[ 0.000000] riscv-intc: 64 local interrupts mapped <6>[ 0.000000] riscv: providing IPIs using SBI IPI extension <6>[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. <6>[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 3526361616960 ns <6>[ 0.000002] sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every 2199023255500ns <6>[ 0.008951] Console: colour dummy device 80x25 <6>[ 0.013374] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=4000) <6>[ 0.023627] pid_max: default: 32768 minimum: 301 <6>[ 0.028592] LSM: initializing lsm=capability <6>[ 0.033526] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) <6>[ 0.041158] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) <6>[ 0.051154] CPU node for /cpus/cpu@0 exist but the possible cpu range is :0-3 <6>[ 0.060230] riscv: ELF compat mode unsupported <6>[ 0.060245] ASID allocator disabled (0 bits) <6>[ 0.069115] rcu: Hierarchical SRCU implementation. <6>[ 0.073743] rcu: Max phase no-delay instances is 1000. <6>[ 0.079751] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level <6>[ 0.087826] EFI services will not be available. <6>[ 0.092973] smp: Bringing up secondary CPUs ... <6>[ 0.100741] smp: Brought up 1 node, 4 CPUs <6>[ 0.105457] Memory: 8120540K/8388608K available (10271K kernel code, 2980K rwdata, 4096K rodata, 2287K init, 493K bss, 264044K reserved, 0K cma-reserved) <6>[ 0.121775] devtmpfs: initialized <6>[ 0.128627] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns <6>[ 0.137899] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) <6>[ 0.145442] pinctrl core: initialized pinctrl subsystem <6>[ 0.151149] DMI not present or invalid. <6>[ 0.155572] NET: Registered PF_NETLINK/PF_ROUTE protocol family <6>[ 0.161585] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations <6>[ 0.168497] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations <6>[ 0.176680] audit: initializing netlink subsys (disabled) <5>[ 0.182542] audit: type=2000 audit(0.104:1): state=initialized audit_enabled=0 res=1 <6>[ 0.183205] thermal_sys: Registered thermal governor 'step_wise' <6>[ 0.190321] cpuidle: using governor menu <6>[ 0.224715] cpu2: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow <6>[ 0.224716] cpu1: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow <6>[ 0.224715] cpu3: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow <6>[ 0.276806] cpu0: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow <6>[ 0.286168] CCACHE: 4 banks, 16 ways, sets/bank=512, bytes/block=64 <6>[ 0.292396] CCACHE: Index of the largest way enabled: 15 <6>[ 0.306008] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages <6>[ 0.312294] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page <6>[ 0.320021] ACPI: Interpreter disabled. <6>[ 0.323589] iommu: Default domain type: Translated <6>[ 0.328386] iommu: DMA domain TLB invalidation policy: strict mode <5>[ 0.335809] SCSI subsystem initialized <6>[ 0.339609] usbcore: registered new interface driver usbfs <6>[ 0.344849] usbcore: registered new interface driver hub <6>[ 0.350387] usbcore: registered new device driver usb <6>[ 0.356553] Advanced Linux Sound Architecture Driver Initialized. <6>[ 0.363398] vgaarb: loaded <6>[ 0.366082] clocksource: Switched to clocksource riscv_clocksource <6>[ 0.373206] pnp: PnP ACPI: disabled <6>[ 0.391642] NET: Registered PF_INET protocol family <6>[ 0.398927] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear) <6>[ 0.425121] tcp_listen_portaddr_hash hash table entries: 4096 (order: 5, 131072 bytes, linear) <6>[ 0.433707] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) <6>[ 0.441288] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) <6>[ 0.451556] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes, linear) <6>[ 0.473344] TCP: Hash tables configured (established 65536 bind 65536) <6>[ 0.479944] UDP hash table entries: 4096 (order: 6, 393216 bytes, linear) <6>[ 0.487815] UDP-Lite hash table entries: 4096 (order: 6, 393216 bytes, linear) <6>[ 0.496167] NET: Registered PF_UNIX/PF_LOCAL protocol family <6>[ 0.502678] RPC: Registered named UNIX socket transport module. <6>[ 0.508115] RPC: Registered udp transport module. <6>[ 0.513052] RPC: Registered tcp transport module. <6>[ 0.518007] RPC: Registered tcp-with-tls transport module. <6>[ 0.523730] RPC: Registered tcp NFSv4.1 backchannel transport module. <6>[ 0.530433] PCI: CLS 0 bytes, default 64 <6>[ 0.536238] workingset: timestamp_bits=46 max_order=21 bucket_order=0 <6>[ 0.542500] Unpacking initramfs... <5>[ 0.546586] NFS: Registering the id_resolver key type <5>[ 0.551192] Key type id_resolver registered <5>[ 0.555573] Key type id_legacy registered <6>[ 0.559897] nfs4filelayout_init: NFSv4 File Layout Driver Registering... <6>[ 0.566781] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... <6>[ 0.574743] 9p: Installing v9fs 9p2000 file system support <6>[ 0.580598] NET: Registered PF_ALG protocol family <6>[ 0.585289] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) <6>[ 0.593194] io scheduler mq-deadline registered <6>[ 0.597611] io scheduler kyber registered <6>[ 0.601950] io scheduler bfq registered <6>[ 0.610368] riscv-plic: interrupt-controller@c000000: mapped 53 interrupts with 4 handlers for 9 contexts. <6>[ 0.621337] SBI CPPC extension NOT detected!! <6>[ 0.722066] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled <6>[ 0.731296] 10010000.serial: ttySIF0 at MMIO 0x10010000 (irq = 12, base_baud = 31249999) is a SiFive UART v0 <6>[ 0.740678] printk: legacy console [ttySIF0] enabled <6>[ 0.740678] printk: legacy console [ttySIF0] enabled <6>[ 0.751060] printk: legacy bootconsole [sifive0] disabled <6>[ 0.751060] printk: legacy bootconsole [sifive0] disabled <6>[ 0.763463] 10011000.serial: ttySIF1 at MMIO 0x10011000 (irq = 13, base_baud = 31249999) is a SiFive UART v0 <6>[ 0.785880] loop: module loaded <6>[ 0.789745] sifive_spi 10040000.spi: mapped; irq=14, cs=1 <6>[ 1.876695] Freeing initrd memory: 14472K <4>[ 1.880956] page: refcount:1 mapcount:1 mapping:0000000000000000 index:0x3ffffff pfn:0x27efe4 <4>[ 1.889024] memcg:ffffffd68010b000 <4>[ 1.892650] anon flags: 0x4000000000020008(uptodate|swapbacked|zone=1) <4>[ 1.899424] raw: 4000000000020008 0000000000000000 dead000000000122 ffffffd68027d001 <4>[ 1.907409] raw: 0000000003ffffff 0000000000000000 0000000100000000 ffffffd68010b000 <4>[ 1.915389] page dumped because: VM_BUG_ON_PAGE(PageAnonNotKsm(page)) <4>[ 1.922225] ------------[ cut here ]------------ <2>[ 1.922231] kernel BUG at include/linux/page-flags.h:1134! <0>[ 1.922243] Kernel BUG [#1] <4>[ 1.922251] Modules linked in: <4>[ 1.922262] CPU: 0 UID: 0 PID: 66 Comm: kworker/u18:1 Not tainted 6.12.0-rc1-next-20241004 #1 <4>[ 1.922282] Hardware name: SiFive HiFive Unleashed A00 (DT) <4>[ 1.922290] epc : folio_add_new_anon_rmap+0x3dc/0x4e6 <4>[ 1.922322] ra : folio_add_new_anon_rmap+0x3dc/0x4e6 <4>[ 1.922338] epc : ffffffff801b7afa ra : ffffffff801b7afa sp : ffffffc6004539c0 <4>[ 1.922350] gp : ffffffff81522670 tp : ffffffd680fc8000 t0 : ffffffc6004535f8 <4>[ 1.922361] t1 : 0000000000000018 t2 : 0000000000000003 s0 : ffffffc600453a00 <4>[ 1.922371] s1 : ffffffc507fbf900 a0 : fd05c00aa4b3fc00 a1 : fd05c00aa4b3fc00 <4>[ 1.922383] a2 : fd05c00aa4b3fc00 a3 : ffffffff8142e8d0 a4 : 0000000000000fff <4>[ 1.922394] a5 : 0000000000000004 a6 : 0000000000000095 a7 : ffffffc600453688 <4>[ 1.922404] s2 : 0000000000000001 s3 : ffffffd680278000 s4 : 0000003ffffff000 <4>[ 1.922415] s5 : 0000000000000fff s6 : 0000000000000001 s7 : 0000000000000001 <4>[ 1.922425] s8 : 0000000000000001 s9 : ffffffd6802f0000 s10: 0000000000000000 <4>[ 1.922435] s11: ffffffff81524b04 t3 : 0000000000000000 t4 : ffffffff81558b7a <4>[ 1.922446] t5 : ffffffff81558b80 t6 : ffffffff81558b7a <4>[ 1.922454] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003 <4>[ 1.922466] [] folio_add_new_anon_rmap+0x3dc/0x4e6 <4>[ 1.922487] [] handle_mm_fault+0xb86/0xfee <4>[ 1.922504] [] __get_user_pages+0x4ae/0xcfe <4>[ 1.922530] [] get_user_pages_remote+0xf0/0x2be <4>[ 1.922550] [] get_arg_page+0x96/0x12e <4>[ 1.922571] [] copy_string_kernel+0xd4/0x20c <4>[ 1.922588] [] kernel_execve+0x1aa/0x298 <4>[ 1.922606] [] call_usermodehelper_exec_async+0xb2/0x104 <4>[ 1.922630] [] ret_from_fork+0xe/0x18 <0>[ 1.922665] Code: f0ef be2d 9002 3517 0107 0593 af65 8526 f0ef bd2d (9002) e517 <4>[ 1.922674] ---[ end trace 0000000000000000 ]--- <0>[ 1.922683] Kernel panic - not syncing: Fatal exception in interrupt <2>[ 1.922690] SMP: stopping secondary CPUs <0>[ 2.130603] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---