* PROBLEM: Oops in Kernel 2.6.15 usbhid
@ 2006-01-06 6:25 Patrick Read
2006-01-10 5:54 ` Dmitry Torokhov
0 siblings, 1 reply; 6+ messages in thread
From: Patrick Read @ 2006-01-06 6:25 UTC (permalink / raw)
To: linux-kernel
[1.] Oops in Kernel 2.6.15 usbhid
[2.] Compiled 2.6.15 downloaded from kernel.org. Configured, made,
and installed. During reboot, I get an Oops in the USB HID module.
This does not occur with a nearly-identical config on the same
computer with kernel 2.6.14.5.
[3.] USB, HID, kernel, 2.6.15, module
[4.] 2.6.15
[5.] 2.6.14.5
[6.] Syslog available online at
http://www.cs.txstate.edu/~patrick/kernel-debug/syslog-2.6.15-DEBUG.txt
[7.] N/A
[8.] N/A
[8.1] Output of ver_linux script available online at
http://www.cs.txstate.edu/~patrick/kernel-debug/ver_linux_output.txt
[8.2] CPU information (/proc/cpuinfo) available online at
http://www.cs.txstate.edu/~patrick/kernel-debug/cpuinfo-DEBUG.txt
[8.3] Module information (/proc/modules) available online at
http://www.cs.txstate.edu/~patrick/kernel-debug/modulesinfo-DEBUG.txt
[8.4] Information regarding I/O Ports/Memory available online at
http://www.cs.txstate.edu/~patrick/kernel-debug/ioports-DEBUG.txt and
http://www.cs.txstate.edu/~patrick/kernel-debug/iomem-DEBUG.txt
[8.5] PCI information available online at
http://www.cs.txstate.edu/~patrick/kernel-debug/lspci-vvv-as-root-DEBUG.txt
[8.6] SCSI devices: None
patrick@pr01:~$ cat /proc/scsi/scsi
Attached devices:
patrick@pr01:~$
[8.7] Other information: None
[X.] I copied everything over to text files (plain ASCII) and posted
them online in the interest of saving space in this e-mail. The
entire directory is browseable at
http://www.cs.txstate.edu/~patrick/kernel-debug/
Thank you,
Patrick A. Read
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: PROBLEM: Oops in Kernel 2.6.15 usbhid
2006-01-06 6:25 PROBLEM: Oops in Kernel 2.6.15 usbhid Patrick Read
@ 2006-01-10 5:54 ` Dmitry Torokhov
2006-01-11 8:21 ` Patrick Read
0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Torokhov @ 2006-01-10 5:54 UTC (permalink / raw)
To: Patrick Read; +Cc: linux-kernel
On Friday 06 January 2006 01:25, Patrick Read wrote:
> [1.] Oops in Kernel 2.6.15 usbhid
>
> [2.] Compiled 2.6.15 downloaded from kernel.org. Configured, made,
> and installed. During reboot, I get an Oops in the USB HID module.
> This does not occur with a nearly-identical config on the same
> computer with kernel 2.6.14.5.
>
> [3.] USB, HID, kernel, 2.6.15, module
>
Could you please try the patch below? Thanks!
--
Dmitry
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---
drivers/usb/input/pid.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: work/drivers/usb/input/pid.c
===================================================================
--- work.orig/drivers/usb/input/pid.c
+++ work/drivers/usb/input/pid.c
@@ -259,7 +259,7 @@ static int hid_pid_upload_effect(struct
int hid_pid_init(struct hid_device *hid)
{
struct hid_ff_pid *private;
- struct hid_input *hidinput = list_entry(&hid->inputs, struct hid_input, list);
+ struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list);
struct input_dev *input_dev = hidinput->input;
private = hid->ff_private = kzalloc(sizeof(struct hid_ff_pid), GFP_KERNEL);
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: PROBLEM: Oops in Kernel 2.6.15 usbhid
2006-01-10 5:54 ` Dmitry Torokhov
@ 2006-01-11 8:21 ` Patrick Read
2006-01-11 14:31 ` Dmitry Torokhov
0 siblings, 1 reply; 6+ messages in thread
From: Patrick Read @ 2006-01-11 8:21 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: linux-kernel
On 1/9/06, Dmitry Torokhov <dtor_core@ameritech.net> wrote:
> On Friday 06 January 2006 01:25, Patrick Read wrote:
> > [1.] Oops in Kernel 2.6.15 usbhid
> >
> > [2.] Compiled 2.6.15 downloaded from kernel.org. Configured, made,
> > and installed. During reboot, I get an Oops in the USB HID module.
> > This does not occur with a nearly-identical config on the same
> > computer with kernel 2.6.14.5.
> >
> > [3.] USB, HID, kernel, 2.6.15, module
> >
>
> Could you please try the patch below? Thanks!
>
> --
> Dmitry
>
> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
> ---
>
> drivers/usb/input/pid.c | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
> Index: work/drivers/usb/input/pid.c
> ===================================================================
> --- work.orig/drivers/usb/input/pid.c
> +++ work/drivers/usb/input/pid.c
> @@ -259,7 +259,7 @@ static int hid_pid_upload_effect(struct
> int hid_pid_init(struct hid_device *hid)
> {
> struct hid_ff_pid *private;
> - struct hid_input *hidinput = list_entry(&hid->inputs, struct hid_input, list);
> + struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list);
> struct input_dev *input_dev = hidinput->input;
>
> private = hid->ff_private = kzalloc(sizeof(struct hid_ff_pid), GFP_KERNEL);
>
The above fix works like a charm. 2.6.15 is running on this very
computer that I'm typing on.
Thank you for your good work. Please ensure that this fix gets
incorporated in the mainline kernel.
Patrick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: PROBLEM: Oops in Kernel 2.6.15 usbhid
2006-01-11 8:21 ` Patrick Read
@ 2006-01-11 14:31 ` Dmitry Torokhov
2006-01-12 1:11 ` Adrian Bunk
0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Torokhov @ 2006-01-11 14:31 UTC (permalink / raw)
To: Patrick Read; +Cc: linux-kernel
On 1/11/06, Patrick Read <pread99999@gmail.com> wrote:
> On 1/9/06, Dmitry Torokhov <dtor_core@ameritech.net> wrote:
> > On Friday 06 January 2006 01:25, Patrick Read wrote:
> > > [1.] Oops in Kernel 2.6.15 usbhid
> > >
> > > [2.] Compiled 2.6.15 downloaded from kernel.org. Configured, made,
> > > and installed. During reboot, I get an Oops in the USB HID module.
> > > This does not occur with a nearly-identical config on the same
> > > computer with kernel 2.6.14.5.
> > >
> > > [3.] USB, HID, kernel, 2.6.15, module
> > >
> >
> > Could you please try the patch below? Thanks!
> >
> > --
> > Dmitry
> >
> > Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
> > ---
> >
> > drivers/usb/input/pid.c | 2 +-
> > 1 files changed, 1 insertion(+), 1 deletion(-)
> >
> > Index: work/drivers/usb/input/pid.c
> > ===================================================================
> > --- work.orig/drivers/usb/input/pid.c
> > +++ work/drivers/usb/input/pid.c
> > @@ -259,7 +259,7 @@ static int hid_pid_upload_effect(struct
> > int hid_pid_init(struct hid_device *hid)
> > {
> > struct hid_ff_pid *private;
> > - struct hid_input *hidinput = list_entry(&hid->inputs, struct hid_input, list);
> > + struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list);
> > struct input_dev *input_dev = hidinput->input;
> >
> > private = hid->ff_private = kzalloc(sizeof(struct hid_ff_pid), GFP_KERNEL);
> >
>
> The above fix works like a charm. 2.6.15 is running on this very
> computer that I'm typing on.
>
> Thank you for your good work. Please ensure that this fix gets
> incorporated in the mainline kernel.
>
Thank you for testing it, I will forward it to Linus.
--
Dmitry
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: PROBLEM: Oops in Kernel 2.6.15 usbhid
2006-01-11 14:31 ` Dmitry Torokhov
@ 2006-01-12 1:11 ` Adrian Bunk
0 siblings, 0 replies; 6+ messages in thread
From: Adrian Bunk @ 2006-01-12 1:11 UTC (permalink / raw)
To: dtor_core; +Cc: Patrick Read, linux-kernel
On Wed, Jan 11, 2006 at 09:31:32AM -0500, Dmitry Torokhov wrote:
> On 1/11/06, Patrick Read <pread99999@gmail.com> wrote:
> > On 1/9/06, Dmitry Torokhov <dtor_core@ameritech.net> wrote:
> > > ===================================================================
> > > --- work.orig/drivers/usb/input/pid.c
> > > +++ work/drivers/usb/input/pid.c
> > > @@ -259,7 +259,7 @@ static int hid_pid_upload_effect(struct
> > > int hid_pid_init(struct hid_device *hid)
> > > {
> > > struct hid_ff_pid *private;
> > > - struct hid_input *hidinput = list_entry(&hid->inputs, struct hid_input, list);
> > > + struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list);
> > > struct input_dev *input_dev = hidinput->input;
> > >
> > > private = hid->ff_private = kzalloc(sizeof(struct hid_ff_pid), GFP_KERNEL);
> > >
> >
> > The above fix works like a charm. 2.6.15 is running on this very
> > computer that I'm typing on.
> >
> > Thank you for your good work. Please ensure that this fix gets
> > incorporated in the mainline kernel.
> >
>
> Thank you for testing it, I will forward it to Linus.
Could you also forward it stable@kernel.org for inclusion in 2.6.15.x?
> Dmitry
TIA
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: PROBLEM: Oops in Kernel 2.6.15 usbhid
@ 2006-01-13 18:51 Chuck Ebbert
0 siblings, 0 replies; 6+ messages in thread
From: Chuck Ebbert @ 2006-01-13 18:51 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Dmitry Torokhov, linux-kernel, linux-stable
In-Reply-To: <20060112011125.GO29663@stusta.de>
On Thu, 12 Jan 2006, Adrian Bunk wrote:
> On Wed, Jan 11, 2006 at 09:31:32AM -0500, Dmitry Torokhov wrote:
> > On 1/11/06, Patrick Read <pread99999@gmail.com> wrote:
> > > On 1/9/06, Dmitry Torokhov <dtor_core@ameritech.net> wrote:
> > > > ===================================================================
> > > > --- work.orig/drivers/usb/input/pid.c
> > > > +++ work/drivers/usb/input/pid.c
> > > > @@ -259,7 +259,7 @@ static int hid_pid_upload_effect(struct
> > > > int hid_pid_init(struct hid_device *hid)
> > > > {
> > > > struct hid_ff_pid *private;
> > > > - struct hid_input *hidinput = list_entry(&hid->inputs, struct hid_input, list);
> > > > + struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list);
> > > > struct input_dev *input_dev = hidinput->input;
> > > >
> > > > private = hid->ff_private = kzalloc(sizeof(struct hid_ff_pid), GFP_KERNEL);
> > > >
> > >
> > > The above fix works like a charm. 2.6.15 is running on this very
> > > computer that I'm typing on.
> > >
> > > Thank you for your good work. Please ensure that this fix gets
> > > incorporated in the mainline kernel.
> > >
> >
> > Thank you for testing it, I will forward it to Linus.
>
> Could you also forward it stable@kernel.org for inclusion in 2.6.15.x?
I don't see it in Linus's tree yet.
Could it still be put into 2.6.15.1?
--
From: Dmitry Torokhov <dtor_core@ameritech.net>
Fix oops in usbhid.
--- work.orig/drivers/usb/input/pid.c
+++ work/drivers/usb/input/pid.c
@@ -259,7 +259,7 @@ static int hid_pid_upload_effect(struct
int hid_pid_init(struct hid_device *hid)
{
struct hid_ff_pid *private;
- struct hid_input *hidinput = list_entry(&hid->inputs, struct hid_input, list);
+ struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list);
struct input_dev *input_dev = hidinput->input;
private = hid->ff_private = kzalloc(sizeof(struct hid_ff_pid), GFP_KERNEL);
--
Chuck
Currently reading: _Olympos_ by Dan Simmons
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-01-13 18:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-06 6:25 PROBLEM: Oops in Kernel 2.6.15 usbhid Patrick Read
2006-01-10 5:54 ` Dmitry Torokhov
2006-01-11 8:21 ` Patrick Read
2006-01-11 14:31 ` Dmitry Torokhov
2006-01-12 1:11 ` Adrian Bunk
2006-01-13 18:51 Chuck Ebbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).