From: Andrew Morton <akpm@osdl.org>
To: alpha@steudten.com
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
linux-alpha@vger.kernel.org
Subject: Re: BUG: Kernel Panic: kernel-2.6.0-test9-bk21 for alpha in scsi context ll_rw_blk.c
Date: Mon, 17 Nov 2003 13:11:45 -0800 [thread overview]
Message-ID: <20031117131145.07266f43.akpm@osdl.org> (raw)
In-Reply-To: <3FB92938.8040906@steudten.com>
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-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2003-11-17 21:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-17 20:02 BUG: Kernel Panic: kernel-2.6.0-test9-bk21 for alpha in scsi context ll_rw_blk.c Thomas Steudten
2003-11-17 21:11 ` Andrew Morton [this message]
2003-11-17 21:31 ` Falk Hueffner
2003-11-17 21:34 ` Thomas Steudten
2003-11-17 21:48 ` Falk Hueffner
2003-11-17 23:19 ` Ivan Kokshaysky
2003-11-18 21:29 ` SOLVED: " Thomas Steudten
2004-01-10 16:59 ` BUG: Kernel Panic: kernel-2.6.1 " Thomas Steudten
2004-01-11 10:26 ` Oliver Pitzeier
[not found] ` <20040110143409.0e591596.akpm@osdl.org>
2004-01-11 11:45 ` Relocation overflow vs section kernel-2.6.1 for alpha Thomas Steudten
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031117131145.07266f43.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=alpha@steudten.com \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).