Repository navigation
Description
stat: can't stat '/sys/devices/platform/lpgpr/root_part': No such file or directory
Error opening lock file /var/lock/fw_printenv.lock
Error opening lock file /var/lock/fw_printenv.lock
SWUpdate v
Licensed under GPLv2. See source distribution for detailed copyright notices.
[INFO ] : SWUPDATE started : Software Update started !
[INFO ] : SWUPDATE running : Installation in progress
Upon re-opening the os management window it showed the standby partition as being unknown. Attempting the upgrade again resulted in the following error:
stat: can't stat '/sys/devices/platform/lpgpr/root_part': No such file or directory
Error opening lock file /var/lock/fw_printenv.lock
Error opening lock file /var/lock/fw_printenv.lock
SWUpdate v
Licensed under GPLv2. See source distribution for detailed copyright notices.
[INFO ] : SWUPDATE started : Software Update started !
[WARN ] : SWUPDATE running : [swupdate_create_directory] : Directory scripts/ cannot be created due to : File exists
[WARN ] : SWUPDATE running : [swupdate_create_directory] : Directory datadst/ cannot be created due to : File exists
[INFO ] : SWUPDATE running : Installation in progress
Trying to install the update using xochitl caused it to crash, and checking for an update the second time showed that the device was up to date. The standby partition still showed as unknown in reManager.
Trying to install manually has the same issue.
reMarkable: ~/ swupdate-from-image-file ./rm2_remarkable-production-image-3.27.3.0-rm2-public.swu ;echo $?
stat: can't stat '/sys/devices/platform/lpgpr/root_part': No such file or directory
Error opening lock file /var/lock/fw_printenv.lock
Error opening lock file /var/lock/fw_printenv.lock
SWUpdate v
Licensed under GPLv2. See source distribution for detailed copyright notices.
[INFO ] : SWUPDATE started : Software Update started !
[WARN ] : SWUPDATE running : [swupdate_create_directory] : Directory scripts/ cannot be created due to : File exists
[WARN ] : SWUPDATE running : [swupdate_create_directory] : Directory datadst/ cannot be created due to : File exists
[INFO ] : SWUPDATE running : Installation in progress
1Rebooting and trying again had a new error:
reMarkable: ~/ swupdate-from-image-file ./rm2_remarkable-production-image-3.27.3.0-rm2-public.swu ;echo $?
stat: can't stat '/sys/devices/platform/lpgpr/root_part': No such file or directory
Error opening lock file /var/lock/fw_printenv.lock
Error opening lock file /var/lock/fw_printenv.lock
SWUpdate v
Licensed under GPLv2. See source distribution for detailed copyright notices.
[INFO ] : SWUPDATE started : Software Update started !
[INFO ] : SWUPDATE running : Installation in progress
[ERROR] : SWUPDATE failed [0] ERROR : Error opening lock file /var/lock/fw_printenv.lock
[ERROR] : SWUPDATE failed [0] ERROR : execute postinstall scripts failed
[ERROR] : SWUPDATE failed [1] Installation failed !
[INFO ] : No SWUPDATE running : Waiting for requests...
1I tried installing 3.27.1.0 on the fallback partition instead so I would at least have a fallback and it also failed.
I had to extract an upgrade image and write it to the device as well as run the post install script myself. As part of this I found that /run/lock didn't exist, and that's what /var/lock points to, which I think is why this was failing.
I can provide you a support bundle if you need it.
Activity