>----- Original Message ----
>From: "Tantilov, Emil S" <[EMAIL PROTECTED]>
>To: Dhirendra Pal Singh <[EMAIL PROTECTED]>; 
>"e1000-devel@lists.sourceforge.net" <e1000-devel@lists.sourceforge.net>
>Sent: Thursday, August 7, 2008 6:10:33 PM
>Subject: RE: [E1000-devel] interface not comming down when doing a ifconfig 
>eth0 down

>Dhirendra Pal Singh wrote:
>> Hi Folks,
>>
>> I have been
>> beating my head with this problem with almost a week without any
>> results.. I
>> hope someone here might be able to help and would be deeply
>> appreciated..
>>
>> The problem
>> in one line is, that when I say ifconfig eth0 down, on kernel 2.4.28,
>> the cisco
>> switch to which it is connected to, still detects it, as up, with the
>> link led also lit up. Now there is some HA stuff at the client's
>> place, which is dependent on  the router detecting, that the
>> interface is down.

>Try disabling WOL (ethtool -s eth0 wol d). The drivers will not shutdown the 
>PHY on ifdown which is causing the link to stay up unless WOL is disabled. 
>This is by design.
>
>Thanks,
>Emil

Hi Emil,
Thanks a lot for the tip.. It worked perfectly for "normal" 3 e1000 interface 
present on the box. Also due to this drill, I was able to see where in driver 
code, due to WOL, interface is not coming down completely...:).


However in this box we have something called as "bypass", as evident by this 
proc entry...

***************************************************************************************
***10.10.10.10# cat /proc/net/bypass/bypass_eth1/bypass 
off
***************************************************************************************
And this is the interface that is not coming down completely. Router still 
thinks its connected.

I thought may be if I take it out of bypass it will work, but no luck.. Any 
ideas/suggestion/comments on what could be missing..?

Thanks again for helping
Dp


      

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel

Reply via email to