ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.23k stars 2k forks source link

hwclock: ioctl(RTC_SET_TIME) to /dev/rtc0 to set the time failed: Invalid argument #2593

Closed ghost closed 3 weeks ago

ghost commented 1 month ago

Device Information |

I tried to install terminus os on my sbc s905x hg680p with the ubuntu version os 22 but got hit by a problem in the hwclock as below logs

11Oct` 11:35:52 ntpdate[13682]: step time server 202.65.114.202 offset -0.002831 sec hwclock: ioctl(RTC_SET_TIME) to /dev/rtc0 to set the time failed: Invalid argument 2024-10-11T11:35:53.002Z matori Failed to exec command: /bin/sh -c /usr/sbin/hwclock -w hwclock: ioctl(RTC_SET_TIME) to /dev/rtc0 to set the time failed: Invalid argument: exit status 1 2024-10-11T11:35:53.002Z [A] matori: UpdateNtpDate failed (15.726925459s) 2024-10-11T11:35:53.003Z [Job] [Prepare the System Environment] execute failed `<nil>

Is there any way to bypass the hwclock -w ? , because my sbc when checking the clock using timedatectl is in accordance with the existing time But the app requires the command hwclock -w to install .

trawor commented 3 weeks ago

+1 here, installing in LXC container of PVE, have no permitted to hwclock