mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Gerst <bgerst@didntduck.org>
To: Meelis Roos <mroos@linux.ee>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.3: PnPBIOS hangs with S875WP1 BIOS
Date: Thu, 04 Mar 2004 08:51:29 -0500	[thread overview]
Message-ID: <40473461.80105@quark.didntduck.org> (raw)
In-Reply-To: <Pine.GSO.4.44.0403040920480.2398-100000@math.ut.ee>

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

Meelis Roos wrote:
> I run a 2.6.3 kernel on Intel S875WP1 mainboard. When I enable PnPBIOS
> in kernel config, the kernel gets general protection fault 0 just after
> telling it found PnP BIOS. No backtrace. Disabling PnPBIOS in kernel
> works around the problem.
> 

Try this patch

--
				Brian Gerst

[-- Attachment #2: pnpsegs-1 --]
[-- Type: text/plain, Size: 524 bytes --]

diff -urN linux-bk/arch/i386/mm/extable.c linux/arch/i386/mm/extable.c
--- linux-bk/arch/i386/mm/extable.c	2004-02-15 00:41:41.000000000 -0500
+++ linux/arch/i386/mm/extable.c	2004-03-04 08:42:12.169000128 -0500
@@ -12,7 +12,7 @@
 	const struct exception_table_entry *fixup;
 
 #ifdef CONFIG_PNPBIOS
-	if (unlikely((regs->xcs | 8) == 0x88)) /* 0x80 or 0x88 */
+	if (unlikely((regs->xcs & ~15) == (GDT_ENTRY_PNPBIOS_BASE << 3)))
 	{
 		extern u32 pnp_bios_fault_eip, pnp_bios_fault_esp;
 		extern u32 pnp_bios_is_utter_crap;

  reply	other threads:[~2004-03-04 13:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-04  7:23 Meelis Roos
2004-03-04 13:51 ` Brian Gerst [this message]
2004-03-04 14:09   ` Meelis Roos
2004-03-04 14:45     ` Brian Gerst
2004-03-04 14:58       ` Meelis Roos
2004-03-04 17:39         ` [PATCH] PnP BIOS exception fixes Brian Gerst
2004-03-04 18:53           ` Linus Torvalds
2004-03-04 18:54             ` Brian Gerst

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=40473461.80105@quark.didntduck.org \
    --to=bgerst@didntduck.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mroos@linux.ee \
    /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

all inboxes | Powered by JetHome®