mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthias Andree <matthias.andree@gmx.de>
To: Brian Gerst <bgerst@didntduck.org>
Cc: Matthias Andree <matthias.andree@gmx.de>,
	Linux-Kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: cat /proc/bus/pnp/escd -> kernel segfault (2.6 BK)
Date: Mon, 27 Oct 2003 20:13:56 +0100	[thread overview]
Message-ID: <20031027191356.GA5966@merlin.emma.line.org> (raw)
In-Reply-To: <3F9D5458.9010704@didntduck.org>

On Mon, 27 Oct 2003, Brian Gerst wrote:

> Does this patch fix it?

Unfortunately not. I am not seeing SIGSEGV or something, the machine
freezes hard instead.

> diff -urN linux-2.6.0-test9-bk/arch/i386/mm/extable.c linux/arch/i386/mm/extable.c
> --- linux-2.6.0-test9-bk/arch/i386/mm/extable.c	2003-07-27 13:11:40.000000000 -0400
> +++ linux/arch/i386/mm/extable.c	2003-10-27 12:08:38.000000000 -0500
> @@ -34,7 +34,7 @@
>  	const struct exception_table_entry *fixup;
>  
>  #ifdef CONFIG_PNPBIOS
> -	if (unlikely((regs->xcs | 8) == 0x88)) /* 0x80 or 0x88 */
> +	if (unlikely((unsigned)(regs->xcs - (GDT_ENTRY_PNPBIOS_BASE * 8)) < 16))
>  	{
>  		extern u32 pnp_bios_fault_eip, pnp_bios_fault_esp;
>  		extern u32 pnp_bios_is_utter_crap;


-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95

  reply	other threads:[~2003-10-27 19:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-27  4:42 Matthias Andree
2003-10-27 17:22 ` Brian Gerst
2003-10-27 19:13   ` Matthias Andree [this message]
2003-10-28  1:49     ` Maciej Babinski

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=20031027191356.GA5966@merlin.emma.line.org \
    --to=matthias.andree@gmx.de \
    --cc=bgerst@didntduck.org \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®