2003-08-11 01:53:55

by Warren Togami

[permalink] [raw]
Subject: 2.6-test3 compusa USB optical mouse

I normally use Logitech optical USB mice in Linux. I bought a "CompUSA
Optical USB Notebook Mouse" for $14 and the following happens in dmesg
in kernel-2.6.0-test3.

Known bug? Should I Bugzilla this?

hub 1-1:0: debounce: port 2: delay 100ms stable 4 status 0x301
hub 1-1:0: new USB device on port 2, assigned address 8
drivers/usb/core/message.c: selecting invalid configuration 0
usb 1-1.2: failed to set device 8 default configuration (error=-22)
hub 1-1:0: new USB device on port 2, assigned address 9
drivers/usb/core/message.c: selecting invalid configuration 0
usb 1-1.2: failed to set device 9 default configuration (error=-22)
Debug: sleeping function called from invalid context at
include/asm/uaccess.h:473
Call Trace:
[<c011ab9b>] __might_sleep+0x5b/0x80
[<c010cc66>] save_v86_state+0x66/0x1f0
[<c010d737>] handle_vm86_fault+0xa7/0x8c0
[<c01519fb>] do_sync_write+0x8b/0xc0
[<c01a1e15>] inode_has_perm+0x65/0xa0
[<c010b820>] do_general_protection+0x0/0xa0
[<c010aae5>] error_code+0x2d/0x38
[<c010a93b>] syscall_call+0x7/0xb



2003-08-11 04:52:01

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6-test3 compusa USB optical mouse

Warren Togami <[email protected]> wrote:
>
> I normally use Logitech optical USB mice in Linux. I bought a "CompUSA
> Optical USB Notebook Mouse" for $14 and the following happens in dmesg
> in kernel-2.6.0-test3.
>
> Known bug? Should I Bugzilla this?
>
> hub 1-1:0: debounce: port 2: delay 100ms stable 4 status 0x301
> hub 1-1:0: new USB device on port 2, assigned address 8
> drivers/usb/core/message.c: selecting invalid configuration 0
> usb 1-1.2: failed to set device 8 default configuration (error=-22)
> hub 1-1:0: new USB device on port 2, assigned address 9
> drivers/usb/core/message.c: selecting invalid configuration 0
> usb 1-1.2: failed to set device 9 default configuration (error=-22)

You don't state whether the mouse actually works.

Assuming it doesn't, yes, please bugzilla it, or bug the folks at
[email protected]

> Debug: sleeping function called from invalid context at
> include/asm/uaccess.h:473
> Call Trace:
> [<c011ab9b>] __might_sleep+0x5b/0x80
> [<c010cc66>] save_v86_state+0x66/0x1f0
> [<c010d737>] handle_vm86_fault+0xa7/0x8c0
> [<c01519fb>] do_sync_write+0x8b/0xc0
> [<c01a1e15>] inode_has_perm+0x65/0xa0
> [<c010b820>] do_general_protection+0x0/0xa0
> [<c010aae5>] error_code+0x2d/0x38
> [<c010a93b>] syscall_call+0x7/0xb

This is probably due to userspace performing a system call while the CPU
has interrupts disabled. Privileged apps can do this - the X server and
hwclock are two examples.

Longer-term we probably need to remove the irqs_disabled() test from
__might_sleep().

2003-08-11 06:31:57

by Warren Togami

[permalink] [raw]
Subject: Re: 2.6-test3 compusa USB optical mouse

On Sun, 2003-08-10 at 18:52, Andrew Morton wrote:
> Warren Togami <[email protected]> wrote:
> >
> > I normally use Logitech optical USB mice in Linux. I bought a "CompUSA
> > Optical USB Notebook Mouse" for $14 and the following happens in dmesg
> > in kernel-2.6.0-test3.
> >
> > Known bug? Should I Bugzilla this?
> >
> > hub 1-1:0: debounce: port 2: delay 100ms stable 4 status 0x301
> > hub 1-1:0: new USB device on port 2, assigned address 8
> > drivers/usb/core/message.c: selecting invalid configuration 0
> > usb 1-1.2: failed to set device 8 default configuration (error=-22)
> > hub 1-1:0: new USB device on port 2, assigned address 9
> > drivers/usb/core/message.c: selecting invalid configuration 0
> > usb 1-1.2: failed to set device 9 default configuration (error=-22)
>
> You don't state whether the mouse actually works.
>
> Assuming it doesn't, yes, please bugzilla it, or bug the folks at
> [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=1077
Filed Bugzilla. Indeed the mouse does not work.

Thanks,
Warren Togami
[email protected]

2003-08-11 06:32:07

by Warren Togami

[permalink] [raw]
Subject: Re: 2.6-test3 compusa USB optical mouse

On Sun, 2003-08-10 at 18:52, Andrew Morton wrote:
> Warren Togami <[email protected]> wrote:
> >
> > I normally use Logitech optical USB mice in Linux. I bought a "CompUSA
> > Optical USB Notebook Mouse" for $14 and the following happens in dmesg
> > in kernel-2.6.0-test3.
> >
> > Known bug? Should I Bugzilla this?
> >
> > hub 1-1:0: debounce: port 2: delay 100ms stable 4 status 0x301
> > hub 1-1:0: new USB device on port 2, assigned address 8
> > drivers/usb/core/message.c: selecting invalid configuration 0
> > usb 1-1.2: failed to set device 8 default configuration (error=-22)
> > hub 1-1:0: new USB device on port 2, assigned address 9
> > drivers/usb/core/message.c: selecting invalid configuration 0
> > usb 1-1.2: failed to set device 9 default configuration (error=-22)
>
> You don't state whether the mouse actually works.
>
> Assuming it doesn't, yes, please bugzilla it, or bug the folks at
> [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=1077
Filed Bugzilla. Indeed the mouse does not work.

Thanks,
Warren Togami
[email protected]