Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2020 02:10:44 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        "mmel@freebsd.org " <mmel@FreeBSD.org>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Rock64 head -r363021 -> -r363123 kernel upgrade: hangs after "rk_tsadc0: <RockChip temperature sensors> mem ... irq 22 on ofwbus0"
Message-ID:  <DCA57F06-4735-4A68-8201-C48A25B937C6@yahoo.com>
In-Reply-To: <7BB9973C-CCC4-4599-98D5-864BEBECE3DF@yahoo.com>
References:  <7BB9973C-CCC4-4599-98D5-864BEBECE3DF@yahoo.com>

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


On 2020-Jul-13, at 00:59, Mark Millard <marklmi at yahoo.com> wrote:

> With boot -v the kernel crashes instead of being
> silently-hung:
>=20
> . . .
> generic_timer0: <ARMv8 Generic Timer> irq 4,5,6,7 on ofwbus0
> Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality =
1000
> Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
> rk_tsadc0: <RockChip temperature sensors> mem 0xff250000-0xff2500ff =
irq 22 on ofwbus0
> panic: stack overflow detected; backtrace may be corrupted
> cpuid =3D 0
> time =3D 1
> KDB: stack backtrace:
. . .

Trying artifact.ci.freebsd.org debug kernels
for an approximate bisect:

-r363121 works.
-r363122 has no aarch64 artifacts.
-r363123 fails.

(So the specifics of my personal builds are
not involved.)


-r363122 is:

Author: mmel
Date: Sun Jul 12 07:42:21 2020
New Revision: 363122
URL:=20
https://svnweb.freebsd.org/changeset/base/363122

Log:
   Assigned clocks: fix off-by-one bug, don't leak allocated memory.
 =20
   MFC after:	1 week
. . .


-r363123 is:

Author: mmel
Date: Sun Jul 12 07:59:15 2020
New Revision: 363123
URL:=20
https://svnweb.freebsd.org/changeset/base/363123

Log:
  Reverse the processing order of assigned clocks property.
  Linux processes these clocks in reverse order and some DT relies
  on this fact. For example, the frequency setting for a given PLL
  is the last in the list, preceded by the frequency setting of its
  following divider or so...
 =20
  MFC after:	1 week

. . .


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DCA57F06-4735-4A68-8201-C48A25B937C6>