Re: Linux hotplug - doesn't seem to work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/2/09, Sujith Sankar <sujithsankar1@xxxxxxxxx> wrote:
> Hi Alan,
>
> Thanks for the reply.
>
> Yes, my /sbin/hotplug script works as intended if run manually.
> Like you said, running the whole udev is not feasible due to the
> memory constraints.
>
> Regards,
> -Sujith

Sorry, I have no idea what the problem is.  If I had the system in
front of me... I'd be at the level of looking through the kernel
source code, and maybe testing what code gets run by sprinkling it
with printk() statements.

The generic code which actually calls /sbin/hotplug is in
lib/kobject_uevent.c.  It already has a few pr_debug() calls (as
described in Documentation/dynamic-debug-howto.txt) .  If it gets as
far as call_usermodehelper(), hopefully the return value would tell
you something interesting.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux