00:08
<
samueldr >
aaaaand, with a newly built image I cannot reproduce that weird issue... feels like chasing ghosts
00:09
<
samueldr >
(and I lost track of that weird image)
00:11
<
samueldr >
clever: what was the magic (if any) you found to get the raspberry pi firmware output debug stuff?
00:11
<
samueldr >
raspberry pi 4
00:13
Acou_Bass has quit [Ping timeout: 265 seconds]
00:17
Acou_Bass has joined #nixos-aarch64
00:30
ninjin has quit [Remote host closed the connection]
00:31
ninjin has joined #nixos-aarch64
00:40
<
clever >
samueldr: BOOT_UART=1 in bootconf.txt (in the eeprom), then uart_2ndstage=1 in config.txt
00:42
<
clever >
ah, older gist
00:43
<
clever >
better one
00:43
<
samueldr >
thank you very much, hopefully it'll help track down why it won't boot
00:43
<
clever >
samueldr: in this one, i show the new bootconf.txt, embed it into a bin, hash it, then create a recovery SD (its mounted on the laptop)
00:44
<
clever >
line 9 makes it netboot from my desktop, and line 11 makes it sets the boot order to include usb and ethernet as well
01:25
h0m1 has quit [Ping timeout: 260 seconds]
01:26
h0m1 has joined #nixos-aarch64
01:32
<
samueldr >
even though it tests fine, and everything, it could be that the usb drive is flaking on the pi4
01:34
<
clever >
samueldr: i tried to usb boot my rpi4, from a uSD in a usb reader, and it got to the login prompt, then had IO errors and failed
01:34
<
samueldr >
the "old" directory issue I had earlier was only checked on USB
01:34
<
samueldr >
and just now raspios didn't reboot right
02:23
<
samueldr >
:/ uart_2ndstage seems to do nothing (searched online and that's an option that exists that should be doing something)
02:23
<
clever >
samueldr: do you also have BOOT_UART in the eeprom?
02:23
<
samueldr >
Starting start4.elf @ 0xfec00200 partition 0
02:24
<
clever >
what does it output on boot?
02:24
<
samueldr >
that's the last of its messages
02:24
<
clever >
is the start4.elf and fixup4.dat from the same version?
02:24
<
samueldr >
I assume start4 is 2ndstage
02:24
<
samueldr >
btw, that's on a raspios image that fully boots that I'm validating assumptions first
02:25
<
clever >
can you double-check the hashes of start4.elf and fixup4.dat?
02:25
<
clever >
maybe they are corrupt?
02:25
<
clever >
but i know the bootcode does some validation of them...
02:25
<
samueldr >
it fully boots, I would assume it wouldn't if they were corrupt?
02:25
<
samueldr >
(and against what?)
02:25
<
samueldr >
ooh, that's "fun"
02:26
<
samueldr >
lba: 2048 oem: 'mkfs.fat' volume: ' V ^ '
02:26
<
samueldr >
that volume name doesn't look right to me
02:26
<
samueldr >
(now on my non-working card)
02:26
<
clever >
start4.elf has the elf headers checked over first, to make sure all the file offsets are within the bounds of the file
02:27
<
clever >
fixup4.dat is some kind of binary patch, against the entire elf file, and its first validated (offsets only i think)
02:27
<
clever >
then applied
02:27
<
clever >
and then the elf headers are re-checked
02:29
<
clever >
samueldr: you may need to do something with bluetooth config too...
02:29
<
samueldr >
yeah, documentation is a tad unclear
02:29
<
samueldr >
it may interfere
02:29
<
samueldr >
but it doesn't explain how
02:29
<
clever >
i believe the debug uart uses pll011
02:29
<
clever >
but the bluetooth also uses pl011
02:30
<
clever >
ah, found it
02:30
<
clever >
they removed uart_2ndstage from the rpi4, for "reasons"
02:30
<
samueldr >
>> On Linux "vcdbg log msg" will retrieve the logs
02:30
<
samueldr >
if only it booted
02:31
<
clever >
try using a firmware older then that change?
02:31
<
samueldr >
catch-22 if I want usb booting to work
02:31
<
clever >
you may now complain loudly on github, lol
02:32
<
samueldr >
and I'd have to guess to find a version with it, if any?
02:50
Acou_Bass has quit [Ping timeout: 265 seconds]
03:18
Acou_Bass has joined #nixos-aarch64
05:13
Acou_Bass has quit [Ping timeout: 256 seconds]
05:18
Acou_Bass has joined #nixos-aarch64
05:52
Valodim has quit [Ping timeout: 260 seconds]
06:47
<
craige_ >
Have there been any recent changes to the community server recently?
06:47
Acou_Bass has joined #nixos-aarch64
06:48
* craige_
is trying to identify why his local user can but root user cannot login.
06:52
tilpner has quit [Read error: Connection reset by peer]
06:52
tilpner has joined #nixos-aarch64
06:52
<
clever >
craige_: how does `ssh -vvv` differ between the 2 users?
06:52
<
craige_ >
I think I've sorted it.
06:53
<
craige_ >
Always the way, once you aska question :-)
06:55
<
craige_ >
Yep, sorted. I'd munged my NixOps keys somehow in the past <shakes fist at past craige>
07:25
<
samueldr >
the channel apparently updated more often since
07:25
<
samueldr >
it's a "one-at-a-time" configuration
07:26
<
samueldr >
not sure if it cancels what is running or not
07:26
<
samueldr >
(it's a new~ish thing for hydra)
07:26
<
samueldr >
or something else
07:26
<
betaboon >
I'm trying to compile go for armv7l but am failing to succeed :D
07:32
cole-h has quit [Quit: Goodbye]
07:58
ninjin has quit [Quit: reboot]
08:19
ninjin has joined #nixos-aarch64
08:27
Valodim has joined #nixos-aarch64
09:32
orivej_ has quit [Ping timeout: 260 seconds]
09:32
orivej has joined #nixos-aarch64
09:34
dguibert has joined #nixos-aarch64
09:53
orivej has quit [Ping timeout: 260 seconds]
09:53
orivej has joined #nixos-aarch64
10:10
nschoe has joined #nixos-aarch64
10:46
orivej has quit [Ping timeout: 264 seconds]
10:46
orivej has joined #nixos-aarch64
10:53
FRidh has joined #nixos-aarch64
10:55
orivej has quit [Ping timeout: 260 seconds]
10:55
orivej has joined #nixos-aarch64
11:35
Thra11 has quit [Ping timeout: 260 seconds]
11:49
Thra11 has joined #nixos-aarch64
12:27
Thra11 has quit [Ping timeout: 260 seconds]
12:31
orivej has quit [Ping timeout: 256 seconds]
12:31
orivej has joined #nixos-aarch64
12:40
Thra11 has joined #nixos-aarch64
12:41
dguibert has quit [Remote host closed the connection]
12:43
<
betaboon >
can anyone confirm that go_1_14 doesnt crosscompile for armv7l ? `nix build -f '<nixpkgs>' pkgsCross.armv7l-hf-multiplatform.go_1_14` ?
12:43
<
betaboon >
on nixos-unstable
12:47
orivej has quit [Ping timeout: 264 seconds]
12:50
alp has joined #nixos-aarch64
12:55
orivej has joined #nixos-aarch64
13:17
orivej has quit [Ping timeout: 264 seconds]
13:17
orivej_ has joined #nixos-aarch64
13:32
orivej_ has quit [Ping timeout: 246 seconds]
13:33
orivej has joined #nixos-aarch64
13:43
zupo has joined #nixos-aarch64
14:28
<
betaboon >
thefloweringash: ah thank you. that clears it up :) to bad tho
14:31
kloenk has joined #nixos-aarch64
14:43
zupo has joined #nixos-aarch64
14:55
dguibert has joined #nixos-aarch64
15:10
orivej has quit [Ping timeout: 258 seconds]
15:11
orivej has joined #nixos-aarch64
15:28
lordcirth has joined #nixos-aarch64
15:31
orivej has quit [Quit: No Ping reply in 180 seconds.]
15:33
orivej has joined #nixos-aarch64
15:42
orivej has quit [Quit: No Ping reply in 180 seconds.]
15:43
orivej has joined #nixos-aarch64
15:50
orivej has quit [Quit: No Ping reply in 180 seconds.]
15:51
orivej has joined #nixos-aarch64
16:07
orivej has quit [Ping timeout: 258 seconds]
16:08
orivej has joined #nixos-aarch64
16:32
orivej has quit [Ping timeout: 256 seconds]
16:36
Valodim has quit [Ping timeout: 260 seconds]
16:39
orivej has joined #nixos-aarch64
16:45
FRidh has quit [Ping timeout: 264 seconds]
16:46
FRidh has joined #nixos-aarch64
16:47
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:07
orivej has quit [Ping timeout: 246 seconds]
17:10
cole-h has joined #nixos-aarch64
17:13
quinn has joined #nixos-aarch64
17:23
alp has quit [Remote host closed the connection]
17:24
alp has joined #nixos-aarch64
17:40
ninjin has quit [Ping timeout: 240 seconds]
17:43
ninjin has joined #nixos-aarch64
18:08
alp has quit [Ping timeout: 272 seconds]
18:11
Thra11 has quit [Ping timeout: 246 seconds]
18:25
zupo has joined #nixos-aarch64
18:25
Thra11 has joined #nixos-aarch64
18:29
Thra11 has quit [Client Quit]
18:31
alp has joined #nixos-aarch64
19:11
Thra11 has joined #nixos-aarch64
19:16
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:18
zupo has joined #nixos-aarch64
19:22
Valodim has joined #nixos-aarch64
19:32
dguibert has quit [Ping timeout: 245 seconds]
19:56
alp has quit [Remote host closed the connection]
19:57
alp has joined #nixos-aarch64
20:22
pirboazo has joined #nixos-aarch64
20:22
pirboazo has left #nixos-aarch64 [#nixos-aarch64]
20:22
pirboazo has joined #nixos-aarch64
20:28
<
pirboazo >
I search info .
20:31
<
pirboazo >
I install on rpi 3 the linux-5.4.44-Image found on hydra , it work fine ;-)
20:32
<
pirboazo >
I try to upgrade with the commande nixos-rebuild .... but it is not good .
20:34
<
pirboazo >
is it possible ?
20:51
FRidh has quit [Quit: Konversation terminated!]
21:34
<
cript0nauta >
PirBoazo: it seems that your system ran out of memory and killed nix-build
21:35
<
cript0nauta >
that explains the 137 exit code
21:35
<
pirboazo >
Jun 08 20:51:33 nixos kernel: Out of memory: Killed process 1723 (nix-build) total-vm
21:35
<
pirboazo >
I just found this .... Jun 08 20:51:33 nixos kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=>
21:36
<
cript0nauta >
are you running some memory heavy process besides nix-build?
21:36
<
pirboazo >
no just nixos-rebuild ....
21:36
<
cript0nauta >
one option is to add a swap partition, but i wouldn't recommend it if you don't have an external HD
21:37
<
pirboazo >
no external device just SD card.
21:37
<
pirboazo >
it during this step : building ‘/nix/store/pm49rf4n0sg93vrl4cild7h3br0bq7na-nixos-manpages.drv’…
21:38
<
pirboazo >
perhaps 1GB is not enough for rebuild on aarch64
21:39
<
cript0nauta >
i'm using a rpi3 too and it builds its config without problems
21:40
<
pirboazo >
I push my configuration.nix on discourse ...
21:40
<
pirboazo >
do you use 20.03 ?
21:41
<
cript0nauta >
try setting the documentation.nixos.enable to false so it skips building the manpages
21:42
<
pirboazo >
Ok i try
21:42
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:49
<
pirboazo >
:-) seems better
21:49
<
pirboazo >
[root@nixos:/etc/nixos]# echo $?
21:49
<
pirboazo >
starting the following units: nscd.service, systemd-modules-load.service, systemd-sysctl.service, systemd-udevd-control.socket, systemd-udevd-kernel.socket
21:59
PirBoazo1 has joined #nixos-aarch64
22:01
pirboazo has quit [Ping timeout: 272 seconds]
22:02
PirBoazo1 is now known as PirBoazo
22:10
<
PirBoazo >
@cript0nauta :+1:
22:10
<
cript0nauta >
nice!
22:12
<
PirBoazo >
i go to bed.... and tomorow i try to install Xserver ...
22:13
<
cript0nauta >
it's strange that building the docs took so much ram though, it works ok in my raspi ¯\_(ツ)_/¯
22:15
<
PirBoazo >
have you install xserver also ?
22:21
PirBoazo has left #nixos-aarch64 [#nixos-aarch64]
22:29
fooker has quit [Ping timeout: 246 seconds]
22:30
Valodim has quit [Ping timeout: 272 seconds]
22:30
h0m1 has quit [Ping timeout: 272 seconds]
22:30
Valodim has joined #nixos-aarch64
22:32
h0m1 has joined #nixos-aarch64
22:36
<
cript0nauta >
it has xserer, but i'm using dwm that is very lightweight, maybe using a full desktop environment like kde caused the problem
22:39
fooker has joined #nixos-aarch64
22:39
dongcarl has joined #nixos-aarch64
22:47
Valodim has quit [Ping timeout: 260 seconds]
22:47
Valodim has joined #nixos-aarch64
22:48
fooker has quit [Ping timeout: 260 seconds]
22:58
fooker has joined #nixos-aarch64
23:05
alp has quit [Ping timeout: 272 seconds]
23:35
Valodim- has joined #nixos-aarch64
23:36
Valodim has quit [Ping timeout: 260 seconds]
23:36
Valodim- is now known as Valodim
23:52
orivej has joined #nixos-aarch64