CM5 Lite excessive reboot/shutdown delay if SD card is not present
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- c, linux
- Domain
- embedded-iot, operating-systems
Research direction
Start by reviewing the attached raspinfo.log and the reproduction steps on a CM5 Lite with an NVMe drive and no SD card. Reproduce the delayed reboot with the listed systemd kernel logging options; done means identifying and fixing the cause of the 10–80 second Powering off delay, with shutdown and reboot completing promptly.
Written by the indexing model from the issue text.
Description
Describe the bug
Discussed on this forum post: https://forums.raspberrypi.com/viewtopic.php?t=383051
A device using a CM5 Lite (in my case, HALPI2) and an NVMe will have a delay of up to 80 seconds at shutdown or reboot if an SD card is not inserted. With an SD card inserted (doesn't need to be formatted, just present) shutdowns are immediate.
Steps to reproduce the behaviour
With a CM5 Lite inserted on a HALPI2 or (as reported in the forum thread) the standard CM5 IO Board:
- Flash on OS on an NVMe drive
- Ramp up the kernel logging:
systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M enforcing=0 ignore_loglevel - Issue command:
sudo reboot - The system will rapidly perform other reboot steps and then remain stuck in "Powering off" for a long time.
Device (s)
Raspberry Pi CM5 Lite
System
Raspinfo output attached.
Logs
Didn't have UART logging set up, so there's just a bad photo. The system is stuck here for 10-80 seconds or even more.
Additional context
No response
- Dominant language
- C
- Stars
- 13.2k
- Forks
- 5.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/linux#7634 · 8 comments · 1 reaction ·
All issues in raspberrypi/linux
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·