[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SMP kernel on sparc64 working



Hi,

I've finally managed to set some time aside to test the latest installer images and kernel 6.4 on a Fire V215. I haven't had time to try it out on my Ultra 10 yet.

The good news is that the previous problems I had with SMP are now gone.
The SMP kernel was basically unusable before, crashing all over the place.
The second good news is that the installer worked very well. Expert mode was not needed.

The not-so-good-news is that I still get crashes occasionally, but it's possible that some hardware is at fault. Sadly, I don't have any replacement parts to test that theory. The V215 is very picky about RAM (requires buffered DDR-333 modules with ECC). I've attached logs from two kernel panics for reference. One happened at boot time, the other after some heavy compilation and debugging. Both aren't reproducible reliably, but they did happen a few times.

Since the machine is reasonably stable now, I wanted to take a look at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894726 - this fundamental issue basically prevents the whole Qt/KDE package suite from being built.

Do I understand correctly that this issue has been fixed in Qt6, and that Plasma 6 (which is expected to be released later this or next year) could make a comeback?

Would it make sense to invest more time into this and maybe try to backport https://codereview.qt-project.org/c/qt/qtdeclarative/+/453651 to Qt5? Or is there something that can be done on the Qt6 side?

Regards,
Gregor
[    3.890116] rtc_cmos rtc_cmos: error -ENXIO: IRQ index 0 not found                                                                                                                                                  
[    5.707698] Kernel panic - not syncing: corrupted stack end detected inside scheduler                                                                                                                               
[    5.810872] CPU: 1 PID: 115 Comm: (udev-worker) Not tainted 6.4.0-1-sparc64-smp #1  Debian 6.4.4-2                                                                                                                  
[    5.928884] Call Trace:                                                                                                                                                                                             
[    5.960962] [<0000000000de9614>] dump_stack+0x8/0x18                                                                                                                                                                
[    6.026274] [<0000000000ddd6a0>] panic+0xf4/0x35c                                                                                                                                                                   
[    6.088148] [<0000000000dec718>] switch_to_pc+0x5a0/0x5c8                                                                                                                                                           
[    6.159188] [<0000000000dec95c>] __cond_resched+0x3c/0x60                                                                                                                                                           
[    6.230228] [<0000000000701c10>] __kmem_cache_alloc_node+0x490/0x560                                                                                                                                                
[    6.313873] [<000000000069cb60>] kmalloc_trace+0x20/0xc0                                                                                                                                                            
[    6.383767] [<0000000010024de4>] usb_control_msg+0x24/0x120 [usbcore]                                                                                                                                               
[    6.468662] [<00000000100174c4>] hub_power_on+0x64/0x180 [usbcore]                                                                                                                                                  
[    6.550119] [<00000000100180a4>] hub_activate+0x804/0x980 [usbcore]                                                                                                                                                 
[    6.632722] [<000000001001f8dc>] hub_probe+0xedc/0xf40 [usbcore]                                                                                                                                                    
[    6.711887] [<000000001002a080>] usb_probe_interface+0xe0/0x300 [usbcore]                                                                                                                                           
[    6.801365] [<0000000000ab13a8>] really_probe+0x268/0x440                                                                                                                                                           
[    6.872404] [<0000000000ab160c>] __driver_probe_device+0x8c/0x180                                                                                                                                                   
[    6.952611] [<0000000000ab1728>] driver_probe_device+0x28/0xe0                                                                                                                                                      
[    7.029380] [<0000000000ab1878>] __device_attach_driver+0x98/0x120                                                                                                                                                  
[    7.110733] [<0000000000aaecb4>] bus_for_each_drv+0x74/0xc0                                                                                                                                                         
[    7.184078] Press Stop-A (L1-A) from sun keyboard or send break                                                                                                                                                     
[    7.184078] twice on console to return to the boot prom                                                                                                                                                             
[    7.184115] kernel BUG at kernel/cpu.c:1118!                                                                                                                                                                        
[    7.184132]               \|/ ____ \|/                                                                                                                                                                              
[    7.184132]               "@'/ .. \`@"                                                                                                                                                                              
[    7.184132]               /_| \__/ |_\                                                                                                                                                                              
[    7.184132]                  \__U_/                                                                                                                                                                                 
[    7.184135] swapper/0(0): Kernel bad sw trap 5 [#1]                                                                                                                                                                 
[    7.184143] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.4.0-1-sparc64-smp #1  Debian 6.4.4-2                                                                                                                        
[    7.184153] TSTATE: 0000004411e01604 TPC: 0000000000471898 TNPC: 000000000047189c Y: 0000000b    Not tainted                                                                                                        
[    7.184159] TPC: <cpuhp_report_idle_dead+0x78/0x80>                                                                                                                                                                 
[    7.184180] g0: 0000000000dea070 g1: 000000000115f038 g2: 000000000115f038 g3: 00000000000002e4                                                                                                                     
[    7.184185] g4: fff000000027d700 g5: fff000103e548000 g6: fff00000002b8000 g7: 000000000000000e                                                                                                                     
[    7.184190] o0: 0000000000f89aa8 o1: 000000000000045e o2: 0000000000000000 o3: 0000000000000001                                                                                                                     
[    7.184194] o4: 000000018fd3f500 o5: 000000000000000e sp: fff00000002bb481 ret_pc: 0000000000471890                                                                                                                 
[    7.184198] RPC: <cpuhp_report_idle_dead+0x70/0x80>                                                                                                                                                                 
[    7.184206] l0: 0000000000001000 l1: 0000004411001603 l2: 00000000004c3310 l3: 0000000000000400                                                                                                                     
[    7.184211] l4: 0000000000000000 l5: 0000000000000000 l6: 0000000000000000 l7: 0000000000000008                                                                                                                     
[    7.184215] i0: 000000000000000e i1: 0000000000000000 i2: 0000000000000000 i3: fff000103f800e68                                                                                                                     
[    7.184219] i4: fff000103e548000 i5: 00000000012b8e68 i6: fff00000002bb531 i7: 00000000004c3378                                                                                                                     
[    7.184223] I7: <do_idle+0x158/0x1a0>                                                                                                                                                                               
[    7.184236] Call Trace:                                                                                                                                                                                             
[    7.184239] [<00000000004c3378>] do_idle+0x158/0x1a0                                                                                                                                                                
[    7.184248] [<00000000004c367c>] cpu_startup_entry+0x1c/0x40                                                                                                                                                        
[    7.184256] [<0000000000440f28>] smp_callin+0xe8/0x120                                                                                                                                                              
[    7.184263] [<00000000010d8c14>] 0x10d8c14                                                                                                                                                                          
[    7.184271] [<0000000040000000>] 0x40000000                                                                                                                                                                         
[    7.184278] Caller[00000000004c3378]: do_idle+0x158/0x1a0                                                                                                                                                           
[    7.184285] Caller[00000000004c367c]: cpu_startup_entry+0x1c/0x40                                                                                                                                                   
[    7.184292] Caller[0000000000440f28]: smp_callin+0xe8/0x120                                                                                                                                                         
[    7.184297] Caller[00000000010d8c14]: 0x10d8c14                                                                                                                                                                     
[    7.184302] Caller[0000000040000000]: 0x40000000                                                                                                                                                                    
[    7.184307] Instruction DUMP:                                                                                                                                                                                       
[    7.184309]  9210245e                                                                                                                                                                                               
[    7.184312]  7ffedd14                                                                                                                                                                                               
[    7.184315]  901222a8                                                                                                                                                                                               
[    7.184317] <91d02005>                                                                                                                                                                                              
[    7.184319]  01000000                                                                                                                                                                                               
[    7.184321]  9de3bf50                                                                                                                                                                                               
[    7.184323]  01000000                                                                                                                                                                                               
[    7.184325]  3b00436e                                                                                                                                                                                               
[    7.184327]  901760c0                                                                                                                                                                                               
[    7.184330]                                                                                                                                                                                                         
[   10.013073] ---[ end Kernel panic - not syncing: corrupted stack end detected inside scheduler ]---                                                                                                                 
[Aug10 21:30] systemd-journald[234]: File /var/log/journal/411c5c9b1edf42029f47025f398896f5/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.                                                
[Aug10 21:43] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=739 'tst_qtgraphical'                                                                                                                           
[  +0.001512] tst_qtgraphical[739]: segfault at 0 ip fff0000103ba6844 (rpc fff000010184ec58) sp 000007feffea2471 error 1 in libc.so.6[fff0000103b00000+18c000]                                                         
[Aug10 22:41] tst_qtgraphical[929]: segfault at 0 ip fff0000103ba6844 (rpc fff000010184ec58) sp 000007feffcf2401 error 1 in libc.so.6[fff0000103b00000+18c000]                                                         
[Aug10 23:09] CPU[0]: Cheetah+ D-cache parity error at TPC[0000000000600ef4]                                                                                                                                           
[  +0.000028] TPC<bpf_check+0x14d4/0x3100>                                                                                                                                                                             
[ 6141.473264] Unable to handle kernel NULL pointer dereference                                                                                                                                                        
[ 6141.547901] tsk->{mm,active_mm}->context = 00000000000000b6                                                                                                                                                         
[ 6141.621259] tsk->{mm,active_mm}->pgd = fff000000a4c0000                                                                                                                                                             
[ 6141.690678] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009                                                                                                                                 
[ 6141.791543] Press Stop-A (L1-A) from sun keyboard or send break                                                                                                                                                     
[ 6141.791543] twice on console to return to the boot prom                                                                                                                                                             
[ 6141.938194] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009 ]---                                                                                                                   [  +0.675609] Unable to handle kernel NULL pointer dereference
[  +0.074637] tsk->{mm,active_mm}->context = 00000000000000b6
[  +0.073358] tsk->{mm,active_mm}->pgd = fff000000a4c0000
[  +0.068848]               \|/ ____ \|/
                            "@'/ .. \`@"
                            /_| \__/ |_\
                               \__U_/
[  +0.000005] systemd(1): Oops [#1]
[  +0.000011] CPU: 1 PID: 1 Comm: systemd Not tainted 6.4.0-1-sparc64-smp #1  Debian 6.4.4-2
[  +0.000010] TSTATE: 0000004411001602 TPC: 0000000000dd8e24 TNPC: 0000000000dd8e28 Y: 00000000    Not tainted
[  +0.000007] TPC: <arch_atomic64_sub_return+0x4/0x54>
[  +0.000018] g0: 0000000000000010 g1: 0000000100476000 g2: 0000000000000000 g3: 000000000000f000
[  +0.000007] g4: fff000000027ac00 g5: fff000103e748000 g6: fff000000023c000 g7: 0308000106000002
[  +0.000006] o0: 0000000000000001 o1: 0000000000000000 o2: 0000000000000001 o3: 0000000000000001
[  +0.000006] o4: 0000000000000002 o5: 0000000000010000 sp: fff000000023f2c1 ret_pc: 00000000005d8598
[  +0.000006] RPC: <bpf_prog_release+0x18/0xa0>
[  +0.000014] l0: 0000000000000000 l1: 0000000000000000 l2: 0000000000000000 l3: 0000000000000000
[  +0.000006] l4: 0000000000000000 l5: 0000000000000000 l6: 0000000000000000 l7: fff0000100dff588
[  +0.000006] i0: fff000000208ac80 i1: fff000001525ea00 i2: 0000000000000001 i3: fff000000023fbb8
[  +0.000006] i4: 0000000000000000 i5: 0000000000000000 i6: fff000000023f371 i7: 000000000072d148
[  +0.000006] I7: <__fput+0x88/0x2c0>
[  +0.000016] Call Trace:
[  +0.000004] [<000000000072d148>] __fput+0x88/0x2c0
[  +0.000011] [<000000000072d3ec>] ____fput+0xc/0x20
[  +0.000010] [<0000000000494438>] task_work_run+0x58/0xa0
[  +0.000010] [<000000000042eaf4>] do_notify_resume+0x534/0x600
[  +0.000016] [<0000000000404b48>] __handle_signal+0xc/0x30
[  +0.000011] Disabling lock debugging due to kernel taint
[  +0.000005] Caller[000000000072d148]: __fput+0x88/0x2c0
[  +0.000009] Caller[000000000072d3ec]: ____fput+0xc/0x20
[  +0.000010] Caller[0000000000494438]: task_work_run+0x58/0xa0
[  +0.000008] Caller[000000000042eaf4]: do_notify_resume+0x534/0x600
[  +0.000009] Caller[0000000000404b48]: __handle_signal+0xc/0x30
[  +0.000008] Caller[fff0000100ffac88]: 0xfff0000100ffac88
[  +0.000008] Instruction DUMP:
[  +0.000003]  106fffee 
[  +0.000005]  952ab001 
[  +0.000004]  94102001 
[  +0.000004] <c25a4000>
[  +0.000003]  8e204008 
[  +0.000004]  cff25001 
[  +0.000004]  80a04007 
[  +0.000004]  12600004 
[  +0.000003]  01000000 


Reply to: