Re: 2.6.13-rc5-mm1 doesnt boot on x86_64

Andrew Morton
2005-08-08T17:43:53Z

James Bottomley <James.Bottomley@SteelEye.com> wrote:
>
> On Mon, 2005-08-08 at 19:11 +0200, Andi Kleen wrote:
> > Looks like a SCSI problem. The machine has an Adaptec SCSI adapter, right?
>
> The traceback looks pretty meaningless.
>
> What was happening on the machine before this. i.e. was it booting up,
> in which case can we have the prior dmesg file; or was the aic79xxx
> driver being removed?
>

-mm has extra list_head debugging goodies. I'd be suspecting a list_head
corruption detected somewhere under spi_release_transport().

--- 25/include/linux/list.h~list_del-debug 2005-03-08 11:40:27.000000000 -0800
+++ 25-akpm/include/linux/list.h 2005-03-08 11:40:49.000000000 -0800
@@ -5,7 +5,9 @@

#include <linux/stddef.h>
#include <linux/prefetch.h>
+#include <linux/kernel.h>
#include <asm/system.h>
+#include <asm/bug.h>

/*
* These are non-NULL pointers that will result in page faults
@@ -160,6 +162,8 @@ static inline void __list_del(struct lis
*/
static inline void list_del(struct list_head *entry)
{
+ BUG_ON(entry->prev->next != entry);
+ BUG_ON(entry->next->prev != entry);
__list_del(entry->prev, entry->next);
entry->next = LIST_POISON1;
entry->prev = LIST_POISON2;
_