On Thu, 28 Sep 2006 01:57:20 -0400
Dmitry Torokhov <[EMAIL PROTECTED]> wrote:

> On Wednesday 27 September 2006 23:49, Andrew Morton wrote:
> > On Wed, 27 Sep 2006 23:11:49 -0400
> > Dmitry Torokhov <[EMAIL PROTECTED]> wrote:
> > > 
> > > Works here on basically 2.6.18 + my tree.
> > 
> > Try current-mainline + your-tree.
> > 
> 
> Still works...

hmm.  I plugged the mouse in and wiggled it a bit and the cursor moved. 
After about a second, it simply stopped.

Then I unplugged it and...

[ 8517.876000] usb 2-1: USB disconnect, address 4
[ 8517.876000] PM: Removing info for No Bus:usbdev2.4_ep81
[ 8517.876000] BUG: unable to handle kernel paging request at virtual address 
464c4583
[ 8517.876000]  printing eip:
[ 8517.876000] c026067d
[ 8517.876000] *pde = 00000000
[ 8517.876000] Oops: 0002 [#1]
[ 8517.876000] last sysfs file: /class/usb_device/usbdev2.4/dev
[ 8517.876000] Modules linked in: ipw2200 sonypi autofs4 hidp l2cap bluetooth 
sunrpc ip_conntrack_netbios_ns ipt_REJECT xt_state ip_conntrack nfnetlink 
xt_tcpudp iptable_filter ip_tables x_tables video sony_acpi sbs i2c_ec button 
battery asus_acpi ac nvram ohci1394 ieee1394 ehci_hcd uhci_hcd sg joydev 
snd_hda_intel snd_hda_codec snd_seq_dummy snd_seq_oss snd_seq_midi_event 
snd_seq snd_seq_device snd_pcm_oss ieee80211 snd_mixer_oss snd_pcm snd_timer 
ieee80211_crypt snd soundcore snd_page_alloc i2c_i801 piix i2c_core pcspkr 
generic ext3 jbd ide_disk ide_core
[ 8517.876000] CPU:    0
[ 8517.876000] EIP:    0060:[<c026067d>]    Not tainted VLI
[ 8517.876000] EFLAGS: 00010283   (2.6.18 #1)
[ 8517.876000] EIP is at input_unlink_handle+0xa/0x2b
[ 8517.876000] eax: f61b5c18   ebx: 464c457f   ecx: 00010101   edx: f61b5c34
[ 8517.876000] esi: f64ec000   edi: 0027fff4   ebp: f61de858   esp: f7f31e84
[ 8517.876000] ds: 007b   es: 007b   ss: 0068
[ 8517.876000] Process khubd (pid: 118, ti=f7f31000 task=f7f2e030 
task.ti=f7f31000)
[ 8517.876000] Stack: f61b5c18 c02620f8 00000000 f6234a00 eec838e4 eec82000 
c025bc9e eec82000 
[ 8517.876000]        c039b600 c039b62c c0258e22 f6f6ba00 c025143a f6f6ba7c 
f6f6ba14 c0222bae 
[ 8517.876000]        f6f6ba14 f6f6ba14 00000000 c0222ed8 f6f6ba7c c0222581 
f6f6ba14 f6f6ba14 
[ 8517.876000] Call Trace:
[ 8517.876000]  [<c02620f8>] input_unregister_device+0x71/0x162
[ 8517.876000]  [<c025bc9e>] hidinput_disconnect+0x2e/0x47
[ 8517.876000]  [<c0258e22>] hid_disconnect+0x5c/0xa8
[ 8517.876000]  [<c025143a>] usb_unbind_interface+0x31/0x64
[ 8517.876000]  [<c0222bae>] __device_release_driver+0x5a/0x72
[ 8517.876000]  [<c0222ed8>] device_release_driver+0x22/0x37
[ 8517.876000]  [<c0222581>] bus_remove_device+0x61/0x71
[ 8517.876000]  [<c0221332>] device_del+0x135/0x166
[ 8517.876000]  [<c024fd09>] usb_disable_device+0x5c/0xbb
[ 8517.876000]  [<c024cf5a>] usb_disconnect+0x87/0xdb
[ 8517.876000]  [<c024d398>] hub_thread+0x397/0xa73
[ 8517.876000]  [<c0127ed0>] autoremove_wake_function+0x0/0x35
[ 8517.876000]  [<c024d001>] hub_thread+0x0/0xa73
[ 8517.876000]  [<c0127d6a>] kthread+0xad/0xdb
[ 8517.876000]  [<c0127cbd>] kthread+0x0/0xdb
[ 8517.876000]  [<c0103683>] kernel_thread_helper+0x7/0x10
[ 8517.876000]  =======================
[ 8517.876000] Code: 39 c0 eb de c3 8b 0a 89 48 3c b8 a4 c1 39 c0 eb a3 53 8b 
19 43 89 58 3c b8 a4 c1 39 c0 5b eb c2 c3 53 8b 58 1c 8d 50 1c 8b 4a 04 <89> 4b 
04 89 19 89 52 04 8b 58 14 89 50 1c 8d 50 14 8b 4a 04 89 
[ 8517.876000] EIP: [<c026067d>] input_unlink_handle+0xa/0x2b SS:ESP 
0068:f7f31e84
[ 8517.876000]  


<reboots>

Yes, the it-works-for-one-second effect is repeatable.  It's no longer
oopsing on the unplugs though.

> Can you check if you getting data from /dev/input/eventX

<wonders how to do that>

I catted input0 and input1, but there's no sign of any activity there.

> and also load evbug module to see if reports any events.

service gpm stop
modprobe evbug
<wiggle mouse>
<nothing appears in dmesg>
rmmod evbug
service gpm start
<oops>

[   64.692000] evbug.c: Connected device: "Microsoft Microsoft Wireless Optical 
Mouse 1.00", usb-0000:00:1d.1-1/input0
[   64.692000] input: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical 
Mouse 1.00] on usb-0000:00:1d.1-1
[   64.692000] PM: Adding info for No Bus:usbdev2.5_ep81
[  134.972000] BUG: unable to handle kernel NULL pointer dereference at virtual 
address 00000049
[  134.972000]  printing eip:
[  134.972000] c01bd37e
[  134.972000] *pde = 00000000
[  134.972000] Oops: 0000 [#1]
[  134.972000] last sysfs file: /class/usb_device/usbdev2.5/dev
[  134.972000] Modules linked in: ipw2200 sonypi autofs4 hidp l2cap bluetooth 
sunrpc ip_conntrack_netbios_ns ipt_REJECT xt_state ip_conntrack nfnetlink 
xt_tcpudp iptable_filter ip_tables x_tables video sony_acpi sbs i2c_ec button 
battery asus_acpi ac nvram ohci1394 ieee1394 ehci_hcd uhci_hcd sg joydev 
snd_hda_intel snd_hda_codec snd_seq_dummy snd_seq_oss snd_seq_midi_event 
snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer ieee80211 
ieee80211_crypt snd piix i2c_i801 soundcore pcspkr snd_page_alloc i2c_core 
generic ext3 jbd ide_disk ide_core
[  134.972000] CPU:    0
[  134.972000] EIP:    0060:[<c01bd37e>]    Not tainted VLI
[  134.972000] EFLAGS: 00010286   (2.6.18 #1)
[  134.972000] EIP is at kref_get+0x6/0x3c
[  134.972000] eax: 00000049   ebx: 00000049   ecx: 00000000   edx: f62c2000
[  134.972000] esi: c04520e0   edi: f62b1608   ebp: fffffff4   esp: f62c2ea0
[  134.972000] ds: 007b   es: 007b   ss: 0068
[  134.972000] Process gpm (pid: 2823, ti=f62c2000 task=c19a2ab0 
task.ti=f62c2000)
[  134.972000] Stack: c02616b7 c195bb18 c04520e0 f62b1608 f6673698 c0263a2c 
f6991464 f620cf00 
[  134.972000]        c0452124 c039bce0 f620cf00 f6991464 f620cf00 c026252f 
00000000 f7f2dc40 
[  134.972000]        f6991464 c0156d2a c015d9dc f620cf00 f6991464 00000000 
c0156c67 c0153601 
[  134.972000] Call Trace:
[  134.972000]  [<c02616b7>] input_open_device+0x63/0x6a
[  134.972000]  [<c0263a2c>] mousedev_open+0xbe/0x12b
[  134.972000]  [<c026252f>] input_open_file+0x85/0xf7
[  134.972000]  [<c0156d2a>] chrdev_open+0xc3/0xe8
[  134.972000]  [<c015d9dc>] open_namei+0x27a/0x5aa
[  134.972000]  [<c0156c67>] chrdev_open+0x0/0xe8
[  134.972000]  [<c0153601>] __dentry_open+0xb8/0x187
[  134.972000]  [<c015374a>] nameidata_to_filp+0x24/0x33
[  134.972000]  [<c015378b>] do_filp_open+0x32/0x39
[  134.972000]  [<c01546ae>] do_sys_open+0x42/0xbe
[  134.972000]  [<c0154763>] sys_open+0x1c/0x1e
[  134.972000]  [<c0102b87>] syscall_call+0x7/0xb
[  134.972000]  [<c02c007b>] km_report+0x21/0x53
[  134.972000]  =======================
[  134.972000] Code: 46 6c f4 ff 8b 03 48 74 0b ff 0b 0f 94 c0 31 d2 84 c0 74 
09 89 d8 ff d6 ba 01 00 00 00 83 c4 10 89 d0 5b 5e c3 53 89 c3 83 ec 10 <8b> 00 
85 c0 75 29 c7 44 24 0c 69 09 2d c0 c7 44 24 08 20 00 00 
[  134.972000] EIP: [<c01bd37e>] kref_get+0x6/0x3c SS:ESP 0068:f62c2ea0
[  134.972000]  

it's certainly not happy.

<reboot>

<leave gpm running>
modprobe evbug
<wiggle mouse>
<nothing appears in dmesg>
rmmod evbug
<no oops>
service gpm stop
<no oops>
service gpm start
<same oops>

> If not we'll
> have to check all changes ti HID driver, there wasn't many in my tree.
> 
> Btw, my prism54 based card will not associate to an AP unless I specify
> essid "any". Have you seen such reports?

My ipw2200 works OK.  Don't know, sorry.

> Maybe my wireless tools are to
> blame (I am still on version 17)...

sony:/dev/input# rpm -qf $(which iwconfig)  
wireless-tools-28-0.pre13.5.1


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to