On Wed, 6 Dec 2000, Miles Lane wrote:
>
> I have also just tried a test pass with 3c59x built in and
> USB built as modules. I booted with only the 3c575 inserted.
> I got eth0 running and then loaded usb-ohci (with the enable
> bus mastering change added). This resulted in modprobe hanging
> again.
I bet you're hanging on the rtnl_semaphore due to having a /sbin/hotplug
policy.
Miles, mind trying out a really simple change in the
____call_usermodehelper() function in kernel/kmod.c?
Change: #if 0 out the whole block that says "if (retval >= 0)" and does
the waiting for the child. We shouldn't wait for the user mode helper:
that's just going to cause nasty deadlocks. Deadlocks like the one you
seem to be seeing, in fact.
Does your ifconfig problem go away with that fix?
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Dec 07 2000 - 21:00:17 EST