[Tinkerphones] [Gta04-owner] New LetuxOS Kernels

H. Nikolaus Schaller hns at goldelico.com
Tue Jun 19 19:46:29 CEST 2018


Hi,

> Am 19.06.2018 um 19:22 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> On Tue, 19 Jun 2018 11:38:26 +0200
> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> 
>> Hi,
>> we did hunt a while for a big bug in the kernel.
>> It was a little flaky and random but the main
>> symptom was a kernel NULL pointer panic in
>> strcmp().
>> 
>> The result was that the GTA04 (and also the Pyra)
>> did not continue to boot properly. Sometimes it
>> came to a login: but then several drivers were
>> missing.
>> 
>> After hunting down the bug it was not a device
>> driver but a race and dangling pointer problem
>> in the pincontrol subsystem.
>> 
>> Now we got some patches from the maintainer and
>> the problem seems to have disappeared.
>> 
>> Well, has it or hasn't is?
> 
> compiled dca26f608a765008b869991bf29fa241769599fb + my compile fix
> 
> result: strcmp problem again.
> [    7.335571] [<c074abc0>] (strcmp) from [<c04266bc>] (pinctrl_generic_add_group+0x50/0xc4)
> [    7.344116] [<c04266bc>] (pinctrl_generic_add_group) from [<c042b920>] (pcs_dt_node_to_map+0x484/0x820)
> [    7.353912] [<c042b920>] (pcs_dt_node_to_map) from [<c04298f4>] (pinctrl_dt_to_map+0x220/0x2bc)
> [    7.363006] [<c04298f4>] (pinctrl_dt_to_map) from [<c04269c4>] (create_pinctrl+0x5c/0x318)

Hm...

I did a quick boot - and on first boot I also got a strcmp(NULL).
From the SD card which I had used for extensive testing yesterday.

What the hell is going on here?

Well, there is one difference. I removed the /etc/modprobe.d/blacklist.conf
so that some blacklisted drivers are loaded now (omap3isp for example) and
the load sequence and probe deferral may have changed.

BR,
Nikolaus

-------------- n?chster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : signature.asc
Dateityp    : application/pgp-signature
Dateigröße  : 801 bytes
Beschreibung: Message signed with OpenPGP using GPGMail
URL         : <http://lists.goldelico.com/pipermail/community/attachments/20180619/33e73eb3/attachment.asc>


More information about the Community mailing list