mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dtor_core@ameritech.net>
To: linux-kernel@vger.kernel.org
Cc: twl@mail.com
Subject: Re: 2.6.7 oops in psmouse/serio while booting
Date: Wed, 30 Jun 2004 00:25:53 -0500	[thread overview]
Message-ID: <200406300025.57639.dtor_core@ameritech.net> (raw)
In-Reply-To: <20040630042228.7FC414BDAE@ws1-1.us4.outblaze.com>

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);

  reply	other threads:[~2004-06-30  5:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-30  4:22 twl
2004-06-30  5:25 ` Dmitry Torokhov [this message]
2004-06-30 15:25 twl
2004-06-30 15:59 Dmitry Torokhov
2004-06-30 20:08 twl

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=200406300025.57639.dtor_core@ameritech.net \
    --to=dtor_core@ameritech.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=twl@mail.com \
    /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®