lkml.org 
[lkml]   [2003]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: BUG: Kernel Panic: kernel-2.6.0-test9-bk21 for alpha in scsi context ll_rw_blk.c
Thomas Steudten <alpha@steudten.com> 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-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.035 / U:0.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site