linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matt Reppert <arashi@arashi.yi.org>
To: linux-kernel@vger.kernel.org
Subject: "sleeping function called ... " on modprobe uhci-hcd
Date: Mon, 14 Oct 2002 21:49:34 -0500	[thread overview]
Message-ID: <20021014214934.35069015.arashi@arashi.yi.org> (raw)

Got this when I modprobed uhci-hcd ...

drivers/usb/core/hub.c: USB hub found at 0
drivers/usb/core/hub.c: 2 ports detected
PCI: Found IRQ 10 for device 00:1f.4
PCI: Sharing IRQ 10 with 01:0b.0
PCI: Setting latency timer of device 00:1f.4 to 64
drivers/usb/core/hcd-pci.c: uhci-hcd @ 00:1f.4, Intel Corp. 82801BA/BAM USB (Hub #2)
drivers/usb/core/hcd-pci.c: irq 10, io base 0000ef80
drivers/usb/core/hcd.c: new USB bus registered, assigned bus number 2
drivers/usb/core/hub.c: USB hub found at 0
drivers/usb/core/hub.c: 2 ports detected
Debug: sleeping function called from illegal context at include/asm/semaphore.h:126
Call Trace:
 [<c0114054>] __might_sleep+0x54/0x60
 [<c01f46ad>] usb_hub_events+0x65/0x2b8
 [<c01f4935>] usb_hub_thread+0x35/0xe4
 [<c01f4900>] usb_hub_thread+0x0/0xe4
 [<c0112f50>] default_wake_function+0x0/0x34
 [<c01054a9>] kernel_thread_helper+0x5/0xc

drivers/usb/core/hub.c: new USB device 00:1f.2-1, assigned address 2
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-00:1f.2-1

(This? :)
                /* Grab the next entry from the beginning of the list */
                tmp = hub_event_list.next;

                hub = list_entry(tmp, struct usb_hub, event_list);
                dev = interface_to_usbdev(hub->intf);

                list_del_init(tmp);

                down(&hub->khubd_sem); /* never blocks, we were on list */
                spin_unlock_irqrestore(&hub_event_lock, flags);


Linux-2.5.42-mm2 on i686.

Matt

             reply	other threads:[~2002-10-15  2:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-15  2:49 Matt Reppert [this message]
2002-10-15  3:50 ` "sleeping function called ... " on modprobe uhci-hcd Greg KH

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=20021014214934.35069015.arashi@arashi.yi.org \
    --to=arashi@arashi.yi.org \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).