Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetBSD 10-Stable RaspberryPi 4 and UEFI v.1.39 not working ok #267

Open
ea4nz opened this issue Dec 5, 2024 · 1 comment
Open

NetBSD 10-Stable RaspberryPi 4 and UEFI v.1.39 not working ok #267

ea4nz opened this issue Dec 5, 2024 · 1 comment

Comments

@ea4nz
Copy link

ea4nz commented Dec 5, 2024

Hello

I have been using successfuly my RPi4 for months with UEFI firmware
v1.37 from https://github.com/pftf/RPi4. It is solid rock. I have
updated to NetBSD-10 Stable from source twice, one around october and
one time more at the end of november by using binary sysupgrade path
and appeared to be working fine.

netbsd-raspa4$ uname -a
NetBSD netbsd-raspa4 10.0_STABLE NetBSD 10.0_STABLE (GENERIC64) #0:
Thu Nov 28 16:37:05 UTC 2024
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64
evbarm

I have just upgraded UEFI firmware to v1.39 by uncompressing it over
/boot and NetBSD does not work well with it. First time I booted into
the system it appeared to work but when I issued "reboot" kernel
paniced. I rebooted again and wanted to do a pkgin update and pkgin
upgrade and in the middle of firefox upgrading it paniced again. It
definitely does not work ok.

So I came back to UEFI v1.37 and it appears to be working fine again.

Also have noted some strange things that occured not frequently before
I did any firmware upgrade, also when using NetBSD-10.0 RELEASE.
Sometimes after the reboot command the RPI4 did not come to life. I
had to manually remove the power supply twice because it continued to
be stuck and never saw the raspberry image boot screen that usually
comes before the NetBSD loader comes.

Regards.
Ramiro.

@ea4nz
Copy link
Author

ea4nz commented Dec 11, 2024

Hello,

I used an OCR app in my phone to convert the screen captures that I
shot, just in case you can pick useful information:

[1/4] SDL2-2.30.7nb1.tgz
[2/4] firefox-esr-115.tgz
[3/4] firefox115-115.18.0.tgz
100% 1971KB 1.9MB/s 00:01
100% 1524 1.5KB/s
61% 4.3MB 1.5MB/s
283.83591691 panic: Trap: fatal Misaligned PC: pc-000000006750915e
sp=ffffc0026741bd00 esr-8a000000
[ 283.8359169] cpul: Begin traceback...
[ 283.83591691 trace fp ffffc0026741b880
[ 283.8359169] fp ffffc0026741b8b8 vpanic() at ffffc000004f85f8
netbsd:vpanic+0x178
[ 283.83591691 fp ffffc0026741b910 panic() at ffffc000004f8704 netbsd panic+0x44
[ 283.83591691 fp ffffc0026741b9a0 trap_ellh_sync() at
ffffc000000a8838 netbsd:trap_ellh_sync+0x98
[ 283.8386735] tf ffffc0026741b9d0 ell_trap() at ffffc000000aaf84
netbsd:ell_vectors+0x784
[ 283.83867351
[ 283.83867351
[ 283.83867351
I 283.83867351
[ 283.8386735]
Misaligned PC: trapframe Oxffffc0026741b9d0 (304 bytes)
pc=000000006758915e.
esr=000000008a000000,
xE=EEEEEEGEEDDOME.
x2=ffffc0026741b978,
x4=ffffc0026741ba87,
x6-00000000ff07ffff,
x8=00000000003b0038,
spsr=000000000000005
far=000000006750915e
x1-0000000000000977
x3=0000000000000000
[
[ 283.8386735]
[ 283.83867351
I 283.83867351
[ 283.8386735]
283.8386735]
[ 283.83867351
[ 283.83867351
[ 283.83867351
[ 283.83867351
[ 283.8386735]
I 283.8386735]
x5=00000008707010900
x7=ffffffffffffffff
x9=00000000003b0000
x10=ffffc0026741b970,
x11=00000000000009fa
x12=ffffc0026741b9d8,
x13=ffffc0026741ba87
x14-0000000000000001,
x15=00000000000a6918
x16-0000000200357760,
x18=90000000000000db,
x20=ffffc00001115000,
x22=ffffc00001115e50,
x17-0000f35a5bc250c0
x19=ffffc0026741bd00
x21-8000000000049007
x23=ffffc0026741bed0
x24=500EADbuedodular,
x25=ffffc0026741be70
I 283.8386735)
x26-0000000000000001,
x27-000000000a26fae8
[ 283.8386735]
00:00
00:18 ETA[
x28=0000000000000002, fp-x29=ffffc0026741bce0
[ 283.8386735] Ir-x30-000000006750915e,
[ 283.8386735]
[ 283.83867351 cpul: End traceback...
I 283.83867351 reboot ing...
[3/4] firefox115-115.18.0.tgz
sp=ffffc0026741bd00
62% 44MB 1.3MB/s 00:19 ETA

Kernel debbuger was alive but sorry, I was not able to issue useful
commands. If required I can do it again.

[ 283.8386735]
[ 283.83867351 Ir-x30-000000006750915e,
[ 283.83867351
x28=0000000000000002, fp-x29-ffffc0026741bceu
sp=ffffc0026741bd00
[ 283.83867351 cpul: End traceback...
62% 44MB 1.3MB/s 00:19 ETA
1dp
x29, x30
I 283.83867351 reboot ing...
[3/4] firefox115-115.10.0.tgz
Stopped in pid 0.5 (system) at netbsd:cpu_Debugger+0xc:
[spl,#16
db{8}> bt
trace tf Oxffffc00001116000
BKPT Instruction Execution: trapfrane Bxffffc00001116000 (304 bytes)
pc=ffffc00000093cfc,
spsr=0000000060000005
far-0000f35a5bffcd68
esr-00000000f200ffff,
x8-0000000000000001,
x1-000000000000fff4
x2-8000000000000029,
x3-000000000000000a
x4-0000000000000000,
x5-0000000000000007
x6-ffffc08255dff890,
x7=ffffc00255999d10
x8-0000000000000004,
x9-0000000000000010
x10-ffffc000000a8dd4,
x11-ffffc0000009e984
x12-0000000000000000,
x13-ffffffffffffffe8
x14-8000000000000020,
x15-ffffc0000111c384
x16-ffffc00000003840,
x17-1a97d85e4dfa798a
x18-d404b34b89312fb8,
x19-ffffc00001128940
x28-000000000000f420,
x21-0000000000000082
x22-ffff0001fd189800,
x23-ffff0001fd1411aa
x24-0000000000000000,
x25-0000000000000000
x26-ffffc000001921c0,
x27-ffffc00041769000
x28-000000000000000d, fp-x29=ffffc00255dff7b0
Irx30 ffffc000003c2398,
sp=ffffc00255dff7b0
fp frfree25ff7b0 cpu Debugger() at ffffc00000093cf8 netbsd:cpu Debugger+0x
db More-

Regards.
Ramiro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant