lkml.org 
[lkml]   [2002]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject"sleeping function called ... " on modprobe uhci-hcd
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.029 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site