Re: SunFire V240 hangs

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

 



On Sun, Sep 06, 2009 at 11:48:05PM +0200, Sbastien Bernard wrote:
> David Miller a écrit :
> >From: Sébastien Bernard <seb@xxxxxxxxx>
> >Date: Tue, 28 Apr 2009 14:52:54 +0200
> >
> >  
> >>Unfortunately, this kernel hangs in the same way as the others.
> >>Same place, same symptom.
...
> Hi, the problem is still present in the 2.6.30 kernel and, since 
> distributions are
> pushing new kernels, I'm now unable to boot any kernel released either 
> by debian or Ubuntu.

tried 2.6.30.5 on my Sun Fire 880 (uses qla2xxx) with the nmi patches 
(see below), but the kernel still hangs after the famous 
"NET: Registered protocol family 16" line.

Any other patches I can try (or what else) ?

Thanks,
 greetings
  Hermann

diff --git a/arch/sparc/kernel/pcr.c b/arch/sparc/kernel/pcr.c
index 1ae8cdd..62b2b9c 100644
--- a/arch/sparc/kernel/pcr.c
+++ b/arch/sparc/kernel/pcr.c
@@ -123,6 +123,9 @@ int __init pcr_arch_init(void)
 
 	if (err)
 		return err;
+#if 1
+	return -ENODEV;
+#endif
 
 	switch (tlb_type) {
 	case hypervisor:

diff --git a/arch/sparc/kernel/nmi.c b/arch/sparc/kernel/nmi.c
index 2c0cc72..b75bf50 100644
--- a/arch/sparc/kernel/nmi.c
+++ b/arch/sparc/kernel/nmi.c
@@ -103,7 +103,7 @@ notrace __kprobes void perfctr_irq(int irq, struct pt_regs *regs)
 	}
 	if (!touched && __get_cpu_var(last_irq_sum) == sum) {
 		local_inc(&__get_cpu_var(alert_counter));
-		if (local_read(&__get_cpu_var(alert_counter)) == 5 * nmi_hz)
+		if (local_read(&__get_cpu_var(alert_counter)) == 30 * nmi_hz)
 			die_nmi("BUG: NMI Watchdog detected LOCKUP",
 				regs, panic_on_timeout);
 	} else {


-- 
Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres 
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224
Email: Hermann.Lauer@xxxxxxxxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux