logo       

Re: BUG: Kernel Panic: kernel-2.6.0-test9-bk21 for alpha in scsi context l: msg#00258

Subject: Re: BUG: Kernel Panic: kernel-2.6.0-test9-bk21 for alpha in scsi context ll_rw_blk.c
Thomas Steudten <alpha@xxxxxxxxxxxx> wrote:
>
> In ./drivers/block/ll_rw_blk.c __make_request:2021
>     2021         spin_lock_prefetch(q->queue_lock);
>     2022
>     2023         barrier = test_bit(BIO_RW_BARRIER, &bio->bi_rw);
>     2024
>     2025         ra = bio->bi_rw & (1 << BIO_RW_AHEAD);
> 
> 
>      3338:       00 00 e3 8b     lds     $f31,0(t2)
> 
> processor.h:94
> extern inline void spin_lock_prefetch(const void *ptr)
> {
>          __builtin_prefetch(ptr, 1, 3);
> }
> 
> So q->queue_lock isn´t aligned for alpha - or q isn´t valid.

The spinlock is aligned OK.  Could you add this patch so we can see
a bit more context?

diff -puN arch/alpha/kernel/traps.c~alpha-stack-dump arch/alpha/kernel/traps.c
--- 25/arch/alpha/kernel/traps.c~alpha-stack-dump       Mon Nov 17 13:10:21 2003
+++ 25-akpm/arch/alpha/kernel/traps.c   Mon Nov 17 13:10:30 2003
@@ -636,6 +636,7 @@ do_entUna(void * va, unsigned long opcod
        lock_kernel();
        printk("Bad unaligned kernel access at %016lx: %p %lx %ld\n",
                pc, va, opcode, reg);
+       dump_stack();
        do_exit(SIGSEGV);
 
 got_exception:

_

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



<Prev in Thread] Current Thread [Next in Thread>