Please help! -- Problem: Intel 82543 card reports lots of carrier errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried But no help neither.

I peek into the e1000 kernel driver files, and in the file
/drivers/net/e1000/e1000_ethtool.c we can find that 82543 gigabit's
transceiver is get|set to "external". It means that either driver
problem or the underlying hardware is crazy, or I'm too dumb :)

 Another thing don't quite understand is, There are NO
e1000_media_type_RJ45 defined in e1000_hw.h file, only
e1000_media_type_copper and  e1000_media_type_fiber.

 Please help.


 Related sections from e1000_hw.h and e1000_ethtool.c are attached
below.

/* from e1000_hw.h */
......
, only /* Media Types */
typedef enum {
    e1000_media_type_copper = 0,
    e1000_media_type_fiber = 1,
    e1000_media_type_internal_serdes = 2,
    e1000_num_media_types
} e1000_media_type;
.......


/* from e1000_ethtool.c */
.......
 static int
e1000_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd)
{
        struct e1000_adapter *adapter = netdev->priv;
        struct e1000_hw *hw = &adapter->hw;

        if(hw->media_type == e1000_media_type_copper) {

			.......
                        ecmd->advertising |= hw->autoneg_advertised;
                }

                ecmd->port = PORT_TP;
                ecmd->phy_address = hw->phy_addr;

                if(hw->mac_type == e1000_82543)
                        ecmd->transceiver = XCVR_EXTERNAL;
                else
                        ecmd->transceiver = XCVR_INTERNAL;
        } else {
		......	
                if(hw->mac_type >= e1000_82545)
                        ecmd->transceiver = XCVR_INTERNAL;
                else
                        ecmd->transceiver = XCVR_EXTERNAL;
        } 
......

-----Original Message-----
From: Yang Xiao [mailto:yxiao2004@xxxxxxxxx] 
Sent: Tuesday, September 28, 2004 5:36 PM
To: Guolin Cheng
Subject: Re: Problem: Intel 82543 card reports lots of carrier errors

one thing I've noticed with ethtool is that you have to bring down the
interface to make the change soemtimes, so try
ifdown eth1;ethtool -s eth1 xcvr internal;ifup eth1

Yang

On Tue, 28 Sep 2004 17:14:40 -0700, Guolin Cheng <guolin@xxxxxxxxx>
wrote:
> 
> I did that but no help.
> 
> If fact, we have more than 40 machines with Intel 82543 gigabit
network
> card, all of them have the same problem. So either the driver or the
> hardware got some kind of issues I don't understand.
> 
> I'm using the general Linux kernel 2.4.26 on linux Fedora Core 1.
> Thanks.
> 
> --Guolin
> 
> 
> 
> 
> -----Original Message-----
> From: fedora-list-bounces@xxxxxxxxxx
> [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Yang Xiao
> Sent: Tuesday, September 28, 2004 4:54 PM
> To: For users of Fedora Core releases
> Subject: Re: Problem: Intel 82543 card reports lots of carrier errors
> 
> Change the cable and or port on the switch.
> 
> Yang
> 
> ----- Original Message -----
> From: Guolin Cheng <guolin@xxxxxxxxx>
> Date: Tue, 28 Sep 2004 10:52:58 -0700
> Subject: Problem: Intel 82543 card reports  lots of carrier errors
> To: fedora-list@xxxxxxxxxx
> 
> Hi,
> 
> Anyone know why Intel 82543 gigabit cards report lots of carrier
> problems?  I don't know why Intel 82543 gigabit network card using
> external transceiver(reported by ethtool) since it is directly
> connected to HP Switch with CAT-6 RJ45 network cables. Any one can
> explain where is the external transceiver for the Intel 82543 cards?
> I tried to run "ethtool -s eth1 xcvr internal" trying to set its
> transreciver to internal(on-board) but the operation fails silently.
> Please help.
> 
> In contrast, Intel 82540 gigabit cards reports no carrier problems at
> all, and use internal transceiver(reported by ethtool).
> 
> The following are the output of commands ethtool and ifconfig:
> 
> [root@dumbboy root]# ifconfig eth1 | grep carrier
> 
>          TX packets:56944847 errors:0 dropped:0 overruns:0
> carrier:39363496
> 
> [root@dumbboy root]# ethtool -S eth1 | grep -E 'carrier|tx_packets'
> 
>     tx_packets: 57027012
> 
>     tx_carrier_errors: 39417377
> 
> [root@dumbboy root]# ethtool eth1
> 
> Settings for eth1:
> 
>        Supported ports: [ TP ]
> 
>        Supported link modes:   10baseT/Half 10baseT/Full
> 
>                                100baseT/Half 100baseT/Full
> 
>                                1000baseT/Full
> 
>        Supports auto-negotiation: Yes
> 
>        Advertised link modes:  10baseT/Half 10baseT/Full
> 
>                                100baseT/Half 100baseT/Full
> 
>                                1000baseT/Full
> 
>        Advertised auto-negotiation: Yes
> 
>        Speed: 100Mb/s
> 
>        Duplex: Full
> 
>        Port: Twisted Pair
> 
>        PHYAD: 0
> 
>        Transceiver: externel
> 
>        Auto-negotiation: on
> 
>        Supports Wake-on: d
> 
>        Wake-on: d
> 
>        Link detected: yes
> 
> [root@dumbboy root]#
> 
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
> 
> 
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
>



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux