* Oops in 2.4.16, usb/HID stuff
@ 2001-11-27 23:39 Luben Tuikov
2001-11-27 23:53 ` Randy.Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Luben Tuikov @ 2001-11-27 23:39 UTC (permalink / raw)
To: linux-kernel
2.4.16, kgcc (gcc version egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)), dell dimension 8100, HID(usb) mouse
and kbd.
Could it be that hid is invalid in hid-core.c:1231?
Here is the relevant info:
----cut-here-----
hub.c: USB new device connect on bus1/1, assigned device
number 2
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: USB new device connect on bus1/2, assigned device
number 3
input0: USB HID v1.00 Mouse [Logitech USB-PS/2 Mouse
M-BA47] on usb1:3.0
hub.c: USB new device connect on bus1/1/1, assigned device
number 4
input1: USB HID v1.00 Keyboard [NMB Dell USB 7HK Keyboard]
on usb1:4.0
input2<1>Unable to handle kernel paging request at virtual
address ffffffff
printing eip:
c02bba40
*pde = 00001063
*pte = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c02bba40>] Not tainted
EFLAGS: 00010097
eax: ffffffff ebx: ffffffff ecx: ffffffff edx:
fffffffe
esi: c03986d0 edi: ffffffff ebp: 00000000 esp:
dfe83e6c
ds: 0018 es: 0018 ss: 0018
Process khubd (pid: 10, stackpage=dfe83000)
Stack: 00000000 dfbd2000 00000246 00000002 c0307354
00002392 00000246 0000238c
00002392 c01163bb 0000238c 00002392 0000004e
00000000 c0398abf 0000000a
c0116563 c03986c0 00000400 c0307354 dfe83ee4
00000000 dfbd2000 ffffffff
Call Trace: [<c01163bb>] [<c0116563>] [<c024660b>]
[<c02387e5>] [<c02388c9>]
[<c023a78c>] [<c023bc60>] [<c023be00>] [<c023bfb5>]
[<c0105000>] [<c01056a3>]
Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 89 c7 f7 c5
10 00
----cut-here-----
-l
=====
--
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Oops in 2.4.16, usb/HID stuff
2001-11-27 23:39 Oops in 2.4.16, usb/HID stuff Luben Tuikov
@ 2001-11-27 23:53 ` Randy.Dunlap
0 siblings, 0 replies; 3+ messages in thread
From: Randy.Dunlap @ 2001-11-27 23:53 UTC (permalink / raw)
To: Luben Tuikov; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2104 bytes --]
Luben Tuikov wrote:
>
> 2.4.16, kgcc (gcc version egcs-2.91.66 19990314/Linux
> (egcs-1.1.2 release)), dell dimension 8100, HID(usb) mouse
> and kbd.
>
> Could it be that hid is invalid in hid-core.c:1231?
>
> Here is the relevant info:
> ----cut-here-----
> hub.c: USB new device connect on bus1/1, assigned device
> number 2
> hub.c: USB hub found
> hub.c: 3 ports detected
> hub.c: USB new device connect on bus1/2, assigned device
> number 3
> input0: USB HID v1.00 Mouse [Logitech USB-PS/2 Mouse
> M-BA47] on usb1:3.0
> hub.c: USB new device connect on bus1/1/1, assigned device
> number 4
> input1: USB HID v1.00 Keyboard [NMB Dell USB 7HK Keyboard]
> on usb1:4.0
> input2<1>Unable to handle kernel paging request at virtual
> address ffffffff
> printing eip:
> c02bba40
> *pde = 00001063
> *pte = 00000000
> Oops: 0000
> CPU: 0
> EIP: 0010:[<c02bba40>] Not tainted
> EFLAGS: 00010097
> eax: ffffffff ebx: ffffffff ecx: ffffffff edx:
> fffffffe
> esi: c03986d0 edi: ffffffff ebp: 00000000 esp:
> dfe83e6c
> ds: 0018 es: 0018 ss: 0018
> Process khubd (pid: 10, stackpage=dfe83000)
> Stack: 00000000 dfbd2000 00000246 00000002 c0307354
> 00002392 00000246 0000238c
> 00002392 c01163bb 0000238c 00002392 0000004e
> 00000000 c0398abf 0000000a
> c0116563 c03986c0 00000400 c0307354 dfe83ee4
> 00000000 dfbd2000 ffffffff
> Call Trace: [<c01163bb>] [<c0116563>] [<c024660b>]
> [<c02387e5>] [<c02388c9>]
> [<c023a78c>] [<c023bc60>] [<c023be00>] [<c023bfb5>]
> [<c0105000>] [<c01056a3>]
>
> Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 89 c7 f7 c5
> 10 00
> ----cut-here-----
Hi-
What kinds of hid devices do you have?
Can you post 'lsusb' output (from usb.in.tum.de/download/usbutils/
if you don't already have it)?
I suspect that the hid_types array index is invalid, but you
could be right -- maybe the hid ptr is invalid.
Please try the attached patch and let us know if it helps/works.
Since I was just looking at this, I am familiar with this oops.
However, normally you should run Oops messages thru ksymoops
so that we can read them. :)
~Randy
[-- Attachment #2: hid-safe.patch --]
[-- Type: text/plain, Size: 435 bytes --]
--- linux/drivers/usb/hid-core.c.org Sun Sep 16 11:07:43 2001
+++ linux/drivers/usb/hid-core.c Tue Nov 27 15:30:12 2001
@@ -1237,7 +1237,8 @@
c = "Device";
for (i = 0; i < hid->maxapplication; i++)
if (IS_INPUT_APPLICATION(hid->application[i])) {
- c = hid_types[hid->application[i] & 0xffff];
+ if ((hid->application[i] & 0xffff) < ARRAY_SIZE(hid_types))
+ c = hid_types[hid->application[i] & 0xffff];
break;
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Oops in 2.4.16, usb/HID stuff
@ 2001-11-28 0:00 Luben Tuikov
0 siblings, 0 replies; 3+ messages in thread
From: Luben Tuikov @ 2001-11-28 0:00 UTC (permalink / raw)
To: linux-kernel
Ignore -- the maintainer is looking into it...
--- Luben Tuikov <ltuikov@yahoo.com> wrote:
> 2.4.16, kgcc (gcc version egcs-2.91.66 19990314/Linux
> (egcs-1.1.2 release)), dell dimension 8100, HID(usb)
> mouse
> and kbd.
>
> Could it be that hid is invalid in hid-core.c:1231?
>
> Here is the relevant info:
> ----cut-here-----
> hub.c: USB new device connect on bus1/1, assigned device
> number 2
> hub.c: USB hub found
> hub.c: 3 ports detected
> hub.c: USB new device connect on bus1/2, assigned device
> number 3
> input0: USB HID v1.00 Mouse [Logitech USB-PS/2 Mouse
> M-BA47] on usb1:3.0
> hub.c: USB new device connect on bus1/1/1, assigned
> device
> number 4
> input1: USB HID v1.00 Keyboard [NMB Dell USB 7HK
> Keyboard]
> on usb1:4.0
> input2<1>Unable to handle kernel paging request at
> virtual
> address ffffffff
> printing eip:
> c02bba40
> *pde = 00001063
> *pte = 00000000
> Oops: 0000
> CPU: 0
> EIP: 0010:[<c02bba40>] Not tainted
> EFLAGS: 00010097
> eax: ffffffff ebx: ffffffff ecx: ffffffff edx:
> fffffffe
> esi: c03986d0 edi: ffffffff ebp: 00000000 esp:
> dfe83e6c
> ds: 0018 es: 0018 ss: 0018
> Process khubd (pid: 10, stackpage=dfe83000)
> Stack: 00000000 dfbd2000 00000246 00000002 c0307354
> 00002392 00000246 0000238c
> 00002392 c01163bb 0000238c 00002392 0000004e
> 00000000 c0398abf 0000000a
> c0116563 c03986c0 00000400 c0307354 dfe83ee4
> 00000000 dfbd2000 ffffffff
> Call Trace: [<c01163bb>] [<c0116563>] [<c024660b>]
> [<c02387e5>] [<c02388c9>]
> [<c023a78c>] [<c023bc60>] [<c023be00>] [<c023bfb5>]
> [<c0105000>] [<c01056a3>]
>
> Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 89 c7 f7
> c5
> 10 00
> ----cut-here-----
>
> -l
>
>
>
>
>
> =====
> --
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! GeoCities - quick and easy web site hosting, just
> $8.95/month.
> http://geocities.yahoo.com/ps/info1
>
=====
--
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-11-28 0:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-27 23:39 Oops in 2.4.16, usb/HID stuff Luben Tuikov
2001-11-27 23:53 ` Randy.Dunlap
-- strict thread matches above, loose matches on Subject: below --
2001-11-28 0:00 Luben Tuikov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox