starfive-tech / Fedora_on_StarFive

62 stars 12 forks source link

[Booting] After plug in USB flash disk, happened kernel panic or oops sometimes when system booting #5

Closed MichaelZhuxx closed 3 years ago

MichaelZhuxx commented 3 years ago

Based on fedora image: Fedora-riscv64-vic7100-dev-raw-image-Rawhide-20210419121453.n.0-sda.raw

Power up the beaglev board after plug in USB flash disk, the system will hang up in different place

Place #1(Oops):

bootloader version:210209-4547a8d
ddr 0x00000000, 1M test
ddr 0x00100000, 2M test
DDR clk 2133M,Version: 210302-5aea32f
 flash: dc72c3f9, crc ddr: dc72c3f9
crc check PASSED

bootloader.

OpenSBI v0.9
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : StarFive VIC7100
Platform Features         : timer,mfdeleg
Platform HART Count       : 2
Firmware Base             : 0x80000000
Firmware Size             : 92 KB
Runtime SBI Version       : 0.2

Domain0 Name              : root
Domain0 Boot HART         : 1
Domain0 HARTs             : 0*,1*
Domain0 Region00          : 0x0000000080000000-0x000000008001ffff ()
Domain0 Region01          : 0x0000000000000000-0x0000007fffffffff (R,W,X)
Domain0 Next Address      : 0x0000000080020000
Domain0 Next Arg1         : 0x0000000088000000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 1
Boot HART Domain          : root
Boot HART ISA             : rv64imafdcsux
Boot HART Features        : scounteren,mcounteren
Boot HART PMP Count       : 16
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 36
Boot HART MHPM Count      : 0
Boot HART MHPM Count      : 0
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109

U-Boot 2021.04-rc4-g5b63233bc6-dirty (Apr 11 2021 - 23:38:48 -0700)

CPU:   rv64imafdc
DRAM:  8 GiB
MMC:   sdio0@10000000: 0, sdio1@10010000: 1
Net:   dwmac.10020000
Autoboot in 2 seconds
MMC CD is 0x0, force to True.
MMC CD is 0x0, force to True.
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1034 bytes read in 7 ms (143.6 KiB/s)
Fedora-riscv64-vic7100-dev-raw-image-Rawhide-20210419121453.n.0 Boot Options.
1:  Fedora-riscv64-vic7100-dev-raw-image-Rawhide-20210419121453.n.0 (5.10.6+)
2:  Fedora-riscv64-vic7100-dev-raw-image-Rawhide-20210419121453.n.0 (5.10.6-204.0.riscv64.fc33.riscv64)
Enter choice: 1:    Fedora-riscv64-vic7100-dev-raw-image-Rawhide-20210419121453.n.0 (5.10.6+)
Retrieving file: /initramfs-5.10.6+.img
29868710 bytes read in 6169 ms (4.6 MiB/s)
Retrieving file: /vmlinuz-5.10.6+
8799675 bytes read in 1822 ms (4.6 MiB/s)
append: ro root=UUID=29f097dc-eba8-4043-a650-cfd06eef5461 rhgb console=tty0 console=ttyS0,115200 earlycon=sbi rootwait stmmaceth=chain_mode:1 selinux=0 LANG=en_US.UTF-8
   Uncompressing Kernel Image
Moving Image from 0x84000000 to 0x80200000, end=81aff000
## Flattened Device Tree blob at fffd0d40
   Booting using the fdt blob at 0xfffd0d40
   Using Device Tree in place at 00000000fffd0d40, end 00000000fffd9e0d

Starting kernel ...

[    0.000000] Linux version 5.10.6+ (fedora@soft04) (riscv64-linux-gnu-gcc (GCC) 10.2.1 20200826 (Red Hat Cross 10.2.1-3), GNU ld version 2.35.1-1.fc33) #26 SMP Tue Apr 20 03:32:34 CST 2021
[    0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
[    0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[    0.000000] printk: bootconsole [sbi0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Initial ramdisk at: 0x(____ptrval____) (29872128 bytes)
[    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] 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-0x00000000f8ffffff]
[    0.000000]   node   0: [mem 0x00000000fa000000-0x00000000faffffff]
[    0.000000]   node   0: [mem 0x00000000fd000000-0x000000027fffffff]
[    0.000000] Zeroed struct page in unavailable ranges: 12800 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x000000027fffffff]
[    0.000000] software IO TLB: mapped [mem 0x000000009c000000-0x00000000a0000000] (64MB)
[    0.000000] SBI specification v0.2 detected
[    0.000000] SBI implementation ID=0x1 Version=0x9
[    0.000000] SBI v0.2 TIME extension detected
[    0.000000] SBI v0.2 IPI extension detected
[    0.000000] SBI v0.2 RFENCE extension detected
[    0.000000] SBI v0.2 HSM extension detected
[    0.000000] riscv: ISA extensions acdfim
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] percpu: Embedded 25 pages/cpu s64600 r8192 d29608 u102400
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2051592
[    0.000000] Kernel command line: ro root=UUID=29f097dc-eba8-4043-a650-cfd06eef5461 rhgb console=tty0 console=ttyS0,115200 earlycon=sbi rootwait stmmaceth=chain_mode:1 selinux=0 LANG=en_US.UTF-8
[    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] Sorting __ex_table...
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 6680092K/8337408K available (10726K kernel code, 5508K rwdata, 6144K rodata, 355K init, 747K bss, 1001956K reserved, 655360K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]       fixmap : 0xffffffcefee00000 - 0xffffffceff000000   (2048 kB)
[    0.000000]       pci io : 0xffffffceff000000 - 0xffffffcf00000000   (  16 MB)
[    0.000000]      vmemmap : 0xffffffcf00000000 - 0xffffffcfffffffff   (4095 MB)
[    0.000000]      vmalloc : 0xffffffd000000000 - 0xffffffdfffffffff   (65535 MB)
[    0.000000]       lowmem : 0xffffffe000000000 - 0xffffffe1ffe00000   (8190 MB)
[    0.000000] random: get_random_u64 called from __kmem_cache_create+0x40/0x440 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] ftrace: allocating 39153 entries in 153 pages
[    0.000000] ftrace: allocated 153 pages with 4 groups
[    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: disable L2 cache irq 128 in plic
[    0.000000] plic: disable L2 cache irq 131 in plic
[    0.000000] plic: disable L2 cache irq 129 in plic
[    0.000000] plic: disable L2 cache irq 130 in plic
[    0.000000] plic: disable L2 cache irq 128 in plic
[    0.000000] plic: disable L2 cache irq 131 in plic
[    0.000000] plic: disable L2 cache irq 129 in plic
[    0.000000] plic: disable L2 cache irq 130 in plic
[    0.000000] plic: plic@c000000: mapped 127 interrupts with 2 handlers for 4 contexts.
[    0.000000] rcu:     Offload RCU callbacks from CPUs: (none).
[    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [1]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x171024e6b, max_idle_ns: 440795202301 ns
[    0.000008] sched_clock: 64 bits at 6MHz, resolution 160ns, wraps every 4398046511040ns
[    0.008336] Console: colour dummy device 80x25
[    0.014775] printk: console [tty0] enabled
[    0.019006] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.029264] pid_max: default: 32768 minimum: 301
[    0.034164] LSM: Security Framework initializing
[    0.038763] Yama: becoming mindful.
[    0.042987] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.051086] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.064499] rcu: Hierarchical SRCU implementation.
[    0.071241] EFI services will not be available.
[    0.077018] smp: Bringing up secondary CPUs ...
[    0.084016] smp: Brought up 1 node, 2 CPUs
[    0.093258] devtmpfs: initialized
[    0.105118] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.115078] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.182025] NET: Registered protocol family 16
[    0.187218] audit: initializing netlink subsys (disabled)
[    0.193224] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
[    0.194141] thermal_sys: Registered thermal governor 'fair_share'
[    0.201012] thermal_sys: Registered thermal governor 'step_wise'
[    0.223077] OF: /soc/i2c@118b0000: could not find phandle
[    0.234664] OF: /soc/i2c@118c0000: could not find phandle
[    0.240088] OF: /soc/i2c@12450000: could not find phandle
[    0.248717] OF: /soc/i2c@118b0000: could not find phandle
[    0.254351] OF: /soc/i2c@118c0000: could not find phandle
[    0.260055] OF: /soc/i2c@12450000: could not find phandle
[    0.285446] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.292185] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    1.169924] alg: No test for 842 (842-generic)
[    1.175032] alg: No test for 842 (842-scomp)
[    1.214410] raid6: skip pq benchmark and using algorithm int64x8
[    1.220388] raid6: using intx1 recovery algorithm
[    1.226454] starfive_gpio 11910000.gpio: SiFive GPIO chip registered 64 GPIOs
[    1.233998] fbcon: Taking over console
[    1.238990] iommu: Default domain type: Translated 
[    1.244195] vgaarb: loaded
[    1.248735] SCSI subsystem initialized
[    1.253672] usbcore: registered new interface driver usbfs
[    1.259491] usbcore: registered new interface driver hub
[    1.264976] usbcore: registered new device driver usb
[    1.270642] OF: /soc/i2c@118b0000: could not find phandle
[    1.276140] i2c_designware 118b0000.i2c: Using 'clocks' : 49500000 / 1000
[    1.282954] i2c_designware 118b0000.i2c: Using 'clocks' : 49500000 / 1000
[    1.289698] i2c_designware 118b0000.i2c: Using 'clocks' : 49500000 / 1000
[    1.296839] i2c_designware 118b0000.i2c: running with gpio recovery mode! scl,sda
[    1.305378] OF: /soc/i2c@118c0000: could not find phandle
[    1.310828] i2c_designware 118c0000.i2c: Using 'clocks' : 49500000 / 1000
[    1.317590] i2c_designware 118c0000.i2c: Using 'clocks' : 49500000 / 1000
[    1.324459] i2c_designware 118c0000.i2c: Using 'clocks' : 49500000 / 1000
[    1.331510] i2c_designware 118c0000.i2c: running with gpio recovery mode! scl,sda
[    1.339663] OF: /soc/i2c@12450000: could not find phandle
[    1.345041] i2c_designware 12450000.i2c: Using 'clocks' : 50000000 / 1000
[    1.352018] i2c_designware 12450000.i2c: Using 'clocks' : 50000000 / 1000
[    1.358754] i2c_designware 12450000.i2c: Using 'clocks' : 50000000 / 1000
[    1.365869] i2c_designware 12450000.i2c: running with gpio recovery mode! scl,sda
[    1.373990] mc: Linux media interface: v0.10
[    1.378371] videodev: Linux video capture interface: v2.00
[    1.384098] pps_core: LinuxPPS API ver. 1 registered
[    1.389104] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.398337] PTP clock support registered
[    1.403200] EDAC MC: Ver: 3.0.0
[    1.409196] NetLabel: Initializing
[    1.412696] NetLabel:  domain hash size = 128
[    1.416994] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.422903] NetLabel:  unlabeled traffic allowed by default
[    1.429446] clocksource: Switched to clocksource riscv_clocksource
[    1.589755] VFS: Disk quotas dquot_6.6.0
[    1.593793] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.620987] NET: Registered protocol family 2
[    1.627456] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    1.636421] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    1.646937] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    1.659271] TCP: Hash tables configured (established 65536 bind 65536)
[    1.667848] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear)
[    1.676557] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.684064] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.692639] NET: Registered protocol family 1
[    1.697011] NET: Registered protocol family 44
[    1.701640] PCI: CLS 0 bytes, default 64
[    1.705888] Trying to unpack rootfs image as initramfs...
[    3.485000] Freeing initrd memory: 29168K
[    3.491491] Initialise system trusted keyrings
[    3.495987] Key type blacklist registered
[    3.500690] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[    3.516559] zbud: loaded
[    3.562247] NET: Registered protocol family 38
[    3.566678] xor: measuring software checksum speed
[    3.576254]    8regs           :  2175 MB/sec
[    3.585268]    8regs_prefetch  :  2171 MB/sec
[    3.594005]    32regs          :  2250 MB/sec
[    3.602746]    32regs_prefetch :  2244 MB/sec
[    3.607040] xor: using function: 32regs (2250 MB/sec)
[    3.612207] Key type asymmetric registered
[    3.616288] Asymmetric key parser 'x509' registered
[    3.621408] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    3.629640] io scheduler mq-deadline registered
[    3.634136] io scheduler kyber registered
[    3.638481] io scheduler bfq registered
[    3.642824] atomic64_test: passed
[    3.647581] pwm-sifive-ptc 12490000.pwm: Unable to find controller clock
[    3.655715] starfive,vpp-lcdc 12000000.sfivefb: starfive_fb_probe
[    3.662448] panel_name: tda_998x_1080p
[    3.666191] of_parse_rd_cmd_info: failed, key=id_read_cmd_info
[    3.672098] of_parse_rd_cmd_info: failed, key=esd_read_cmd_info
[    3.677985] of_parse_wr_cmd: failed, key=panel-on-command
[    3.683465] of_parse_wr_cmd: failed, key=panel-off-command
[    3.688957] of_parse_reset_seq:707, error reading reset-sequence, length found = 0
[    3.697209] panel_name: seeed_5_inch
[    3.700899] of_parse_rd_cmd_info: failed, key=id_read_cmd_info
[    3.706666] of_parse_rd_cmd_info: failed, key=esd_read_cmd_info
[    3.712670] of_parse_wr_cmd: failed, key=panel-on-command
[    3.718065] of_parse_wr_cmd: failed, key=panel-off-command
[    3.723637] of_parse_reset_seq:707, error reading reset-sequence, length found = 0
[    3.731378] starfive,vpp-lcdc 12000000.sfivefb: select displayer: tda_998x_1080p
[    3.872886] starfive,vpp-lcdc 12000000.sfivefb: DDR to LCDC
[    3.879541] Console: switching to colour frame buffer device 240x67
[    3.879611] starfive,vpp-lcdc 12000000.sfivefb: sf_fb_set_addr NO use PPx
[    3.931784] select displayer: tda_998x_1080p
[    4.077432] tda998x 0-0070: found TDA19988
[    4.115365] L2CACHE: No. of Banks in the cache: 2
[    4.118308] random: fast init done
[    4.120242] L2CACHE: No. of ways per bank: 16
[    4.127971] L2CACHE: Sets per bank: 1024
[    4.132009] L2CACHE: Bytes per cache block: 64
[    4.136485] L2CACHE: Index of the largest way enabled: 0
[    4.145280] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    4.167764] printk: console [ttyS0] disabled
[    4.172314] 12440000.serial: ttyS0 at MMIO 0x12440000 (irq = 6, base_baud = 6250000) is a 16550A
[    4.181497] printk: console [ttyS0] enabled
[    4.181497] printk: console [ttyS0] enabled
[    4.190008] printk: bootconsole [sbi0] disabled
[    4.190008] printk: bootconsole [sbi0] disabled
[    4.201184] dw-apb-uart 11870000.hs_serial: detected caps 00000000 should be 00000100
[    4.209241] 11870000.hs_serial: ttyS1 at MMIO 0x11870000 (irq = 7, base_baud = 4640625) is a 16550
[    4.224147] vic-rng 118d0000.trng: Initialized
[    4.232544] dw_spi_mmio 12410000.spi2: DMA init failed
[    4.241264] libphy: Fixed MDIO Bus: probed
[    4.247352] stmmaceth 10020000.gmac: IRQ eth_lpi not found
[    4.253527] stmmaceth 10020000.gmac: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
[    4.262901] stmmaceth 10020000.gmac: PTP uses main clock
[    4.268389] stmmaceth 10020000.gmac: no reset control found
[    4.275099] stmmaceth 10020000.gmac: User ID: 0x59, Synopsys ID: 0x37
[    4.281882] stmmaceth 10020000.gmac:     DWMAC1000
[    4.286570] stmmaceth 10020000.gmac: DMA HW capability register supported
[    4.293654] stmmaceth 10020000.gmac: RX Checksum Offload Engine supported
[    4.300711] stmmaceth 10020000.gmac: COE Type 2
[    4.305374] stmmaceth 10020000.gmac: Wake-Up On Lan supported
[    4.311361] stmmaceth 10020000.gmac: Enhanced/Alternate descriptors
[    4.317800] stmmaceth 10020000.gmac: Enabled extended descriptors
[    4.324122] stmmaceth 10020000.gmac: Chain mode enabled
[    4.329561] stmmaceth 10020000.gmac: Enable RX Mitigation via HW Watchdog Timer
[    4.337088] stmmaceth 10020000.gmac: device MAC address 1a:2b:3c:4d:5e:6f
[    4.396115] libphy: stmmac: probed
[    4.399755] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    4.409587] mdio_bus stmmac-0:07: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:07, irq=POLL)
[    4.423340] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.430276] ehci-pci: EHCI PCI platform driver
[    4.435011] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.441596] ohci-pci: OHCI PCI platform driver
[    4.446315] uhci_hcd: USB Universal Host Controller Interface driver
[    4.480679] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.513745] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    4.549693] xhci-hcd xhci-hcd.0.auto: hcc params 0x200073c8 hci version 0x100 quirks 0x0000000000010010
[    4.586310] xhci-hcd xhci-hcd.0.auto: irq 12, io mem 0x104d0000
[    4.620179] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    4.655718] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.690169] usb usb1: Product: xHCI Host Controller
[    4.722245] usb usb1: Manufacturer: Linux 5.10.6+ xhci-hcd
[    4.754990] usb usb1: SerialNumber: xhci-hcd.0.auto
[    4.788156] hub 1-0:1.0: USB hub found
[    4.819306] hub 1-0:1.0: 1 port detected
[    4.851174] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.884290] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    4.919110] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    4.953215] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.989278] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    5.024987] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.059601] usb usb2: Product: xHCI Host Controller
[    5.091965] usb usb2: Manufacturer: Linux 5.10.6+ xhci-hcd
[    5.124904] usb usb2: SerialNumber: xhci-hcd.0.auto
[    5.158550] hub 2-0:1.0: USB hub found
[    5.189810] hub 2-0:1.0: 1 port detected
[    5.222093] usbcore: registered new interface driver usbserial_generic
[    5.256055] usbserial: USB Serial support registered for generic
[    5.289771] mousedev: PS/2 mouse device common for all mice
[    5.299601] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    5.323535] i2c /dev entries driver
[    5.388456] poweroff-gpio soc:gpio-poweroff: gpio_poweroff_probe: pm_power_off function already registered
[    5.425240] poweroff-gpio: probe of soc:gpio-poweroff failed with error -16
[    5.461018] sfc_temp_sensor 124a0000.tmpsensor: probe
[    5.504311] temp(c): 82.14
[    5.534505] usb 1-1: device descriptor read/64, error -71
[    5.568030] device-mapper: uevent: version 1.0.3
[    5.601051] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[    5.638339] EDAC DEVICE0: Giving out device to module Sifive ECC Manager controller sifive_edac.0: DEV sifive_edac.0 (INTERRUPT)
[    5.678711] sdhci: Secure Digital Host Controller Interface driver
[    5.712773] sdhci: Copyright(c) Pierre Ossman
[    5.745105] Synopsys Designware Multimedia Card Interface Driver
[    5.779724] dw_mmc 10000000.sdio0: IDMAC supports 32-bit address mode.
[    5.814507] sdhci-pltfm: SDHCI platform and OF driver helper
[    5.815136] dw_mmc 10010000.sdio1: IDMAC supports 32-bit address mode.
[    5.879588] dw_mmc 10000000.sdio0: Using internal DMA controller.
[    5.882124] dw_mmc 10010000.sdio1: Using internal DMA controller.
[    5.915785] dw_mmc 10000000.sdio0: Version ID is 290a
[    5.949226] dw_mmc 10010000.sdio1: Version ID is 290a
[    5.981860] ledtrig-cpu: registered to indicate activity on CPUs
[    6.014215] usb 1-1: device descriptor read/64, error -71
[    6.047887] hid: raw HID events driver (C) Jiri Kosina
[    6.080656] dw_mmc 10010000.sdio1: DW MMC controller at irq 31,32 bit host data width,32 deep fifo
[    6.113469] dw_mmc 10000000.sdio0: DW MMC controller at irq 30,32 bit host data width,32 deep fifo
[    6.150297] mmc_host mmc0: card is non-removable.
[    6.186901] usbcore: registered new interface driver usbhid
[    6.252013] usbhid: USB HID core driver
[    6.284208] mmc_host mmc1: card is polling.
[    6.317318] drop_monitor: Initializing network drop monitor service
[    6.351868] Initializing XFRM netlink socket
[    6.385261] NET: Registered protocol family 10
[    6.399595] usb 1-1: new high-speed USB device number 3 using xhci-hcd
[    6.452443] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 400000Hz, actual 400000HZ div = 125)
[    6.529170] Segment Routing with IPv6
[    6.560941] RPL Segment Routing with IPv6
[    6.569718] mmc_host mmc1: Bus speed (slot 0) = 100000000Hz (slot req 400000Hz, actual 400000HZ div = 125)
[    6.593177] mip6: Mobile IPv6
[    6.662070] NET: Registered protocol family 17
[    6.695770] registered taskstats version 1
[    6.728215] Loading compiled-in X.509 certificates
[    6.761087] usb 1-1: device descriptor read/64, error -71
[    6.800668] Loaded X.509 cert 'Build time autogenerated kernel key: 9d4e7436ad55f30df590c72dfd04ea7a24dc79f1'
[    6.839485] zswap: loaded using pool lzo/zbud
[    6.874124] Key type ._fscrypt registered
[    6.906462] Key type .fscrypt registered
[    6.938642] Key type fscrypt-provisioning registered
[    6.969484] dw_mmc 10010000.sdio1: Unexpected interrupt latency
[    7.009684] Btrfs loaded, crc32c=crc32c-generic
[    7.044016] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[    7.080128] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    7.115926] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    7.149571] Key type encrypted registered
[    7.181639] ima: No TPM chip found, activating TPM-bypass!
[    7.215060] usb 1-1: device descriptor read/64, error -71
[    7.248619] mmc_host mmc1: Bus speed (slot 0) = 100000000Hz (slot req 10000000Hz, actual 10000000HZ div = 5)
[    7.248869] ima: Allocated hash algorithm: sha256
[    7.319344] mmc1: new high speed SDHC card at address 1234
[    7.319555] ima: No architecture policies found
[    7.353393] usb usb1-port1: attempt power cycle
[    7.385970] evm: Initialising EVM extended attributes:
[    7.451003] evm: security.selinux
[    7.454115] mmcblk1: mmc1:1234 SA16G 14.5 GiB 
[    7.482414] evm: security.ima
[    7.482420] evm: security.capability
[    7.482427] evm: HMAC attrs: 0x1
[    7.579861] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    7.639452] dw_mmc 10010000.sdio1: Unexpected interrupt latency
[    7.676468] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[    7.709478] dw_mmc 10010000.sdio1: Unexpected interrupt latency
[    7.743741]  mmcblk1: p1 p2
[    7.746886] dw-apb-uart 12440000.serial: forbid DMA for kernel console
[    7.814837] mmc0: queuing unknown CIS tuple 0x81 (9 bytes)
[    7.855877] usb 2-1: New USB device found, idVendor=05e3, idProduct=0616, bcdDevice= 4.02
[    7.889461] dw_mmc 10010000.sdio1: Unexpected interrupt latency
[    7.925297] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    7.959456] dw_mmc 10010000.sdio1: Unexpected interrupt latency
[    7.993598] usb 2-1: Product: USB3.0 Hub
[    8.025598] usb 2-1: Manufacturer: GenesysLogic
[    8.062126] hub 2-1:1.0: USB hub found
[    8.095538] hub 2-1:1.0: 4 ports detected
[    8.209562] usb 1-1: new high-speed USB device number 4 using xhci-hcd
[    8.245255] usb 1-1: Device not responding to setup address.
[    8.320744] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 10000000Hz, actual 10000000HZ div = 5)
[    8.368778] mmc0: new high speed SDIO card at address 0001
[    8.499740] usb 1-1: Device not responding to setup address.
[    8.749574] usb 1-1: device not accepting address 4, error -71
[    8.929634] usb 1-1: new high-speed USB device number 5 using xhci-hcd
[    8.965508] usb 1-1: Device not responding to setup address.
[    9.219745] usb 1-1: Device not responding to setup address.
[    9.469570] usb 1-1: device not accepting address 5, error -71
[    9.504909] usb usb1-port1: unable to enumerate USB device
[    9.639801] usb 2-1.1: new SuperSpeed Gen 1 USB device number 3 using xhci-hcd
[    9.701620] usb 2-1.1: New USB device found, idVendor=0781, idProduct=5591, bcdDevice= 1.00
[    9.739476] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    9.776156] usb 2-1.1: Product:  SanDisk 3.2Gen1
[    9.810122] usb 2-1.1: Manufacturer:  USB
[    9.843380] usb 2-1.1: SerialNumber: 0101b8f54743a2b9083a54a8a77d67d781f3504329b118fdf960dced9bba035e05dd000000000000000000005cfc02120081650091558107b228fe87
[   13.794296] Freeing unused kernel memory: 352K
[   13.833692] ------------[ cut here ]------------
[   13.866148] riscv/mm: Found insecure W+X mapping at address (____ptrval____)/0xffffffdff8000000
[   13.902647] WARNING: CPU: 1 PID: 1 at arch/riscv/mm/ptdump.c:231 note_page+0x24c/0x252
[   13.938681] Modules linked in:
[   13.969706] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.6+ #26
[   14.003759] epc: ffffffe000208c66 ra : ffffffe000208c66 sp : ffffffe080007be0
[   14.038844]  gp : ffffffe0018416a8 tp : ffffffe080015040 t0 : ffffffd004a6c110
[   14.074042]  t1 : 0000000000000000 t2 : ffffffe000ea9d88 s0 : ffffffe080007c30
[   14.109261]  s1 : ffffffe080007e10 a0 : 0000000000000053 a1 : ffffffe001706c00
[   14.144548]  a2 : 00000000ffffdfff a3 : 0000000000000000 a4 : ffffffe0016269f0
[   14.179685]  a5 : ffffffe0016269f0 a6 : ffffffe08070f0d0 a7 : ffffffffad55ad55
[   14.214718]  s2 : ffffffdff8001000 s3 : 0000000000000000 s4 : 0000000000000004
[   14.249786]  s5 : 0000000000000000 s6 : 0000000000000000 s7 : ffffffe080118e00
[   14.284897]  s8 : ffffffdff8001000 s9 : ffffffe080007d20 s10: ffffffe000000000
[   14.320053]  s11: ffffffdff8200000 t3 : 0000000000000001 t4 : 0000000000000002
[   14.355174]  t5 : 0000000000000010 t6 : ffffffe0800078d0
[   14.388252] status: 0000000200000120 badaddr: ffffffe080007bd0 cause: 0000000000000003
[   14.424091] ---[ end trace e38971efbe1a0bf8 ]---
[   14.457301] Checked W+X mappings: failed, 513 W+X pages found
[   14.491254] rodata_test: all tests were successful
[   14.524369] Run /init as init process
[   14.689106] systemd[1]: System time before build time, advancing clock.
[   14.764408] systemd[1]: systemd v246.6-3.0.riscv64.fc33 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD -SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[   14.846332] systemd[1]: Detected architecture riscv64.
[   14.880462] systemd[1]: Running in initial RAM disk.

Welcome to Fedora 33 (Rawhide) dracut-050-26.git20200316.0.riscv64.fc33 (Initramfs)!

[   14.950271] systemd[1]: Set hostname to <fedora-starfive>.
[   15.837947] systemd[1]: /usr/lib/systemd/system/dracut-pre-udev.service:27: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   15.888181] systemd[1]: /usr/lib/systemd/system/dracut-pre-udev.service:28: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   16.045048] systemd[1]: /usr/lib/systemd/system/plymouth-start.service:15: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
[   16.171269] systemd[1]: /usr/lib/systemd/system/dracut-pre-trigger.service:23: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   16.223602] systemd[1]: /usr/lib/systemd/system/dracut-pre-trigger.service:24: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   16.312557] systemd[1]: /usr/lib/systemd/system/dracut-pre-pivot.service:30: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   16.365571] systemd[1]: /usr/lib/systemd/system/dracut-pre-pivot.service:31: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   16.466821] systemd[1]: /usr/lib/systemd/system/dracut-pre-mount.service:22: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   16.520672] systemd[1]: /usr/lib/systemd/system/dracut-pre-mount.service:23: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   16.612614] systemd[1]: /usr/lib/systemd/system/dracut-mount.service:22: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   16.667124] systemd[1]: /usr/lib/systemd/system/dracut-mount.service:23: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   16.759998] systemd[1]: /usr/lib/systemd/system/dracut-initqueue.service:24: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   16.815694] systemd[1]: /usr/lib/systemd/system/dracut-initqueue.service:25: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   16.910897] systemd[1]: /usr/lib/systemd/system/dracut-cmdline.service:26: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   16.967603] systemd[1]: /usr/lib/systemd/system/dracut-cmdline.service:27: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   17.095417] systemd[1]: Queued start job for default target Initrd Default Target.
[   17.141428] random: systemd: uninitialized urandom read (16 bytes read)
[   17.184914] systemd[1]: Reached target Local File Systems.
[  OK  ] Reached target Local File Systems.
[   17.259983] random: systemd: uninitialized urandom read (16 bytes read)
[   17.303502] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   17.369996] random: systemd: uninitialized urandom read (16 bytes read)
[   17.413537] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   17.480071] systemd[1]: Reached target Timers.
[  OK  ] Reached target Timers.
[   17.551400] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   17.621266] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   17.691500] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   17.761556] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   17.831081] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   17.900107] systemd[1]: Reached target Sockets.
[  OK  ] Reached target Sockets.
[   17.986879] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st…odes for the current kernel...
[   18.082213] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   18.162254] systemd[1]: Starting Setup Virtual Console...
         Starting Setup Virtual Console...
[   18.260164] systemd[1]: Finished Create list of static device nodes for the current kernel.
[  OK  ] Finished Create list of st… nodes for the current kernel.
[   18.347328] systemd[1]: Finished Load Kernel Modules.
[   18.391378] starfive,vpp-lcdc 12000000.sfivefb: sf_fb_set_addr NO use PPx
[  OK  ] Finished Load Kernel Modules.
[   18.513084] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   18.610423] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[   18.785802] systemd[1]: Finished Apply Kernel Variables.
[  OK  ] Finished Apply Kernel Variables.
[   18.865250] systemd[1]: Finished Create Static Device Nodes in /dev.
[  OK  ] Finished Create Static Device Nodes in /dev.
[   18.958048] systemd[1]: Started Entropy Daemon based on the HAVEGE algorithm.
[  OK  ] Started Entropy Daemon based on the HAVEGE algorithm.
[   19.070450] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   19.145568] systemd[1]: Finished Setup Virtual Console.
[  OK  ] Finished Setup Virtual Console.
[   19.231945] systemd[1]: Condition check resulted in dracut ask for additional cmdline parameters being skipped.
[   19.281113] systemd[1]: Condition check resulted in dracut cmdline hook being skipped.
[   19.361668] systemd[1]: Condition check resulted in dracut pre-udev hook being skipped.
[   19.479651] audit: type=1334 audit(1607040004.780:2): prog-id=7 op=LOAD
[   19.479798] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[   19.559583] audit: type=1334 audit(1607040004.780:3): prog-id=8 op=LOAD
         Starting Rule-based Manage…for Device Events and Files...
[   19.670895] audit: type=1334 audit(1607040004.780:4): prog-id=9 op=LOAD
[   19.800198] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[   19.919753] audit: type=1130 audit(1607040005.220:5): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting Create Volatile Files and Directories...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[   20.040517] audit: type=1130 audit(1607040005.350:6): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting Coldplug All udev Devices...
[  OK  ] Finished Create Volatile Files and Directories.
[   20.320216] audit: type=1130 audit(1607040005.630:7): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Mounting Kernel Configuration File System...
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Coldplug All udev Devices.
[   22.020251] audit: type=1130 audit(1607040007.330:8): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udev-trigger comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Reached target System Initialization.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting Show Plymouth Boot Screen...
[  OK  ] Started Show Plymouth Boot Screen.
[   22.300173] audit: type=1130 audit(1607040007.610:9): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=plymouth-start comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   22.406522] random: crng init done
[   22.455271] random: 7 urandom warning(s) missed due to ratelimiting
[  OK  ] Started Forward Password R…s to Plymouth Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Basic System.
[  OK  ] Found device /dev/disk/by-…c-eba8-4043-a650-cfd06eef5461.
[  OK  ] Reached target Initrd Root Device.
         Starting File System Check…eba8-4043-a650-cfd06eef5461...
[   24.372482] starfive,vpp-lcdc 12000000.sfivefb: sf_fb_set_addr NO use PPx
[  OK  ] Finished File System Check…c-eba8-4043-a650-cfd06eef5461.
[   24.540741] starfive,vpp-lcdc 12000000.sfivefb: sf_fb_set_addr NO use PPx
[   24.623763] audit: type=1130 audit(1607040009.840:10): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck-root comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   24.687471] usb-storage 2-1.1:1.0: USB Mass Storage device detected
[   24.757009] scsi host0: usb-storage 2-1.1:1.0
[   24.766025] usbcore: registered new interface driver usb-storage
         Mounting /sysroot...
[   24.958242] usbcore: registered new interface driver uas
[   25.066127] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[  OK  ] Mounted /sysroot.
[  OK  ] Reached target Initrd Root File System.
         Starting Reload Configuration from the Real Root...
[   25.576069] audit: type=1334 audit(1607040010.880:11): prog-id=3 op=UNLOAD
[   25.663506] audit: type=1334 audit(1607040010.920:12): prog-id=9 op=UNLOAD
[   25.729584] audit: type=1334 audit(1607040010.920:13): prog-id=8 op=UNLOAD
[   25.772121] audit: type=1334 audit(1607040010.920:14): prog-id=7 op=UNLOAD
[   25.829603] audit: type=1334 audit(1607040010.940:15): prog-id=6 op=UNLOAD
[   25.885278] Unable to handle kernel paging request at virtual address 0000005f81901a24
[   25.945809] Oops [#1]
[   25.986935] Modules linked in: uas usb_storage
[   26.032652] CPU: 0 PID: 113 Comm: kworker/0:2 Tainted: G        W         5.10.6+ #26
[   26.085533] Workqueue: events_freezable usb_stor_scan_dwork [usb_storage]
[   26.136360] epc: ffffffdf81901a24 ra : ffffffe00022ac8a sp : ffffffe08437fde0
[   26.185180]  gp : ffffffe0018416a8 tp : ffffffe080601ac0 t0 : ffffffe000e028f0
[   26.238447]  t1 : ffffffe0842c1dec t2 : 0000000000000000 s0 : ffffffe08437fe30
[   26.285801]  s1 : ffffffe084bd6810 a0 : ffffffe084bd6810 a1 : ffffffe084bd6818
[   26.325972]  a2 : ffffffe084bd6818 a3 : 0000000000000122 a4 : 0000000000000000
[   26.367661]  a5 : ffffffdf81901a24 a6 : 0000000000000001 a7 : 0000000000000001
[   26.407956]  s2 : ffffffe0842c1d80 s3 : ffffffe1fed17300 s4 : ffffffe1fed1b500
[   26.446137]  s5 : 0000000000000000 s6 : ffffffe084bd6818 s7 : 0000000000000000
[   26.446146]  s8 : ffffffe0018ab6d8 s9 : ffffffe00004b480 s10: ffffffe00004b480
[   26.446151]  s11: ffffffe0842c1d80 t3 : 0000000000000297 t4 : 00000ffccbe237e8
[   26.446156]  t5 : 0000000000003e4d t6 : 000000000000000e
[   26.446162] status: 0000000200000120 badaddr: 0000005f81901a24 cause: 000000000000000c
[   26.446416] ---[ end trace e38971efbe1a0bf9 ]---

Place #2 (Kernel panic)

bootloader version:210209-4547a8d
ddr 0x00000000, 1M test
ddr 0x00100000, 2M test
DDR clk 2133M,Version: 210302-5aea32f
 flash: dc72c3f9, crc ddr: dc72c3f9
crc check PASSED

bootloader.

OpenSBI v0.9
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : StarFive VIC7100
Platform Features         : timer,mfdeleg
Platform HART Count       : 2
Firmware Base             : 0x80000000
Firmware Size             : 92 KB
Runtime SBI Version       : 0.2

Domain0 Name              : root
Domain0 Boot HART         : 1
Domain0 HARTs             : 0*,1*
Domain0 Region00          : 0x0000000080000000-0x000000008001ffff ()
Domain0 Region01          : 0x0000000000000000-0x0000007fffffffff (R,W,X)
Domain0 Next Address      : 0x0000000080020000
Domain0 Next Arg1         : 0x0000000088000000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 1
Boot HART Domain          : root
Boot HART ISA             : rv64imafdcsux
Boot HART Features        : scounteren,mcounteren
Boot HART PMP Count       : 16
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 36
Boot HART MHPM Count      : 0
Boot HART MHPM Count      : 0
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109

U-Boot 2021.04-rc4-g5b63233bc6-dirty (Apr 11 2021 - 23:38:48 -0700)

CPU:   rv64imafdc
DRAM:  8 GiB
MMC:   sdio0@10000000: 0, sdio1@10010000: 1
Net:   dwmac.10020000
Autoboot in 2 seconds
MMC CD is 0x0, force to True.
MMC CD is 0x0, force to True.
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1034 bytes read in 7 ms (143.6 KiB/s)
Fedora-riscv64-vic7100-dev-raw-image-Rawhide-20210419121453.n.0 Boot Options.
1:  Fedora-riscv64-vic7100-dev-raw-image-Rawhide-20210419121453.n.0 (5.10.6+)
2:  Fedora-riscv64-vic7100-dev-raw-image-Rawhide-20210419121453.n.0 (5.10.6-204.0.riscv64.fc33.riscv64)
Enter choice: 1:    Fedora-riscv64-vic7100-dev-raw-image-Rawhide-20210419121453.n.0 (5.10.6+)
Retrieving file: /initramfs-5.10.6+.img
29868710 bytes read in 6169 ms (4.6 MiB/s)
Retrieving file: /vmlinuz-5.10.6+
8799675 bytes read in 1822 ms (4.6 MiB/s)
append: ro root=UUID=29f097dc-eba8-4043-a650-cfd06eef5461 rhgb console=tty0 console=ttyS0,115200 earlycon=sbi rootwait stmmaceth=chain_mode:1 selinux=0 LANG=en_US.UTF-8
   Uncompressing Kernel Image
Moving Image from 0x84000000 to 0x80200000, end=81aff000
## Flattened Device Tree blob at fffd0d40
   Booting using the fdt blob at 0xfffd0d40
   Using Device Tree in place at 00000000fffd0d40, end 00000000fffd9e0d

Starting kernel ...

[    0.000000] Linux version 5.10.6+ (fedora@soft04) (riscv64-linux-gnu-gcc (GCC) 10.2.1 20200826 (Red Hat Cross 10.2.1-3), GNU ld version 2.35.1-1.fc33) #26 SMP Tue Apr 20 03:32:34 CST 2021
[    0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
[    0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[    0.000000] printk: bootconsole [sbi0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Initial ramdisk at: 0x(____ptrval____) (29872128 bytes)
[    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] 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-0x00000000f8ffffff]
[    0.000000]   node   0: [mem 0x00000000fa000000-0x00000000faffffff]
[    0.000000]   node   0: [mem 0x00000000fd000000-0x000000027fffffff]
[    0.000000] Zeroed struct page in unavailable ranges: 12800 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x000000027fffffff]
[    0.000000] software IO TLB: mapped [mem 0x000000009c000000-0x00000000a0000000] (64MB)
[    0.000000] SBI specification v0.2 detected
[    0.000000] SBI implementation ID=0x1 Version=0x9
[    0.000000] SBI v0.2 TIME extension detected
[    0.000000] SBI v0.2 IPI extension detected
[    0.000000] SBI v0.2 RFENCE extension detected
[    0.000000] SBI v0.2 HSM extension detected
[    0.000000] riscv: ISA extensions acdfim
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] percpu: Embedded 25 pages/cpu s64600 r8192 d29608 u102400
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2051592
[    0.000000] Kernel command line: ro root=UUID=29f097dc-eba8-4043-a650-cfd06eef5461 rhgb console=tty0 console=ttyS0,115200 earlycon=sbi rootwait stmmaceth=chain_mode:1 selinux=0 LANG=en_US.UTF-8
[    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] Sorting __ex_table...
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 6680092K/8337408K available (10726K kernel code, 5508K rwdata, 6144K rodata, 355K init, 747K bss, 1001956K reserved, 655360K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]       fixmap : 0xffffffcefee00000 - 0xffffffceff000000   (2048 kB)
[    0.000000]       pci io : 0xffffffceff000000 - 0xffffffcf00000000   (  16 MB)
[    0.000000]      vmemmap : 0xffffffcf00000000 - 0xffffffcfffffffff   (4095 MB)
[    0.000000]      vmalloc : 0xffffffd000000000 - 0xffffffdfffffffff   (65535 MB)
[    0.000000]       lowmem : 0xffffffe000000000 - 0xffffffe1ffe00000   (8190 MB)
[    0.000000] random: get_random_u64 called from __kmem_cache_create+0x40/0x440 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] ftrace: allocating 39153 entries in 153 pages
[    0.000000] ftrace: allocated 153 pages with 4 groups
[    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: disable L2 cache irq 128 in plic
[    0.000000] plic: disable L2 cache irq 131 in plic
[    0.000000] plic: disable L2 cache irq 129 in plic
[    0.000000] plic: disable L2 cache irq 130 in plic
[    0.000000] plic: disable L2 cache irq 128 in plic
[    0.000000] plic: disable L2 cache irq 131 in plic
[    0.000000] plic: disable L2 cache irq 129 in plic
[    0.000000] plic: disable L2 cache irq 130 in plic
[    0.000000] plic: plic@c000000: mapped 127 interrupts with 2 handlers for 4 contexts.
[    0.000000] rcu:     Offload RCU callbacks from CPUs: (none).
[    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [1]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x171024e6b, max_idle_ns: 440795202301 ns
[    0.000007] sched_clock: 64 bits at 6MHz, resolution 160ns, wraps every 4398046511040ns
[    0.008339] Console: colour dummy device 80x25
[    0.014776] printk: console [tty0] enabled
[    0.019007] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.029266] pid_max: default: 32768 minimum: 301
[    0.034171] LSM: Security Framework initializing
[    0.038772] Yama: becoming mindful.
[    0.043000] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.051095] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.064520] rcu: Hierarchical SRCU implementation.
[    0.071271] EFI services will not be available.
[    0.077047] smp: Bringing up secondary CPUs ...
[    0.084078] smp: Brought up 1 node, 2 CPUs
[    0.093344] devtmpfs: initialized
[    0.105460] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.115425] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.182486] NET: Registered protocol family 16
[    0.187698] audit: initializing netlink subsys (disabled)
[    0.193707] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
[    0.194645] thermal_sys: Registered thermal governor 'fair_share'
[    0.201503] thermal_sys: Registered thermal governor 'step_wise'
[    0.224211] OF: /soc/i2c@118b0000: could not find phandle
[    0.235818] OF: /soc/i2c@118c0000: could not find phandle
[    0.241249] OF: /soc/i2c@12450000: could not find phandle
[    0.250130] OF: /soc/i2c@118b0000: could not find phandle
[    0.255774] OF: /soc/i2c@118c0000: could not find phandle
[    0.261493] OF: /soc/i2c@12450000: could not find phandle
[    0.289652] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.296392] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    1.031031] alg: No test for 842 (842-generic)
[    1.036135] alg: No test for 842 (842-scomp)
[    1.074609] raid6: skip pq benchmark and using algorithm int64x8
[    1.080682] raid6: using intx1 recovery algorithm
[    1.086643] starfive_gpio 11910000.gpio: SiFive GPIO chip registered 64 GPIOs
[    1.094317] fbcon: Taking over console
[    1.099291] iommu: Default domain type: Translated 
[    1.104674] vgaarb: loaded
[    1.108424] SCSI subsystem initialized
[    1.113395] usbcore: registered new interface driver usbfs
[    1.119192] usbcore: registered new interface driver hub
[    1.124676] usbcore: registered new device driver usb
[    1.130403] OF: /soc/i2c@118b0000: could not find phandle
[    1.135776] i2c_designware 118b0000.i2c: Using 'clocks' : 49500000 / 1000
[    1.142781] i2c_designware 118b0000.i2c: Using 'clocks' : 49500000 / 1000
[    1.149515] i2c_designware 118b0000.i2c: Using 'clocks' : 49500000 / 1000
[    1.156554] i2c_designware 118b0000.i2c: running with gpio recovery mode! scl,sda
[    1.165103] OF: /soc/i2c@118c0000: could not find phandle
[    1.170553] i2c_designware 118c0000.i2c: Using 'clocks' : 49500000 / 1000
[    1.177311] i2c_designware 118c0000.i2c: Using 'clocks' : 49500000 / 1000
[    1.184185] i2c_designware 118c0000.i2c: Using 'clocks' : 49500000 / 1000
[    1.191230] i2c_designware 118c0000.i2c: running with gpio recovery mode! scl,sda
[    1.199861] OF: /soc/i2c@12450000: could not find phandle
[    1.205243] i2c_designware 12450000.i2c: Using 'clocks' : 50000000 / 1000
[    1.212267] i2c_designware 12450000.i2c: Using 'clocks' : 50000000 / 1000
[    1.219004] i2c_designware 12450000.i2c: Using 'clocks' : 50000000 / 1000
[    1.226128] i2c_designware 12450000.i2c: running with gpio recovery mode! scl,sda
[    1.234262] mc: Linux media interface: v0.10
[    1.238642] videodev: Linux video capture interface: v2.00
[    1.244373] pps_core: LinuxPPS API ver. 1 registered
[    1.249379] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.258616] PTP clock support registered
[    1.263417] EDAC MC: Ver: 3.0.0
[    1.269314] NetLabel: Initializing
[    1.272811] NetLabel:  domain hash size = 128
[    1.277106] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.283042] NetLabel:  unlabeled traffic allowed by default
[    1.289579] clocksource: Switched to clocksource riscv_clocksource
[    1.449052] VFS: Disk quotas dquot_6.6.0
[    1.453188] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.480869] NET: Registered protocol family 2
[    1.487372] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    1.496339] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    1.506860] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    1.519167] TCP: Hash tables configured (established 65536 bind 65536)
[    1.527748] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear)
[    1.536470] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.543977] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.552545] NET: Registered protocol family 1
[    1.556918] NET: Registered protocol family 44
[    1.561547] PCI: CLS 0 bytes, default 64
[    1.565792] Trying to unpack rootfs image as initramfs...
[    3.320335] Freeing initrd memory: 29168K
[    3.326452] Initialise system trusted keyrings
[    3.331056] Key type blacklist registered
[    3.335578] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[    3.351535] zbud: loaded
[    3.398160] NET: Registered protocol family 38
[    3.402712] xor: measuring software checksum speed
[    3.412121]    8regs           :  2174 MB/sec
[    3.421034]    8regs_prefetch  :  2169 MB/sec
[    3.429768]    32regs          :  2249 MB/sec
[    3.438454]    32regs_prefetch :  2243 MB/sec
[    3.442792] xor: using function: 32regs (2249 MB/sec)
[    3.447856] Key type asymmetric registered
[    3.452029] Asymmetric key parser 'x509' registered
[    3.457026] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    3.465180] io scheduler mq-deadline registered
[    3.469768] io scheduler kyber registered
[    3.474046] io scheduler bfq registered
[    3.478331] atomic64_test: passed
[    3.483136] pwm-sifive-ptc 12490000.pwm: Unable to find controller clock
[    3.491178] starfive,vpp-lcdc 12000000.sfivefb: starfive_fb_probe
[    3.497801] panel_name: tda_998x_1080p
[    3.501606] of_parse_rd_cmd_info: failed, key=id_read_cmd_info
[    3.507379] of_parse_rd_cmd_info: failed, key=esd_read_cmd_info
[    3.513383] of_parse_wr_cmd: failed, key=panel-on-command
[    3.518779] of_parse_wr_cmd: failed, key=panel-off-command
[    3.524344] of_parse_reset_seq:707, error reading reset-sequence, length found = 0
[    3.532540] panel_name: seeed_5_inch
[    3.536181] of_parse_rd_cmd_info: failed, key=id_read_cmd_info
[    3.541997] of_parse_rd_cmd_info: failed, key=esd_read_cmd_info
[    3.547904] of_parse_wr_cmd: failed, key=panel-on-command
[    3.553384] of_parse_wr_cmd: failed, key=panel-off-command
[    3.558878] of_parse_reset_seq:707, error reading reset-sequence, length found = 0
[    3.566663] starfive,vpp-lcdc 12000000.sfivefb: select displayer: tda_998x_1080p
[    3.707011] starfive,vpp-lcdc 12000000.sfivefb: DDR to LCDC
[    3.713656] Console: switching to colour frame buffer device 240x67
[    3.713726] starfive,vpp-lcdc 12000000.sfivefb: sf_fb_set_addr NO use PPx
[    3.765588] select displayer: tda_998x_1080p
[    3.917607] tda998x 0-0070: found TDA19988
[    3.952536] random: fast init done
[    3.959138] L2CACHE: No. of Banks in the cache: 2
[    3.964037] L2CACHE: No. of ways per bank: 16
[    3.968429] L2CACHE: Sets per bank: 1024
[    3.972464] L2CACHE: Bytes per cache block: 64
[    3.976947] L2CACHE: Index of the largest way enabled: 0
[    3.985829] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    4.008326] printk: console [ttyS0] disabled
[    4.012874] 12440000.serial: ttyS0 at MMIO 0x12440000 (irq = 6, base_baud = 6250000) is a 16550A
[    4.022070] printk: console [ttyS0] enabled
[    4.022070] printk: console [ttyS0] enabled
[    4.030584] printk: bootconsole [sbi0] disabled
[    4.030584] printk: bootconsole [sbi0] disabled
[    4.041644] dw-apb-uart 11870000.hs_serial: detected caps 00000000 should be 00000100
[    4.049874] 11870000.hs_serial: ttyS1 at MMIO 0x11870000 (irq = 7, base_baud = 4640625) is a 16550
[    4.064521] vic-rng 118d0000.trng: Initialized
[    4.072896] dw_spi_mmio 12410000.spi2: DMA init failed
[    4.081542] libphy: Fixed MDIO Bus: probed
[    4.087761] stmmaceth 10020000.gmac: IRQ eth_lpi not found
[    4.093865] stmmaceth 10020000.gmac: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
[    4.103335] stmmaceth 10020000.gmac: PTP uses main clock
[    4.108818] stmmaceth 10020000.gmac: no reset control found
[    4.115388] stmmaceth 10020000.gmac: User ID: 0x59, Synopsys ID: 0x37
[    4.122228] stmmaceth 10020000.gmac:     DWMAC1000
[    4.126911] stmmaceth 10020000.gmac: DMA HW capability register supported
[    4.133972] stmmaceth 10020000.gmac: RX Checksum Offload Engine supported
[    4.141010] stmmaceth 10020000.gmac: COE Type 2
[    4.145679] stmmaceth 10020000.gmac: Wake-Up On Lan supported
[    4.151650] stmmaceth 10020000.gmac: Enhanced/Alternate descriptors
[    4.158088] stmmaceth 10020000.gmac: Enabled extended descriptors
[    4.164439] stmmaceth 10020000.gmac: Chain mode enabled
[    4.169876] stmmaceth 10020000.gmac: Enable RX Mitigation via HW Watchdog Timer
[    4.177378] stmmaceth 10020000.gmac: device MAC address 1a:2b:3c:4d:5e:6f
[    4.236222] libphy: stmmac: probed
[    4.239888] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    4.249759] mdio_bus stmmac-0:07: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:07, irq=POLL)
[    4.263587] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.270531] ehci-pci: EHCI PCI platform driver
[    4.275281] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.281888] ohci-pci: OHCI PCI platform driver
[    4.286615] uhci_hcd: USB Universal Host Controller Interface driver
[    4.320923] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.353902] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    4.389865] xhci-hcd xhci-hcd.0.auto: hcc params 0x200073c8 hci version 0x100 quirks 0x0000000000010010
[    4.426459] xhci-hcd xhci-hcd.0.auto: irq 12, io mem 0x104d0000
[    4.460372] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    4.495815] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.530211] usb usb1: Product: xHCI Host Controller
[    4.562300] usb usb1: Manufacturer: Linux 5.10.6+ xhci-hcd
[    4.594937] usb usb1: SerialNumber: xhci-hcd.0.auto
[    4.628036] hub 1-0:1.0: USB hub found
[    4.659222] hub 1-0:1.0: 1 port detected
[    4.691110] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.724301] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    4.759058] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    4.793046] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.828984] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    4.864657] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.899201] usb usb2: Product: xHCI Host Controller
[    4.931592] usb usb2: Manufacturer: Linux 5.10.6+ xhci-hcd
[    4.964471] usb usb2: SerialNumber: xhci-hcd.0.auto
[    4.997990] hub 2-0:1.0: USB hub found
[    5.029038] hub 2-0:1.0: 1 port detected
[    5.061264] usbcore: registered new interface driver usbserial_generic
[    5.095205] usbserial: USB Serial support registered for generic
[    5.128783] mousedev: PS/2 mouse device common for all mice
[    5.139751] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    5.162222] i2c /dev entries driver
[    5.227965] poweroff-gpio soc:gpio-poweroff: gpio_poweroff_probe: pm_power_off function already registered
[    5.265039] poweroff-gpio: probe of soc:gpio-poweroff failed with error -16
[    5.301089] sfc_temp_sensor 124a0000.tmpsensor: probe
[    5.344632] temp(c): 79.76
[    5.374910] usb 1-1: device descriptor read/64, error -71
[    5.408476] device-mapper: uevent: version 1.0.3
[    5.441444] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[    5.478708] EDAC DEVICE0: Giving out device to module Sifive ECC Manager controller sifive_edac.0: DEV sifive_edac.0 (INTERRUPT)
[    5.519156] sdhci: Secure Digital Host Controller Interface driver
[    5.553268] sdhci: Copyright(c) Pierre Ossman
[    5.585585] Synopsys Designware Multimedia Card Interface Driver
[    5.620128] sdhci-pltfm: SDHCI platform and OF driver helper
[    5.620698] dw_mmc 10000000.sdio0: IDMAC supports 32-bit address mode.
[    5.688334] usb 1-1: device descriptor read/64, error -71
[    5.688577] dw_mmc 10010000.sdio1: IDMAC supports 32-bit address mode.
[    5.721722] dw_mmc 10000000.sdio0: Using internal DMA controller.
[    5.756233] ledtrig-cpu: registered to indicate activity on CPUs
[    5.790101] dw_mmc 10000000.sdio0: Version ID is 290a
[    5.824017] hid: raw HID events driver (C) Jiri Kosina
[    5.857228] dw_mmc 10010000.sdio1: Using internal DMA controller.
[    5.890424] usbcore: registered new interface driver usbhid
[    5.923772] dw_mmc 10010000.sdio1: Version ID is 290a
[    5.924457] dw_mmc 10010000.sdio1: DW MMC controller at irq 31,32 bit host data width,32 deep fifo
[    5.957277] usbhid: USB HID core driver
[    5.990706] mmc_host mmc0: card is non-removable.
[    6.028828] drop_monitor: Initializing network drop monitor service
[    6.060404] dw_mmc 10000000.sdio0: DW MMC controller at irq 30,32 bit host data width,32 deep fifo
[    6.093513] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    6.128038] mmc_host mmc1: card is polling.
[    6.164845] Initializing XFRM netlink socket
[    6.267720] NET: Registered protocol family 10
[    6.306644] usb 2-1: New USB device found, idVendor=05e3, idProduct=0616, bcdDevice= 4.02
[    6.339657] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 400000Hz, actual 400000HZ div = 125)
[    6.343942] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    6.418620] usb 2-1: Product: USB3.0 Hub
[    6.419642] mmc_host mmc1: Bus speed (slot 0) = 100000000Hz (slot req 400000Hz, actual 400000HZ div = 125)
[    6.451076] usb 2-1: Manufacturer: GenesysLogic
[    6.453553] hub 2-1:1.0: USB hub found
[    6.489718] usb 1-1: new high-speed USB device number 3 using xhci-hcd
[    6.523965] hub 2-1:1.0: 4 ports detected
[    6.628759] Segment Routing with IPv6
[    6.659580] dw_mmc 10010000.sdio1: Unexpected interrupt latency
[    6.695739] RPL Segment Routing with IPv6
[    6.728509] mip6: Mobile IPv6
[    6.759590] dw_mmc 10010000.sdio1: Unexpected interrupt latency
[    6.794353] NET: Registered protocol family 17
[    6.794428] usb 1-1: device descriptor read/64, error -71
[    6.862852] registered taskstats version 1
[    6.895705] Loading compiled-in X.509 certificates
[    6.934561] Loaded X.509 cert 'Build time autogenerated kernel key: 9d4e7436ad55f30df590c72dfd04ea7a24dc79f1'
[    6.969595] dw_mmc 10010000.sdio1: Unexpected interrupt latency
[    7.009338] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[    7.009847] zswap: loaded using pool lzo/zbud
[    7.078434] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    7.079286] Key type ._fscrypt registered
[    7.145639] Key type .fscrypt registered
[    7.178431] Key type fscrypt-provisioning registered
[    7.212152] mmc_host mmc1: Bus speed (slot 0) = 100000000Hz (slot req 10000000Hz, actual 10000000HZ div = 5)
[    7.214917] Btrfs loaded, crc32c=crc32c-generic
[    7.284569] usb 1-1: device descriptor read/64, error -71
[    7.319696] mmc1: new high speed SDHC card at address 1234
[    7.357016] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    7.382006] Key type encrypted registered
[    7.425013] ima: No TPM chip found, activating TPM-bypass!
[    7.432377] mmcblk1: mmc1:1234 SA16G 14.5 GiB 
[    7.459872] ima: Allocated hash algorithm: sha256
[    7.493695] usb usb1-port1: attempt power cycle
[    7.527571] ima: No architecture policies found
[    7.593864] evm: Initialising EVM extended attributes:
[    7.593990]  mmcblk1: p1 p2
[    7.627796] evm: security.selinux
[    7.691270] evm: security.ima
[    7.722744] evm: security.capability
[    7.722768] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[    7.754552] evm: HMAC attrs: 0x1
[    7.823066] mmc0: queuing unknown CIS tuple 0x81 (9 bytes)
[    7.857054] dw-apb-uart 12440000.serial: forbid DMA for kernel console
[    7.889612] dw_mmc 10010000.sdio1: Unexpected interrupt latency
[    7.925840] usb 2-1.1: new SuperSpeed Gen 1 USB device number 3 using xhci-hcd
[    8.030867] usb 2-1.1: New USB device found, idVendor=0781, idProduct=5591, bcdDevice= 1.00
[    8.069033] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.106240] usb 2-1.1: Product:  SanDisk 3.2Gen1
[    8.140641] usb 2-1.1: Manufacturer:  USB
[    8.174378] usb 2-1.1: SerialNumber: 0101b8f54743a2b9083a54a8a77d67d781f3504329b118fdf960dced9bba035e05dd000000000000000000005cfc02120081650091558107b228fe87
[    8.273724] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 10000000Hz, actual 10000000HZ div = 5)
[    8.320504] mmc0: new high speed SDIO card at address 0001
[    8.389726] usb 1-1: new high-speed USB device number 4 using xhci-hcd
[    8.426751] usb 1-1: Device not responding to setup address.
[    8.679933] usb 1-1: Device not responding to setup address.
[    8.929700] usb 1-1: device not accepting address 4, error -71
[    9.109782] usb 1-1: new high-speed USB device number 5 using xhci-hcd
[    9.146619] usb 1-1: Device not responding to setup address.
[    9.400012] usb 1-1: Device not responding to setup address.
[    9.649705] usb 1-1: device not accepting address 5, error -71
[    9.685796] usb usb1-port1: unable to enumerate USB device
[   13.779317] Freeing unused kernel memory: 352K
[   13.818931] ------------[ cut here ]------------
[   13.851592] riscv/mm: Found insecure W+X mapping at address (____ptrval____)/0xffffffdff8000000
[   13.888436] WARNING: CPU: 0 PID: 1 at arch/riscv/mm/ptdump.c:231 note_page+0x24c/0x252
[   13.924384] Modules linked in:
[   13.955377] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.6+ #26
[   13.989462] epc: ffffffe000208c66 ra : ffffffe000208c66 sp : ffffffe080007be0
[   14.024438]  gp : ffffffe0018416a8 tp : ffffffe080013580 t0 : ffffffd004a6c110
[   14.059484]  t1 : 0000000000000000 t2 : ffffffe000ea9d88 s0 : ffffffe080007c30
[   14.094562]  s1 : ffffffe080007e10 a0 : 0000000000000053 a1 : ffffffe001706c00
[   14.129610]  a2 : 00000000ffffdfff a3 : 0000000000000000 a4 : ffffffe0016269f0
[   14.164575]  a5 : ffffffe0016269f0 a6 : ffffffe0807139f0 a7 : ffffffffad55ad55
[   14.199642]  s2 : ffffffdff8001000 s3 : 0000000000000000 s4 : 0000000000000004
[   14.234652]  s5 : 0000000000000000 s6 : 0000000000000000 s7 : ffffffe080118e00
[   14.269661]  s8 : ffffffdff8001000 s9 : ffffffe080007d20 s10: ffffffe000000000
[   14.304748]  s11: ffffffdff8200000 t3 : 0000000000000001 t4 : 0000000000000002
[   14.339853]  t5 : 0000000000000010 t6 : ffffffe0800078d0
[   14.372940] status: 0000000200000120 badaddr: 0000000000000058 cause: 0000000000000003
[   14.408689] ---[ end trace 444a7ea4a902de8b ]---
[   14.441827] Checked W+X mappings: failed, 513 W+X pages found
[   14.475391] rodata_test: all tests were successful
[   14.508142] Run /init as init process
[   14.665244] systemd[1]: System time before build time, advancing clock.
[   14.737583] systemd[1]: systemd v246.6-3.0.riscv64.fc33 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD -SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[   14.818845] systemd[1]: Detected architecture riscv64.
[   14.852766] systemd[1]: Running in initial RAM disk.

Welcome to Fedora 33 (Rawhide) dracut-050-26.git20200316.0.riscv64.fc33 (Initramfs)!

[   14.930374] systemd[1]: Set hostname to <fedora-starfive>.
[   15.792152] systemd[1]: /usr/lib/systemd/system/dracut-pre-udev.service:27: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   15.842361] systemd[1]: /usr/lib/systemd/system/dracut-pre-udev.service:28: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   15.998951] systemd[1]: /usr/lib/systemd/system/plymouth-start.service:15: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
[   16.124301] systemd[1]: /usr/lib/systemd/system/dracut-pre-trigger.service:23: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   16.175979] systemd[1]: /usr/lib/systemd/system/dracut-pre-trigger.service:24: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   16.263671] systemd[1]: /usr/lib/systemd/system/dracut-pre-pivot.service:30: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   16.316085] systemd[1]: /usr/lib/systemd/system/dracut-pre-pivot.service:31: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   16.416143] systemd[1]: /usr/lib/systemd/system/dracut-pre-mount.service:22: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   16.469190] systemd[1]: /usr/lib/systemd/system/dracut-pre-mount.service:23: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   16.560003] systemd[1]: /usr/lib/systemd/system/dracut-mount.service:22: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   16.614229] systemd[1]: /usr/lib/systemd/system/dracut-mount.service:23: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   16.706781] systemd[1]: /usr/lib/systemd/system/dracut-initqueue.service:24: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   16.762576] systemd[1]: /usr/lib/systemd/system/dracut-initqueue.service:25: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   16.857840] systemd[1]: /usr/lib/systemd/system/dracut-cmdline.service:26: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   16.914248] systemd[1]: /usr/lib/systemd/system/dracut-cmdline.service:27: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether.
[   17.042496] systemd[1]: Queued start job for default target Initrd Default Target.
[   17.087677] random: systemd: uninitialized urandom read (16 bytes read)
[   17.131056] systemd[1]: Reached target Local File Systems.
[  OK  ] Reached target Local File Systems.
[   17.200097] random: systemd: uninitialized urandom read (16 bytes read)
[   17.243553] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   17.310108] random: systemd: uninitialized urandom read (16 bytes read)
[   17.353111] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   17.420216] systemd[1]: Reached target Timers.
[  OK  ] Reached target Timers.
[   17.491514] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   17.561379] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   17.631568] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   17.701593] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   17.771190] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   17.840249] systemd[1]: Reached target Sockets.
[  OK  ] Reached target Sockets.
[   17.926836] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st…odes for the current kernel...
[   18.022249] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   18.102077] systemd[1]: Starting Setup Virtual Console...
         Starting Setup Virtual Console...
[   18.198434] systemd[1]: Finished Create list of static device nodes for the current kernel.
[  OK  ] Finished Create list of st… nodes for the current kernel.
[   18.285653] systemd[1]: Finished Load Kernel Modules.
[  OK  ] Finished Load Kernel Modules.
[   18.372749] starfive,vpp-lcdc 12000000.sfivefb: sf_fb_set_addr NO use PPx
[   18.372888] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   18.536527] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[   18.625809] systemd[1]: Finished Apply Kernel Variables.
[  OK  ] Finished Apply Kernel Variables.
[   18.723346] systemd[1]: Finished Create Static Device Nodes in /dev.
[  OK  ] Finished Create Static Device Nodes in /dev.
[   18.807840] systemd[1]: Started Entropy Daemon based on the HAVEGE algorithm.
[  OK  ] Started Entropy Daemon based on the HAVEGE algorithm.
[   18.941518] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   19.069518] systemd[1]: Finished Setup Virtual Console.
[  OK  ] Finished Setup Virtual Console.
[   19.182145] systemd[1]: Condition check resulted in dracut ask for additional cmdline parameters being skipped.
[   19.229842] audit: type=1130 audit(1607040004.510:2): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-vconsole-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   19.280984] systemd[1]: Condition check resulted in dracut cmdline hook being skipped.
[   19.402088] systemd[1]: Condition check resulted in dracut pre-udev hook being skipped.
[   19.490095] audit: type=1334 audit(1607040004.820:3): prog-id=7 op=LOAD
[   19.551160] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[   19.629772] audit: type=1334 audit(1607040004.870:4): prog-id=8 op=LOAD
         Starting Rule-based Manage…for Device Events and Files...
