Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel JH7110 Upstream 6.4.0-rc6 - kernel panic #106

Open
sajcho opened this issue Jun 14, 2023 · 1 comment
Open

kernel JH7110 Upstream 6.4.0-rc6 - kernel panic #106

sajcho opened this issue Jun 14, 2023 · 1 comment

Comments

@sajcho
Copy link

sajcho commented Jun 14, 2023

Hi.
I am experimenting with upstream kernel 6.4.0-rc6.
Compilation went well.
After booting, the kernel ends up with a kernel panic...
I am adding a listing from the serial console.

Starting kernel ...

clk u2_dw_i2c_clk_core already disabled
clk u2_dw_i2c_clk_apb already disabled
clk u5_dw_i2c_clk_core already disabled
clk u5_dw_i2c_clk_apb already disabled
Linux version 6.4.0-rc6-upstream (root@ishi) (gcc (SAUX-RISCV64) 13.1.0, GNU ld (SAUX-RISCV64) 2.40) #1 SMP PREEMPT Wed Jun 14 14:49:42 CEST 2023
Machine model: StarFive VisionFive 2 v1.3B
efi: UEFI not found.
Reserved memory: created CMA memory pool at 0x0000000080000000, size 512 MiB
OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
OF: reserved mem: 0x0000000080000000..0x000000009fffffff (524288 KiB) map reusable linux,cma
OF: reserved mem: 0x0000000040000000..0x000000004007ffff (512 KiB) nomap non-reusable opensbi@40000000
Zone ranges:
DMA32 [mem 0x0000000040000000-0x00000000ffffffff]
Normal [mem 0x0000000100000000-0x000000023fffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000040000000-0x000000004007ffff]
node 0: [mem 0x0000000040080000-0x000000023fffffff]
Initmem setup node 0 [mem 0x0000000040000000-0x000000023fffffff]
SBI specification v1.0 detected
SBI implementation ID=0x1 Version=0x10002
SBI TIME extension detected
SBI IPI extension detected
SBI RFENCE extension detected
SBI SRST extension detected
SBI HSM extension detected
CPU with hartid=0 is not available
CPU with hartid=0 is not available
CPU with hartid=0 is not available
CPU with hartid=0 is not available
riscv: base ISA extensions acdfim
riscv: ELF capabilities acdfim
percpu: Embedded 18 pages/cpu s33192 r8192 d32344 u73728
pcpu-alloc: s33192 r8192 d32344 u73728 alloc=18*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
Kernel command line: root=/dev/nvme0n1p4 rw rootfstype=ext4 nvme_core.default_ps_max_latency_us=0 earlyprintk console=tty1 console=ttyS0,115200 debug earlycon=sbi
Unknown kernel command line parameters "earlyprintk", will be passed to user space.
Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
Built 1 zonelists, mobility grouping on. Total pages: 2064384
mem auto-init: stack:all(zero), heap alloc:off, heap free:off
software IO TLB: area num 4.
software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
Memory: 7633172K/8388608K available (7113K kernel code, 4813K rwdata, 4096K rodata, 2185K init, 325K bss, 231148K reserved, 524288K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
rcu: Preemptible hierarchical RCU implementation.
rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
CPU with hartid=0 is not available
riscv-intc: unable to find hart id for /cpus/cpu@0/interrupt-controller
riscv-intc: 64 local interrupts mapped
plic: interrupt-controller@c000000: mapped 136 interrupts with 4 handlers for 9 contexts.
riscv: providing IPIs using SBI IPI extension
rcu: srcu_init: Setting srcu_struct sizes based on contention.
riscv-timer: riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [1]
clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 881590404240 ns
sched_clock: 64 bits at 4MHz, resolution 250ns, wraps every 2199023255500ns
Console: colour dummy device 80x25
printk: console [tty1] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 8.00 BogoMIPS (lpj=16000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
CPU node for /cpus/cpu@0 exist but the possible cpu range is :0-3
ASID allocator disabled (0 bits)
rcu: Hierarchical SRCU implementation.
rcu: Max phase no-delay instances is 1000.
EFI services will not be available.
smp: Bringing up secondary CPUs ...
smp: Brought up 1 node, 4 CPUs
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered PF_NETLINK/PF_ROUTE protocol family
DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
cpuidle: using governor menu
platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@c000000
platform 19840000.camss: Fixed dependency cycle(s) with /soc/csi-bridge@19800000/ports/port@1/endpoint
platform 29590000.hdmi: Fixed dependency cycle(s) with /soc/dc8200@29400000/port/endpoint@0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
mc: Linux media interface: v0.10
videodev: Linux video capture interface: v2.00
Advanced Linux Sound Architecture Driver Initialized.
vgaarb: loaded
clocksource: Switched to clocksource riscv_clocksource
NET: Registered PF_INET protocol family
IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
TCP: Hash tables configured (established 65536 bind 65536)
UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
NET: Registered PF_UNIX/PF_LOCAL protocol family
PCI: CLS 0 bytes, default 64
workingset: timestamp_bits=46 max_order=21 bucket_order=0
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler bfq registered
CCACHE: DataError @ 0x00000000.08040110
CCACHE: DataFail @ 0x00000000.0804005B
CCACHE: 8 banks, 16 ways, sets/bank=256, bytes/block=64
CCACHE: Index of the largest way enabled: 15
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
random: crng init done
loop: module loaded
zram: Added device: zram0
starfive-dwmac 16030000.ethernet: User ID: 0x41, Synopsys ID: 0x52
starfive-dwmac 16030000.ethernet: DWMAC4/5
starfive-dwmac 16030000.ethernet: DMA HW capability register supported
starfive-dwmac 16030000.ethernet: RX Checksum Offload Engine supported
starfive-dwmac 16030000.ethernet: Wake-Up On Lan supported
starfive-dwmac 16030000.ethernet: TSO supported
starfive-dwmac 16030000.ethernet: Enable RX Mitigation via HW Watchdog Timer
starfive-dwmac 16030000.ethernet: Enabled L3L4 Flow TC (entries=1)
starfive-dwmac 16030000.ethernet: Enabled RFS Flow TC (entries=10)
starfive-dwmac 16030000.ethernet: TSO feature enabled
starfive-dwmac 16030000.ethernet: Using 40/40 bits DMA host/device width
starfive-dwmac 16040000.ethernet: User ID: 0x41, Synopsys ID: 0x52
starfive-dwmac 16040000.ethernet: DWMAC4/5
starfive-dwmac 16040000.ethernet: DMA HW capability register supported
starfive-dwmac 16040000.ethernet: RX Checksum Offload Engine supported
starfive-dwmac 16040000.ethernet: Wake-Up On Lan supported
starfive-dwmac 16040000.ethernet: TSO supported
starfive-dwmac 16040000.ethernet: Enable RX Mitigation via HW Watchdog Timer
starfive-dwmac 16040000.ethernet: Enabled L3L4 Flow TC (entries=1)
starfive-dwmac 16040000.ethernet: Enabled RFS Flow TC (entries=10)
starfive-dwmac 16040000.ethernet: TSO feature enabled
starfive-dwmac 16040000.ethernet: Using 40/40 bits DMA host/device width
usbcore: registered new interface driver uas
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c_dev: i2c /dev entries driver
device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: [email protected]
cpu cpu0: error -ENODEV: _opp_set_regulators: no regulator (cpu) found
cpu cpu0: error -ENODEV: failed to set regulators
Synopsys Designware Multimedia Card Interface Driver
dwmmc_starfive 16010000.mmc: IDMAC supports 32-bit address mode.
dwmmc_starfive 16010000.mmc: Using internal DMA controller.
dwmmc_starfive 16010000.mmc: Version ID is 290a
dwmmc_starfive 16010000.mmc: DW MMC controller at irq 26,32 bit host data width,32 deep fifo
mmc_host mmc0: card is non-removable.
dwmmc_starfive 16020000.mmc: IDMAC supports 32-bit address mode.
dwmmc_starfive 16020000.mmc: Using internal DMA controller.
dwmmc_starfive 16020000.mmc: Version ID is 290a
dwmmc_starfive 16020000.mmc: DW MMC controller at irq 27,32 bit host data width,32 deep fifo
mmc_host mmc1: card is polling.
clocksource: 13050000.timer.ch0: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
clocksource: 13050000.timer.ch1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
clocksource: 13050000.timer.ch2: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
clocksource: 13050000.timer.ch3: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
riscv-pmu-sbi: SBI PMU extension is available
riscv-pmu-sbi: 16 firmware and 4 hardware counters
riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
NET: Registered PF_INET6 protocol family
Segment Routing with IPv6
In-situ OAM (IOAM) with IPv6
NET: Registered PF_PACKET protocol family
pl08xdmac 16008000.dma: initialized 8 virtual memcpy channels
pl08xdmac 16008000.dma: initialized 16 virtual slave channels
debugfs: Directory '16008000.dma' with parent 'dmaengine' already present!
pl08xdmac 16008000.dma: DMA: PL080 rev0 at 0x16008000 irq 32
gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
starfive-jh7110-sys-pinctrl 13040000.pinctrl: StarFive GPIO chip registered 64 GPIOs
gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
starfive-jh7110-aon-pinctrl 17020000.pinctrl: StarFive GPIO chip registered 4 GPIOs
pcie-starfive 2b000000.pcie: host bridge /soc/pcie@2B000000 ranges:
pcie-starfive 2b000000.pcie: MEM 0x0030000000..0x0037ffffff -> 0x0030000000
pcie-starfive 2b000000.pcie: MEM 0x0900000000..0x093fffffff -> 0x0900000000
pcie-starfive 2b000000.pcie: ATR entry: 0x0940000000 -> 0x0000000000 [0x0010000000] (param: 0x000001)
pcie-starfive 2b000000.pcie: ATR entry: 0x0030000000 -> 0x0030000000 [0x0008000000] (param: 0x000000)
pcie-starfive 2b000000.pcie: ATR entry: 0x0900000000 -> 0x0900000000 [0x0040000000] (param: 0x000000)
mmc_host mmc1: Bus speed (slot 0) = 198000000Hz (slot req 400000Hz, actual 399193HZ div = 248)
mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 400000Hz, actual 399193HZ div = 248)
pcie-starfive 2b000000.pcie: Port link up.
pcie-starfive 2b000000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [bus 00-ff]
pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
pci_bus 0000:00: root bus resource [mem 0x900000000-0x93fffffff pref]
pci 0000:00:00.0: [1556:1111] type 01 class 0x060400
pci 0000:00:00.0: supports D1 D2
pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
pci 0000:01:00.0: PME# supported from D0 D3cold
pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
pci 0000:00:00.0: BAR 8: assigned [mem 0x30000000-0x300fffff]
pci 0000:01:00.0: BAR 0: assigned [mem 0x30000000-0x30000fff 64bit]
pci 0000:00:00.0: PCI bridge to [bus 01]
pci 0000:00:00.0: bridge window [mem 0x30000000-0x300fffff]
pci 0000:00:00.0: enabling device (0000 -> 0002)
pci 0000:01:00.0: enabling device (0000 -> 0002)
irq: no irq domain found for interrupt-controller !
xhci_hcd 0000:01:00.0: xHCI Host Controller
xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000040000000890
pcie-starfive 2b000000.pcie: msi#0 address_hi 0x0 address_lo 0x190
xhci_hcd 0000:01:00.0: xHCI Host Controller
xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
pcie-starfive 2c000000.pcie: host bridge /soc/pcie@2C000000 ranges:
pcie-starfive 2c000000.pcie: MEM 0x0038000000..0x003fffffff -> 0x0038000000
pcie-starfive 2c000000.pcie: MEM 0x0980000000..0x09bfffffff -> 0x0980000000
pcie-starfive 2c000000.pcie: ATR entry: 0x09c0000000 -> 0x0000000000 [0x0010000000] (param: 0x000001)
pcie-starfive 2c000000.pcie: ATR entry: 0x0038000000 -> 0x0038000000 [0x0008000000] (param: 0x000000)
pcie-starfive 2c000000.pcie: ATR entry: 0x0980000000 -> 0x0980000000 [0x0040000000] (param: 0x000000)
mmc_host mmc1: Bus speed (slot 0) = 198000000Hz (slot req 50000000Hz, actual 49500000HZ div = 2)
mmc1: new high speed SDHC card at address 0007
mmcblk1: mmc1:0007 SD4GB 3.71 GiB
mmcblk1: p1 p2 p3 p4
mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 300000Hz, actual 300000HZ div = 330)
usb 1-1: new high-speed USB device number 2 using xhci_hcd
usb usb2-port2: over-current condition
pcie-starfive 2c000000.pcie: Port link up.
pcie-starfive 2c000000.pcie: PCI host bridge to bus 0001:00
pci_bus 0001:00: root bus resource [bus 00-ff]
pci_bus 0001:00: root bus resource [mem 0x38000000-0x3fffffff]
pci_bus 0001:00: root bus resource [mem 0x980000000-0x9bfffffff pref]
pci 0001:00:00.0: [1556:1111] type 01 class 0x060400
pci 0001:00:00.0: supports D1 D2
pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0001:01:00.0: [1e4b:1202] type 00 class 0x010802
pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
pci 0001:01:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x1 link at 0001:00:00.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
pci 0001:00:00.0: BAR 8: assigned [mem 0x38000000-0x380fffff]
pci 0001:01:00.0: BAR 0: assigned [mem 0x38000000-0x38003fff 64bit]
pci 0001:00:00.0: PCI bridge to [bus 01]
pci 0001:00:00.0: bridge window [mem 0x38000000-0x380fffff]
irq: no irq domain found for interrupt-controller !
nvme nvme0: pci function 0001:01:00.0
pci 0001:00:00.0: enabling device (0000 -> 0002)
nvme 0001:01:00.0: enabling device (0000 -> 0002)
pcie-starfive 2c000000.pcie: msi#0 address_hi 0x0 address_lo 0x190
nvme nvme0: missing or invalid SUBNQN field.
nvme nvme0: allocated 8 MiB host memory buffer.
pcie-starfive 2c000000.pcie: msi#0 address_hi 0x0 address_lo 0x190
pcie-starfive 2c000000.pcie: msi#1 address_hi 0x0 address_lo 0x190
pcie-starfive 2c000000.pcie: msi#2 address_hi 0x0 address_lo 0x190
pcie-starfive 2c000000.pcie: msi#3 address_hi 0x0 address_lo 0x190
pcie-starfive 2c000000.pcie: msi#4 address_hi 0x0 address_lo 0x190
nvme nvme0: 4/0/0 default/read/poll queues
nvme nvme0: Ignoring bogus Namespace Identifiers
nvme0n1: p1 p2 p3 p4 p5 p6 p7
dw_axi_dmac_platform 16050000.dma-controller: DesignWare AXI DMA Controller, 4 channels
printk: console [ttyS0] disabled
10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 43, base_baud = 1500000) is a 16550A
printk: console [ttyS0] enabled
mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 200000Hz, actual 200000HZ div = 495)
starfive display-subsystem: bound 29400000.dc8200 (ops 0xffffffff80c5d6b8)
------------[ cut here ]------------
starfive-hdmi 29590000.hdmi: [drm:starfive_hdmi_bind] registered Starfive HDMI I2C bus driver success
starfive display-subsystem: drm_WARN_ON_ONCE(!drm_dev_has_vblank(dev))
WARNING: CPU: 0 PID: 54 at drivers/gpu/drm/drm_vblank.c:1980 drm_handle_vblank+0x220/0x258
Modules linked in:
CPU: 0 PID: 54 Comm: kworker/0:2 Not tainted 6.4.0-rc6-upstream #1
Hardware name: StarFive VisionFive 2 v1.3B (DT)
Workqueue: events_freezable mmc_rescan
epc : drm_handle_vblank+0x220/0x258
ra : drm_handle_vblank+0x220/0x258
epc : ffffffff803b91e2 ra : ffffffff803b91e2 sp : ffffffc8044cb690
gp : ffffffff812d5438 tp : ffffffd8c0b40ac0 t0 : ffffffff81218260
t1 : 000000000000002d t2 : 2d2d2d2d2d2d2d2d s0 : ffffffc8044cb730
s1 : ffffffd8c1161000 a0 : 0000000000000046 a1 : 0000000000000000
a2 : ffffffff8126bfc8 a3 : 0000000000010001 a4 : ffffffff81212650
a5 : 0000000000010002 a6 : ffffffff81212698 a7 : 000000000000004c
s2 : 0000000000000000 s3 : ffffffd8c0f98050 s4 : 0000000000000000
s5 : ffffffd8c1162000 s6 : 0000000000000001 s7 : 000000000000002c
s8 : 0000000000000000 s9 : ffffffff812d6469 s10: 0000000000000001
s11: 0000000000000001 t3 : ffffffff812ec324 t4 : ffffffff812ec324
t5 : ffffffff812ec300 t6 : ffffffff812ec3bc
status: 0000000200000100 badaddr: 0000000000000000 cause: 0000000000000003
[] drm_handle_vblank+0x220/0x258
[] drm_crtc_handle_vblank+0x12/0x1a
[] vs_crtc_handle_vblank+0x16/0x26
[] dc_isr+0x40/0x60
[] __handle_irq_event_percpu+0x3c/0x11e
[] handle_irq_event+0x3c/0x88
[] handle_fasteoi_irq+0x9a/0x18a
[] generic_handle_domain_irq+0x1c/0x2a
[] plic_handle_irq+0x7e/0xf6
[] generic_handle_domain_irq+0x1c/0x2a
[] riscv_intc_irq+0x2c/0x44
[] do_irq+0x50/0x84
[] ret_from_exception+0x0/0x64
[] console_flush_all.isra.0+0x1b4/0x362
[] console_unlock+0x5c/0xc6
[] vprintk_emit+0xe2/0x1b4
[] dev_vprintk_emit+0xe0/0xf6
[] dev_printk_emit+0x24/0x2c
[] __dev_printk+0x40/0x5c
[] _dev_info+0x3c/0x44
[] dw_mci_setup_bus+0x188/0x18e
[] dw_mci_set_ios+0x16e/0x170
[] mmc_power_up.part.0+0xec/0x174
[] mmc_rescan+0x132/0x2ee
[] process_one_work+0x162/0x282
[] worker_thread+0x68/0x31c
[] kthread+0xc6/0xda
[] ret_from_fork+0xa/0x1c
---[ end trace 0000000000000000 ]---
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000161
starfive display-subsystem: bound 29590000.hdmi (ops 0xffffffff80c5dea0)
Oops [#1]
[drm] Initialized starfive 1.0.0 202305161 for display-subsystem on minor 0
Modules linked in:
CPU: 0 PID: 54 Comm: kworker/0:2 Tainted: G W 6.4.0-rc6-upstream #1
Hardware name: StarFive VisionFive 2 v1.3B (DT)
Workqueue: events_freezable mmc_rescan
usb usb2-port4: over-current condition

dwmmc_starfive 16020000.mmc: Unexpected interrupt latency
epc : vs_crtc_handle_vblank+0x16/0x26
ra : vs_crtc_handle_vblank+0x16/0x26
epc : ffffffff803cf788 ra : ffffffff803cf788 sp : ffffffc8044cb740
gp : ffffffff812d5438 tp : ffffffd8c0b40ac0 t0 : ffffffff81218260
t1 : 000000000000002d t2 : 2d2d2d2d2d2d2d2d s0 : ffffffc8044cb760
s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
a2 : ffffffff8126bfc8 a3 : 0000000000010001 a4 : ffffffff81212650
a5 : 0000000000010002 a6 : ffffffff81212698 a7 : 000000000000004c
s2 : 0000000000000000 s3 : ffffffd8c0f98050 s4 : ffffffff80c5c728
s5 : ffffffd8c1162000 s6 : 0000000000000001 s7 : 000000000000002c
s8 : 0000000000000000 s9 : ffffffff812d6469 s10: 0000000000000001
s11: 0000000000000001 t3 : ffffffff812ec324 t4 : ffffffff812ec324
t5 : ffffffff812ec300 t6 : ffffffff812ec3bc
status: 0000000200000100 badaddr: 0000000000000161 cause: 000000000000000f
[] vs_crtc_handle_vblank+0x16/0x26
[] dc_isr+0x40/0x60
[] __handle_irq_event_percpu+0x3c/0x11e
[] handle_irq_event+0x3c/0x88
[] handle_fasteoi_irq+0x9a/0x18a
[] generic_handle_domain_irq+0x1c/0x2a
[] plic_handle_irq+0x7e/0xf6
[] generic_handle_domain_irq+0x1c/0x2a
[] riscv_intc_irq+0x2c/0x44
[] do_irq+0x50/0x84
[] ret_from_exception+0x0/0x64
[] console_flush_all.isra.0+0x1b4/0x362
[] console_unlock+0x5c/0xc6
[] vprintk_emit+0xe2/0x1b4
[] dev_vprintk_emit+0xe0/0xf6
[] dev_printk_emit+0x24/0x2c
[] __dev_printk+0x40/0x5c
[] _dev_info+0x3c/0x44
[] dw_mci_setup_bus+0x188/0x18e
[] dw_mci_set_ios+0x16e/0x170
[] mmc_power_up.part.0+0xec/0x174
[] mmc_rescan+0x132/0x2ee
[] process_one_work+0x162/0x282
[] worker_thread+0x68/0x31c
[] kthread+0xc6/0xda
[] ret_from_fork+0xa/0x1c
Code: e822 e426 ec06 e04a 1000 3903 3485 84ae 90ef a97e (00a3) 1699
---[ end trace 0000000000000000 ]---
Kernel panic - not syncing: Fatal exception in interrupt
SMP: stopping secondary CPUs
---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---

kernel-oops.txt

Note:
When I disconnect the hdmi cable from the monitor, the kernel booting via the serial console is fine.

@sajcho sajcho changed the title kernel JH7110 Upstream 6.4.0-rc6 kernel JH7110 Upstream 6.4.0-rc6 - kernel panic Jun 14, 2023
@malteneuss
Copy link

Could you try again with the recent Linux kernel 6.9?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants