Tuesday, January 4, 2022

[fedora-arm] Re: issue booting Fedora 35 with RPI4



On Sun, Jan 2, 2022 at 4:58 PM RENARD Pierre-Francois <pfrenard@gmail.com> wrote:
Hello guys,


I have been working on a very strange issue when booting Fedora 35 on RPI4.


I have the issue on 5 different RPI 4 boards, I have tried to swap
power, network cable, network port, network switch, even use a new sd
card/ssd drives....

1/ I use the arm-image-installer with target=rpi4 and the last F35
aarch64 raw image to flash a SD Card.

2/ I boot the new system and it is working fine

3/ I updated the system with dnf -y upgrade

4/ I move the system VG (fedora_fedora) on a SSD drive connected using
USB-SATA converter. and then use "dracut --force" to make the system
working fine.

5/ reboot is ok after that and the system is running well.


I discovered after many tests that when the USB-SATA is connected on one
of the 2 USB2 ports (en the left side) that the system is booting well.

but if you connect on the USB3 ports (between USB2 and ethernet port)
the system is not booting....

but if in this configuration you have a HDMI port connected to a
monitor, then the system is booting well....


to sum up

     USB-SATA    : USB2    => booting ok

     USB-SATA    : USB3    => not booting

Does it work if you add " hdmi_force_hotplug=1" to '/boot/efi/config.txt'?



     USB-SATA    : USB3 + HDMI        : connected to monitor => booting ok




I used theses systems to test ESXI arm edition and everything was
working fine using USB3 ports without any HDMI port used.


I found the following posts
(https://forums.raspberrypi.com/viewtopic.php?t=245767,
https://forums.raspberrypi.com/viewtopic.php?f=28&t=245323) and tried to
append  "usb_storage.quirks=174c:0825:u" using

grubby --args="usb_storage.quirks=174c:0825:u" --update-kernel
/boot/vmlinuz-5.15.12-200.fc35.aarch64


but it seams to have no effect ... the system is not booting

When I plug back the HDMI port, from dmesg I see that

[    0.000000] Kernel command line:
BOOT_IMAGE=(hd1,msdos2)/vmlinuz-5.15.12-200.fc35.aarch64
root=/dev/mapper/fedora_fedora-root r
o rd.lvm.lv=fedora_fedora/root rhgb quiet console=tty0
usb_storage.quirks=174c:0825:u

[    6.677469] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
[    6.708417] usb 2-2: New USB device found, idVendor=174c,
idProduct=0825, bcdDevice= 0.20
[    6.708445] usb 2-2: New USB device strings: Mfr=2, Product=3,
SerialNumber=1
[    6.708456] usb 2-2: Product: X825
[    6.708464] usb 2-2: Manufacturer: SupTronics
[    6.708472] usb 2-2: SerialNumber: 20210300005A
[    6.773292] usb 2-2: UAS is ignored for this device, using
usb-storage instead
[    6.773317] usb-storage 2-2:1.0: USB Mass Storage device detected
[    6.773902] usb-storage 2-2:1.0: Quirks match for vid 174c pid 0825:
800000
[    6.774078] scsi host0: usb-storage 2-2:1.0



Did I do something wrong, do you have any idea ?


Thanks

Fox

_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

No comments:

Post a Comment