[   19.720884] audit: type=1334 audit(1607040004.870:5): prog-id=9 op=LOAD
[   19.813550] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  [   19.936194] audit: type=1130 audit(1607040005.260:6): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
] Started Rule-based Manager for Device Events and Files.
[   20.020504] audit: type=1130 audit(1607040005.350:7): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting Create Volatile Files and Directories...
         Starting Coldplug All udev Devices...
[  OK  ] Finished Create Volatile Files and Directories.
[   20.502811] audit: type=1130 audit(1607040005.830:8): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Mounting Kernel Configuration File System...
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] [   22.062908] audit: type=1130 audit(1607040007.390:9): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udev-trigger comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Reached target System Initialization.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting Show Plymouth Boot Screen...
[  OK  ] Started Show Plymouth Boot Screen.
[   22.339779] audit: type=1130 audit(1607040007.650:10): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=plymouth-start comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   22.424086] random: crng init done
[   22.499302] random: 7 urandom warning(s) missed due to ratelimiting
[  OK  ] Started Forward Password R…s to Plymouth Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Basic System.
[  OK  ] Found device /dev/disk/by-…c-eba8-4043-a650-cfd06eef5461.
[  OK  ] Reached target Initrd Root Device.
         Starting File System Check…eba8-4043-a650-cfd06eef5461...
[   24.262136] starfive,vpp-lcdc 12000000.sfivefb: sf_fb_set_addr NO use PPx
[   24.371272] starfive,vpp-lcdc 12000000.sfivefb: sf_fb_set_addr NO use PPx
[   24.431296] usb-storage 2-1.1:1.0: USB Mass Storage device detected
[   24.541148] scsi host0: usb-storage 2-1.1:1.0
[  OK  ] Finished File System Check…c-eba8-4043-a650-cfd06eef5461.
[   24.640177] audit: type=1130 audit(1607040009.970:11): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck-root comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   24.711356] usbcore: registered new interface driver usb-storage
         Mounting /sysroot...
[   25.101039] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[  OK  ] Mounted /sysroot.
[   25.245108] usbcore: registered new interface driver uas
[  OK  ] Reached target Initrd Root File System.
         Starting Reload Configuration from the Real Root...
[   25.573527] audit: type=1334 audit(1607040010.900:12): prog-id=6 op=UNLOAD
[   25.621448] audit: type=1334 audit(1607040010.900:13): prog-id=5 op=UNLOAD
[   25.660907] audit: type=1334 audit(1607040010.900:14): prog-id=4 op=UNLOAD
[   25.709778] audit: type=1334 audit(1607040010.920:15): prog-id=9 op=UNLOAD
[   25.750524] audit: type=1334 audit(1607040010.920:16): prog-id=8 op=UNLOAD
[   25.792231] audit: type=1334 audit(1607040010.920:17): prog-id=7 op=UNLOAD
[   25.839942] scsi 0:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[   25.841148] audit: type=1334 audit(1607040010.930:18): prog-id=3 op=UNLOAD
[   25.928152] Unable to handle kernel paging request at virtual address 0000005f8190021a
[   25.966727] Oops [#1]
[   25.999616] Modules linked in: uas usb_storage
[   26.034820] CPU: 0 PID: 176 Comm: systemd-udevd Tainted: G        W         5.10.6+ #26
[   26.073393] epc: ffffffdf8190021a ra : ffffffe00090bf54 sp : ffffffe084adbca0
[   26.111360]  gp : ffffffe0018416a8 tp : ffffffe080718000 t0 : 0000000000000040
[   26.149748]  t1 : 0000000000000eb1 t2 : 00000000000007a7 s0 : ffffffe084adbcd0
[   26.188145]  s1 : ffffffe085e7f3c0 a0 : ffffffe085e7f3c0 a1 : ffffffe001843228
[   26.240453]  a2 : ffffffe001843228 a3 : 0000000000000000 a4 : ffffffe08019f1a0
[   26.295589]  a5 : ffffffdf8190021a a6 : 0000000000000037 a7 : 0000000000003b5f
[   26.333508]  s2 : ffffffe080714000 s3 : 0000000000000000 s4 : 0000000000000000
[   26.371165]  s5 : ffffffe0018ab6d8 s6 : ffffffe00004b480 s7 : ffffffe0807141ac
[   26.408903]  s8 : ffffffe00004b480 s9 : ffffffe00004b330 s10: ffffffe001844208
[   26.446548]  s11: 0000000000000026 t3 : 0000000000000001 t4 : 0000000000000402
[   26.484170]  t5 : ffffffe001706d08 t6 : ffffffe001706d10
[   26.519944] status: 0000000200000120 badaddr: 0000005f8190021a cause: 000000000000000c
[   26.558544] ---[ end trace 444a7ea4a902de8c ]---
[   26.563801] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   26.593959] Kernel panic - not syncing: Fatal exception in interrupt
[   26.593982] SMP: stopping secondary CPUs
[   26.704231] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
pdp7 commented 3 years ago

@MichaelZhuxx I was talking to @tekkamanninja and we think that this is ok now. Can you confirm?

MichaelZhuxx commented 3 years ago

@pdp7 yes, it can be closed as latest fedora image has fixed this issue

MichaelZhuxx commented 3 years ago

@pdp7 yes, it can be closed as latest fedora image has fixed this issue https://beagleboard.org/~pdp7/Fedora-riscv64-vic7100-xfce-dev-Rawhide-20210707.n.0-sda.raw.zst