I've also been able to confirm that this happens with Kernel 5.16 or at least 
similar bugs do such as Unable to handle kernel NULL pointer dereference, 
programs such as postgresql break dramatically, and another time SSH panicked 
the system with a kernel unaligned access. This happened during apt-get:

[ 1735.463205] Unable to handle kernel NULL pointer dereference
[ 1735.543500] tsk->{mm,active_mm}->context = 0000000000000096
[ 1735.622697] tsk->{mm,active_mm}->pgd = fff0000207dfc000
[ 1735.697892] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x00000009
[ 1735.808123] Press Stop-A (L1-A) from sun keyboard or send break
[ 1735.808123] twice on console to return to the boot prom
[ 1735.808158] kernel BUG at kernel/cpu.c:1086!

> On 10/12/2022 11:33 PM EDT j...@pawlicker.com j...@pawlicker.com 
> <j...@pawlicker.com> wrote:
>  
>  
> On my Sun Ultra 45 with two CPUs, Debian does not boot a finished 
> installation using Kernel 5.19. On the 5.16 kernel included on the CD the OS 
> boots just fine if this is selected using GRUB. This also seems to be 
> intermittent, as first booting into 5.19 was stable after trying to use quiet 
> to get an error log after a 5.16 boot, but then rebooting afterwards gave me 
> a more verbose error:
>  
> Booting `Debian GNU/Linux'
> Loading Linux 5.19.0-2-sparc64-smp ...
> Loading initial ramdisk ...
> [ 0.684502] pci 0000:05:1d.0: unsupported PM cap regs version (4)
> [ 4.937387] BAD IRQ ack 0
> [ 5.436972] Kernel panic - not syncing: corrupted stack end detected inside 
> scheduler
> [ 5.531706] CPU: 0 PID: 107 Comm: systemd-udevd Not tainted 
> 5.19.0-2-sparc64-smp #1 Debian 5.19.11-1
> [ 5.643306] Call Trace:
> [ 5.672826] [<0000000000cbe4e8>] dump_stack+0x8/0x18
> [ 5.732816] [<0000000000cb7518>] panic+0xf0/0x360
> [ 10.067911] ---[ end Kernel panic - not syncing: corrupted stack end 
> detected inside scheduler ]---
>  
> Second boot:
>  
> Loading Linux 5.19.0-2-sparc64-smp ...
> Loading initial ramdisk ...
> [ 0.681139] pci 0000:05:1d.0: unsupported PM cap regs version (4)
> [ 5.014440] Kernel panic - not syncing: corrupted stack end detected inside 
> scheduler
> [ 5.016901] tg3 0000:07:04.1 eth1: Tigon3 [partno(BCM95715) rev 9001] 
> (PCIX:133MHz:64-bit) MAC address 00:14:4f:0f:db:ed
> [ 5.016925] tg3 0000:07:04.1 eth1: attached PHY is 5714 (10/100/1000Base-T 
> Ethernet) (WireSpeed[1], EEE[0])
> [ 5.016933] tg3 0000:07:04.1 eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] 
> TSOcap[1]
> [ 5.016941] tg3 0000:07:04.1 eth1: dma_rwctrl[76148000] dma_mask[40-bit]
> [ 5.546143] CPU: 0 PID: 117 Comm: systemd-udevd Not tainted 
> 5.19.0-2-sparc64-smp #1 Debian 5.19.11-1
> [ 5.675485] Call Trace:
> [ 5.710701] [<0000000000cbe4e8>] dump_stack+0x8/0x18
> [ 5.782158] [<0000000000cb7518>] panic+0xf0/0x360
> [ 5.850408] [<0000000000cc5698>] switch_to_pc+0x834/0x85c
> [ 5.927055] [<0000000000cc58e0>] __cond_resched+0x40/0x60
> [ 6.003715] [<00000000006bc990>] kmem_cache_alloc_trace+0x430/0x580
> [ 6.090777] [<000000001001ab9c>] usb_control_msg+0x1c/0x120 [usbcore]
> [ 6.180114] [<000000001000d480>] hub_power_on+0x60/0x180 [usbcore]
> [ 6.266426] [<000000001000e0c8>] hub_activate+0x868/0xa00 [usbcore]
> [ 6.354029] [<0000000010015638>] hub_probe+0xeb8/0xf20 [usbcore]
> [ 6.438467] [<000000001001fda8>] usb_probe_interface+0xe8/0x300 [usbcore]
> [ 6.532373] [<00000000009e8c48>] really_probe+0xc8/0x480
> [ 6.608355] [<00000000009e9124>] __driver_probe_device+0x124/0x180
> [ 6.694905] [<00000000009e91a8>] driver_probe_device+0x28/0xe0
> [ 6.777256] [<00000000009e995c>] __device_attach_driver+0x9c/0x140
> [ 6.863759] [<00000000009e6568>] bus_for_each_drv+0x68/0xc0
> [ 6.942884] [<00000000009e94c0>] __device_attach+0xa0/0x200
> [ 7.022122] Press Stop-A (L1-A) from sun keyboard or send break
> [ 7.022122] twice on console to return to the boot prom
> [ 7.022158] kernel BUG at kernel/cpu.c:1092!
> [ 7.022174] \|/ ____ \|/
> [ 7.022174] "@'/ .. \`@"
> [ 7.022174] /_| \__/ |_\
> [ 7.022174] \__U_/
> [ 7.022178] swapper/1(0): Kernel bad sw trap 5 [#1]
> [ 7.022185] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.19.0-2-sparc64-smp #1 
> Debian 5.19.11-1
> [ 7.022195] TSTATE: 0000004411e01604 TPC: 0000000000470074 TNPC: 
> 0000000000470078 Y: 0000000a Not tainted
> [ 7.022201] TPC: <cpuhp_report_idle_dead+0x74/0x80>
> [ 7.022220] g0: 0000000000ccc140 g1: 0000000000ff2908 g2: 0000000000ff2908 
> g3: 00000000000002f6
> [ 7.022225] g4: fff0000200261600 g5: fff000037e8c4000 g6: fff00002002a0000 
> g7: 000000000000000e
> [ 7.022229] o0: 0000000000e2d220 o1: 0000000000000444 o2: 0000000000004000 
> o3: 0000000000000001
> [ 7.022234] o4: 000000018701a800 o5: 000000000000000e sp: fff00002002a3481 
> ret_pc: 000000000047006c
> [ 7.022238] RPC: <cpuhp_report_idle_dead+0x6c/0x80>
> [ 7.022244] l0: 0000000000001000 l1: 0000004411001603 l2: 000000000092979c 
> l3: 0000000000000400
> [ 7.022249] l4: 0000000000000000 l5: 0000000000000000 l6: 0000000000000000 
> l7: 0000000000000008
> [ 7.022252] i0: 000000000000000e i1: fff00002002a0008 i2: 0000000000004000 
> i3: fff000037fa00e68
> [ 7.022257] i4: fff000037e8c4000 i5: 000000000113ce68 i6: fff00002002a3531 
> i7: 00000000004be388
> [ 7.022261] I7: <do_idle+0x168/0x1a0>
> [ 7.022271] Call Trace:
> [ 7.022273] [<00000000004be388>] do_idle+0x168/0x1a0
> [ 7.022280] [<00000000004be684>] cpu_startup_entry+0x24/0x40
> [ 7.022286] [<000000000044080c>] smp_callin+0xec/0x120
> [ 7.022293] [<0000000000f6c3d4>] 0xf6c3d4
> [ 7.022300] [<0000000080000000>] 0x80000000
> [ 7.022306] Caller[00000000004be388]: do_idle+0x168/0x1a0
> [ 7.022311] Caller[00000000004be684]: cpu_startup_entry+0x24/0x40
> [ 7.022316] Caller[000000000044080c]: smp_callin+0xec/0x120
> [ 7.022322] Caller[0000000000f6c3d4]: 0xf6c3d4
> [ 7.022326] Caller[0000000080000000]: 0x80000000
> [ 7.022330] Instruction DUMP:
> [ 7.022332] 92102444
> [ 7.022335] 7ffee2ed
> [ 7.022337] 90122220
> [ 7.022339] <91d02005>
> [ 7.022341] 01000000
> [ 7.022343] 01000000
> [ 7.022345] 9de3bf50
> [ 7.022347] 01000000
> [ 7.022349] 3b003dbc
> [ 7.022351]
> [ 10.057417] ---[ end Kernel panic - not syncing: corrupted stack end 
> detected inside scheduler ]---
> 

Reply via email to