Messages in this thread Patch in this message | | | From | Dmitry Torokhov <> | Subject | Re: 2.6.7 oops in psmouse/serio while booting | Date | Wed, 30 Jun 2004 00:25:53 -0500 |
| |
On Tuesday 29 June 2004 11:22 pm, twl@mail.com wrote: > The panic happens in psmouse_interrupt. It doesn't happen every time I boot, > but it happens about half of the time. It doesn't happen with 2.6.6. > > I have a USB mouse, but the input driver initially seems to think it has found > a serial PS/2 mouse. > > When it boots ok, I see this: > > mice: PS/2 mouse device common for all mice > serio: i8042 AUX port at 0x60,0x64 irq 12 > input: PS/2 Generic Mouse on isa0060/serio1 > <snip> > input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:1d.0-1 > > When it panics, I see this: > > mice: PS/2 mouse device common for all mice > serio: i8042 AUX port at 0x60,0x64 irq 12 > Unable to handle kernel NULL pointer dereference at virtual address 00000000 > printing eip:
Hi,
Could you please try the patch below?
-- Dmitry
===== drivers/input/mouse/psmouse-base.c 1.65 vs edited ===== --- 1.65/drivers/input/mouse/psmouse-base.c 2004-06-28 23:00:50 -05:00 +++ edited/drivers/input/mouse/psmouse-base.c 2004-06-30 00:13:58 -05:00 @@ -717,13 +717,14 @@ goto out; } + /* Install default protocol handler (may be overriden later) */ + psmouse->protocol_handler = psmouse_process_byte; + psmouse->type = psmouse_extensions(psmouse, psmouse_max_proto, 1); if (!psmouse->vendor) psmouse->vendor = "Generic"; if (!psmouse->name) psmouse->name = "Mouse"; - if (!psmouse->protocol_handler) - psmouse->protocol_handler = psmouse_process_byte; sprintf(psmouse->devname, "%s %s %s", psmouse_protocols[psmouse->type], psmouse->vendor, psmouse->name); - 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/
| |