Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp234837rdb; Mon, 22 Jan 2024 02:22:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxoxqMoafgXtyVSdxeJvaBNOPvQuuceEggsZT5zp3P059mS4LKmZDXkCKsKoqrtOqPdPOu X-Received: by 2002:a17:907:75ed:b0:a2e:1db3:1288 with SMTP id jz13-20020a17090775ed00b00a2e1db31288mr1183561ejc.139.1705918921973; Mon, 22 Jan 2024 02:22:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705918921; cv=pass; d=google.com; s=arc-20160816; b=UDbrd0P5gJlRhYKhyKAD2NfMYYcf/1XAN/b4mL7X91JujJfP4n+ZYeiAmT/Z6phXvE rtjMCabVt9WpzAKX6qFNbqJ9H+fhRJcszOTYGUYzfBlzKr/o8rtSmn7vOXApIPmwL/H1 OEZVA4UsGnzLtaUFkfu4powRriyeO7Vv8UqDlLZbwHfsKmM3/f02hG7K8Z+ENWlwBM/U 1WAJd1g6YCG4yDxarCVnSu602e3UZvqFs7zQFNdZZvD1/cLlG+g5IEtCW6bQdBT1rL4b h2Ab70zF01OH8sYGeEkH/rRiFDuRzl7y/o/L1+l6Bb6JyswrshGiE8qlg/f5SXLrKfqe 31dg== 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=eQE74gv/99g0wWJ3h7CZcAUTIFxgKDvXo5LCetqM53o=; fh=wcrX1TMDNpL/jaCi8+yqIs0DpSLcgEknhSJM6Sc9gYc=; b=x1vxfBA++GyzTLucgZQuIs48/X6UXjXGxA+PE0L3RpiJjfjXGZ/lbC6ieFmLsj+tvp a6nKliVu+muH0KMRElYVxMG3ah1gwouNg4mSqYwe1/PVdjfPLAIFUrmAD7wQc9UBI9U7 yEqfymICLthgXny002Swoe/aeLsMSLv6+T4m2L2N1Ke5tgIDt8TPeDHm9OCS08GUMVMm PyIf+q6WbotQQTtKt+9K7+Z50GlUiqTZqOFCyAeTgpah+wpgr7xGkvdb/SXoy8cDjTYR sLJnMk4BKBQrA79McYfFi5/gYF4xg2CMe6lsaLzxun5qlRUC5EVh95vAvmt90WAhmro3 upMQ== 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-32725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32725-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z9-20020a1709060f0900b00a28ac738c0bsi10522462eji.767.2024.01.22.02.22.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 02:22:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-32725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32725-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0BEA21F250BD for ; Mon, 22 Jan 2024 10:21:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E3983A1BC; Mon, 22 Jan 2024 10:21:19 +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 706973A1A1 for ; Mon, 22 Jan 2024 10:21:16 +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=1705918879; cv=none; b=LO2ZpwqgjKaBjOLFsCif0wl9vHG010Ltv3nrkow1mBSCUmrqBShbZny772mkgFnvWKV+6Big3uk1eB4+Eye7alvNH9pIXSC0LMsw/gMFkhajy99aV2LunZF3GM7pHH7fpXUv9ZpZUVIs4NsSvfaU4ePgjswNRALO6zqev7RKWeU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705918879; c=relaxed/simple; bh=z5/qqF7CrLgPHHHN1stH49GDrMHD9J/2vZYYyNgNNYk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ed+Gz1krz8W7eHRJsTjlbsz6DlB3Zyw8T82dMZ94wdHaMyytbqpZluOle4bVDrwe3RMaFfK8Hf/DIWMPR0yYLs1dbOXHGvuXkJd6fMP6cZB7hrLZbBgxrs0T5X81NcbCB+kYIFDsJKaGv2Rhjls2FF797I44cO/yVIyfKvx16mE= 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 1rRrQC-0007gd-F7; Mon, 22 Jan 2024 11:20:52 +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 1rRrQA-001ZRC-9s; Mon, 22 Jan 2024 11:20:50 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rRrQA-005FLD-0d; Mon, 22 Jan 2024 11:20:50 +0100 Date: Mon, 22 Jan 2024 11:20:50 +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: <2q2t7mgnpuk2t7wq2tmymxv72oki4uetojkz72xofn7wh45l64@smk3wi6zw54g> 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="ysfre7wk3l4bhl2f" 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 --ysfre7wk3l4bhl2f 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 FTR: Now that you identified df67699c9cb0ce as the culprit, calling git bisect good on it was wrong, so something was fishy in your testing and it's no surprise the bisection found a wrong result. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --ysfre7wk3l4bhl2f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmWuQXwACgkQj4D7WH0S /k7BUwf/c+o/iSAwOCv43dqEm/CcfvKOaq7nnRskQii51OdMDOpIVHur9IOFEGX9 lEng0n7/jCsjTmNbYFaiWvyEBMI0hJgsjEseA+nt3mPkcmhREWN5RJ/KIh/53rxN 0scUgXo1PBWQCm8cUWQLsQu1hvT7jLUbwkQifp9pEeoNVLToAaBii1jYl3epShIE WhGSfwc3rgdd2OXqtx25vuN0Sf/qkC9JHNW1TjQkkGuquh1mNbSjMr6CznfjwnZ4 bHskT+3UyO9OcpGG/6hDhUO6aiObcoLxnulX7y3YH5UtsIxVyWl4ya7KPfvjz/Bc 7lXF2uvftGaPoEttybS9sjjtA25pCA== =hK1d -----END PGP SIGNATURE----- --ysfre7wk3l4bhl2f--