Talk:Nintendo Switch (nintendo-nx)

From postmarketOS Wiki

It is not ramdisk loading problem, it is libfusion segfault problem

If you attach serial console on right Joycon slide, you can get this log from Switch

[   42.738117] Fusion Dispatch[8856]: unhandled level 0 translation fault (11) at 0x00010024, esr 0x92000004, in libfusion-1.7.so.7.0.0[ffff8fb22000+1b000]
[   42.738138] osk-sdl[8853]: unhandled level 0 translation fault (11) at 0x00000528, esr 0x92000004
[   42.751770] CPU: 0 PID: 8856 Comm: Fusion Dispatch Not tainted 4.16.0-rc1 #1-nintendo-nx
[   42.751771] Hardware name: Nintendo Switch (DT)
[   42.751774] pstate: 80000000 (Nzcv daif -PAN -UAO)
[   42.751778] pc : 0xffff8fb27af0
[   42.751779] lr : 0xffff8fb27ae8
[   42.751780] sp : 0000ffff8fa759b0
[   42.751782] x29: 0000ffff8fa759c0 x28: 0000ffff8fa75aa8 
[   42.751785] x27: 00000000007d0f00 x26: 0000ffff8fa5f000 
[   42.751788] x25: 0000ffff90187618 x24: 0000ffff901875b8 
[   42.751791] x23: 0000ffffe6bbcb30 x22: 0000ffff90187590 
[   42.760659] , in libSDL2-2.0.so.0.8.0[ffff9032f000+d6000]
[   42.768724] x21: 0000ffff8fa75a50 x20: 0000ffff901871c0 
[   42.768727] x19: 0000ffff90187620 x18: 0000ffff8fa7670b 
[   42.768730] x17: 0000ffff9049938c x16: 0000ffff8fb3dd90 
[   42.768733] x15: 000013498a6a8b11 x14: 00243d57f1768400 
[   42.768737] x13: 000000005b305602 
[   42.778034] x12: 0000000000000018 
[   42.778037] x11: 000000002ba03158 x10: 00000000ffffffff 
[   42.778040] x9 : 0000ffff8fa75bc0 x8 : 0000000000000062 
[   42.781179] CPU: 1 PID: 8853 Comm: osk-sdl Not tainted 4.16.0-rc1 #1-nintendo-nx
[   42.787612] Hardware name: Nintendo Switch (DT)
[   42.792909] x7 : 0000000000000000 x6 : 0000000000000000 
[   42.798212] pstate: 60000000 (nZCv daif -PAN -UAO)
[   42.803509] x5 : 0000000000000000 
[   42.808809] pc : 0xffff903d5b20
[   42.814193] x4 : 0000000000000000 
[   42.819493] lr : 0xffff903d5b20
[   42.819495] sp : 0000ffffe6bbcde0
[   42.819496] x29: 0000ffffe6bbcde0 x28: 0000000000000000 
[   42.824803] x3 : 0000000000000000 
[   42.830098] x27: 0000000000000000 x26: 0000000000000000 
[   42.835404] x2 : 0000ffff8fa759c0 
[   42.847483] x25: 0000000000000018 
[   42.852786] x1 : 0000000000000000 
[   42.860161] x24: ffffffffffffffe8 
[   42.864681] x0 : 0000000000010000 
[   42.869980] x23: 0000000000000018 x22: 0000000000000060 
[   42.927384] x21: 0000ffff90406c70 x20: 0000ffff901a7520 
[   42.932698] x19: 0000000000000000 x18: 0000ffff8fa7670b 
[   42.938007] x17: 0000ffff90496240 x16: 0000ffff90406f30 
[   42.943317] x15: 00000b8efbffed10 x14: 00244c9a31766b00 
[   42.948622] x13: 000000005b305602 x12: 0000000000000018 
[   42.953933] x11: 000000002ba7b90a x10: 00000000ffffffff 
[   42.959238] x9 : 0000000000000084 x8 : 0000ffff904e9038 
[   42.964547] x7 : 0000000000000001 x6 : 0000000000000001 
[   42.969852] x5 : 0000ffff90441cc0 x4 : 0000000000000000 
[   42.975162] x3 : 0000000000000012 x2 : 0000ffff9040dbc0 
[   42.980467] x1 : d509e695c3f78214 x0 : 0000ffff901a7520 

--Perillamint (talk) 22:23, 24 June 2018 (EDT)