!UUYziobKGGxpovWyAN:nixos.org

Robotnix

229 Members
Build Android (AOSP) using Nix | https://github.com/nix-community/robotnix69 Servers

Load older messages


SenderMessageTime
7 Jun 2024
@atemu12:matrix.orgAtemuYou need to migrate the disk state to the new keys though08:32:24
@atemu12:matrix.orgAtemuThere's an installable zip somwhere which can do this08:34:11
@jaen:matrix.orgjaen Atemu: is there anything else blocking https://github.com/nix-community/robotnix/pull/236 or could we maybe merge it? I have also rebased https://github.com/nix-community/robotnix/pull/237 on top of it (and used the commit format you seem to prefer). Hopefully it will be easier to merge (unless there's something we'd want to wait for before it?). I have also finally made a PR for the changes to re-enable basic CI (https://github.com/nix-community/robotnix/pull/239), but that might require some more discussion. 11:30:04
@atemu12:matrix.orgAtemuNo, just me needing to find the time to take a proper look14:10:37
@erahhal:matrix.orgerahhal I occasionally get ninja: build stopped: subcommand failed. I assume this is due to lack of resources, as it happens less when I unload all desktop apps, and also it's non-deterministic and doesn't seem to be associated with a particular compilation failure. Tried using the -j and --cores flags with nix build. Any other tips to address this? My machine as 32gb memory and 12 cores. 15:37:41
@jaen:matrix.orgjaen If you have /tmp backed by tmpfs you might want to either buy 3x more RAM or back it by a block device. If you don't, then I'm not sure what that could be off-hand 15:42:44
@jaen:matrix.orgjaen * If you have /tmp backed by tmpfs you might want to either buy 3x more RAM or back it by a block device instead. If you don't, then I'm not sure what that could be off-hand 15:43:03
@erahhal:matrix.orgerahhal thx. Doesn't appear to be using tmpfs. 15:54:26
@atemu12:matrix.orgAtemu erahhal: Check dmesg whether the OOM killer reaped a process 16:12:05
@atemu12:matrix.orgAtemuMake sure you have swap16:12:16
@atemu12:matrix.orgAtemuEven with 32G16:12:37
@erahhal:matrix.orgerahhalYup, got swap16:32:18
@eyjhb:eyjhb.dkeyJhbzramswap! That's what saved my life16:34:13
@erahhal:matrix.orgerahhalthank you i will try that!16:38:02
@atemu12:matrix.orgAtemuDon't combine zram and physical swap16:39:16
@erahhal:matrix.orgerahhalOk, definitely wont16:41:04
@erahhal:matrix.orgerahhalI'm using zfs btw, wonder if it's related16:45:31
@atemu12:matrix.orgAtemuI had Android builds trigger ZFS incompatibilities with newer kernels before16:46:54
@atemu12:matrix.orgAtemuAgain, check dmesg whether an OOM event occured first16:47:05
@erahhal:matrix.orgerahhalNo OOMs16:48:39
@atemu12:matrix.orgAtemuThen check the logs why it's actually failing16:48:53
@atemu12:matrix.orgAtemuWhich kernel are you ono?16:48:58
@atemu12:matrix.orgAtemu * Which kernel are you ono16:49:00
@atemu12:matrix.orgAtemu * Which kernel are you on?16:49:04
@erahhal:matrix.orgerahhal A lot of these: [103533.864202] systemd-journald[1122]: Under memory pressure, flushing caches. 16:49:16
@erahhal:matrix.orgerahhalRedacted or Malformed Event16:49:22
@erahhal:matrix.orgerahhal6.816:49:26
@erahhal:matrix.orgerahhalNothing in build logs other than the ninja line above16:49:53
@atemu12:matrix.orgAtemuThere is, just further up16:50:07
@erahhal:matrix.orgerahhalNo, I lied, I found an OOM in dmesg16:50:45

Show newer messages


Back to Room ListRoom Version: 6