02:49
h0m1 has quit [Ping timeout: 240 seconds]
02:51
h0m1 has joined #nixos-aarch64
03:17
cptchaos83 has joined #nixos-aarch64
03:47
h0m1 has quit [Ping timeout: 240 seconds]
03:49
h0m1 has joined #nixos-aarch64
04:02
wavirc22_ has quit [Ping timeout: 255 seconds]
04:05
wavirc22 has joined #nixos-aarch64
05:05
lovesegfault has quit [Quit: WeeChat 2.7.1]
05:32
lovesegfault has joined #nixos-aarch64
06:32
Danct12[m] has joined #nixos-aarch64
06:36
<
Danct12[m] >
any server for asking help with nixos-mobile porting?
06:36
<
Danct12[m] >
channels*
06:37
<
thefloweringash >
this is the place
06:40
<
Danct12[m] >
will nixos uses x11? or just wayland?
06:41
<
Danct12[m] >
* will nixos mobile uses x11? or just wayland?
06:44
lovesegfault has quit [Quit: WeeChat 2.7.1]
06:46
lovesegfault has joined #nixos-aarch64
07:11
<
insep[m] >
well, i'll ask a question too then
07:11
<
insep[m] >
is it possible to use 3.10 kernel mobile-nixos?
08:16
<
clever >
insep[m]: depends on the device, and if it works on that version
08:17
<
insep[m] >
ok, i've asked since i've heard about systemd working only on kernels 3.17+
08:17
<
clever >
insep[m]: some devices lack any drivers in source form, and must use whatever kernel the device originally ran with
08:18
<
clever >
insep[m]: others have a kernel fork without upsreamed drivers, and must run from that fork
08:21
lovesegfault has quit [Quit: WeeChat 2.7.1]
08:23
orivej has joined #nixos-aarch64
08:54
zupo has joined #nixos-aarch64
09:03
lovesegfault has joined #nixos-aarch64
09:27
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:43
kenji has joined #nixos-aarch64
11:22
ZoomZoomZoom has joined #nixos-aarch64
11:25
ZoomZoomZoom has quit [Remote host closed the connection]
11:27
lovesegfault has quit [Ping timeout: 272 seconds]
11:29
lovesegfault has joined #nixos-aarch64
12:59
orivej has quit [Ping timeout: 265 seconds]
13:01
Acou_Bass has joined #nixos-aarch64
14:19
zupo has joined #nixos-aarch64
14:31
<
insep[m] >
clever: can you explain a little bit more?
14:32
<
insep[m] >
btw i have pmos running on that device, curious to try mobile-nixos
14:47
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:52
zupo has joined #nixos-aarch64
15:00
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:27
bennofs has joined #nixos-aarch64
16:39
<
samueldr >
insep[m]: you'll probably end up using the OEM's kernel source tree, and yes, it should be possible to use 3.10
16:39
orivej has joined #nixos-aarch64
16:39
<
samueldr >
Danct12[m]: it's kind of hard to answer the question, it's like "will nixos [non-mobile] use X11 or wayland?"
16:40
<
insep[m] >
<samueldr "insep: you'll probably end up us"> thanks!
16:40
<
samueldr >
the main goal of Mobile NixOS is to allow the user to configure the system just like they do with non-mobile nixos
16:40
<
samueldr >
it won't prescribe a specific way to use the device
16:41
<
samueldr >
though, part of the goals is to package mobile [desktop] environments, those will probably kind of dictate what you can do with it
16:43
<
samueldr >
insep[m]: just looked, asus-z00t uses a 3.10 kernel, and system starts
16:43
<
samueldr >
systemd*
16:43
<
samueldr >
though I you're also right in that it lacks some features
16:43
<
samueldr >
it will need some workarounds for some services to start
16:43
<
insep[m] >
then i'll just wait until armv7 works in nixos :)
16:57
orivej has quit [Quit: No Ping reply in 180 seconds.]
16:59
orivej has joined #nixos-aarch64
17:00
<
misuzu >
thefloweringash: wow!
17:00
<
thefloweringash >
also watch #82051, which I think is the last piece of the puzzle before builds can start
17:18
orivej has quit [Ping timeout: 260 seconds]
17:25
t184256 has left #nixos-aarch64 [#nixos-aarch64]
17:26
t184256 has joined #nixos-aarch64
17:40
t184256 has left #nixos-aarch64 ["Error from remote client"]
17:40
t184256 has joined #nixos-aarch64
17:59
ryantrinkle has quit [Ping timeout: 258 seconds]
18:00
ryantrinkle has joined #nixos-aarch64
18:30
<
gchristensen >
,tofu
18:30
<
{^_^} >
To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
18:32
<
samueldr >
about 82051, I don't have an armv7l setup ready to do a native build to test the native build, but going from the comments, once all addressed, I don't see anything wrong
18:35
<
thefloweringash >
We could maybe dodge tofu by splitting busybox into fetch without executable, and then runCommand to copy and chmod +x.
18:35
<
gchristensen >
can you runCommand without a busybox?
18:36
<
gchristensen >
this is pretty ... early
18:36
<
thefloweringash >
That’s the part I’m not sure about
18:38
<
thefloweringash >
`builder = bootstrapFiles.busybox;` well then, that seems like a no
18:40
<
samueldr >
will the armv7l jobset be pointing to staging so it can be tested earlier? or another jobset for staging?
18:41
<
gchristensen >
staging already merged
18:41
<
gchristensen >
this PR is to master, and we'll get builds immediately :)
18:41
<
samueldr >
ah, great then :)
18:41
<
{^_^} >
#82051 (by grahamc, 5 hours ago, open): stdenv: update ARM bootstrap tarballs
18:42
<
gchristensen >
can y'all double-check?
18:46
<
samueldr >
I don't see anything wrong
18:49
adisbladis has quit [Quit: WeeChat 2.4]
18:50
<
thefloweringash >
I think you need the `name = "busybox"` in the busyboxes
18:52
<
samueldr >
(but I can't test)
18:52
adisbladis has joined #nixos-aarch64
18:53
<
gchristensen >
eh? really?
18:53
<
gchristensen >
it builds here as-is, and it other thing don't already have `name = ...`
18:54
<
thefloweringash >
which step builds?
18:55
<
gchristensen >
nix-build pkgs/stdenv/linux/bootstrap-files/armv{5tel,6l,7l}.nix; nix-build pkgs/stdenv/linux/bootstrap-files/armv{5tel,6l,7l}.nix --check
18:56
<
thefloweringash >
ah, right, the build that fails is the other side: unpacking them on armv7l (and friends, I assume)
18:57
<
gchristensen >
does that change the hash?
18:57
<
thefloweringash >
doesn't seem to, but double check me
18:57
<
gchristensen >
does bootstrapTools need a name?
18:58
<
thefloweringash >
not as far as I can tell
18:59
<
gchristensen >
I wonder how those directory hashes are invented
19:03
<
thefloweringash >
seems to be the git commit that produced the builds
19:05
<
thefloweringash >
with the explicit `name="busybox"` it's building, so seems good
19:05
<
gchristensen >
I feel a bit brain-dead to follow vcunat's instructions
19:07
<
gchristensen >
I don't feel rushed to merge, though, and pointed the jobset to the branch
19:14
<
samueldr >
yeah, that's why, even though it happens approximately only once every three years, it should be somewhat automated so it can be done trivially
19:14
<
gchristensen >
and reproducibly :)
19:15
<
samueldr >
hopefully
19:18
adisbladis has joined #nixos-aarch64
19:19
<
gchristensen >
it would be cool if the cross-built and native-built bootstraps were hash-identical :)
19:24
<
gchristensen >
after a mass rebuild, it takes a significant amount of time for the queue runner to load all the queued builds in to its datastructure
19:45
h0m1 has quit [Quit: WeeChat 2.7.1]
19:46
h0m1 has joined #nixos-aarch64
20:24
zupo has joined #nixos-aarch64
21:04
orivej has joined #nixos-aarch64
21:11
vika_nezrimaya has joined #nixos-aarch64
21:17
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:27
zupo has joined #nixos-aarch64
21:29
<
gchristensen >
thefloweringash: can you send me a follow-up PR?
21:37
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:51
<
gchristensen >
EFI stub: Booting Linux Kernel...
22:51
<
gchristensen >
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied
22:51
<
gchristensen >
EFI stub: Generating empty DTB
22:51
<
gchristensen >
EFI stub: Exiting boot services and installing virtual address map...
22:51
<
gchristensen >
[...]
22:51
<
gchristensen >
[ 4.414536] RAMDISK: incomplete write (11176 != 17225)
22:51
<
gchristensen >
[ 4.419670] write error
22:51
<
gchristensen >
[ 4.422193] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
22:51
<
gchristensen >
gotten this 2x in a row
22:52
<
clever >
gchristensen: i think your low on ram, and the initrd cant fit in ram
22:52
<
gchristensen >
unlikely
22:53
<
clever >
how much ram? how big of an intird?
22:53
<
gchristensen >
1567.53mb vs. 128gb
22:54
<
clever >
yeah, thats unlikely
22:56
<
gchristensen >
I'll assume something went weird in transfer and rebuild it
22:57
<
samueldr >
gchristensen: the ramdisk is bigger, right?
22:57
<
samueldr >
it might not fit between different in-memory structures
22:57
<
gchristensen >
I'm not sure how to answer that question
22:58
<
clever >
there are 2 modes linux supports
22:58
<
clever >
one is a compressed ext2 disk image, that gets jammed into a real ramdisk
22:58
<
samueldr >
the initial question is easy: is that initrd bigger than the previously successful boots?
22:58
<
clever >
the one nixos uses, is a compressed cpio archive, which gets unpacked to a tmpfs
22:58
<
samueldr >
that's the second one here, RAMDISK
22:59
<
samueldr >
I had the same exact error, different cause, during the week
22:59
<
clever >
the naming has been a bit confusing, because i think grub uses the smae name for both, since that stage doesnt care
22:59
<
samueldr >
IIRC this can be anything that caused it to decompress wrongly
23:01
<
gchristensen >
seems to be 194M bigger... what did I do to make it bigger... hrm
23:04
<
clever >
gchristensen: how big is it after decompressing?
23:04
<
gchristensen >
will check shortly, if this next rebuild doesn't just fix it :)
23:18
<
gchristensen >
crashed again. better look after dinner
23:32
<
samueldr >
oops, I was culling my browser tabs and here it is "RAMDISK: incomplete write" lol
23:33
<
samueldr >
it might need ramdisk_size=... which may take XXM for megabytes
23:35
<
samueldr >
>> ramdisk_size
23:35
<
samueldr >
This is now obsolete, and should not be used.
23:35
<
samueldr >
though could be coming from the EFI
23:47
andi- has quit [Ping timeout: 272 seconds]
23:52
<
clever >
samueldr: when using device-tree, you just pass linux the address for the first and last byte in ram, and then linux takes care of the rest