pinephone, pinetab, etc devel chat | https://gitlab.com/pine64-org/ Bridged to #pinedev on Freenode and #pine-dev:matrix.org on Matrix
[M] <piggz> sailfish sets up that file to prevent critical processess being swapped
Читать полностью…[I] <megi> yeah https://github.com/systemd/systemd/blob/80ea2271913fdbe48b413759a46b4479b07579e1/src/shared/mount-setup.c#L106
Читать полностью…[I] <megi> and /sys/fs/cgroup is not yet moutned when tmpfiles runs
Читать полностью…[I] <megi> dunno, I don't seem to have noswapping in any of my /usr/lib/tmpfiles.d/ on arch linux
Читать полностью…[M] <piggz> becuase this service fails, it re-runs after the initial-bootstate serice, and clears the /run folder
Читать полностью…[M] <piggz> megi: so, i think this is the cause of the boot failure:
Читать полностью…[M] <piggz> And then print the file after its written
Читать полностью…[M] <piggz> this is the diff of the configs, nothing particularly jumps out to me https://www.diffchecker.com/6MSmBuV7/
Читать полностью…[M] <piggz> ok, i wont swap it then, ill take to bits, see if anything is obvious, and if not, order a spare!
Читать полностью…[M] <piggz> since i had the mod frame out, im not getting an image from the front cam
Читать полностью…[I] <dsimic> grep . /sys/devices/system/cpu/cpufreq/policy0/stats/trans_table
Читать полностью…[M] <piggz> megi: user reported that the cgroup/memory/noswapping exists on 6.11 but not 6.12...
Читать полностью…[I] <megi> I thought /sys/fs/cgroup is mounted by systemd daemon itself, before anything else, and not by any service though
Читать полностью…[I] <megi> I guess it's some special cgroup with swappiness set very low on your system?
Читать полностью…[M] <piggz> the error is a timing one / systemd issue .. 1, it shouldnt be trying to work with that folder, and 2), on the ppp, it boots by-chance, becuase the failing service on the pp starts later in the boot on the ppp
Читать полностью…[M] <piggz> Dec 02 20:31:33 PinePhone systemd-tmpfiles[2428]: Failed to create directory or subvolume "/sys/fs/cgroup/memory/noswapping": No such file or directory
Dec 02 20:31:33 PinePhone systemd[1]: systemd-tmpfiles-setup.service: Main process exited, code=exited, status=1/FAILURE
Dec 02 20:31:33 PinePhone systemd[1]: systemd-tmpfiles-setup.service: Failed with result 'exit-code'.
Dec 02 20:31:33 PinePhone systemd[1]: Failed to start Create Volatile Files and Directories.
[M] <piggz> And that showed the file content as expected!
Читать полностью…[M] <piggz> The program is a script, so i added some debug, to print the mount list, folder content etc
Читать полностью…[M] <piggz> megi: odd problem here, wondered if you had any idea .... kernel 6.11 working fine ... 6.12, with same config has this odd issue .... a service, systemd-bootstate fails to write its output to /run/systemd/boot-status/bootstate.... this causes some later services to fail to run correctly ... however, if i ssh into the device, i can restart that service and it runs correctly, and i can restart the other services and get things up again. but i cant see why the initial run fails
Читать полностью…[I] <megi> yes, different. selfie cam OV8858 other cam IMX258
Читать полностью…[M] <piggz> is the front camera on the ppp different to the pp? what module is it if i need to replace?
Читать полностью…[M] <piggz> today though, im trying to build a kernel for the volla22
Читать полностью…[I] <dsimic> which is similar to the trans_table for GPU devfreq, if you remember :)
Читать полностью…[I] <dsimic> @piggz : you can check is CPU DVFS working as expected by running something like this:
Читать полностью…