Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 27 Oct 2003 20:13:56 +0100 | From | Matthias Andree <> | Subject | Re: cat /proc/bus/pnp/escd -> kernel segfault (2.6 BK) |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |