From: Ingo Molnar <mingo@elte.hu>
To: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [BUG 2.6.24-rc6-mm1] BUG() at check_irqs_on() in fs/buffer.c .
Date: Sun, 23 Dec 2007 16:16:56 +0100 [thread overview]
Message-ID: <20071223151656.GA18738@elte.hu> (raw)
In-Reply-To: <200712232212.GII90159.tFFVSOLFJHQOOM@I-love.SAKURA.ne.jp>
* Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> wrote:
> Hello.
>
> I encountered a BUG().
> I didn't encounter this bug for 2.6.24-rc5-mm1 .
> I guess this bug was introduced between 2.6.24-rc5-mm1 and 2.6.24-rc6-mm1 .
does the patch below help?
Ingo
---
include/asm-x86/desc.h | 4 ++++
1 file changed, 4 insertions(+)
Index: linux/include/asm-x86/desc.h
===================================================================
--- linux.orig/include/asm-x86/desc.h
+++ linux/include/asm-x86/desc.h
@@ -328,7 +328,11 @@ static inline void set_trap_gate(unsigne
static inline void set_system_gate(unsigned int n, void *addr)
{
BUG_ON((unsigned)n > 0xFF);
+#ifdef CONFIG_X86_32
+ _set_gate(n, GATE_TRAP, addr, 0x3, 0, __KERNEL_CS);
+#else
_set_gate(n, GATE_INTERRUPT, addr, 0x3, 0, __KERNEL_CS);
+#endif
}
static inline void set_task_gate(unsigned int n, unsigned int gdt_entry)
next prev parent reply other threads:[~2007-12-23 15:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-23 13:12 [BUG 2.6.24-rc6-mm1] BUG() at check_irqs_on() in fs/buffer.c Tetsuo Handa
2007-12-23 15:16 ` Ingo Molnar [this message]
2007-12-24 1:53 ` Tetsuo Handa
2007-12-26 2:10 ` Daniel Walker
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=20071223151656.GA18738@elte.hu \
--to=mingo@elte.hu \
--cc=linux-kernel@vger.kernel.org \
--cc=penguin-kernel@I-love.SAKURA.ne.jp \
/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