mobile-nixos icon indicating copy to clipboard operation
mobile-nixos copied to clipboard

Pinephone installer img from Hydra not working?

Open Thatoo opened this issue 1 year ago • 14 comments

I'm trying to install nixos on Pinephone.

I installed Tow-Boot as instructed and then I have tried to boot the installer image from the SD card. Hold down the volume down button during boot until LED switched to aqua color. Then it switched to green and the screen turned on, but then it starts flashing green/red (or yellow? hard to tell), the screen turns off and the phone restarts. Then I can hold the volume down again to repeat or boot to OS already installed on emmc.

This seems like the the installer image is corrupted and could not be loaded. I have tried two latest versions (256359746 and 256329516 and 256260143 and 255709382) with the same results. Is there a known-to-be-working version I can try? Am I doing something wrong?

Thatoo avatar Apr 16 '24 20:04 Thatoo

full log attached, kernel panic :

**********************************[    4.127129] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[    4.135246] CPU: 0 PID: 1 Comm: loader Tainted: G        W          6.0.12 #1-mobile-nixos
[    4.143507] Hardware name: Pine64 PinePhone (1.2) (DT)
[    4.148642] Call trace:
[    4.151087]  dump_backtrace+0xd8/0x120
[    4.154850]  show_stack+0x18/0x50
[    4.158168]  dump_stack_lvl+0x64/0x80
[    4.161833]  dump_stack+0x18/0x34
[    4.165147]  panic+0x154/0x31c
[    4.168203]  do_exit+0x8dc/0x8e0
[    4.171436]  do_group_exit+0x34/0xb0
[    4.175014]  __arm64_sys_exit_group+0x18/0x20
[    4.179371]  invoke_syscall+0x48/0x110
[    4.183125]  el0_svc_common.constprop.0+0x50/0x184
[    4.187915]  do_el0_svc+0x2c/0xbc
[    4.191231]  el0_svc+0x34/0x104
[    4.194374]  el0t_64_sync_handler+0x114/0x120
[    4.198730]  el0t_64_sync+0x19c/0x1a0

pinephone-log.txt

theotheroracle avatar Apr 18 '24 02:04 theotheroracle

As reported in the matrix room by @theotheroracle, first failing build:

  • https://hydra.nixos.org/build/249525976

Mapping to only a Nixpkgs change faf912b0..f8e2ebd6.

samueldr avatar Apr 19 '24 00:04 samueldr

Early logging started...

**********************************[    3.010880] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
    * 3.01*0*8*9*7
 C* ContinPU: 3 PID: 1 Comm: loader Tainted: G        W          6.0.12 #1-mobile-nixos
[    3.010907] Hardware name: Pine64 PinePhone (1.2) (DT)
[    3.010911] Call trace:
uing with stage-[    3.010914]  dump_backtrace+0xd8/0x120
[    3.041428]  show_stack+0x18/0x50
[    3.041437]  dump_stack_lvl+0x64/0x80

**************[    3.041445]  dump_stack+0x18/0x34
****************[    3.054457]  panic+0x154/0x31c
*********

/[    3.058889]  do_exit+0x8dc/0x8e0
loader: /nix/sto[    3.063494]  do_group_exit+0x34/0xb0
re/qgkvfwign4vbv[    3.068446]  __arm64_sys_exit_group+0x18/0x20
ilmzf9waajgkiy7h[    3.074177]  invoke_syscall+0x48/0x110
mv7-extra-utils-[    3.079302]  el0_svc_common.constprop.0+0x50/0x184
pine64-pinephone[    3.085466]  do_el0_svc+0x2c/0xbc
-extra-utils/lib[    3.090158]  el0_svc+0x34/0x104
/libstdc++.so.6:[    3.094676]  el0t_64_sync_handler+0x114/0x120
 version `GLIBCX[    3.100408]  el0t_64_sync+0x19c/0x1a0
X_3.4.29' not fo[    3.105450] SMP: stopping secondary CPUs
und (required by[    3.110751] Kernel Offset: disabled
[    3.115609] CPU features: 0x0000,00300020,00001086
[    3.120398] Memory Limit: none
[    3.123470] Rebooting in 5 seconds..

Seems to be some sort of glibc issue?

RossComputerGuy avatar May 01 '24 14:05 RossComputerGuy

Hi, is this still an issue? I've tried recently, and it didn't boot for me

ThePotatoChronicler avatar May 14 '24 18:05 ThePotatoChronicler

Hi, is this still an issue?

Well the issue is open and I haven't seen anything to indicate that this was fixed. I still have this issue so it's still an issue.

RossComputerGuy avatar May 14 '24 18:05 RossComputerGuy

Mine doesnt boot either so this is still an issue.

nikp123 avatar Jun 02 '24 15:06 nikp123

Build 2023-11-15 from https://hydra.nixos.org/build/240858709 is working.

donovanglover avatar Jun 12 '24 03:06 donovanglover

True but then we can't update to 24.05 because the pinephone emmc run out of space : https://github.com/NixOS/mobile-nixos/issues/718

Thatoo avatar Jun 12 '24 08:06 Thatoo

Build https://hydra.nixos.org/build/263142132 is not working either as of 2024-06-13.

Luis-Licea avatar Jul 18 '24 04:07 Luis-Licea

All build had failed since then and no more build since 2024-07-11. So the last working build is still https://hydra.nixos.org/build/248923440 from 2024-02-07.

Thatoo avatar Aug 31 '24 10:08 Thatoo