linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "sleeping function called ... " on modprobe uhci-hcd
@ 2002-10-15  2:49 Matt Reppert
  2002-10-15  3:50 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Reppert @ 2002-10-15  2:49 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "sleeping function called ... " on modprobe uhci-hcd
  2002-10-15  2:49 "sleeping function called ... " on modprobe uhci-hcd Matt Reppert
@ 2002-10-15  3:50 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2002-10-15  3:50 UTC (permalink / raw)
  To: Matt Reppert; +Cc: linux-kernel

On Mon, Oct 14, 2002 at 09:49:34PM -0500, Matt Reppert wrote:
> 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

This is fixed in Linus's tree.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-15  3:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-15  2:49 "sleeping function called ... " on modprobe uhci-hcd Matt Reppert
2002-10-15  3:50 ` Greg KH

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