* Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards.
@ 2001-01-23 0:33 Miles Lane
2001-01-23 0:52 ` Miles Lane
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Miles Lane @ 2001-01-23 0:33 UTC (permalink / raw)
To: linux-hotplug
Andrew Morton wrote:
> Miles Lane wrote:
>
>> ...
>> Jan 22 12:55:30 agate cardmgr[444]: module
>> /lib/modules/2.4.1-pre9/pcmcia/3c575_cb.o not available
>
>
> 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.
>
> I think you need an `alias eth0 3c59x' in modules.conf.
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.
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?
Thanks,
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards.
@ 2001-01-23 0:47 Keith Owens
2001-01-23 0:59 ` Miles Lane
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Keith Owens @ 2001-01-23 0:47 UTC (permalink / raw)
To: linux-hotplug
On Mon, 22 Jan 2001 16:33:42 -0800,
Miles Lane <miles@megapathdsl.net> wrote:
>Andrew Morton wrote:
>> 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
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards.
2001-01-23 0:33 Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards Miles Lane
@ 2001-01-23 0:52 ` Miles Lane
2001-01-23 1:14 ` Bill Nottingham
2001-01-23 3:39 ` David Hinds
2 siblings, 0 replies; 8+ messages in thread
From: Miles Lane @ 2001-01-23 0:52 UTC (permalink / raw)
To: linux-hotplug
Miles Lane wrote:
> Andrew Morton wrote:
>
>> Miles Lane wrote:
>>
>>> Jan 22 12:55:30 agate cardmgr[444]: module
>>> /lib/modules/2.4.1-pre9/pcmcia/3c575_cb.o not available
>>
>> 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.
>>
>> I think you need an `alias eth0 3c59x' in modules.conf.
>
>
> 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.
>
> 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
(PCI_CLASS 000 PCI_ID\x10B7:5157 ACTIONd TERM=dumb HOSTTYPE=i386
PATH=/bin:/sbin:/usr/sbin:/usr/bin HOME=/ SHELL=/bin/bash DEBUG=yes
PCI_SUBSYS_ID\x10B7:5B57 OSTYPE=Linux PCI_SLOT_NAME\x01:00.0 SHLVL=1
_=/usr/bin/env)
Jan 22 16:43:26 agate cardmgr[444]: module
/lib/modules/2.4.1-pre9/pcmcia/cb_enabler.o not available
Jan 22 16:43:26 agate cardmgr[444]: module
/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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards.
2001-01-23 0:47 Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards Keith Owens
@ 2001-01-23 0:59 ` Miles Lane
2001-01-23 1:55 ` Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug Andrew Morton
2001-01-23 2:19 ` Andrew Morton
2 siblings, 0 replies; 8+ messages in thread
From: Miles Lane @ 2001-01-23 0:59 UTC (permalink / raw)
To: linux-hotplug
Keith Owens wrote:
> On Mon, 22 Jan 2001 16:33:42 -0800,
> Miles Lane <miles@megapathdsl.net> wrote:
>
>> Andrew Morton wrote:
>>
>>> 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.
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
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards.
2001-01-23 0:33 Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards Miles Lane
2001-01-23 0:52 ` Miles Lane
@ 2001-01-23 1:14 ` Bill Nottingham
2001-01-23 3:39 ` David Hinds
2 siblings, 0 replies; 8+ messages in thread
From: Bill Nottingham @ 2001-01-23 1:14 UTC (permalink / raw)
To: linux-hotplug
Miles Lane (miles@megapathdsl.net) said:
> > 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.
> >
> > I think you need an `alias eth0 3c59x' in modules.conf.
>
> 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.
I don't think it's something that should be solved in modutils;
there's no reason it needs to know in modutils itself about
what modules do what with what kernel version; alias.h is
big enough as is. ;)
I would think that if you had working modules.<foo>map support,
it shouldn't be a problem.
Bill
_______________________________________________
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug
2001-01-23 0:47 Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards Keith Owens
2001-01-23 0:59 ` Miles Lane
@ 2001-01-23 1:55 ` Andrew Morton
2001-01-23 2:19 ` Andrew Morton
2 siblings, 0 replies; 8+ messages in thread
From: Andrew Morton @ 2001-01-23 1:55 UTC (permalink / raw)
To: linux-hotplug
Miles Lane wrote:
>
> 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.
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
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug
2001-01-23 0:47 Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards Keith Owens
2001-01-23 0:59 ` Miles Lane
2001-01-23 1:55 ` Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug Andrew Morton
@ 2001-01-23 2:19 ` Andrew Morton
2 siblings, 0 replies; 8+ messages in thread
From: Andrew Morton @ 2001-01-23 2:19 UTC (permalink / raw)
To: linux-hotplug
Miles Lane wrote:
>
> 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
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards.
2001-01-23 0:33 Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards Miles Lane
2001-01-23 0:52 ` Miles Lane
2001-01-23 1:14 ` Bill Nottingham
@ 2001-01-23 3:39 ` David Hinds
2 siblings, 0 replies; 8+ messages in thread
From: David Hinds @ 2001-01-23 3:39 UTC (permalink / raw)
To: linux-hotplug
On Mon, Jan 22, 2001 at 04:52:22PM -0800, Miles Lane wrote:
>
> 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.
The hotplug script should not need this alias. That's the whole point
of having the PCI ID matching stuff, right? (the driver gets loaded
based on the device ID, not based on a user request for eth0)
> Also, I am questioning whether /sbin/hotplug uses
> cardmgr to get the modules loaded. That means that
> the messages I sent earlier:
/sbin/hotplug and cardmgr do not interact. cardmgr decided to try
loading 3c575_cb based on /etc/pcmcia/config; no hotplug event was
involved.
-- Dave
_______________________________________________
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2001-01-23 3:39 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-23 0:47 Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards Keith Owens
2001-01-23 0:59 ` Miles Lane
2001-01-23 1:55 ` Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug Andrew Morton
2001-01-23 2:19 ` Andrew Morton
-- strict thread matches above, loose matches on Subject: below --
2001-01-23 0:33 Need new modutils aliases for 2.4.0? (Was) Re: Cannot hotplug cardbus cards Miles Lane
2001-01-23 0:52 ` Miles Lane
2001-01-23 1:14 ` Bill Nottingham
2001-01-23 3:39 ` David Hinds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).