orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
<c00w>
Anyone here know how to tell nix-build to compile an aarch64 package? I'm trying to set up my rpi as a aarch64 builder for nix (running on a x86 machine).
<c00w>
And I'm not seeing a way to tell nix-build, hey build this for aarch64 instead of x86_64
<clever>
c00w: set the system arg when you import nixpkgs
<clever>
nix-build '<nixpkgs>' --argstr system aarch64-linux -A nix
t184256 has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
t184256 has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
t184256 has left #nixos-aarch64 ["Error from remote client"]
t184256 has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
<patagonicus>
Meh. After a reboot my SATA SSD isn't detected by the HC2. I thought this was the known problem that HDDs are not properly shut down when the board is shut down, but the fix for that (using hdparm -Y to put the disk to sleep) doesn't help with rebooting the SSD.
t184256 has joined #nixos-aarch64
pbb has quit [Remote host closed the connection]
<patagonicus>
Maybe I should try with a HDD instead of an SSD. But that's a really annoying problem - I want to be able to automatically reboot for kernel updates. If I have to manually unplug the power for that, that's no good.
t184256 has left #nixos-aarch64 ["Error from remote client"]
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos-aarch64
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
t184256 has joined #nixos-aarch64
orivej has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
t184256 has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
t184256 has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
<patagonicus>
The Hardkernel Ubuntu doesn't have that problem. I guess I'll have to check what patches they have in their kernel and then compare kernel settings - or does anyone have an idea what might be broken?
<patagonicus>
The device is still showing up (i.e. I have /dev/sda), but I can't access it. There's a few error messages in dmesg, I'll grab them real quick.
<patagonicus>
Hmm, there was something about an update for the SATA bridge firmware. But considering it doesn't happen on Ubuntu …
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-aarch64
zupo has joined #nixos-aarch64
<patagonicus>
Yeah, no, already at the newest version.
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
t184256 has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
t184256 has joined #nixos-aarch64
pbb has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 240 seconds]
zupo has joined #nixos-aarch64
orivej has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
<srk>
maybe you can kexec as well :D
<patagonicus>
Heh
<sphalerite>
oh yeah, I have an unrebootable device too. It is a pain :)
<srk>
esp8266 + relay :D
<srk>
cheapo ipmi, you can use it as a wifi serial bridge as well :)
<patagonicus>
Mine's bootable, but only once without unplugging power. :D
<patagonicus>
Well, even that is not true, it boots off of an MicroSD card and that works, but considering I want to use it as network storage with a big HDD and that doesn't work after a reboot …
<patagonicus>
Mainline 4.14.47 doesn't boot - at least not with the defconfig from the Hardkernel fork. Let's try current kernel with the settings from Hardkernel.
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
dtz has left #nixos-aarch64 ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
patagonicus42 has joined #nixos-aarch64
patagonicus has quit [Quit: patagonicus]
patagonicus42 is now known as patagonicus
patagonicus has quit [Client Quit]
patagonicus42 has joined #nixos-aarch64
patagonicus has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
<lopsided98>
My ODROID-XU4 refuses to warm reboot. It just hangs early in the kernel. Same with my RockPro64...
<lopsided98>
It also becomes unstable when the little cores run at 1.5GHz, presumably because the core voltage is too low
<grw1>
fwiw my hc1 does warm reboot ok, although i have nothing connected to sata port
rajivr has quit [Quit: Connection closed for inactivity]
bennofs_ has joined #nixos-aarch64
bennofs has quit [Ping timeout: 260 seconds]
hoverbear has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
alp has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
alp has joined #nixos-aarch64
<patagonicus>
Well, yeah, my hc2 also reboots fine - except for the SATA port. But I have an image that works fine, I "just" have to figure out what to change in my nixos setup to make it work.
<patagonicus>
Hmm. Current NixOS kernel with Hardkernel defconfig also doesn't work (but at least it boots).
<patagonicus>
Tomorrow I'll try building the Hardkernel 4.14 kernel. If that also doesn't work it's probably some script that runs on shutdown or something.
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
cole-h has quit [Quit: Goodbye]
globin has quit [Ping timeout: 272 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
globin has joined #nixos-aarch64
quinn_ has quit [Ping timeout: 240 seconds]
pbb has quit [Read error: Connection reset by peer]
pbb has joined #nixos-aarch64
quinn has joined #nixos-aarch64
<cript0nauta>
patagonicus: it's great to see other HC2 users!
<cript0nauta>
i'm using NixOS lxd containers inside ubuntu, but I want to switch to a full NixOS soon
<cript0nauta>
just to know, where did you get (or build) your working image?