[ACPI-sppt] usbcore module can't unload after swsusp
Micha Feigin <[email protected]>
| Newsgroups | gmane.linux.acpi.support |
|---|---|
| Message-ID | <[email protected]> |
I am running a patched kernel 2.4.21 with acpi and swsusp ver 1.0.3 with usb compiled in as a module. When kernel loads for the first time everything works fine, all usb modules can be loaded and unloaded properly. After suspending and restarting, the computer comes up fine and everything works. The problem is that at this point, when I try to unload the usbcore module it gets to the point of calling usb_hub_cleanup in drivers/usb/hub.c. At this points it tried to kill khubd with killproc, which works fine (the process is stoped), with a return value of 0. The problem is that at this point the function locks on the call wait_for_completion(&khubd_exited); which never returns, and rmmod gets locked. I tried changing the DECLARE_COMPLETION call so that it will be redone each time the module starts but it didn't solve the problem. Any ideas on how to further persue this or whether there is a known solution? Thanx -- Micha Feigin [email protected] ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01