problem with dwmmc ? panic's on bad filesystem...

Søren Schmidt <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
Hi

I have had this panic several times on rk3399 based systems when the filesystem has gone bad (and just needs a fsck). 
It doesn’t happen on Marvell a3720, so its not arm64 specific, more likely dwmmc specific or maybe the dma on the rk3399 ?

13-stable of today, but problem has been around for a long time..

Anybodu else seen this ? Ideas ?

** SU+J Recovering /dev/mmcsd0p2
** Reading 4194304 byte journal from inode 4.
panic: dwmmc_ring_setup: error != 0 (27)

cpuid = 3
time = 1615451057
KDB: stack backtrace:
db_trace_self() at db_trace_self_wrapper+0x30
	 pc = 0xffff000000513da8  lr = 0xffff00000002f37c
	 sp = 0xffff0000a5dfe240  fp = 0xffff0000a5dfe440

db_trace_self_wrapper() at vpanic+0x184
	 pc = 0xffff00000002f37c  lr = 0xffff000000253e9c
	 sp = 0xffff0000a5dfe450  fp = 0xffff0000a5dfe4b0

vpanic() at panic+0x44
	 pc = 0xffff000000253e9c  lr = 0xffff000000253d14
	 sp = 0xffff0000a5dfe4c0  fp = 0xffff0000a5dfe570

panic() at dwmmc_ring_setup+0x14c
	 pc = 0xffff000000253d14  lr = 0xffff00000053c6cc
	 sp = 0xffff0000a5dfe580  fp = 0xffff0000a5dfe580

dwmmc_ring_setup() at bus_dmamap_load+0xf8
	 pc = 0xffff00000053c6cc  lr = 0xffff00000029cf28
	 sp = 0xffff0000a5dfe590  fp = 0xffff0000a5dfe5b0

bus_dmamap_load() at dwmmc_next_operation+0x27c
	 pc = 0xffff00000029cf28  lr = 0xffff00000053c3e0
	 sp = 0xffff0000a5dfe5c0  fp = 0xffff0000a5dfe600

dwmmc_next_operation() at dwmmc_request+0x130
	 pc = 0xffff00000053c3e0  lr = 0xffff00000053cb04
	 sp = 0xffff0000a5dfe610  fp = 0xffff0000a5dfe650

dwmmc_request() at mmc_wait_for_request+0x128
	 pc = 0xffff00000053cb04  lr = 0xffff0000000c3060
	 sp = 0xffff0000a5dfe660  fp = 0xffff0000a5dfe680

mmc_wait_for_request() at mmcsd_rw+0x1a8
	 pc = 0xffff0000000c3060  lr = 0xffff0000000cc580
	 sp = 0xffff0000a5dfe690  fp = 0xffff0000a5dfe7b0

mmcsd_rw() at mmcsd_task+0x284
	 pc = 0xffff0000000cc580  lr = 0xffff0000000cb098
	 sp = 0xffff0000a5dfe7c0  fp = 0xffff0000a5dfe8f0

mmcsd_task() at fork_exit+0x88
	 pc = 0xffff0000000cb098  lr = 0xffff00000020d294
	 sp = 0xffff0000a5dfe900  fp = 0xffff0000a5dfe950

fork_exit() at fork_trampoline+0x10
	 pc = 0xffff00000020d294  lr = 0xffff000000534a40
	 sp = 0xffff0000a5dfe960  fp = 0x0000000000000000

KDB: enter: panic
[ thread pid 17 tid 100095 ]
Stopped at      kdb_enter+0x40: undefined       d4200000


--
Søren Schmidt
[email protected] / [email protected]
"So much code to hack, so little time"



_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.