[Bug 1178293] New: Extreme slow boot on Raspberry Pi 4B using Tumbleweed
http://bugzilla.opensuse.org/show_bug.cgi?id=1178293 Bug ID: 1178293 Summary: Extreme slow boot on Raspberry Pi 4B using Tumbleweed Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: aarch64 OS: openSUSE Tumbleweed Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: freek@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I tried the newest XFCE Raspberry Pi 4 images for openSUSE Leap 15.2 and Tumbleweed. Both are extremely slow to start. I did not have enough patience for Leap 15.2 to see it finish with a log screen, so abandoned that test and continued with the test of Tumbleweed. Later I tried also the JeOS images from Snapshot20200918 and Snapshot20201022 and they behave the same. There are several error messages during the boot process to explain why it takes so long, but even loading the final linux image takes minutes. Below is what I did catch during the start of the boot process: ------------------- U-Boot 2020.04 (Aug 09 2020 - 19:41:12 +0000) DRAM: 3.9 GiB RPI 4 Model B (0xc03112) MMC: mmcnr@7e300000: 1, emmc2@7e340000: 0 Loading Environment from FAT... *** Warning - bad CRC, using default environment In: serial Out: vidconsole Err: vidconsole Net: eth0: ethernet@7d580000 PCIe BRCM: link up, 5.0 Gbps x1 (SSC) starting USB... Bus xhci_pci: Register 5000420 NbrPorts 5 Starting the controller USB XHCI 1.00 scanning bus xhci_pci for devices... 4 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:3... ** Invalid partition 4 ** ** Unrecognized filesystem type ** Scanning mmc 0:1... Found EFI removable media binary efi/boot/bootaa64.efi libfdt fdt_check_header(): FDT_ERR_BADMAGIC Card did not respond to voltage select! Scanning disk mmcnr@7e300000.blk... Disk mmcnr@7e300000.blk not ready Scanning disk emmc2@7e340000.blk... ** Unrecognized filesystem type ** Found 4 disks BootOrder not defined EFI boot manager: Cannot load any image 1382256 bytes read in 108 ms (12.2 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC Welcome to GRUB! Please press 't' to show the boot menu on this console error: file `/boot/grub2/locale/nl.gmo' not found. ------------------- This is the first reboot after the initial boot of the system and after making some configuration changes in that system. O.a. the default language to be nl_NL. I needed at least 30 minutes to get to the GRUB screen. It looks as if the clock is very slow. On the GRUB screen 10s appeared, which is the initial count down time, but this time is very slowly decreasing. About 5 minutes per second. The USB keyboard does nothing. I finally tried the keyboard on the serial port which started loading the openSUSE image. After 2 hours I got the login screen of XFCE. After that the system behaved like it should. The problem is the length of the boot process, which takes hours, also a reboot. The RPi4 is not the problem, because Raspbian boots very fast. It is also not the uSD, I used the same uSD for the Raspbian and the openSUSE image. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178293 http://bugzilla.opensuse.org/show_bug.cgi?id=1178293#c1 --- Comment #1 from Freek de Kruijf <freek@opensuse.org> --- Did put Raspbian back on the uSD and the RPi4 is working OK again. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178293 Matthias Brugger <mbrugger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fvogt@suse.com, | |guillaume.gardet@arm.com, | |mbrugger@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178293 Matthias Brugger <mbrugger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nsaenzjulienne@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178293 Matthias Brugger <mbrugger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tamara.schmitz@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178293 http://bugzilla.opensuse.org/show_bug.cgi?id=1178293#c2 --- Comment #2 from Matthias Brugger <mbrugger@suse.com> --- Did you use the dd command documented in the wiki to write the image to the SD card? xzcat [image].raw.xz | dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct status=progress; sync -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178293 http://bugzilla.opensuse.org/show_bug.cgi?id=1178293#c3 --- Comment #3 from Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> ---
The problem is the length of the boot process, which takes hours, also a reboot.
I remember seeing slowdowns in GRUB/UEFI when using USB/HID in TW. Could you try the same setup but leaving all USB port empty? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178293 http://bugzilla.opensuse.org/show_bug.cgi?id=1178293#c4 --- Comment #4 from Freek de Kruijf <freek@opensuse.org> --- (In reply to Matthias Brugger from comment #2)
Did you use the dd command documented in the wiki to write the image to the SD card?
xzcat [image].raw.xz | dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct status=progress; sync
I used in my script: xzcat -v $file | dd bs=4M of=/dev/$dev iflag=fullblock oflag=direct ; sync -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178293 http://bugzilla.opensuse.org/show_bug.cgi?id=1178293#c5 --- Comment #5 from Freek de Kruijf <freek@opensuse.org> --- (In reply to Nicolas Patricio Saenz Julienne from comment #3)
The problem is the length of the boot process, which takes hours, also a reboot.
I remember seeing slowdowns in GRUB/UEFI when using USB/HID in TW. Could you try the same setup but leaving all USB port empty?
The only devices in the USB ports are a mouse and a keyboard. Should be possible, as is an external disk (which I did not connect). But will try without these. That did the trick. Without these two USB devices the system boots fast. I used the XFCE image and from applying power to the appearance of the login screen 60 seconds. After inserting the USB devices for the mouse and keyboard I have a functioning system. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178293 Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1171222 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178293 Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mchang@suse.com Component|Basesystem |Bootloader -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com