"sleeping function called ... " on modprobe uhci-hcd

From: Matt Reppert (arashi@arashi.yi.org)
Date: Mon Oct 14 2002 - 21:49:34 EST


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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:53 EST