Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards.
Quoted 5 lines · Miles Lane
Quoted 1 line · Andrew Morton
I think you need an `alias eth0 3c59x' in modules.conf.
I'll try that. Is this something that modutils should be doing?
I don't think so. Standard aliases that are generated out of the kernel are not a problem. But expecting modutils to select different aliases based on which user space package is being used is a problem. Policy settings are the user's responsibility. It does not help when kernel developers insist on renaming modules without telling anyone, modutils will always be out of date compared to kernel changes.
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 11 lines · Keith Owens
Quoted 6 lines · Miles Lane
Quoted 1 line · Andrew Morton
I think you need an `alias eth0 3c59x' in modules.conf.
I'll try that. Is this something that modutils should be doing?
Quoted 6 lines
I don't think so. Standard aliases that are generated out of the kernel are not a problem. But expecting modutils to select different aliases based on which user space package is being used is a problem. Policy settings are the user's responsibility. It does not help when kernel developers insist on renaming modules without telling anyone, modutils will always be out of date compared to kernel changes.
Well, what about having a stub 3c575_cb driver? Also, what would it take to add a "Standard alias" to the 2.4.0 kernel? This problem, I agree, is really stupid, arbitrary incompatibility.
Miles
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug
In reply to Keith OwensQuoted 6 lines · Miles Lane
On further exploration:
Adding "alias eth0 3c59x" or "alias
/dev/eth03c59x" or "alias 3c575_cb 3c59x" and then running "depmod -ae" before inserting the 3c575 card did not help.
Uh. OK, cardmgr is trying to load 3c575_cb.o
No easy fix for this which is back-compatible with a 2.2 reboot apart from `ln 3c59x.o 3c575_cb.o'.
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug
In reply to Keith OwensQuoted 4 lines · Miles Lane
Well, what about having a stub 3c575_cb driver? Also, what would it take to add a "Standard alias" to the 2.4.0 kernel? This problem, I agree, is really stupid, arbitrary incompatibility.
pcmcia-cs's config files hold the mapping between PCI device IDs and the names of the drivers which care for those devices. In /etc/pcmcia/config.O.
This is kinda obsoleted by modules.*map.
If your '/sbin/hotplug pci' script is using modules.pcimap then eveything should "just work", without using cardmgr. I hope.
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel