Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2019 16:49:12 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        freebsd-current@freebsd.org, freebsd-arm@freebsd.org
Subject:   Re: "panic: Duplicate alloc" in dwmmc_attach on Rock64
Message-ID:  <20190624064912.GB87860@server.rulingia.com>
In-Reply-To: <20190621105939.GA23668@server.rulingia.com>
References:  <20190621105939.GA23668@server.rulingia.com>

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

--3uo+9/B/ebqu+fSQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2019-Jun-21 20:59:39 +1000, Peter Jeremy <peter@server.rulingia.com> wro=
te:
>Since r349169, my Rock64 has consistently panic'd whilst attaching
>rockchip_dwmmc1.  A kernel built at r349135 works OK.  The relevant
>output looks like:
>rockchip_dwmmc0: <Synopsys DesignWare Mobile Storage Host Controller (Rock=
Chip)> mem 0xff500000-0xff503fff irq 40 on ofwbus0
>rockchip_dwmmc0: Hardware version ID is 270a
>mmc0: <MMC/SD bus> on rockchip_dwmmc0
>rockchip_dwmmc1: <Synopsys DesignWare Mobile Storage Host Controller (Rock=
Chip)> mem 0xff520000-0xff523fff irq 42 on ofwbus0
>rockchip_dwmmc1: Hardware version ID is 270a
>panic: Duplicate alloc of 0xfffffd000089cf50 from zone 0xfffffd0000817540(=
16) slab 0xfffffd000089cf90(0)

I did some more digging and narrowed this down to r349151 (which has nothing
that would be an obvious cause).  And the problem went away somewhere
between r349269 and r349288.  Since there's nothing obvious there either, I
presume this is something more subtle like a race condition that has been
provoked by the code changes.

--=20
Peter Jeremy

--3uo+9/B/ebqu+fSQ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAl0Qcl5fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF
QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi
CzT+Bg/8CFlGdF3U75SmmSrQ4hNUkocsEkCM08tdDRnQO4zvvVXIqNL2MhhMpJ4c
tk30+vyle5M4+tPW+zx4KOgAkjGHsoqAiv9F9Ke7kScJ5kJHaSBpNcb3Kw6Il3D7
kFGp35oPLu23lb9LHlX0m39ipEAX0R4Y5mKO8CJpS+r50QubOyvf06yLh+q3MJl1
jUAc4zH0MgQ9o7PCVsvaBEVj6MwpDc3R8ie6ltsayotESxMwdoAVnb9D09jAGOU+
wxQQsw66wbyFRU7q8fpVA7chihweQUAtaDzYjZtsJBkEBlCKp47ad3OnQuSSJI10
yBpRA9+lTyYtakk8yOPkuIqtRa9et1Smtlm0pcytV7pYjQ0drzGF4vXqvmGsSE2s
de7a2hvcuts3zkB7mKTZvEZQ0bLdyPZxdxUJOhZIR3VP+IPyWzwEID3YEZJo5iDw
YIdcOhmbAuzq3v+BZmbK/fUDzWukA4aTM5cWHKT+HjbC193tu2tJ/Ae8DY/YUvaM
Mo33iqAo6TK1k4uP/Jqq/cDw6hnNG863wXWMH9cl68QfcDEpPc0LgGq8Ghcxhzoq
rYeAFE71PhYSORd3JZkzs8CL/+Irf3QzUnVx7ceUQXs33xIyW6giLkFDzyWMGWR/
KYgDD6bepMHfdTF57MiKfg/+IyuIYGnnJPI/5kZdr9cHhJymXvM=
=uJRz
-----END PGP SIGNATURE-----

--3uo+9/B/ebqu+fSQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190624064912.GB87860>