Bug 238576 - Raspberry Pi 3B+ "shutdown -p" does not shut off power
Summary: Raspberry Pi 3B+ "shutdown -p" does not shut off power
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.0-RELEASE
Hardware: arm64 Any
: --- Affects Some People
Assignee: freebsd-arm mailing list
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2019-06-15 10:01 UTC by Ed Maste
Modified: 2019-06-15 10:37 UTC (History)
1 user (show)

See Also:
koobs: mfc-stable11?
koobs: mfc-stable12?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer 2019-06-15 10:01:06 UTC
12.0-RELEASE

Executing "shutdown -p now" I would expect the device to power off but it reboots and boots FreeBSD again:

root@generic:~ # shutdown -p now
Shutdown NOW!
shutdown: [pid 913]
root@generic:~ #                                     Stopping cron.
Waiting for PIDS: 852.
Stopping sshd.
Waiting for PIDS: 848.
Stopping devd.
Waiting for PIDS: 572.
Writing entropy file:.
Writing early boot entropy file:.
.
Terminated
Dec  7 03:42:27 generic syslogd: exiting on signal 15
Waiting (max 60 seconds) for system process `vnlru' to stop... done
Waiting (max 60 seconds) for system process `syncer' to stop... 
Syncing disks, vnodes remaining... 0 0 0 done
Waiting (max 60 seconds) for system thread `bufdaemon' to stop... done
Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to stop... done
All buffers synced.
Uptime: 1m17s
MMC:   mmc@7e300000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   vidconsole
Err:   vidconsole
Net:   No ethernet found.
starting USB...
USB0:   scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
MMC Device 0 not found
no mmc device at slot 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found EFI removable media binary efi/boot/bootaa64.efi
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk mmc@7e300000.blk...
Found 3 disks
FDT memrsv map 0: Failed to add to map
637384 bytes read in 57 ms (10.7 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
FDT memrsv map 0: Failed to add to map
## Starting EFI application at 00080000 ...
Consoles: EFI console  
FreeBSD/arm64 EFI loader, Revision 1.1
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-06-15 10:37:30 UTC
Much of an arm64 delta from 12.0 -> current to warrant testing a recent snapshot?