Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp613953rdb; Thu, 18 Jan 2024 13:18:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IGAI3bhNEv0d+RedN2aQz+wxYZxaJg6tSxIsR6BrKUBxekjVw3lAdivQhBtKnuhu0pQZq1g X-Received: by 2002:a05:6e02:509:b0:361:956f:c5ee with SMTP id d9-20020a056e02050900b00361956fc5eemr1730234ils.48.1705612715162; Thu, 18 Jan 2024 13:18:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705612715; cv=pass; d=google.com; s=arc-20160816; b=ioXF7uSJlL1jnbCxTqVIBDk1y+l8ZUpoceXM1dUv8e0FfSJ7An8jxxveWWmOsxx3gf VYvWtp/UPZ4TEAXOy4uporT9E/eKbeekrMjpuRIXE5gvmf4RkDDai/VHhsGyN5VWQGaI 3wVwyVZjv3LTevK2TJ2+xb7r/dR33xObH2jEPYGK9KAhglfvfMDu4dJpU7N2d7a8qcpb dGSKgE10JCCLylLQAGzVnpvCK/i0so+WUSBZD6l9fdGEZSicf1SQeoDeIWBabaoGG6uA DclQwhxOnqa7DySO9vlLhzFrw+k5n16aAZtonUI9sG7/8KbBZzewDMwFMrGQWOjY5i8R MonQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=Qdrqwr7BVSnBNeKhHgER3sJ6/mumVOPUlAVDWapSUw0=; fh=wcrX1TMDNpL/jaCi8+yqIs0DpSLcgEknhSJM6Sc9gYc=; b=Yjvtkvje9aSWbLxKK8MDSwdOLkTtM2VbQTDI159ZO7/DX5k9+rldc+2xpaqmoeQT2N ea3hL4RropUKxTIO9xR4hVqEmEzvfzLP4uJRu+bYdYdczjcGJF+21if1Ht8OWokI409o 2jWEZoBqtYKm87kwMoAYvB5tIj5p7Sg/nn5avnNrPK5+npVapR+mFIBxLrxY44qsCMUd vbrTNNYvP0EddXH6LDjTDK9P043fi7UO1qZ+WmoSBzS4tpDra7PLGKH0mb1Uk1QSpoZQ D3XM0U+UmZrAtK909faVXoEjp5dpKBUMu0SyFYIDIalv8yv2uF+fmMwfgA0NC20KGI/C h8pQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-30570-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30570-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l23-20020a63ba57000000b005cdba90861dsi2077579pgu.68.2024.01.18.13.18.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 13:18:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30570-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-30570-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30570-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id EEF97B22792 for ; Thu, 18 Jan 2024 21:15:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B05682EAF9; Thu, 18 Jan 2024 21:14:55 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B26ED2E641 for ; Thu, 18 Jan 2024 21:14:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705612495; cv=none; b=LZ9sNPObNN+A3Yx4E2UqiFDgy5PoJQgO89edvuds96Yr7GOCWdK6gwyqmHrVxx9Z0Xnr3VMXWWaU8nk8/GdHdZ6Y4Ln4gqGw5zE+duON+hLl72outZzKD1b6KmYilJPhvEZy7l31qV9B+SAGdVqi9X3EdeGjHXn+3i+HY9qnVsw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705612495; c=relaxed/simple; bh=LUIEKbVcQtC1NIu+/WCbLot0r1BC95WJSTJQ0d1HOjU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MyNnoDJPCKhkNCJn0PHOMZk47tkMqMM8RqjgmKj37twlXrOndd4t7G7t8ob3uu1dRh1aJ1PgB6ZJJomcCLG4pWKbgqbF428qHC/G9uOpVDGDRXvz9G5aalzC3alMrNQmeYo+XVQHlpc6a9k6ZxF1tcM/xJW3mtD8JMHzftAkptA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rQZia-0007Jv-N2; Thu, 18 Jan 2024 22:14:32 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rQZiW-000m90-Ga; Thu, 18 Jan 2024 22:14:28 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rQZiW-002lX3-1E; Thu, 18 Jan 2024 22:14:28 +0100 Date: Thu, 18 Jan 2024 22:14:28 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Mirsad Todorovac Cc: Linux Kernel Mailing List , Helge Deller , "James E.J. Bottomley" , Ard Biesheuvel , Arnd Bergmann , Greg Kroah-Hartman , Hans de Goede , Huacai Chen , Javier Martinez Canillas , Linus Walleij , Prathu Baronia , Sam Ravnborg , Sui Jingfeng , Thomas Zimmermann , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-parisc@vger.kernel.org Subject: Re: [BUG][BISECTED] Freeze at loading init ramdisk Message-ID: References: <8a6aa228-f2da-4dcd-93c1-e34614cd6471@alu.unizg.hr> <1fe9b78c-7fb5-4d7b-a754-afd563950829@alu.unizg.hr> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nprtap22skgv2jmt" Content-Disposition: inline In-Reply-To: <1fe9b78c-7fb5-4d7b-a754-afd563950829@alu.unizg.hr> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --nprtap22skgv2jmt Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 18, 2024 at 09:04:05PM +0100, Mirsad Todorovac wrote: >=20 >=20 > On 1/18/24 08:45, Uwe Kleine-K=F6nig wrote: > > Hello Mirsad, > >=20 > > On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote: > > > On 1/16/24 01:32, Mirsad Todorovac wrote: > > > > On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torva= lds tree kernel, the boot > > > > freezes upon first two lines and before any systemd messages. > > > >=20 > > > > (Please find the config attached.) > > > >=20 > > > > Bisecting the bug led to this result: > > > >=20 > > > > marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good > > > > d97a78423c33f68ca6543de510a409167baed6f5 is the first bad commit > > > > commit d97a78423c33f68ca6543de510a409167baed6f5 > > > > Merge: 61da593f4458 689237ab37c5 > > > > Author: Linus Torvalds > > > > Date:=A0=A0 Fri Jan 12 14:38:08 2024 -0800 > > > >=20 > > > > [...] > > > >=20 > > > > Hope this helps. > > >=20 > > > P.S. > > >=20 > > > As I see that this is a larger merge commit, with 5K+ lines changed, = I don't think I can > > > bisect further to determine the culprit. > >=20 > > Actually it's not that hard. If a merge commit is the first bad commit > > for a bisection, either the merge wasn't done correctly (less likely, > > looking at d97a78423c33f68ca6543de510a409167baed6f5 I'd bet this isn't > > the problem); or changes on different sides conflict or you did > > something wrong during bisection. > >=20 > > To rule out the third option, you can just retest d97a78423c33, > > 61da593f4458 and 689237ab37c5. If d97a78423c33 is the only bad one, you > > did it right. >=20 > This was confirmed. >=20 > > Then to further debug the second option you can find out the offending > > commit on each side with a bisection as follows, here for the RHS (i.e. > > 689237ab37c5): > >=20 > > git bisect start 689237ab37c5 $(git merge-base 61da593f4458 689237ab37= c5) > >=20 > > and then in each bisection step do: > >=20 > > git merge --no-commit 61da593f4458 > > test if the problem is present > > git reset --hard > > git bisect good/bad > >=20 > > In this case you get merge conflicts in drivers/video/fbdev/amba-clcd.c > > and drivers/video/fbdev/vermilion/vermilion.c. In the assumption that > > you don't have these enabled in your .config, you can just ignore these. > >=20 > > Side note: A problem during bisection can be that the .config changes > > along the process. You should put your config into (say) > > arch/x86/configs/lala_defconfig and do > >=20 > > make lala_defconfig > >=20 > > before building each step to prevent this. >=20 > I must have done something wrong: >=20 > marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect log > # bad: [689237ab37c59b9909bc9371d7fece3081683fba] fbdev/intelfb: Remove d= river > # good: [de927f6c0b07d9e698416c5b287c521b07694cac] Merge tag 's390-6.8-1'= of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux > git bisect start '689237ab37c5' 'de927f6c0b07d9e698416c5b287c521b07694cac' > # good: [d9f25b59ed85ae45801cf45fe17eb269b0ef3038] fbdev: Remove support = for Carillo Ranch driver > git bisect good d9f25b59ed85ae45801cf45fe17eb269b0ef3038 > # good: [e2e0b838a1849f92612a8305c09aaf31bf824350] video/sticore: Remove = info field from STI struct > git bisect good e2e0b838a1849f92612a8305c09aaf31bf824350 > # good: [778e73d2411abc8f3a2d60dbf038acaec218792e] drm/hyperv: Remove fir= mware framebuffers with aperture helper > git bisect good 778e73d2411abc8f3a2d60dbf038acaec218792e > # good: [df67699c9cb0ceb70f6cc60630ca938c06773eda] firmware/sysfb: Clear = screen_info state after consuming it > git bisect good df67699c9cb0ceb70f6cc60630ca938c06773eda > marvin@defiant:~/linux/kernel/linux_torvalds$ >=20 > with the error: >=20 > marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good > Bisecting: 0 revisions left to test after this (roughly 0 steps) > drivers/video/fbdev/amba-clcd.c: needs merge > drivers/video/fbdev/vermilion/vermilion.c: needs merge > error: you need to resolve your current index first It seems you forgot the "git reset --hard" step. Doing it in this state should still be possible. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --nprtap22skgv2jmt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmWplLMACgkQj4D7WH0S /k7yHAf/bzavMnfba1j/V8B/3Gx4zR6zjYx9rMfvDkIIKxsg4k2lDBZQUyRCwYu2 XvjLPT7YSPUj7zJ2KR5RbJAEL6rytOigXv4NljQLH6FHF2yBVh9fh6lKk62PWbF1 sPV+g/lYT/WbmnCEcbSbqTpju/75Rp+Z9csfLN21F44M4MoJSsULMwlZ7fQ++v+X OjOzAQOE7dcPRKTG8xcv7fktoFregB71cqzROQJihJ6ajpOfSSmR0rw9F0pw0HUI i4nbTIxgkQ4lw+tpeSFGbD6ZsyU5Y0YuicxVvN3B+x8+hxN4DI82ISdlIJ7yrCPV 6yIlg55o4LL/bpOW4iFZWaiXxtiBzw== =d3U1 -----END PGP SIGNATURE----- --nprtap22skgv2jmt--