From: Thomas Steudten <alpha@steudten.com>
To: Thomas Steudten <alpha@steudten.com>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>,
Richard Henderson <rth@twiddle.net>,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
linux-alpha@vger.kernel.org, akpm@osdl.org
Subject: BUG: Kernel Panic: kernel-2.6.1 for alpha in scsi context ll_rw_blk.c
Date: Sat, 10 Jan 2004 17:59:21 +0100 [thread overview]
Message-ID: <40002F69.9020302@steudten.com> (raw)
In-Reply-To: <3FBA8F20.3050701@steudten.com>
Hello
I test the new 2.6.1 kernel and run in the same problem as before.
The reason is, that the patch from Ivan isn´t there in the kernel
source tree.
Please add the patch to the mainline.
Tom
Thomas Steudten wrote:
> Hi
>
> With the patch from Ivan, the prefetch problem is gone.
> Please add this patch to the mainline for 2.6.0 for alpha.
>
> Regards
> Tom
>
>> We shouldn't prefetch the spinlocks on UP.
>>
>> Ivan.
>>
>> --- 2.6/include/asm-alpha/processor.h Sat Oct 25 22:44:54 2003
>> +++ linux/include/asm-alpha/processor.h Tue Nov 18 01:48:39 2003
>> @@ -78,6 +78,11 @@ unsigned long get_wchan(struct task_stru
>> #define ARCH_HAS_PREFETCHW
>> #define ARCH_HAS_SPINLOCK_PREFETCH
>>
>> +#ifndef CONFIG_SMP
>> +/* Nothing to prefetch. */
>> +#define spin_lock_prefetch(lock) do { } while (0)
>> +#endif
>> +
>> #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
>> extern inline void prefetch(const void *ptr) { @@ -89,10 +94,13 @@
>> extern inline void prefetchw(const void __builtin_prefetch(ptr,
>> 1, 3);
>> }
>>
>> +#ifdef CONFIG_SMP
>> extern inline void spin_lock_prefetch(const void *ptr) {
>> __builtin_prefetch(ptr, 1, 3);
>> }
>> +#endif
>> +
>> #else
>> extern inline void prefetch(const void *ptr) { @@ -104,10 +112,13
>> @@ extern inline void prefetchw(const void __asm__ ("ldq $31,%0"
>> : : "m"(*(char *)ptr)); }
>>
>> +#ifdef CONFIG_SMP
>> extern inline void spin_lock_prefetch(const void *ptr) {
>> __asm__ ("ldq $31,%0" : : "m"(*(char *)ptr)); }
>> +#endif
>> +
>> #endif /* GCC 3.1 */
>>
>> #endif /* __ASM_ALPHA_PROCESSOR_H */
>
>
--
Tom
LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?
-
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Thomas Steudten <alpha@steudten.com>
To: Thomas Steudten <alpha@steudten.com>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>,
Richard Henderson <rth@twiddle.net>,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
linux-alpha@vger.kernel.org, akpm@osdl.org
Subject: BUG: Kernel Panic: kernel-2.6.1 for alpha in scsi context ll_rw_blk.c
Date: Sat, 10 Jan 2004 17:59:21 +0100 [thread overview]
Message-ID: <40002F69.9020302@steudten.com> (raw)
In-Reply-To: <3FBA8F20.3050701@steudten.com>
Hello
I test the new 2.6.1 kernel and run in the same problem as before.
The reason is, that the patch from Ivan isn´t there in the kernel
source tree.
Please add the patch to the mainline.
Tom
Thomas Steudten wrote:
> Hi
>
> With the patch from Ivan, the prefetch problem is gone.
> Please add this patch to the mainline for 2.6.0 for alpha.
>
> Regards
> Tom
>
>> We shouldn't prefetch the spinlocks on UP.
>>
>> Ivan.
>>
>> --- 2.6/include/asm-alpha/processor.h Sat Oct 25 22:44:54 2003
>> +++ linux/include/asm-alpha/processor.h Tue Nov 18 01:48:39 2003
>> @@ -78,6 +78,11 @@ unsigned long get_wchan(struct task_stru
>> #define ARCH_HAS_PREFETCHW
>> #define ARCH_HAS_SPINLOCK_PREFETCH
>>
>> +#ifndef CONFIG_SMP
>> +/* Nothing to prefetch. */
>> +#define spin_lock_prefetch(lock) do { } while (0)
>> +#endif
>> +
>> #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
>> extern inline void prefetch(const void *ptr) { @@ -89,10 +94,13 @@
>> extern inline void prefetchw(const void __builtin_prefetch(ptr,
>> 1, 3);
>> }
>>
>> +#ifdef CONFIG_SMP
>> extern inline void spin_lock_prefetch(const void *ptr) {
>> __builtin_prefetch(ptr, 1, 3);
>> }
>> +#endif
>> +
>> #else
>> extern inline void prefetch(const void *ptr) { @@ -104,10 +112,13
>> @@ extern inline void prefetchw(const void __asm__ ("ldq $31,%0"
>> : : "m"(*(char *)ptr)); }
>>
>> +#ifdef CONFIG_SMP
>> extern inline void spin_lock_prefetch(const void *ptr) {
>> __asm__ ("ldq $31,%0" : : "m"(*(char *)ptr)); }
>> +#endif
>> +
>> #endif /* GCC 3.1 */
>>
>> #endif /* __ASM_ALPHA_PROCESSOR_H */
>
>
--
Tom
LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?
next prev parent reply other threads:[~2004-01-10 16:59 UTC|newest]
Thread overview: 14+ 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
2003-11-17 21:11 ` Andrew Morton
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 ` Thomas Steudten [this message]
2004-01-10 16:59 ` BUG: Kernel Panic: kernel-2.6.1 " Thomas Steudten
2004-01-11 10:26 ` Oliver Pitzeier
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
2004-01-11 11:45 ` 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=40002F69.9020302@steudten.com \
--to=alpha@steudten.com \
--cc=akpm@osdl.org \
--cc=falk.hueffner@student.uni-tuebingen.de \
--cc=ink@jurassic.park.msu.ru \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=rth@twiddle.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.