On Thu, 28 Sep 2006 14:19:12 -0400
"Dmitry Torokhov" <[EMAIL PROTECTED]> wrote:

> On 9/28/06, Andrew Morton <[EMAIL PROTECTED]> wrote:
> >
> > 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]
> >
> 
> Hmm, that is wierd... There is no kref_get in input_open_device as far
> as I can tell...

There are a few of them in mousedev_open, so perhaps we're seeing stack gunk.

CONFIG_UNWIND_INFO=y
# CONFIG_STACK_UNWIND is not set

doh.

> And the first OOPS is strange too -
> input-unlink_handle removes a handle from 2 lists and for it to oops
> the structure should be filled with garbage... Liek it starts
> transmitting data and after a second owerwrites its structure with
> something.
> 
> Do you boot with mouse already connected?

I tried it both ways.  The failure-after-one-second is consistent.  The
oopsing was somewhat random.

> Do you have evdev enabled

Yes.

> (can I get your .config/dmesg)?

Config is http://www.zip.com.au/~akpm/linux/patches/stuff/config-sony

dmesg is harder - the machine is five miles away, turned off.

> Do you have an external PS/2 mouse
> handy to try it instead of USB mouse?

I don't think the Vaio has PS/2 connectors.

Ho hum.  Looks like there's a git-bisect in my immediate future.


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