satinet
>Further to this i think you need to make sure that module autoloading was compiled as part of >your kernel. This is definitely an option. I believe this is called kmod (kernel module loader).
yes I had it compiled with this option:
CONFIG_KMOD=y
>What devices are you wanting to [B]hotplug/[B] anyway?
network interfaces and sound card
>I would suggest building this into the kernel rather than as a modules, if you want support for
> it all the time. I migh tbe wrong on the module unloading, but if it is something you want all > the time, why not make it be there all the time?
Yes, you are right. First I had this compiled into kernel, but there are various reasons why I want it as a module:
* I recompile kernel few times in row, it takes me less time to compile only core kernel or modules only
* It is more universal. I can give this kernel to my friends without making them to recompile kernel for their own. I just add few extra modules
* I want to have core kernel as small a possible. I have SATA disk and It is not supported in Slackware 9.1 kernels and probably won't be in Slackware 10. With floppy with custom kernel I can install Slackware without the need of taking PATA disk from my old PC
* maybe less important, I want to know what in going on in my system. I had my 2.4 kernel working with hotplug and I want my 2.6 to work as well. I know how to pass by the problem, but I want to solve the problem
keefaz,
> Just to be sure, is /etc/rc.d/rc.hotplug executable ? (if not chmod +x /etc/rc.d/rc.hotplug)
Yes, it is executable. (It was one of the first things I checked)
> What is the output for : ls /sys/bus/pci/drivers
root@/sys/bus/pci/drivers\379#ls -l
razem 0
drwxr-xr-x 2 root root 0 2004-06-23 21:56 8139too/ <-- my eth1
drwxr-xr-x 2 root root 0 2004-06-23 21:56 ehci_hcd/
drwxr-xr-x 2 root root 0 2004-06-23 23:56 parport_pc/
drwxr-xr-x 2 root root 0 2004-06-23 23:56 PCI\ IDE/
drwxr-xr-x 2 root root 0 2004-06-23 23:56 sata_via/
drwxr-xr-x 2 root root 0 2004-06-23 21:56 uhci_hcd/
drwxr-xr-x 2 root root 0 2004-06-23 21:56 VIA\ 82xx\ Audio/ <-- my sound card
drwxr-xr-x 2 root root 0 2004-06-23 23:56 VIA\ IDE/
drwxr-xr-x 2 root root 0 2004-06-23 21:56 via-rhine/ <-- my eth0
Tuttle,
> try looking at /etc/hotplug/blacklist and comment out any modules which are not loading.
in that module there are no modules of mine. Any way this file works fine with 2.4 kernel.