Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1720623rdb; Sat, 20 Jan 2024 10:15:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIHEllv1uP3fF7u9V9OiMG4Sv6iTIuw0zufz5IVgWZsuJ+Zgg4gLP0lIa7uHqB1dYpJOuA X-Received: by 2002:a17:902:fe8b:b0:1d6:f0b0:a509 with SMTP id x11-20020a170902fe8b00b001d6f0b0a509mr797067plm.119.1705774528775; Sat, 20 Jan 2024 10:15:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705774528; cv=pass; d=google.com; s=arc-20160816; b=O1sWV2nYtAoK9UTNPffTY9gPcgmKaknZN5K/IQOFwZvCVVvm4lXz9ZWsGL/yDmC/C5 wh4/uA9pkTYOTBwepxBRCIs/XNtgXtzB01qMMAIeG6KA8WVwUZ4C3wKx2G40Ce+ouH/K VfKH0Vt6AaSGXuUCo25W9x5TpmMbnWBj2XIKhbqg30i4w5sWZgku8ZvNaG/b92kc+7QQ rE43BOy81MsEgdshyGwwoOj/Z32IJvVcWVr+Xp8YL23p2xOQ7zjNfqE9N9IJWXBN456k M26w3VGJQIJgbAy10fIxINjDSx9CbyKoXoFUdZQvBgY3X+rSDap1XqxsfJJ0zsJ/0ut/ 8BvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature :dkim-signature; bh=orBS+Pu05m4+bYzB0S/iRg2TI5BLKEdOUDGTYGNb278=; fh=12OS2yYKUJfuu6s0CjhIeA6e91zdSYJHkjZcRNmNjog=; b=f+4XCuX3tYj4LDz1nvI1qIibk5l3BWPWx0SkKe/S0Giq8RCa6epQSiZ44OaAWvbGBe XmS1CD0zf0qWaRzlNZXZVFYEtzzQUZprik1kxC2GeqtpZRmaR606auEkZX/IzQn9oBic oGazjmEgSh3tvWZR357pmb/dwUxmt/ShrPbWyxHcJJSxNrdrLYw1p0TWz6ZbjRYRhAg4 JEkuw1MUg4+2epGRdyw1tEfA674+iSq9tGtsLZ19qY7HFIlwAW+D4uFp24FQxVtUsKQ9 7RhppHJiCX6LRPHueg0UiHwigkQTOuqfG5/nCUUfL1pFljxq9s+0cUw3Dno1XuOuFy4I tPkw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alu.unizg.hr header.s=mail header.b=cyeGHiBW; dkim=pass header.i=@alu.unizg.hr header.s=mail header.b=mzA1SFNP; arc=pass (i=1 spf=pass spfdomain=alu.unizg.hr dkim=pass dkdomain=alu.unizg.hr dkim=pass dkdomain=alu.unizg.hr dmarc=pass fromdomain=alu.unizg.hr); spf=pass (google.com: domain of linux-kernel+bounces-31863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31863-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id l9-20020a170902f68900b001d72c1a5afcsi1762634plg.259.2024.01.20.10.15.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 10:15:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@alu.unizg.hr header.s=mail header.b=cyeGHiBW; dkim=pass header.i=@alu.unizg.hr header.s=mail header.b=mzA1SFNP; arc=pass (i=1 spf=pass spfdomain=alu.unizg.hr dkim=pass dkdomain=alu.unizg.hr dkim=pass dkdomain=alu.unizg.hr dmarc=pass fromdomain=alu.unizg.hr); spf=pass (google.com: domain of linux-kernel+bounces-31863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31863-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5FF852835BB for ; Sat, 20 Jan 2024 18:15:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 283DA11CAB; Sat, 20 Jan 2024 18:15:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=alu.unizg.hr header.i=@alu.unizg.hr header.b="cyeGHiBW"; dkim=pass (2048-bit key) header.d=alu.unizg.hr header.i=@alu.unizg.hr header.b="mzA1SFNP" Received: from domac.alu.hr (domac.alu.unizg.hr [161.53.235.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4825B10A20; Sat, 20 Jan 2024 18:15:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=161.53.235.3 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705774518; cv=none; b=UUuaTzo66f5OKsmb13XCi9B+CQ0JZuHIyyCGlyYnNRJlvaVBD9XrNqmkMuTwlJ1u+GYDmO1S4kN8jLFqXEeehuORW+MI8iXJCKvbeH43vmWfWvHIaG6qiH81ij03AUs5o8XZ65Zw7UNeOtWqw4WLV7bT9SA6Uq4OkHTcKlWPcHk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705774518; c=relaxed/simple; bh=E/AVwm19Vw3c9m9wJsEAX0UufsuEbOfBRUcifCQetiY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cqpMaETVTxY1+oQNr6bx+DFFm6ny4N9fT12nlETcF0+oZReMfZ/1PnbhK1BczZBkE5JOEgluZJtFjhtiyzAqa9u/7wNPEFDPv+W8bt0isSgFcFSDzuN2WdXdPy8paHkPR4VqLynRAYkbLXqQJsAnd7FpcTNNdefyg+DGmJZQXZU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alu.unizg.hr; spf=pass smtp.mailfrom=alu.unizg.hr; dkim=pass (2048-bit key) header.d=alu.unizg.hr header.i=@alu.unizg.hr header.b=cyeGHiBW; dkim=pass (2048-bit key) header.d=alu.unizg.hr header.i=@alu.unizg.hr header.b=mzA1SFNP; arc=none smtp.client-ip=161.53.235.3 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alu.unizg.hr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alu.unizg.hr Received: from localhost (localhost [127.0.0.1]) by domac.alu.hr (Postfix) with ESMTP id DBF2160187; Sat, 20 Jan 2024 19:15:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1705774512; bh=E/AVwm19Vw3c9m9wJsEAX0UufsuEbOfBRUcifCQetiY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=cyeGHiBWhSkbMSGhRpDXtFCPkmo7kOirsWFp3xAq5clU1x4cnYmcFN0w2jDrDlemS ROUUWK7ly3yEW1QVQa6ghJULIFC4Jg1SUPNpMnjNBT2mpnmL5BNvC58ICXfqLXdVMV H+qLLubm7ZDkHlrkORfdKF+Xawr3m+GkKGPvgQhv8cEIbFUhpYSsY12e38VvwyFyka FFODR3lgb2VkLfIK+spR0Zl7ZQxoX0VqY4FS7/u2KKqoSl1kEOr9hH1nG4pxEE50vZ YiVxBKCphAdEFOOmK2vOlHuX2Z7WDNpRg2RsdGVlI1s240bPBkYcCVxmn5QW//YNb9 VgsHcSwu6IgQg== X-Virus-Scanned: Debian amavisd-new at domac.alu.hr Received: from domac.alu.hr ([127.0.0.1]) by localhost (domac.alu.hr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fj_jGnug5Kgg; Sat, 20 Jan 2024 19:15:09 +0100 (CET) Received: from [192.168.178.20] (dh207-42-16.xnet.hr [88.207.42.16]) by domac.alu.hr (Postfix) with ESMTPSA id 190E060182; Sat, 20 Jan 2024 19:15:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1705774509; bh=E/AVwm19Vw3c9m9wJsEAX0UufsuEbOfBRUcifCQetiY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mzA1SFNP7xqUT/2FKrs0HQKt1ptQ7GsdmfHSfvLAmbAYOQd1+oD+KBSd5cKmdHYeN oi51jfX27frtgkaCWuJZImtPlk+oRLaxBqIay/2nDW/Lpjbq6HDqIeU667RDj9f+oN q/W1Kex8s1EWpAKqT0Nts1RlNG+hFJynFMKOMqvsKBtFKsZpqUr7QkPTxcaQvcV+CB 7gVUmlHgGeN883i0/iFgMgu+BjW66AEKu8/MC7R+Mn4Q+o3/V27eLh4L+GwqoqNPQW 1nxbYS2UX4WRGAfeMO3du2Y9aJ1jbpgPbGv+10thzUlGpE1ob+U3qidCOLgJ2zdvy2 WP1+Tl/vFB7Rg== Message-ID: <3da0801d-acb6-42a0-b4b1-05a8bf25c67e@alu.unizg.hr> Date: Sat, 20 Jan 2024 19:15:07 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [BUG][BISECTED] Freeze at loading init ramdisk Content-Language: en-US To: Bagas Sanjaya , Linux Kernel Mailing List Cc: Sui Jingfeng , linux-parisc@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman , Helge Deller , Huacai Chen , Javier Martinez Canillas , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, "James E.J. Bottomley" , Hans de Goede , Prathu Baronia , Thomas Zimmermann , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , Sam Ravnborg , Ard Biesheuvel References: <8a6aa228-f2da-4dcd-93c1-e34614cd6471@alu.unizg.hr> From: Mirsad Todorovac In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/20/24 12:25, Bagas Sanjaya wrote: > On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote: >> On 1/16/24 01:32, Mirsad Todorovac wrote: >>> Hi, >>> >>> On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot >>> freezes upon first two lines and before any systemd messages. >>> >>> (Please find the config attached.) >>> >>> Bisecting the bug led to this result: >>> >>> marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good >>> d97a78423c33f68ca6543de510a409167baed6f5 is the first bad commit >>> commit d97a78423c33f68ca6543de510a409167baed6f5 >>> Merge: 61da593f4458 689237ab37c5 >>> Author: Linus Torvalds >>> Date:   Fri Jan 12 14:38:08 2024 -0800 >>> >>>     Merge tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev >>>     Pull fbdev updates from Helge Deller: >>>      "Three fbdev drivers (~8500 lines of code) removed. The Carillo Ranch >>>       fbdev driver is for an Intel product which was never shipped, and for >>>       the intelfb and the amba-clcd drivers the drm drivers can be used >>>       instead. >>>       The other code changes are minor: some fb_deferred_io flushing fixes, >>>       imxfb margin fixes and stifb cleanups. >>>       Summary: >>>        - Remove intelfb fbdev driver (Thomas Zimmermann) >>>        - Remove amba-clcd fbdev driver (Linus Walleij) >>>        - Remove vmlfb Carillo Ranch fbdev driver (Matthew Wilcox) >>>        - fb_deferred_io flushing fixes (Nam Cao) >>>        - imxfb code fixes and cleanups (Dario Binacchi) >>>        - stifb primary screen detection cleanups (Thomas Zimmermann)" >>>     * tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev: (28 commits) >>>       fbdev/intelfb: Remove driver >>>       fbdev/hyperv_fb: Do not clear global screen_info >>>       firmware/sysfb: Clear screen_info state after consuming it >>>       fbdev/hyperv_fb: Remove firmware framebuffers with aperture helpers >>>       drm/hyperv: Remove firmware framebuffers with aperture helper >>>       fbdev/sis: Remove dependency on screen_info >>>       video/logo: use %u format specifier for unsigned int values >>>       video/sticore: Remove info field from STI struct >>>       arch/parisc: Detect primary video device from device instance >>>       fbdev/stifb: Allocate fb_info instance with framebuffer_alloc() >>>       video/sticore: Store ROM device in STI struct >>>       fbdev: flush deferred IO before closing >>>       fbdev: flush deferred work in fb_deferred_io_fsync() >>>       fbdev: amba-clcd: Delete the old CLCD driver >>>       fbdev: Remove support for Carillo Ranch driver >>>       fbdev: hgafb: fix kernel-doc comments >>>       fbdev: mmp: Fix typo and wording in code comment >>>       fbdev: fsl-diu-fb: Fix sparse warning due to virt_to_phys() prototype change >>>       fbdev: imxfb: add '*/' on a separate line in block comment >>>       fbdev: imxfb: use __func__ for function name >>>       ... >>> >>>  Documentation/fb/index.rst                         |    1 - >>>  Documentation/fb/intelfb.rst                       |  155 -- >>>  Documentation/userspace-api/ioctl/ioctl-number.rst |    1 - >>>  MAINTAINERS                                        |   12 - >>>  arch/parisc/video/fbdev.c                          |    2 +- >>>  drivers/Makefile                                   |    3 +- >>>  drivers/firmware/sysfb.c                           |   14 +- >>>  drivers/gpu/drm/hyperv/hyperv_drm_drv.c            |    8 +- >>>  drivers/video/backlight/Kconfig                    |    7 - >>>  drivers/video/backlight/Makefile                   |    1 - >>>  drivers/video/backlight/cr_bllcd.c                 |  264 --- >>>  drivers/video/fbdev/Kconfig                        |   72 - >>>  drivers/video/fbdev/Makefile                       |    2 - >>>  drivers/video/fbdev/amba-clcd.c                    |  986 --------- >>>  drivers/video/fbdev/core/fb_defio.c                |    8 +- >>>  drivers/video/fbdev/fsl-diu-fb.c                   |    2 +- >>>  drivers/video/fbdev/hgafb.c                        |   13 +- >>>  drivers/video/fbdev/hyperv_fb.c                    |   20 +- >>>  drivers/video/fbdev/imxfb.c                        |  179 +- >>>  drivers/video/fbdev/intelfb/Makefile               |    8 - >>>  drivers/video/fbdev/intelfb/intelfb.h              |  382 ---- >>>  drivers/video/fbdev/intelfb/intelfb_i2c.c          |  209 -- >>>  drivers/video/fbdev/intelfb/intelfbdrv.c           | 1680 ---------------- >>>  drivers/video/fbdev/intelfb/intelfbhw.c            | 2115 -------------------- >>>  drivers/video/fbdev/intelfb/intelfbhw.h            |  609 ------ >>>  drivers/video/fbdev/mmp/hw/mmp_spi.c               |    2 +- >>>  drivers/video/fbdev/sis/sis_main.c                 |   37 - >>>  drivers/video/fbdev/stifb.c                        |  109 +- >>>  drivers/video/fbdev/vermilion/Makefile             |    6 - >>>  drivers/video/fbdev/vermilion/cr_pll.c             |  195 -- >>>  drivers/video/fbdev/vermilion/vermilion.c          | 1175 ----------- >>>  drivers/video/fbdev/vermilion/vermilion.h          |  245 --- >>>  drivers/video/logo/pnmtologo.c                     |    6 +- >>>  drivers/video/sticore.c                            |    5 + >>>  include/linux/amba/clcd-regs.h                     |   87 - >>>  include/linux/amba/clcd.h                          |  290 --- >>>  include/video/sticore.h                            |    6 +- >>>  37 files changed, 208 insertions(+), 8708 deletions(-) >>>  delete mode 100644 Documentation/fb/intelfb.rst >>>  delete mode 100644 drivers/video/backlight/cr_bllcd.c >>>  delete mode 100644 drivers/video/fbdev/amba-clcd.c >>>  delete mode 100644 drivers/video/fbdev/intelfb/Makefile >>>  delete mode 100644 drivers/video/fbdev/intelfb/intelfb.h >>>  delete mode 100644 drivers/video/fbdev/intelfb/intelfb_i2c.c >>>  delete mode 100644 drivers/video/fbdev/intelfb/intelfbdrv.c >>>  delete mode 100644 drivers/video/fbdev/intelfb/intelfbhw.c >>>  delete mode 100644 drivers/video/fbdev/intelfb/intelfbhw.h >>>  delete mode 100644 drivers/video/fbdev/vermilion/Makefile >>>  delete mode 100644 drivers/video/fbdev/vermilion/cr_pll.c >>>  delete mode 100644 drivers/video/fbdev/vermilion/vermilion.c >>>  delete mode 100644 drivers/video/fbdev/vermilion/vermilion.h >>>  delete mode 100644 include/linux/amba/clcd-regs.h >>>  delete mode 100644 include/linux/amba/clcd.h >>> marvin@defiant:~/linux/kernel/linux_torvalds$ >>> >>> Hope this helps. >> >> P.S. >> >> 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. >> >> But I thought later that it would be interesting to see why my hardware triggered the freeze >> and probably others did not, or someone would complain already. >> >> Both of the boxes were AMD Ryzen: Ryzen 7 5700G and Ryzen 9 7950X. >> >> FWIW, I am attaching both hardware listings and the config used, so anyone knowledgeable with >> fbdev could possibly narrow down the search. >> > > Hi Mirsad, > > There is another report from Jens with similar symptom [1]. Can you check if > reverting df67699c9cb0ce ("firmware/sysfb: Clear screen_info state after > consuming it") fixes your regression? > > Thanks. > > [1]: https://lore.kernel.org/regressions/93ffd2ee-fa83-4469-96fb-fb263c26bb3c@kernel.dk/T/#t Thanks, Bagas, I confirm that it is the same issue: 1991 git checkout d97a78423c33 1992 git revert df67699c9cb0ce 1993 make clean; make olddefconfig 1994 time nice make -j 36 bindeb-pkg |& tee ../err-6.8-mrg-1.log; date 1995 sudo apt-get -s install ../linux-image-6.7.0-bagas-vanilla-rvt-09751-g6b082430adc8_6.7.0-09751-g6b082430adc8-26_amd64.deb 1996 sudo apt-get -y install ../linux-image-6.7.0-bagas-vanilla-rvt-09751-g6b082430adc8_6.7.0-09751-g6b082430adc8-26_amd64.deb Reverting df67699c9cb0ce fixed it. I don't have a slightest idea what is the side effect of this commit. Tested-by: Mirsad Goran Todorovac Best regards, Mirsad