connecting to NetworkSerialPort(target=Target(name='sifive_fu540', env=None), name='USBSerialPort', state=, avail=True, host='nuc-2', port=49369, speed=115200, protocol='rfc2217') calling microcom -s 115200 -t nuc-2:49369 connected to 192.168.0.2 (port 49369) 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 : 1 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 : 1 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 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 DHCP client bound to address 192.168.0.123 (3438 ms) => setenv serverip 192.168.0.2 => tftp 0x80200000 3900627/tftp-deploy-o7pfda2a/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 '3900627/tftp-deploy-o7pfda2a/kernel/Image'. Load address: 0x80200000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############ 1.4 MiB/s done Bytes transferred = 22118912 (1518200 hex) => tftp 0x83500000 3900627/tftp-deploy-o7pfda2a/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 '3900627/tftp-deploy-o7pfda2a/ramdisk/ramdisk.cpio.gz.uboot'. Load address: 0x83500000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# #################### 1.4 MiB/s done Bytes transferred = 16511204 (fbf0e4 hex) => setenv initrd_size ${filesize} => tftp 0x83000000 3900627/tftp-deploy-o7pfda2a/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 '3900627/tftp-deploy-o7pfda2a/dtb/hifive-unleashed-a00.dtb'. Load address: 0x83000000 Loading: *# 900.4 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: 16511140 Bytes = 15.7 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-j332039-riscv-gcc-12-defconfig-zplx8) (riscv64-linux-gnu-gcc (Debian 12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP Fri Oct 4 06:55:36 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 : 0xffffffff01595000 - 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.008938] Console: colour dummy device 80x25 <6>[ 0.013376] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=4000) <6>[ 0.023626] pid_max: default: 32768 minimum: 301 <6>[ 0.028594] LSM: initializing lsm=capability <6>[ 0.033524] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) <6>[ 0.041154] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) <6>[ 0.051135] CPU node for /cpus/cpu@0 exist but the possible cpu range is :0-3 <6>[ 0.060196] riscv: ELF compat mode unsupported <6>[ 0.060211] ASID allocator disabled (0 bits) <6>[ 0.069079] rcu: Hierarchical SRCU implementation. <6>[ 0.073705] rcu: Max phase no-delay instances is 1000. <6>[ 0.079721] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level <6>[ 0.087793] EFI services will not be available. <6>[ 0.092940] smp: Bringing up secondary CPUs ... <6>[ 0.100698] smp: Brought up 1 node, 4 CPUs <6>[ 0.105401] Memory: 8118892K/8388608K available (9854K kernel code, 4982K rwdata, 4096K rodata, 2282K init, 495K bss, 265692K reserved, 0K cma-reserved) <6>[ 0.121577] devtmpfs: initialized <6>[ 0.128228] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns <6>[ 0.137494] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) <6>[ 0.145051] pinctrl core: initialized pinctrl subsystem <6>[ 0.150709] DMI not present or invalid. <6>[ 0.155250] NET: Registered PF_NETLINK/PF_ROUTE protocol family <6>[ 0.161230] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations <6>[ 0.168156] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations <6>[ 0.176351] audit: initializing netlink subsys (disabled) <5>[ 0.182206] audit: type=2000 audit(0.100:1): state=initialized audit_enabled=0 res=1 <6>[ 0.182837] thermal_sys: Registered thermal governor 'step_wise' <6>[ 0.190004] cpuidle: using governor menu <6>[ 0.224391] cpu1: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow <6>[ 0.224391] cpu3: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow <6>[ 0.224391] cpu2: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow <6>[ 0.276483] cpu0: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow <6>[ 0.285784] CCACHE: 4 banks, 16 ways, sets/bank=512, bytes/block=64 <6>[ 0.292067] CCACHE: Index of the largest way enabled: 15 <6>[ 0.305131] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages <6>[ 0.311421] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page <6>[ 0.319100] ACPI: Interpreter disabled. <6>[ 0.322657] iommu: Default domain type: Translated <6>[ 0.327463] iommu: DMA domain TLB invalidation policy: strict mode <5>[ 0.334856] SCSI subsystem initialized <6>[ 0.338638] usbcore: registered new interface driver usbfs <6>[ 0.343891] usbcore: registered new interface driver hub <6>[ 0.349431] usbcore: registered new device driver usb <6>[ 0.355556] Advanced Linux Sound Architecture Driver Initialized. <6>[ 0.362320] vgaarb: loaded <6>[ 0.364990] clocksource: Switched to clocksource riscv_clocksource <6>[ 0.372007] pnp: PnP ACPI: disabled <6>[ 0.387562] NET: Registered PF_INET protocol family <6>[ 0.394816] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear) <6>[ 0.423991] tcp_listen_portaddr_hash hash table entries: 4096 (order: 5, 131072 bytes, linear) <6>[ 0.432572] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) <6>[ 0.440149] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) <6>[ 0.450460] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes, linear) <6>[ 0.472329] TCP: Hash tables configured (established 65536 bind 65536) <6>[ 0.478922] UDP hash table entries: 4096 (order: 6, 393216 bytes, linear) <6>[ 0.486766] UDP-Lite hash table entries: 4096 (order: 6, 393216 bytes, linear) <6>[ 0.495081] NET: Registered PF_UNIX/PF_LOCAL protocol family <6>[ 0.501584] RPC: Registered named UNIX socket transport module. <6>[ 0.507019] RPC: Registered udp transport module. <6>[ 0.511956] RPC: Registered tcp transport module. <6>[ 0.516905] RPC: Registered tcp-with-tls transport module. <6>[ 0.522634] RPC: Registered tcp NFSv4.1 backchannel transport module. <6>[ 0.529347] PCI: CLS 0 bytes, default 64 <6>[ 0.535077] workingset: timestamp_bits=46 max_order=21 bucket_order=0 <6>[ 0.541326] Unpacking initramfs... <5>[ 0.546086] NFS: Registering the id_resolver key type <5>[ 0.550715] Key type id_resolver registered <5>[ 0.555068] Key type id_legacy registered <6>[ 0.559412] nfs4filelayout_init: NFSv4 File Layout Driver Registering... <6>[ 0.566283] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... <6>[ 0.574226] 9p: Installing v9fs 9p2000 file system support <6>[ 0.580090] NET: Registered PF_ALG protocol family <6>[ 0.584785] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) <6>[ 0.592693] io scheduler mq-deadline registered <6>[ 0.597114] io scheduler kyber registered <6>[ 0.601431] io scheduler bfq registered <6>[ 0.606819] riscv-plic: interrupt-controller@c000000: mapped 53 interrupts with 4 handlers for 9 contexts. <6>[ 0.617766] SBI CPPC extension NOT detected!! <6>[ 0.712281] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled <6>[ 0.721425] 10010000.serial: ttySIF0 at MMIO 0x10010000 (irq = 12, base_baud = 31249999) is a SiFive UART v0 <6>[ 0.730810] printk: legacy console [ttySIF0] enabled <6>[ 0.730810] printk: legacy console [ttySIF0] enabled <6>[ 0.741180] printk: legacy bootconsole [sifive0] disabled <6>[ 0.741180] printk: legacy bootconsole [sifive0] disabled <6>[ 0.753564] 10011000.serial: ttySIF1 at MMIO 0x10011000 (irq = 13, base_baud = 31249999) is a SiFive UART v0 <6>[ 0.776094] loop: module loaded <6>[ 0.779917] sifive_spi 10040000.spi: mapped; irq=14, cs=1 <6>[ 2.048566] Freeing initrd memory: 16120K <4>[ 2.053923] page: refcount:1 mapcount:1 mapping:0000000000000000 index:0x3ffffff pfn:0x27efe4 <4>[ 2.061959] memcg:ffffffd68010b000 <4>[ 2.065606] anon flags: 0x4000000000020008(uptodate|swapbacked|zone=1) <4>[ 2.072379] raw: 4000000000020008 0000000000000000 dead000000000122 ffffffd681bac001 <4>[ 2.080364] raw: 0000000003ffffff 0000000000000000 0000000100000000 ffffffd68010b000 <4>[ 2.088348] page dumped because: VM_BUG_ON_PAGE(PageAnonNotKsm(page)) <4>[ 2.095146] ------------[ cut here ]------------ <2>[ 2.095152] kernel BUG at include/linux/page-flags.h:1134! <0>[ 2.095160] Kernel BUG [#1] <4>[ 2.095166] Modules linked in: <4>[ 2.095176] CPU: 1 UID: 0 PID: 66 Comm: kworker/u20:0 Not tainted 6.12.0-rc1-next-20241004 #1 <4>[ 2.095189] Hardware name: SiFive HiFive Unleashed A00 (DT) <4>[ 2.095194] epc : folio_add_new_anon_rmap+0x308/0x376 <4>[ 2.095216] ra : folio_add_new_anon_rmap+0x308/0x376 <4>[ 2.095227] epc : ffffffff80190c5a ra : ffffffff80190c5a sp : ffffffc600433ab0 <4>[ 2.095236] gp : ffffffff81516680 tp : ffffffd681778000 t0 : 6562206465700000 <4>[ 2.095245] t1 : 0000000000000070 t2 : 6562206465706d75 s0 : ffffffc600433af0 <4>[ 2.095253] s1 : ffffffc507fbf900 a0 : 0000000000000039 a1 : ffffffff814856e0 <4>[ 2.095261] a2 : 0000000000000010 a3 : fffffffffffffffe a4 : 0000000000000000 <4>[ 2.095270] a5 : 0000000000000000 a6 : 000000000000003f a7 : 0000000000000010 <4>[ 2.095277] s2 : 0000000000000000 s3 : 0000000000000001 s4 : ffffffd681ba5000 <4>[ 2.095285] s5 : 0000000000000001 s6 : 0000000000000001 s7 : ffffffc507fbf900 <4>[ 2.095293] s8 : ffffffff810c01f8 s9 : 0000000000000001 s10: 0000000000000001 <4>[ 2.095301] s11: 0000000000040000 t3 : ffffffff8152db22 t4 : ffffffff8152db22 <4>[ 2.095309] t5 : ffffffff8152db28 t6 : ffffffc6004338a8 <4>[ 2.095316] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003 <4>[ 2.095325] [] folio_add_new_anon_rmap+0x308/0x376 <4>[ 2.095339] [] __handle_mm_fault+0xb24/0xcfa <4>[ 2.095358] [] handle_mm_fault+0x132/0x1d8 <4>[ 2.095372] [] __get_user_pages+0x386/0xc52 <4>[ 2.095384] [] get_user_pages_remote+0xa2/0x2b0 <4>[ 2.095397] [] get_arg_page+0x56/0x180 <4>[ 2.095422] [] copy_string_kernel+0xa8/0x1f4 <4>[ 2.095440] [] kernel_execve+0x7e/0xf4 <4>[ 2.095451] [] call_usermodehelper_exec_async+0xb0/0x14e <4>[ 2.095471] [] ret_from_fork+0xe/0x18 <0>[ 2.095495] Code: 40ef d64e 9002 7597 00e8 8593 2bc5 8526 40ef d54e (9002) 7597 <4>[ 2.095503] ---[ end trace 0000000000000000 ]--- <0>[ 2.095510] Kernel panic - not syncing: Fatal exception in interrupt <2>[ 2.095517] SMP: stopping secondary CPUs <0>[ 2.309466] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---