Bug 1128691 - Raspberry Pi 3 B/B+ - Boot from USB breaks reboot
Raspberry Pi 3 B/B+ - Boot from USB breaks reboot
Status: REOPENED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel
Current
aarch64 Other
: P5 - None : Normal (vote)
: ---
Assigned To: Nicolas Patricio Saenz Julienne
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-11 10:19 UTC by Guillaume GARDET
Modified: 2020-11-12 11:23 UTC (History)
9 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume GARDET 2019-03-11 10:19:20 UTC
On my Raspberry Pi3 B and B+, if I boot from a USB stick, the 'reboot' commands does not work properly: it starts the reboot process, but stay stucked at:
[ 3689.828348] reboot: Restarting system

and I need to power cycle the board.

Booting from SD card does not show this problem and 'reboot' just works.
Comment 1 Takashi Iwai 2019-03-15 15:10:06 UTC
Does reboot -f work?
Comment 2 Guillaume GARDET 2019-03-15 16:54:13 UTC
(In reply to Takashi Iwai from comment #1)
> Does reboot -f work?

No, it does not reboot.
Comment 3 Chester Lin 2019-08-20 10:15:40 UTC
I tried Tumbleweed (20190607) on my RPI3 B+ but I didn't see this issue, the reboot command worked fine. Maybe new versions have fixed it?
Comment 4 Jiri Slaby 2019-11-04 12:26:28 UTC
Hopefully, if not, please reopen.
Comment 5 Guillaume GARDET 2019-11-19 11:07:06 UTC
(In reply to Jiri Slaby from comment #4)
> Hopefully, if not, please reopen.

I tried latest Tumbleweed: openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2019.10.25-Snapshot20191109.raw.xz 
and the problem is still there. 

Tested on RPi3 B+, booted from USB stick.

I have nothing on serial after:
[  OK  ] Started Reboot.
[  OK  ] Reached target Reboot.
[  191.473647] reboot: Restarting system
Comment 6 Guillaume GARDET 2020-01-06 17:08:08 UTC
Still the case with openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2019.12.16-Snapshot20200102

How could I help to debug this?
Comment 7 Matthias Brugger 2020-01-09 11:15:30 UTC
(In reply to Guillaume GARDET from comment #6)
> Still the case with
> openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2019.12.16-Snapshot20200102
> 
> How could I help to debug this?

I think kernel calls to EFI to do the reboot. So we would need to find out what happens in U-Boot that it does not invoke a reboot through the EFI stub. You could start to add printfs to see what the difference is.
Comment 8 Nicolas Patricio Saenz Julienne 2020-01-09 12:06:10 UTC
Can't seem to reproduce it on my 3B with openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2019.12.16-Snapshot20200106.
Comment 9 Matthias Brugger 2020-01-10 09:47:11 UTC
nicolas, can you have a look?
Comment 10 Nicolas Patricio Saenz Julienne 2020-11-12 11:23:36 UTC
Guillaume is it still the case?