reboot issue, hangs - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98) +--- Forum: General Discussion on ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=99) +--- Thread: reboot issue, hangs (/showthread.php?tid=6785) Pages:
1
2
|
RE: reboot issue, hangs - nuumio - 01-26-2019 (01-24-2019, 07:46 PM)40four Wrote: I'm using the newest ayufan ubuntu minimal as well. I see what you guys are saying ... I just learned few days ago that systemctl reboot, reboot and shutdown -r now should all work exactly the same way in systemd based distros (including Ubuntu 18.04, I guess openmediavault too). Similarly poweroff and shutdown now should work the same way. See: https://unix.stackexchange.com/questions/195898/what-is-the-difference-between-these-commands-for-bringing-down-a-linux-server/196014#196014 In Ubuntu those commands should look like this (at least they do in my systems): Code: $ ls -l $(which reboot poweroff shutdown systemctl) In that sense it's curious if those reboot commands work differently. systemd has a ton of man pages and I'm too lazy right now read read them so there may be a devil in somewhere in details. I remember having some problems with reboot myself too but haven't experienced them lately. Then again I haven't been rebooting by boards that often any more. systemd debugging page has some useful tips to try if experiencing hang during poweroff and/or reboot. See https://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1 In a nutshell:
EDIT: About an hour later I figured out why I haven't experienced reboot problems as of late: I've running myRP64s with eMMC. I just tried rebooting with SD-card and it didn't work even once (tried about 10 times). I think it may have hanged once in shutdown but all other tries failed when trying to boot showing this in serial console: Code: pmugrf_os_reg[2] = 0x3AA1FAA1, stride = 0xD Maybe people familiar with U-Boot can tell what's going on here. RE: reboot issue, hangs - Belakor - 02-12-2019 (01-26-2019, 03:54 AM)nuumio Wrote: EDIT: About an hour later I figured out why I haven't experienced reboot problems as of late: I've running myRP64s with eMMC. I just tried rebooting with SD-card and it didn't work even once (tried about 10 times). I think it may have hanged once in shutdown but all other tries failed when trying to boot showing this in serial console: That's odd because I am running an eMMC module and have the problem and in fact the ONLY time I ever got it to reboot fine was with the Armbian image on microSD card. I never investigated it further because I had no plans to use and SD card. At the time I chalked it up to being Armbian (since I had been using the Bionic image before that) but once Armbian was on the eMMC it refused to reboot. Having said that I'm 99% sure I had upgraded the kernel and added fanctl prior reboot attempts so it could very well be an issue with the kernel or fanctl service. I had to make a drive change and a full refresh of the eMMC card today so I plan on doing a bunch of testing to see if I can narrow the issue down any more. RE: reboot issue, hangs - Belakor - 02-13-2019 Here is the results of my tests: I used both Armbian 5.75 and Bionic minimal 0.7.9. Fresh flashed to Sandisk 16GB microSD and my 32GB eMMC module. eMMC: Bionic will not reboot. Power and Reset buttons have no effect, must pull power and replug to get board back. Armbian will not reboot. Reset button DOES restart the board. microSD: Bionic will not reboot. Reset button DOES restart the board. Armbian reboots fine, no issues despite multiple attempts with and without SATA card etc. I don't know what to make of these results. The reset button working is a new (and happy) twist as it never worked with the prior versions of Bionic and Armbian on eMMC. It's very interesting that Armbian on eMMC acts just like Bionic on SD while Armbian on SD has zero issues. Bionic on eMMC continuing to require physical power removal to reboot plus it's propensity to randomly get SATA controller errors (never once replicated with Armbian) pretty much knocks it out of any chance of being used. |