[Bug 1171222] New: [RPi4] GRUB kernel image/initrd load slowdown after adding USB keyboard support
http://bugzilla.suse.com/show_bug.cgi?id=1171222 Bug ID: 1171222 Summary: [RPi4] GRUB kernel image/initrd load slowdown after adding USB keyboard support Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: aarch64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader Assignee: screening-team-bugs@suse.de Reporter: nsaenzjulienne@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The tumbleweed image to reproduce this is not yet available, but will be soon. If USB keyboard plugged, the whole process takes more than a minute. When no USB keyboard plugged, only 12 seconds. This cannot be reproduced with leap15.2's GRUB. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1171222 Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afaerber@suse.com, | |mbrugger@suse.com, | |nsaenzjulienne@suse.com, | |ptesarik@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1171222 http://bugzilla.suse.com/show_bug.cgi?id=1171222#c2 --- Comment #2 from Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> --- Created attachment 837425 --> http://bugzilla.suse.com/attachment.cgi?id=837425&action=edit rpi4 u-boot with usb support To reproduce, while the u-boot rpi4 USB support series makes its way trough OBS, one can use this u-boot image. Just replace the one available in the EFI partition with this one. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1171222 Matthias Brugger <mbrugger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chester.lin@suse.com, | |glin@suse.com, | |mchang@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1171222 Alynx Zhou <alynx.zhou@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alynx.zhou@suse.com Assignee|screening-team-bugs@suse.de |mchang@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1171222 http://bugzilla.suse.com/show_bug.cgi?id=1171222#c3 --- Comment #3 from Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> --- Can be now reproduced with the latest Tumbleweed release. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c4 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freek@opensuse.org --- Comment #4 from Fabian Vogt <fvogt@suse.com> --- *** Bug 1178293 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guillaume.gardet@arm.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c5 --- Comment #5 from Freek de Kruijf <freek@opensuse.org> --- I replaced u-boot.bin by the one in the attachment, which did not change the situation; still a very slow boot process. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |petr.vorel@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c14 Jan Hebler <jan.hebler@vodafone.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jan.hebler@vodafone.com --- Comment #14 from Jan Hebler <jan.hebler@vodafone.com> --- This could also reproduced by "covering" the Keyboard behind an USB-Hub, be it external (like an common hub or an KVM-Switch) or internal (all Wireless Keyboard/Mouse-Combinations with only one usb-plug). -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fvogt@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 Jeffrey Cheung <jcheung@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jcheung@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 Joey Lee <jlee@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jlee@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 Dominik Heidler <dheidler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dheidler@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c16 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(mchang@suse.com) | --- Comment #16 from Michael Chang <mchang@suse.com> --- Created attachment 849610 --> https://bugzilla.suse.com/attachment.cgi?id=849610&action=edit Disable timer check in file loading to speed it up. I have tested this patch to solve the problem for me. Could anyone here please help to verify this patch could also work for you ? In case we run into different problem or my test somehow is not going through. Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c17 --- Comment #17 from Freek de Kruijf <freek@opensuse.org> --- (In reply to Michael Chang from comment #16)
Created attachment 849610 [details] Disable timer check in file loading to speed it up.
I have tested this patch to solve the problem for me. Could anyone here please help to verify this patch could also work for you ? In case we run into different problem or my test somehow is not going through.
Thanks.
I need a new u-boot.bin to test. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c18 Matthias Brugger <mbrugger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(freek@opensuse.or | |g) --- Comment #18 from Matthias Brugger <mbrugger@suse.com> --- (In reply to Freek de Kruijf from comment #17)
(In reply to Michael Chang from comment #16)
Created attachment 849610 [details] Disable timer check in file loading to speed it up.
I have tested this patch to solve the problem for me. Could anyone here please help to verify this patch could also work for you ? In case we run into different problem or my test somehow is not going through.
Thanks.
I need a new u-boot.bin to test.
I pushed a new U-Boot with the patch to: https://build.opensuse.org/project/show/home:mbrugger:bsc849610 Freek can you install the package and test once it got build? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c19 --- Comment #19 from Matthias Brugger <mbrugger@suse.com> --- Any update on this, Freek? Or did you lost interest in the issue? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c20 --- Comment #20 from Freek de Kruijf <freek@opensuse.org> --- (In reply to Matthias Brugger from comment #19)
Any update on this, Freek? Or did you lost interest in the issue?
I only found a source rpm of u-boot in: baseurl=https://download.opensuse.org/repositories/home:/mbrugger:/bsc849610/openSUS... and u-boot-rpiarm64 installed from: baseurl=http://download.opensuse.org/ports/aarch64/tumbleweed/repo/oss/ So where do I find the u-boot rpm package you build? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c21 Freek de Kruijf <freek@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(freek@opensuse.or | |g) | --- Comment #21 from Freek de Kruijf <freek@opensuse.org> --- (In reply to Matthias Brugger from comment #19)
Any update on this, Freek? Or did you lost interest in the issue?
I tried KDE Tumbleweed from 01-06-2021 and needed to wait about 4 minutes before the login screen appeared. Later I upgraded to the version from 06-06-2021 and noticed a date 28-05-2021 on the .bin in /boot/vc/ which showed the login screen after about 2 minutes. This is satisfactory for my needs. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c22 --- Comment #22 from Michael Chang <mchang@suse.com> --- Hm. Not sure what has changed in tumbleweed, but I also have updated to 20210607 the problem is still there for me. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c23 --- Comment #23 from Michael Chang <mchang@suse.com> --- It seems Matthias's repo has broken for some reason. Here I have provided another repo from my home project to test. https://download.opensuse.org/repositories/home:/michael-chang:/branches:/ha... FWIW you can use this instruction to install new u-boot-rpiarm64 package for testing.
zypper ar --repo https://download.opensuse.org/repositories/home:/michael-chang:/branches:/ha... zypper ref zypper dup --allow-vendor-change --from home_michael-chang_branches_hardware_boot
Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c24 --- Comment #24 from Freek de Kruijf <freek@opensuse.org> --- (In reply to Michael Chang from comment #23)
It seems Matthias's repo has broken for some reason. Here I have provided another repo from my home project to test.
https://download.opensuse.org/repositories/home:/michael-chang:/branches:/ hardware:/boot/openSUSE_Factory_ARM/
FWIW you can use this instruction to install new u-boot-rpiarm64 package for testing.
zypper ar --repo https://download.opensuse.org/repositories/home:/michael-chang:/branches:/ha... zypper ref zypper dup --allow-vendor-change --from home_michael-chang_branches_hardware_boot
Thanks.
Tried it both on a KDE Tumbleweed image as well as on a XFCE Leap 15.3 image and both give me 30 to 40 seconds, after ending the GRUB screen, the login screen. This is really what I would expect. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c25 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo? | --- Comment #25 from Michael Chang <mchang@suse.com> --- (In reply to Freek de Kruijf from comment #24)
(In reply to Michael Chang from comment #23)
[snip]
Tried it both on a KDE Tumbleweed image as well as on a XFCE Leap 15.3 image and both give me 30 to 40 seconds, after ending the GRUB screen, the login screen.
This is really what I would expect.
Sorry for the late reply. The PR is now open for review. https://github.com/openSUSE/u-boot/pull/19 Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 Matthias Brugger <mbrugger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(mchang@suse.com) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c27 Matthias Brugger <mbrugger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS Flags|needinfo?(mchang@suse.com) | --- Comment #27 from Matthias Brugger <mbrugger@suse.com> --- Upstream submission: https://patchwork.ozlabs.org/project/uboot/patch/20210708082250.11833-1-mcha... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 https://bugzilla.suse.com/show_bug.cgi?id=1171222#c28 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(mbrugger@suse.com | |) --- Comment #28 from Michael Chang <mchang@suse.com> --- Hi Matthias, The patch is mostly turned down in upstream review and I sort of agree with that we have to looking into the usb_kbd_testc to see if any improvement can be done there to reduce the time checking for key input availability rather than bluntly disabling the timer check during file loading. As long as usb is not my field, do you happen to know who knows better in the usb driver to take a look or providing any insight here. Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 Andreas F�rber <afaerber@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oneukum@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1171222 Matthias Brugger <mbrugger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|mchang@suse.com |mbrugger@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com