Yes, it looks like hub.c down()s a semaphore while holding
its own spinlock... it doesn't always cause this message.
The comment says it never blocks, but... shouldn't this change?

- Dave


Debug: sleeping function called from illegal context at 
/usr/src/2.5.40/include/asm/semaphore.h:119
c7309f5c c011c7f6 c02c0e40 c904b160 00000077 c7496400 c903f4e8 c904b160
        00000077 c7e5e544 c119be0c c119be0c c7496400 00000282 00000000 c0123530
        c740c8a0 c7308000 c740c8a0 00000287 00000001 c7308000 c7308000 00000000
Call Trace:
  [<c011c7f6>]__might_sleep+0x56/0x5d
  [<c904b160>].rodata.str1.32+0xfc0/0x4dc0 [usbcore]
  [<c903f4e8>]usb_hub_events+0xa8/0x430 [usbcore]
  [<c904b160>].rodata.str1.32+0xfc0/0x4dc0 [usbcore]
  [<c0123530>]reparent_to_init+0x150/0x1a0
  [<c903f8a5>]usb_hub_thread+0x35/0x100 [usbcore]
  [<c010781d>]ret_from_fork+0x5/0x14
  [<c011a240>]default_wake_function+0x0/0x40
  [<c903f870>]usb_hub_thread+0x0/0x100 [usbcore]
  [<c01055f9>]kernel_thread_helper+0x5/0xc

Debug: sleeping function called from illegal context at 
/usr/src/2.5.40/include/asm/semaphore.h:119
c7309f5c c011c7f6 c02c0e40 c904b160 00000077 c7c0b800 c903f4e8 c904b160
        00000077 c755edec c119be94 c119be94 c7c0b800 00000282 00000000 c0123530
        c740c8a0 c7308000 c740c8a0 00000283 00000001 c7308000 c7308000 00000000
Call Trace:
  [<c011c7f6>]__might_sleep+0x56/0x5d
  [<c904b160>].rodata.str1.32+0xfc0/0x4dc0 [usbcore]
  [<c903f4e8>]usb_hub_events+0xa8/0x430 [usbcore]
  [<c904b160>].rodata.str1.32+0xfc0/0x4dc0 [usbcore]
  [<c0123530>]reparent_to_init+0x150/0x1a0
  [<c903f8a5>]usb_hub_thread+0x35/0x100 [usbcore]
  [<c010781d>]ret_from_fork+0x5/0x14
  [<c011a240>]default_wake_function+0x0/0x40
  [<c903f870>]usb_hub_thread+0x0/0x100 [usbcore]
  [<c01055f9>]kernel_thread_helper+0x5/0xc




-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to