From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miles Lane Date: Tue, 23 Jan 2001 00:52:22 +0000 Subject: Re: Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards. Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Miles Lane wrote: > Andrew Morton wrote: >=20 >> Miles Lane wrote: >>=20 >>> Jan 22 12:55:30 agate cardmgr[444]: module >>> /lib/modules/2.4.1-pre9/pcmcia/3c575_cb.o not available >>=20 >> The hotplug command is doing the right thing - it's >> trying to load 3c575_cb.o. But you're using 3c59x.o >> under 2.4. >>=20 >> I think you need an `alias eth0 3c59x' in modules.conf. >=20 >=20 > I'll try that. Is this something that modutils should > be doing? I kinda think it is. Basically, we'd need > aliasing of any pcmcia-cs drivers whose function is now > served by a new driver in the 2.4.0 kernel tree. > BTW: I would *really* like to see someone championing > creating a smooth transition path for pcmcia-cs users. > This means getting all the usermode stuff in place for > removing drivers (thanks, David) and also building a > way to prepare a PCMCIA/Cardbus card for removal. >=20 > I guess the tough part, here, is the PCMCIA support. > Which, I gather, isn't really there in the 2.4.0 > kernel code, yet. Is that correct? On further exploration: Adding "alias eth0 3c59x" or "alias /dev/eth0 3c59x" or "alias 3c575_cb 3c59x" and then running "depmod -ae" before inserting the 3c575 card did not help. Also, I am questioning whether /sbin/hotplug uses cardmgr to get the modules loaded. That means that the messages I sent earlier: Jan 22 16:43:26 agate /sbin/hotplug: arguments (pci) env=20 (PCI_CLASS 000 PCI_ID=10B7:5157 ACTION=ADd TERM=3Ddumb HOSTTYPE=3Di386=20 PATH=3D/bin:/sbin:/usr/sbin:/usr/bin HOME=3D/ SHELL=3D/bin/bash DEBUG=3Dyes= =20 PCI_SUBSYS_ID=10B7:5B57 OSTYPE=3DLinux PCI_SLOT_NAME=01:00.0 SHLVL=3D1=20 _=3D/usr/bin/env) Jan 22 16:43:26 agate cardmgr[444]: module=20 /lib/modules/2.4.1-pre9/pcmcia/cb_enabler.o not available Jan 22 16:43:26 agate cardmgr[444]: module=20 /lib/modules/2.4.1-pre9/pcmcia/3c575_cb.o not available may simply show that Card Services is trying to handle the driver loading, not /sbin/hotplug. I will have to check and see whether David Brownell is correct and I am missing the recent hotplug patch sent by Dan Zink. Anyhow, if /sbin/hotplug is going to handle the driver loading using modprobe, than we will probably need a way to get cardmgr out of the picture. Miles _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel