Re: enabling lockdep causes boot failure on a SUN T2000

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

 



David Miller wrote:
From: "Bjoern B. Brandenburg" <bbb@xxxxxxxxxxxxx>
I've been having a hard time getting Linux (vanilla 2.6.24 and 2.6.25) to boot on our Niagara box.

We know about this problem already.  Thanks for reporting.

This changeset below was meant to improve things, but t1000/t2000
systems still get wedged.

Thanks for the pointer.

Based on your commit, I tried to disable stack trace support (with the intent to get at least some output in the event of deadlock) with the following patch:

diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index e2c07ec..b468790 100644
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -342,7 +342,9 @@ static int save_trace(struct stack_trace *trace)

        trace->skip = 3;

-       save_stack_trace(trace);
+       /* Work around: this doesn't work on the T2000.
+        * save_stack_trace(trace);
+        */

        trace->max_entries = trace->nr_entries;


I figured that if the flushes are the root cause, then this should take care of the problem. However, the kernel still doesn't boot.

Is there anything else that I can disable to get a partially working lockdep?

Thanks,
Bjoern
--
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