Issue booting Niagara T1 after commit 87fa05aeb3
Hi all,
yes I know.. vintage hardware :) It´s running Debian unstable updated to approx a week ago (yay for tons of rebuilds to bisect ;)).
fabbione@sunfire:~/linux-2.6$ gcc --version gcc (Debian 4.6.4-5) 4.6.4
kernel config is from debian, applied to the various bisect done on Linus tree.
sunfire:~# cat /proc/cpuinfo cpu : UltraSparc T1 (Niagara) fpu : UltraSparc T1 integrated FPU pmu : niagara prom : OBP 4.28.9 2008/06/30 21:26 type : sun4v ncpus probed : 24 ..
commit 87fa05aeb3a5e8e21b1a5510eef6983650eff092
Author: Sam Ravnborg <[email protected]> Date: Thu Apr 11 21:38:50 2013 +0200
sparc: Use generic idle loop
Add generic cpu_idle support
appears to be culprit and I can´t boot any kernel after that. Reverting the commit makes the machine boot again (tested up to commit 4fbf888acc from Linus tree).
Sorry I really don´t know that part of the code well enough to propose a fix, but I can either provide access to the machine or test debugging patches.
Thanks
Fabio
Few extra info:
with this commit applied (head to the commit):
[SNIP]
[ 68.089495] scsi0 : Emulex LPe1150 PCIe Fibre Channel Adapter on PCI bus 08 device 00 irq 23 [ 68.089495] scsi0 : Emulex LPe1150 PCIe Fibre Channel Adapter on PCI bus 08 device 00 irq 23 [ 89.429041] INFO: rcu_sched detected stalls on CPUs/tasks:[
89.429041] INFO: rcu_sched detected stalls on CPUs/tasks: { { 3 3 10 10 15 15} } (detected by 0, tS42 jiffies, g446744073709551328, c446744073709551327, q!64)
(detected by 0, tS42 jiffies, g446744073709551328, c446744073709551327, q!64)
[ 89.431437] * CPU[ 0]: TSTATE[0000000080001603] TPC[000000000042b9d4] TNPC[000000000042b9d8] TASK[swapper/0:0] [ 89.431437] * CPU[ 0]: TSTATE[0000000080001603] TPC[000000000042b9d4] TNPC[000000000042b9d8] TASK[swapper/0:0] [ 89.431462] BUG: soft lockup - CPU#3 stuck for 23s! [swapper/3:0] [ 89.431462] BUG: soft lockup - CPU#3 stuck for 23s! [swapper/3:0] [ 89.431470] BUG: soft lockup - CPU#1 stuck for 23s! [swapper/1:0] [ 89.431470] BUG: soft lockup - CPU#1 stuck for 23s! [swapper/1:0] [ 89.431479] BUG: soft lockup - CPU#2 stuck for 23s! [swapper/2:0] [ 89.431479] BUG: soft lockup - CPU#2 stuck for 23s! [swapper/2:0] [ 89.431484] Modules linked in:
[SNIP]
Most kernels in between that commit to 3.12:
[SNIP]
[ 68.392210] UDP hash table entries: 4096 (order: 4, 131072 bytes) [ 68.393319] UDP-Lite hash table entries: 4096 (order: 4, 131072 bytes) [ 68.395425] NET: Registered protocol family 1 [ 68.396008] pci 0001:05:02.0: Activating ISA DMA hang workarounds
-- no more output --
With Linus tree up to commit 4fbf888accb39 (didn´t test yet newer trees):
[ 60.770765] scsi2 : Emulex LPe1150 PCIe Fibre Channel Adapter on PCI
bus 08 device 00 irq 23
[ 81.923914] INFO: rcu_sched detected stalls on CPUs/tasks: {}
(detected by 4, tR92 jiffies, g446744073709551336,
c446744073709551335,5)
[ 81.924215] INFO: Stall ended before state dump start
[ 145.419184] INFO: rcu_sched detected stalls on CPUs/tasks: {}
(detected by 0, t!166 jiffies, g446744073709551336,
c446744073709551335,7)
[ 145.419482] INFO: Stall ended before state dump startSame here, I tried with the default config.
Quoted 95 lines · Fabio M. Di Nitto
Hi all,
yes I know.. vintage hardware :) It´s running Debian unstable updated to approx a week ago (yay for tons of rebuilds to bisect ;)).
fabbione@sunfire:~/linux-2.6$ gcc --version gcc (Debian 4.6.4-5) 4.6.4kernel config is from debian, applied to the various bisect done on Linus tree.
sunfire:~# cat /proc/cpuinfo cpu : UltraSparc T1 (Niagara) fpu : UltraSparc T1 integrated FPU pmu : niagara prom : OBP 4.28.9 2008/06/30 21:26 type : sun4v ncpus probed : 24 ..commit
87fa05aeb3a5e8e21b1a5510eef6983650eff092Author: Sam Ravnborg <[email protected]> Date: Thu Apr 11 21:38:50 2013 +0200sparc: Use generic idle loop
Add generic
cpu_idlesupportappears to be culprit and I can´t boot any kernel after that. Reverting the commit makes the machine boot again (tested up to commit
4fbf888accfrom Linus tree).Sorry I really don´t know that part of the code well enough to propose a fix, but I can either provide access to the machine or test debugging patches.
Thanks
FabioFew extra info:
with this commit applied (head to the commit):
[SNIP]
[ 68.089495] scsi0 : Emulex LPe1150 PCIe Fibre Channel Adapter on PCI bus 08 device 00 irq 23 [ 68.089495] scsi0 : Emulex LPe1150 PCIe Fibre Channel Adapter on PCI bus 08 device 00 irq 23 [ 89.429041] INFO: rcu_sched detected stalls on CPUs/tasks:[89.429041] INFO:
rcu_scheddetected stalls on CPUs/tasks: { { 3 3 10 10 15 15} } (detected by 0, tS42 jiffies, g446744073709551328, c446744073709551327, q!64)
(detected by 0, tS42 jiffies, g446744073709551328, c446744073709551327, q!64)[ 89.431437] * CPU[ 0]: TSTATE[0000000080001603] TPC[000000000042b9d4] TNPC[000000000042b9d8] TASK[swapper/0:0] [ 89.431437] * CPU[ 0]: TSTATE[0000000080001603] TPC[000000000042b9d4] TNPC[000000000042b9d8] TASK[swapper/0:0] [ 89.431462] BUG: soft lockup - CPU#3 stuck for 23s! [swapper/3:0] [ 89.431462] BUG: soft lockup - CPU#3 stuck for 23s! [swapper/3:0] [ 89.431470] BUG: soft lockup - CPU#1 stuck for 23s! [swapper/1:0] [ 89.431470] BUG: soft lockup - CPU#1 stuck for 23s! [swapper/1:0] [ 89.431479] BUG: soft lockup - CPU#2 stuck for 23s! [swapper/2:0] [ 89.431479] BUG: soft lockup - CPU#2 stuck for 23s! [swapper/2:0] [ 89.431484] Modules linked in:[SNIP]
Most kernels in between that commit to 3.12:
[SNIP]
[ 68.392210] UDP hash table entries: 4096 (order: 4, 131072 bytes) [ 68.393319] UDP-Lite hash table entries: 4096 (order: 4, 131072 bytes) [ 68.395425] NET: Registered protocol family 1 [ 68.396008] pci 0001:05:02.0: Activating ISA DMA hang workarounds-- no more output --
With Linus tree up to commit
4fbf888accb39(didn´t test yet newer trees):[ 60.770765] scsi2 : Emulex LPe1150 PCIe Fibre Channel Adapter on PCI bus 08 device 00 irq 23 [ 81.923914] INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 4, tR92 jiffies, g446744073709551336, c446744073709551335,5) [ 81.924215] INFO: Stall ended before state dump start [ 145.419184] INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 0, t!166 jiffies, g446744073709551336, c446744073709551335,7) [ 145.419482] INFO: Stall ended before state dump start--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello,
Quoted 9 lines · Kirill Tkhai
Hi,
12.12.2013, 16:33, "Raúl Porcel" <[email protected]>:
Quoted 1 line
Same here, I tried with the default config.
just hypothesis. Does "nohlt" command line option help anyway?
Does anything change if you are swapping
local_irq_enable()andpreempt_disable()insmp_callin()(filearch/sparc/kernel/smp_64.c):
Tried both of the suggestions, none worked.
Thanks
HI all,
another user has reported a similar issue. Anything that I can help with to have a fix?
Thanks
Fabio
Quoted 90 lines · Fabio M. Di Nitto
Hi all,
yes I know.. vintage hardware :) It´s running Debian unstable updated to approx a week ago (yay for tons of rebuilds to bisect ;)).
fabbione@sunfire:~/linux-2.6$ gcc --version gcc (Debian 4.6.4-5) 4.6.4kernel config is from debian, applied to the various bisect done on Linus tree.
sunfire:~# cat /proc/cpuinfo cpu : UltraSparc T1 (Niagara) fpu : UltraSparc T1 integrated FPU pmu : niagara prom : OBP 4.28.9 2008/06/30 21:26 type : sun4v ncpus probed : 24 ..commit
87fa05aeb3a5e8e21b1a5510eef6983650eff092Author: Sam Ravnborg <[email protected]> Date: Thu Apr 11 21:38:50 2013 +0200sparc: Use generic idle loop
Add generic
cpu_idlesupportappears to be culprit and I can´t boot any kernel after that. Reverting the commit makes the machine boot again (tested up to commit
4fbf888accfrom Linus tree).Sorry I really don´t know that part of the code well enough to propose a fix, but I can either provide access to the machine or test debugging patches.
Thanks
FabioFew extra info:
with this commit applied (head to the commit):
[SNIP]
[ 68.089495] scsi0 : Emulex LPe1150 PCIe Fibre Channel Adapter on PCI bus 08 device 00 irq 23 [ 68.089495] scsi0 : Emulex LPe1150 PCIe Fibre Channel Adapter on PCI bus 08 device 00 irq 23 [ 89.429041] INFO: rcu_sched detected stalls on CPUs/tasks:[89.429041] INFO:
rcu_scheddetected stalls on CPUs/tasks: { { 3 3 10 10 15 15} } (detected by 0, tS42 jiffies, g446744073709551328, c446744073709551327, q!64)
(detected by 0, tS42 jiffies, g446744073709551328, c446744073709551327, q!64)[ 89.431437] * CPU[ 0]: TSTATE[0000000080001603] TPC[000000000042b9d4] TNPC[000000000042b9d8] TASK[swapper/0:0] [ 89.431437] * CPU[ 0]: TSTATE[0000000080001603] TPC[000000000042b9d4] TNPC[000000000042b9d8] TASK[swapper/0:0] [ 89.431462] BUG: soft lockup - CPU#3 stuck for 23s! [swapper/3:0] [ 89.431462] BUG: soft lockup - CPU#3 stuck for 23s! [swapper/3:0] [ 89.431470] BUG: soft lockup - CPU#1 stuck for 23s! [swapper/1:0] [ 89.431470] BUG: soft lockup - CPU#1 stuck for 23s! [swapper/1:0] [ 89.431479] BUG: soft lockup - CPU#2 stuck for 23s! [swapper/2:0] [ 89.431479] BUG: soft lockup - CPU#2 stuck for 23s! [swapper/2:0] [ 89.431484] Modules linked in:[SNIP]
Most kernels in between that commit to 3.12:
[SNIP]
[ 68.392210] UDP hash table entries: 4096 (order: 4, 131072 bytes) [ 68.393319] UDP-Lite hash table entries: 4096 (order: 4, 131072 bytes) [ 68.395425] NET: Registered protocol family 1 [ 68.396008] pci 0001:05:02.0: Activating ISA DMA hang workarounds-- no more output --
With Linus tree up to commit
4fbf888accb39(didn´t test yet newer trees):[ 60.770765] scsi2 : Emulex LPe1150 PCIe Fibre Channel Adapter on PCI bus 08 device 00 irq 23 [ 81.923914] INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 4, tR92 jiffies, g446744073709551336, c446744073709551335,5) [ 81.924215] INFO: Stall ended before state dump start [ 145.419184] INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 0, t!166 jiffies, g446744073709551336, c446744073709551335,7) [ 145.419482] INFO: Stall ended before state dump start
Hi,
Just for the record, commit b3042d609e30e6144024801c89be3925106752b fixes it.
kernel 3.14 boots fine
Quoted 105 lines · Fabio M. Di Nitto
HI all,
another user has reported a similar issue. Anything that I can help with to have a fix?
Thanks
FabioQuoted 78 lines · Fabio M. Di Nitto
Hi all,
yes I know.. vintage hardware :) It´s running Debian unstable updated to approx a week ago (yay for tons of rebuilds to bisect ;)).
fabbione@sunfire:~/linux-2.6$ gcc --version gcc (Debian 4.6.4-5) 4.6.4kernel config is from debian, applied to the various bisect done on Linus tree.
sunfire:~# cat /proc/cpuinfo cpu : UltraSparc T1 (Niagara) fpu : UltraSparc T1 integrated FPU pmu : niagara prom : OBP 4.28.9 2008/06/30 21:26 type : sun4v ncpus probed : 24 ..commit
87fa05aeb3a5e8e21b1a5510eef6983650eff092Author: Sam Ravnborg <[email protected]> Date: Thu Apr 11 21:38:50 2013 +0200sparc: Use generic idle loop
Add generic
cpu_idlesupportappears to be culprit and I can´t boot any kernel after that. Reverting the commit makes the machine boot again (tested up to commit
4fbf888accfrom Linus tree).Sorry I really don´t know that part of the code well enough to propose a fix, but I can either provide access to the machine or test debugging patches.
Thanks
FabioFew extra info:
with this commit applied (head to the commit):
[SNIP]
[ 68.089495] scsi0 : Emulex LPe1150 PCIe Fibre Channel Adapter on PCI bus 08 device 00 irq 23 [ 68.089495] scsi0 : Emulex LPe1150 PCIe Fibre Channel Adapter on PCI bus 08 device 00 irq 23 [ 89.429041] INFO: rcu_sched detected stalls on CPUs/tasks:[89.429041] INFO:
rcu_scheddetected stalls on CPUs/tasks: { { 3 3 10 10 15 15} } (detected by 0, tS42 jiffies, g446744073709551328, c446744073709551327, q!64)
(detected by 0, tS42 jiffies, g446744073709551328, c446744073709551327, q!64)[ 89.431437] * CPU[ 0]: TSTATE[0000000080001603] TPC[000000000042b9d4] TNPC[000000000042b9d8] TASK[swapper/0:0] [ 89.431437] * CPU[ 0]: TSTATE[0000000080001603] TPC[000000000042b9d4] TNPC[000000000042b9d8] TASK[swapper/0:0] [ 89.431462] BUG: soft lockup - CPU#3 stuck for 23s! [swapper/3:0] [ 89.431462] BUG: soft lockup - CPU#3 stuck for 23s! [swapper/3:0] [ 89.431470] BUG: soft lockup - CPU#1 stuck for 23s! [swapper/1:0] [ 89.431470] BUG: soft lockup - CPU#1 stuck for 23s! [swapper/1:0] [ 89.431479] BUG: soft lockup - CPU#2 stuck for 23s! [swapper/2:0] [ 89.431479] BUG: soft lockup - CPU#2 stuck for 23s! [swapper/2:0] [ 89.431484] Modules linked in:[SNIP]
Most kernels in between that commit to 3.12:
[SNIP]
[ 68.392210] UDP hash table entries: 4096 (order: 4, 131072 bytes) [ 68.393319] UDP-Lite hash table entries: 4096 (order: 4, 131072 bytes) [ 68.395425] NET: Registered protocol family 1 [ 68.396008] pci 0001:05:02.0: Activating ISA DMA hang workarounds-- no more output --
With Linus tree up to commit
4fbf888accb39(didn´t test yet newer trees):Quoted 12 lines
[ 60.770765] scsi2 : Emulex LPe1150 PCIe Fibre Channel Adapter on PCI bus 08 device 00 irq 23 [ 81.923914] INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 4, tR92 jiffies, g446744073709551336, c446744073709551335,5) [ 81.924215] INFO: Stall ended before state dump start [ 145.419184] INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 0, t!166 jiffies, g446744073709551336, c446744073709551335,7) [ 145.419482] INFO: Stall ended before state dump start--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html