Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757884AbbEWBFn (ORCPT ); Fri, 22 May 2015 21:05:43 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:36806 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757316AbbEWBFk (ORCPT ); Fri, 22 May 2015 21:05:40 -0400 From: Pali =?utf-8?q?Roh=C3=A1r?= To: Dmitry Torokhov Subject: Re: dell_rbtn - kernel panic at boot... Date: Sat, 23 May 2015 03:05:36 +0200 User-Agent: KMail/1.13.7 (Linux/3.13.0-53-generic; KDE/4.14.2; x86_64; ; ) Cc: Valdis Kletnieks , Darren Hart , lkml , platform-driver-x86@vger.kernel.org References: <5875.1432260403@turing-police.cc.vt.edu> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4327176.yEouI4MITi"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201505230305.36633@pali> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1538 Lines: 47 --nextPart4327176.yEouI4MITi Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Saturday 23 May 2015 00:53:16 Dmitry Torokhov wrote: > On Thu, May 21, 2015 at 7:06 PM, Valdis Kletnieks >=20 > wrote: > > So after I made both config variables =3Dy, the resulting kernel > > built, but died a glorious death at boot. >=20 > I guess if both are built-in then, according to link order, > dell-laptop starts first, before dell-rbtn, and dies in > dell_rbtn_notifier_register() in call to > driver_for_each_device(&rbtn_driver.drv, ...) because rbtn_driver has > not been registered yet and thus half-initlalized. >=20 > Thanks. pr_debug() messages could be useful... but no idea if we can get them. Is there any way to fix that dependency race condition? Could=20 driver_attach() function call help? =2D-=20 Pali Roh=C3=A1r pali.rohar@gmail.com --nextPart4327176.yEouI4MITi Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAlVf0mAACgkQi/DJPQPkQ1IfEQCgvg9BALJTBvTuGpxiEcKOp8o+ 9ioAn2x6+P1KRUMUi91PcfifV9C9D2rJ =g6N6 -----END PGP SIGNATURE----- --nextPart4327176.yEouI4MITi-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/