* Re: [REGRESSION][BISECTED] Boot stall from merge tag 'net-next-6.2'
[not found] <GQUnKz2al3yke5mB2i1kp3SzNHjK8vi6KJEh7rnLrOQ24OrlljeCyeWveLW9pICEmB9Qc8PKdNt3w1t_g3-Uvxq1l8Wj67PpoMeWDoH8PKk=@proton.me>
@ 2023-05-27 1:17 ` Bagas Sanjaya
2023-05-27 4:07 ` Sami Korkalainen
0 siblings, 1 reply; 6+ messages in thread
From: Bagas Sanjaya @ 2023-05-27 1:17 UTC (permalink / raw)
To: Sami Korkalainen, Linux Stable
Cc: Linux Regressions, Linux Networking, Linux ACPI,
Rafael J. Wysocki, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
[-- Attachment #1: Type: text/plain, Size: 2842 bytes --]
On Fri, May 26, 2023 at 07:17:26PM +0000, Sami Korkalainen wrote:
> Linux 6.2 and newer are (mostly) unbootable on my old HP 6730b laptop, the 6.1.30 works still fine.
> The weirdest thing is that newer kernels (like 6.3.4 and 6.4-rc3) may boot ok on the first try, but when rebooting, the very same version doesn't boot.
>
> Some times, when trying to boot, I get this message repeated forever:
> ACPI Error: No handler or method for GPE [XX], disabling event (20221020/evgpe-839)
> On newer kernels, the date is 20230331 instead of 20221020. There is also some other error, but I can't read it as it gets overwritten by the other ACPI error, see image linked at the end.
>
> And some times, the screen will just stay completely blank.
>
> I tried booting with acpi=off, but it does not help.
>
> I bisected and this is the first bad commit 7e68dd7d07a2
> "Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next"
I think networking changes shouldn't cause this ACPI regression, right?
>
> As the later kernels had the seemingly random booting behaviour (mentioned above), I retested the last good one 7c4a6309e27f by booting it several times and it boots every time.
>
> I tried getting some boot logs, but the boot process does not go far enough to make any logs.
>
> Kernel .config file: https://0x0.st/Hqt1.txt
>
> Environment (outputs of a working Linux 6.1 build):
> Software (output of the ver_linux script): https://0x0.st/Hqte.txt
> Processor information (from /proc/cpuinfo): https://0x0.st/Hqt2.txt
> Module information (from /proc/modules): https://0x0.st/HqtL.txt
> /proc/ioports: https://0x0.st/Hqt9.txt
> /proc/iomem: https://0x0.st/Hqtf.txt
> PCI information ('lspci -vvv' as root): https://0x0.st/HqtO.txt
> SCSI information (from /proc/scsi/scsi)
Where is SCSI info?
>
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
> Vendor: ATA Model: KINGSTON SVP200S Rev: C4
> Type: Direct-Access ANSI SCSI revision: 05
> Host: scsi1 Channel: 00 Id: 00 Lun: 00
> Vendor: hp Model: CDDVDW TS-L633M Rev: 0301
> Type: CD-ROM ANSI SCSI revision: 05
>
> Distribution: Arch Linux
> Boot manager: systemd-boot (UEFI)
>
> git bisect log: https://0x0.st/Hqgx.txt
> ACPI Error (sorry for the dusty screen): https://0x0.st/HqEk.jpeg
>
> #regzbot ^introduced 7e68dd7d07a2
>
> Best regards
> Sami Korkalainen
Anyway, I also Cc: netdev and acpi lists and maintainers (maybe they have
idea on what's going on here) and also fixing up regzbot entry title:
#regzbot title: Boot stall with ACPI error (no handler/method for GPE) caused by net-next 6.2 pull
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [REGRESSION][BISECTED] Boot stall from merge tag 'net-next-6.2'
2023-05-27 1:17 ` [REGRESSION][BISECTED] Boot stall from merge tag 'net-next-6.2' Bagas Sanjaya
@ 2023-05-27 4:07 ` Sami Korkalainen
2023-06-12 14:07 ` Bagas Sanjaya
0 siblings, 1 reply; 6+ messages in thread
From: Sami Korkalainen @ 2023-05-27 4:07 UTC (permalink / raw)
To: Bagas Sanjaya
Cc: Linux Stable, Linux Regressions, Linux Networking, Linux ACPI,
Rafael J. Wysocki, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
>Where is SCSI info?
Right there, under the text (It was so short, that I thought to put it in the message. Maybe I should have put that also in pastebin for consistency and clarity):
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: KINGSTON SVP200S Rev: C4
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: hp Model: CDDVDW TS-L633M Rev: 0301
Type: CD-ROM ANSI SCSI revision: 05
>I think networking changes shouldn't cause this ACPI regression, right?
Yeah, beats me, but that's what I got by bisecting. My expertise ends about here.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [REGRESSION][BISECTED] Boot stall from merge tag 'net-next-6.2'
2023-05-27 4:07 ` Sami Korkalainen
@ 2023-06-12 14:07 ` Bagas Sanjaya
2023-06-12 19:05 ` Sami Korkalainen
0 siblings, 1 reply; 6+ messages in thread
From: Bagas Sanjaya @ 2023-06-12 14:07 UTC (permalink / raw)
To: Sami Korkalainen, Linus Torvalds
Cc: Linux Stable, Linux Regressions, Linux Networking, Linux ACPI,
Rafael J. Wysocki, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Linux regression tracking (Thorsten Leemhuis)
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
On Sat, May 27, 2023 at 04:07:56AM +0000, Sami Korkalainen wrote:
> >Where is SCSI info?
>
> Right there, under the text (It was so short, that I thought to put it in the message. Maybe I should have put that also in pastebin for consistency and clarity):
>
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
> Vendor: ATA Model: KINGSTON SVP200S Rev: C4
> Type: Direct-Access ANSI SCSI revision: 05
> Host: scsi1 Channel: 00 Id: 00 Lun: 00
> Vendor: hp Model: CDDVDW TS-L633M Rev: 0301
> Type: CD-ROM ANSI SCSI revision: 05
>
> >I think networking changes shouldn't cause this ACPI regression, right?
> Yeah, beats me, but that's what I got by bisecting. My expertise ends about here.
Hmm, no reply for a while.
Networking people: It looks like your v6.2 PR introduces unrelated
ACPICA regression. Can you explain why?
ACPICA people: Can you figure out why do this regression happen?
Sami: Can you try latest mainline and repeat bisection as confirmation?
I'm considering to remove this from regression tracking if there is
no replies in several more days.
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [REGRESSION][BISECTED] Boot stall from merge tag 'net-next-6.2'
2023-06-12 14:07 ` Bagas Sanjaya
@ 2023-06-12 19:05 ` Sami Korkalainen
2023-06-12 19:50 ` Andrew Lunn
0 siblings, 1 reply; 6+ messages in thread
From: Sami Korkalainen @ 2023-06-12 19:05 UTC (permalink / raw)
To: Bagas Sanjaya
Cc: Linus Torvalds, Linux Stable, Linux Regressions, Linux Networking,
Linux ACPI, Rafael J. Wysocki, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni,
Linux regression tracking (Thorsten Leemhuis)
Ok. I will try the latest mainline and if it does not work, I try bisecting again, but it should take at least a couple of weeks with this old PC. Can't really compile more than once a day.
Regards
Sami Korkalainen
___________________________
Sent with Proton Mail secure email.
------- Original Message -------
On Monday, June 12th, 2023 at 17.07, Bagas Sanjaya <bagasdotme@gmail.com> wrote:
> On Sat, May 27, 2023 at 04:07:56AM +0000, Sami Korkalainen wrote:
>
> > > Where is SCSI info?
> >
> > Right there, under the text (It was so short, that I thought to put it in the message. Maybe I should have put that also in pastebin for consistency and clarity):
> >
> > Attached devices:
> > Host: scsi0 Channel: 00 Id: 00 Lun: 00
> > Vendor: ATA Model: KINGSTON SVP200S Rev: C4
> > Type: Direct-Access ANSI SCSI revision: 05
> > Host: scsi1 Channel: 00 Id: 00 Lun: 00
> > Vendor: hp Model: CDDVDW TS-L633M Rev: 0301
> > Type: CD-ROM ANSI SCSI revision: 05
> >
> > > I think networking changes shouldn't cause this ACPI regression, right?
> > > Yeah, beats me, but that's what I got by bisecting. My expertise ends about here.
>
>
> Hmm, no reply for a while.
>
> Networking people: It looks like your v6.2 PR introduces unrelated
> ACPICA regression. Can you explain why?
>
> ACPICA people: Can you figure out why do this regression happen?
>
> Sami: Can you try latest mainline and repeat bisection as confirmation?
>
> I'm considering to remove this from regression tracking if there is
> no replies in several more days.
>
> Thanks.
>
> --
> An old man doll... just what I always wanted! - Clara
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [REGRESSION][BISECTED] Boot stall from merge tag 'net-next-6.2'
2023-06-12 19:05 ` Sami Korkalainen
@ 2023-06-12 19:50 ` Andrew Lunn
2023-06-21 6:07 ` Sami Korkalainen
0 siblings, 1 reply; 6+ messages in thread
From: Andrew Lunn @ 2023-06-12 19:50 UTC (permalink / raw)
To: Sami Korkalainen
Cc: Bagas Sanjaya, Linus Torvalds, Linux Stable, Linux Regressions,
Linux Networking, Linux ACPI, Rafael J. Wysocki, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Linux regression tracking (Thorsten Leemhuis)
On Mon, Jun 12, 2023 at 07:05:45PM +0000, Sami Korkalainen wrote:
> Ok. I will try the latest mainline and if it does not work, I try
> bisecting again, but it should take at least a couple of weeks with
> this old PC. Can't really compile more than once a day.
Cross compiling Linux has been possible for at least 20 years. Do the
build on something modern and copy the results to the target.
Andrew
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [REGRESSION][BISECTED] Boot stall from merge tag 'net-next-6.2'
2023-06-12 19:50 ` Andrew Lunn
@ 2023-06-21 6:07 ` Sami Korkalainen
0 siblings, 0 replies; 6+ messages in thread
From: Sami Korkalainen @ 2023-06-21 6:07 UTC (permalink / raw)
To: Bagas Sanjaya
Cc: Andrew Lunn, Linus Torvalds, Linux Stable, Linux Regressions,
Linux Networking, Linux ACPI, Rafael J. Wysocki, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Linux regression tracking (Thorsten Leemhuis)
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
I bisected again. It seems I made some mistake last time, as I got a different result this time. Maybe, because these problematic kernels may boot fine sometimes, like I said before.
Anyway, first bad commit (makes much more sense this time):
e7b813b32a42a3a6281a4fd9ae7700a0257c1d50
efi: random: refresh non-volatile random seed when RNG is initialized
I confirmed that this is the code causing the issue by commenting it out (see the patch file). Without this code, the latest mainline boots fine.
Terveisin
Sami Korkalainen
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch.diff --]
[-- Type: text/x-patch; name=patch.diff, Size: 1137 bytes --]
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c
index abeff7dc0b58..c362c807f5d6 100644
--- a/drivers/firmware/efi/efi.c
+++ b/drivers/firmware/efi/efi.c
@@ -360,7 +360,7 @@ static void __init efi_debugfs_init(void)
#else
static inline void efi_debugfs_init(void) {}
#endif
-
+/*
static void refresh_nv_rng_seed(struct work_struct *work)
{
u8 seed[EFI_RANDOM_SEED_SIZE];
@@ -378,7 +378,7 @@ static int refresh_nv_rng_seed_notification(struct notifier_block *nb, unsigned
return NOTIFY_DONE;
}
static struct notifier_block refresh_nv_rng_seed_nb = { .notifier_call = refresh_nv_rng_seed_notification };
-
+*/
/*
* We register the efi subsystem with the firmware subsystem and the
* efivars subsystem with the efi subsystem, if the system was booted with
@@ -450,10 +450,10 @@ static int __init efisubsys_init(void)
if (efi.coco_secret != EFI_INVALID_TABLE_ADDR)
platform_device_register_simple("efi_secret", 0, NULL, 0);
#endif
-
+/*
if (efi_rt_services_supported(EFI_RT_SUPPORTED_SET_VARIABLE))
execute_with_initialized_rng(&refresh_nv_rng_seed_nb);
-
+*/
return 0;
err_remove_group:
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-06-21 6:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <GQUnKz2al3yke5mB2i1kp3SzNHjK8vi6KJEh7rnLrOQ24OrlljeCyeWveLW9pICEmB9Qc8PKdNt3w1t_g3-Uvxq1l8Wj67PpoMeWDoH8PKk=@proton.me>
2023-05-27 1:17 ` [REGRESSION][BISECTED] Boot stall from merge tag 'net-next-6.2' Bagas Sanjaya
2023-05-27 4:07 ` Sami Korkalainen
2023-06-12 14:07 ` Bagas Sanjaya
2023-06-12 19:05 ` Sami Korkalainen
2023-06-12 19:50 ` Andrew Lunn
2023-06-21 6:07 ` Sami Korkalainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).