Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2021 21:29:23 +0100
From:      =?utf-8?Q?S=C3=B8ren_Schmidt?= <soren.schmidt@gmail.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   problem with dwmmc ? panic's on bad filesystem...
Message-ID:  <794EB96E-2F5D-4F41-BAD8-DEFDB9BDE530@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi

I have had this panic several times on rk3399 based systems when the =
filesystem has gone bad (and just needs a fsck).=20
It doesn=E2=80=99t 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 !=3D 0 (27)

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

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

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

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

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

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

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

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

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

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

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

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

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


--
S=C3=B8ren Schmidt
sos@deepcore.dk / sos@freebsd.org
"So much code to hack, so little time"






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?794EB96E-2F5D-4F41-BAD8-DEFDB9BDE530>