[lkml]   [2003]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectmodprobe usbcore from acpid problem 2.4.21
There is a bug in the usbcore module, such that if it is loaded using
modprobe from an acpid script in response to an event it later fails to
unload again.

I isolated the problem to calling /etc/init.d/modutils (debian) from a
script that is called in responce to the sleep button event. This in
turn loads every module in /etc/modules using modprobe.
The modules loaded this way are (in this order):
When I later try to unload the usb modules, the usbcore module locks at:
drivers/usb/hub.c:void usb_hub_cleanup(void)
at the call to

This doesn't happen if I call /etc/init.d/modutils manually from the
command line.

This is under kernel 2.4.21 (debian version) with acpi+swsusp patches.
Any ideas what would be different between this two methods that can
cause this bug ? I have ruled out the fact that acpid is run as a
daemon and might thus cause a problem with the reparent_to_init call
(ran it as a regular program, no help).

Micha Feigin

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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