From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Fabio M. Di Nitto" Date: Tue, 19 Nov 2013 12:21:03 +0000 Subject: Issue booting Niagara T1 after commit 87fa05aeb3 Message-Id: <528B57AF.6020106@fabbione.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: sparclinux@vger.kernel.org Hi all, yes I know.. vintage hardware :) It=B4s 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 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=B4t 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=B4t 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, g=18446744073709551328, c=18446744073709551327, q!64) (detected by 0, tS42 jiffies, g=18446744073709551328, c=18446744073709551327, 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=B4t 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, g=18446744073709551336, c=18446744073709551335,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, g=18446744073709551336, c=18446744073709551335,7) [ 145.419482] INFO: Stall ended before state dump start