lkml.org 
[lkml]   [2000]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Bonding Driver Questions
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/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.026 / U:20.080 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site