Re: Bonding Driver Questions

From: Constantine Gavrilov (const-g@xpert.com)
Date: Tue Sep 26 2000 - 05:35:28 EST


Thomas Davis wrote:

> Link status is not used at all in v2.2 (and would mean a rewrite of
> drivers to get it)
>
> Link status is used in v2.4. Not all drivers support link status. In
> fact, I don't know of any that do - but it's possible now to do it.
>
> Simply taking down the interface should be enough to remove it from
> enslavement.
>

I am using 3com 574 pcmica ethernet. It reports the link status on start
up and it reports "lost link" if I pull out the cable.

On start up:
..........................................................................
Sep 25 11:21:08 localhost cardmgr[209]: executing: './network start
eth0'
Sep 25 11:21:08 localhost pumpd[6596]: starting at (uptime 7 days,
20:30:29) Mon Sep 25 11:21:08 2000
Sep 25 11:21:10 localhost kernel: eth0: found link beat
Sep 25 11:21:10 localhost kernel: eth0: autonegotiation complete:
100baseT-FD selected
.............................................................................

On pulling out the cable:
Sep 26 13:25:02 localhost kernel: eth0: lost link beat
Sep 26 13:25:02 localhost kernel: eth0: autonegotiation restarted
................................................................

This is kernel 2.2.x. I guess the drivers in pcmcia are the same as in
2.4.x, right? Any idea how to check for link status from user space even
if it is dependent on a specific adapter? (Pcmcia is of no interest to
me; for production and a serious lab testing pci cards would be used).

> Simply taking down the interface should be enough to remove it from
> enslavement.
>

I cannot ifconfig the interface down if it is a part of a bonded device.
It reports "device is busy".

Thanks.

-- 
----------------------------------------
Constantine Gavrilov
Unix System Administrator and Programmer
Xpert Integrated Systems
1 Shenkar St, Herzliya 46725, Israel
Phone: (972-8)-952-2361
Fax:   (972-9)-952-2366
----------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:17 EST