linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Can't hotplug two cardbus devices -- a 3c575 ethernet adapter anda
@ 2001-01-22 20:15 David Brownell
  2001-01-22 21:01 ` Miles Lane
  2001-01-22 23:58 ` Andrew Morton
  0 siblings, 2 replies; 3+ messages in thread
From: David Brownell @ 2001-01-22 20:15 UTC (permalink / raw)
  To: linux-hotplug

It should make /etc/hotplug/net.agent invoke "ifup eth0" ...
assuming you have "/sbin/ifup".  Are you sure it isn't doing
that?  Certainly does for me ...


----- Original Message -----
From: Miles Lane <miles@megapathdsl.net>
To: Andrew Morton <andrewm@uow.edu.au>
Cc: <linux-hotplug-devel@lists.sourceforge.net>
Sent: Monday, January 22, 2001 10:50 AM
Subject: Re: Can't hotplug two cardbus devices -- a 3c575 ethernet adapter anda USB
host-controller.


> BTW:  What action is this hotplug call supposed to accomplish?
>
> Jan 22 10:40:45 agate /sbin/hotplug: arguments (net) env
> (ACTION=register TERM=dumb HOSTTYPE=i386
> PATH=/bin:/sbin:/usr/sbin:/usr/bin HOME=/ SHELL=/bin/bash DEBUG=yes
> INTERFACE=eth0 OSTYPE=Linux SHLVL=1 _=/usr/bin/env)
>
> When I load the 3c59x driver by hand (the hotplug
> "add" hotplug event isn't loading the driver),
> this "register" hotplug process kicks off.  However,
> it doesn't do anything I can determine, like
> run "ifup eth0".
>
>
> _______________________________________________
> 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


_______________________________________________
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] 3+ messages in thread

* Re: Can't hotplug two cardbus devices -- a 3c575 ethernet adapter anda
  2001-01-22 20:15 Can't hotplug two cardbus devices -- a 3c575 ethernet adapter anda David Brownell
@ 2001-01-22 21:01 ` Miles Lane
  2001-01-22 23:58 ` Andrew Morton
  1 sibling, 0 replies; 3+ messages in thread
From: Miles Lane @ 2001-01-22 21:01 UTC (permalink / raw)
  To: linux-hotplug

David Brownell wrote:

> It should make /etc/hotplug/net.agent invoke "ifup eth0" ...
> assuming you have "/sbin/ifup".  Are you sure it isn't doing
> that?  Certainly does for me ...
> 

<snip>

When I insert my 3c575, I get:

Jan 22 12:55:30 agate kernel: cs: cb_alloc(bus 1): vendor 0x10b7, device 
0x5157
Jan 22 12:55:30 agate kernel:   got res[1000:107f] for resource 0 of PCI 
device 10b7:5157
Jan 22 12:55:30 agate kernel:   got res[10800000:1080007f] for resource 
1 of PCI device 10b7:5157
Jan 22 12:55:30 agate kernel:   got res[10800080:108000ff] for resource 
2 of PCI device 10b7:5157
Jan 22 12:55:30 agate kernel:   got res[10400000:1041ffff] for resource 
6 of PCI device 10b7:5157
Jan 22 12:55:30 agate kernel: PCI: Enabling device 01:00.0 (0000 -> 0003)
Jan 22 12:55:30 agate kernel: PCI: No IRQ known for interrupt pin A of 
device 01:00.0.
Jan 22 12:55:30 agate cardmgr[444]: initializing socket 0
Jan 22 12:55:30 agate cardmgr[444]: socket 0: 3Com 3CCFE575B/3CXFE575B 
Fast EtherLink XL
Jan 22 12:55:30 agate /sbin/hotplug: arguments (pci) env 
(PCI_CLASS 000 PCI_ID\x10B7:5157 ACTION­d 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 12:55:30 agate cardmgr[444]: module 
/lib/modules/2.4.1-pre9/pcmcia/cb_enabler.o not available
Jan 22 12:55:30 agate cardmgr[444]: module 
/lib/modules/2.4.1-pre9/pcmcia/3c575_cb.o not available
Jan 22 12:55:31 agate cardmgr[444]: get dev info on socket 0 failed: 
Resource temporarily unavailable

I see no sign of "modprobe 3c59x" occuring.

When I run "modprobe 3c59x" by hand, I get:

Jan 22 12:59:38 agate kernel: 3c59x.c:LK1.1.12 06 Jan 2000  Donald 
Becker and others. http://www.scyld.com/network/vortex.html $Revision: 
1.102.2.46 $
Jan 22 12:59:38 agate kernel: See Documentation/networking/vortex.txt
Jan 22 12:59:38 agate kernel: eth0: 3Com PCI 3CCFE575BT Cyclone CardBus 
at 0x1000, PCI: Setting latency timer of device 01:00.0 to 64
Jan 22 12:59:38 agate kernel:  00:10:4b:7c:9d:9d, IRQ 11
Jan 22 12:59:38 agate kernel:   product code 'NV' rev 07.1 date 06-09-98
Jan 22 12:59:38 agate kernel: eth0: CardBus functions mapped 
10800080->c5a50080
Jan 22 12:59:38 agate kernel:   8K byte-wide RAM 5:3 Rx:Tx split, MII 
interface.
Jan 22 12:59:38 agate kernel:   MII transceiver found at address 0, 
status 782d.
Jan 22 12:59:38 agate kernel:   Enabling bus-master transmits and 
whole-frame receives.
Jan 22 12:59:38 agate /sbin/hotplug: arguments (net) env 
(ACTION=register TERM=dumb HOSTTYPE=i386 
PATH=/bin:/sbin:/usr/sbin:/usr/bin HOME=/ SHELL=/bin/bash DEBUG=yes 
INTERFACE=eth0 OSTYPE=Linux SHLVL=1 _=/usr/bin/env)
Jan 22 12:59:39 agate kernel: eth0: using default media MII

And, I see no sign of "ifup eth0" being run.


_______________________________________________
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] 3+ messages in thread

* Re: Can't hotplug two cardbus devices -- a 3c575 ethernet adapter anda
  2001-01-22 20:15 Can't hotplug two cardbus devices -- a 3c575 ethernet adapter anda David Brownell
  2001-01-22 21:01 ` Miles Lane
@ 2001-01-22 23:58 ` Andrew Morton
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2001-01-22 23:58 UTC (permalink / raw)
  To: linux-hotplug

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.

_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2001-01-22 23:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-22 20:15 Can't hotplug two cardbus devices -- a 3c575 ethernet adapter anda David Brownell
2001-01-22 21:01 ` Miles Lane
2001-01-22 23:58 ` Andrew Morton

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).