radxa-build / rock-3c

ROCK 3C
https://wiki.radxa.com/Rock3
5 stars 1 forks source link

Upgrade command breaks the system on 1GB RAM of Rock 3C #9

Closed mako220 closed 5 months ago

mako220 commented 5 months ago

Using the latest b42 debian xfce image with only CLI, using rsetup -> System Update, crashes the system with out of memory errors. PXL_20240315_222608222 MP

RadxaYuntian commented 5 months ago

@CodeChenL Please check if you can reproduce this.

CodeChenL commented 5 months ago

@CodeChenL Please check if you can reproduce this.

@mako220 You need to manually update /usr/lib/rsetup/cli/u-boot-menu.sh and run sudo dpkg --configure -a to continue the update

RadxaYuntian commented 5 months ago

We need to fix dkms build oom. What you described will left user with broken Wi-Fi.

RadxaYuntian commented 5 months ago

After checking with the log again, it appears to be a rsetup bug where when updating the overlay it consumes a large amount of memory. We have fixed it since v0.3.46 but later versions are not released yet.

mako220 commented 5 months ago

I did what @CodeChenL suggested and the the error did not reproduce. Also, the wifi connection still works for now. The device has AP6256 wifi chip if that helps. Thanks for the help guys.