mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Warren Togami <warren@togami.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6-test3 compusa USB optical mouse
Date: Sun, 10 Aug 2003 21:52:05 -0700	[thread overview]
Message-ID: <20030810215205.1028d3de.akpm@osdl.org> (raw)
In-Reply-To: <1060565776.2888.3.camel@laptop>

Warren Togami <warren@togami.com> 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
linux-usb-devel@lists.sourceforge.net

> 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().


  reply	other threads:[~2003-08-11  4:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-11  1:53 Warren Togami
2003-08-11  4:52 ` Andrew Morton [this message]
2003-08-11  6:31   ` Warren Togami
2003-08-11  6:32   ` Warren Togami

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030810215205.1028d3de.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=warren@togami.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®