Re: Ethtool
On 10/22/2008 02:06 PM, Travis Roy wrote: Lastly, i you have a manage switch and have plugged in a recent version of XP or Vista, they have code that can detect the switch and upload Linux detection firmware onto the switch. That is why most of the laptops in my office are connected through another switch to prevent MS from hurting our Netgear switches :-) I'm curious about this, do you have any more details? Maybe Alex Hewitt can provide the answer to this question :-) -- Jerry Feldman <[EMAIL PROTECTED]> Boston Linux and Unix PGP key id: 537C5846 PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB CA3B 4607 4319 537C 5846 signature.asc Description: OpenPGP digital signature ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: Ethtool
> Lastly, i you have a manage switch and have plugged in a recent version of > XP or Vista, they have code that can detect the switch and upload Linux > detection firmware onto the switch. That is why most of the laptops in my > office are connected through another switch to prevent MS from hurting our > Netgear switches :-) I'm curious about this, do you have any more details? ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: Ethtool
On 10/22/2008 10:31 AM, [EMAIL PROTECTED] wrote: CentOS5.2, ethtool 5, Intel PCI 1000Mbit ethernet card - running e1000 driver. The connection from my pc to the local gbit switch is autonegotiating to 10Mbit :( I tried using ethtool to change the connection speed and it seems either I am not doing it right (most likely), or something is wrong. If I attach the NIC directly to my remote server it negotiates to 1000Mbit, so I think the NIC is ok. If I plug the remote server directly to the switch, it negotiates to 1000Mbit, so I would think the switch is ok. So how does one set the speed in ethtool? # ethtool -s eth0 speed 1000 duplex full ? How come this does not work? Wrong syntax? Something else? I've tried a bunch of cables, including ones that did support 1000Mbit. I think it is a hardware issue. Check both the switch and the cables. Could be with the switch. Most GB switches have colored lights to checkwhat speed each port is connected as. Is the uplink connection between the switch and the server running at 1000Mb. I assume your cable is ok because you do negotiate at 1000Mb to the server. Nearly all my systems in the office here are Linux on 1 or 2 Netgear GB switches. My IA64 box at y desktop is showing 1000Mb with the e1000 driver. This is plugged into a wall outlet, and I believe all cables are either CAT 5E or CAT 6. I checked one of the servers, and it is ull 1000Mb using the tg3 driver. A few years ago my desktop system at work (Digital Alpha) was connecting at 10Mb half duplex into a 100Mb switch. The problem was a bug in the switch firmware, but we were able to force 100Mb full duplex by setting the driver configuration in modules.conf. ethtool should be able to do this also. The first thing I would do in your case is to check the cable. Most CAT 5 cables can handle 1000Mb, but they are not guaranteed to and some cheap ones just don't have the extra wires. Try using a known good cable to the switch. Also test the switch with another system to make sure the port you are using on the switch negotiates at 100Mb with another computer. Lastly, i you have a manage switch and have plugged in a recent version of XP or Vista, they have code that can detect the switch and upload Linux detection firmware onto the switch. That is why most of the laptops in my office are connected through another switch to prevent MS from hurting our Netgear switches :-) -- Jerry Feldman <[EMAIL PROTECTED]> Boston Linux and Unix PGP key id: 537C5846 PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB CA3B 4607 4319 537C 5846 signature.asc Description: OpenPGP digital signature ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Ethtool
CentOS5.2, ethtool 5, Intel PCI 1000Mbit ethernet card - running e1000 driver. The connection from my pc to the local gbit switch is autonegotiating to 10Mbit :( I tried using ethtool to change the connection speed and it seems either I am not doing it right (most likely), or something is wrong. If I attach the NIC directly to my remote server it negotiates to 1000Mbit, so I think the NIC is ok. If I plug the remote server directly to the switch, it negotiates to 1000Mbit, so I would think the switch is ok. So how does one set the speed in ethtool? # ethtool -s eth0 speed 1000 duplex full ? How come this does not work? Wrong syntax? Something else? I've tried a bunch of cables, including ones that did support 1000Mbit. -Bruce ** Neither the footer nor anything else in this E-mail is intended to or constitutes an electronic signature and/or legally binding agreement in the absence of an express statement or Autoliv policy and/or procedure to the contrary.This E-mail and any attachments hereto are Autoliv property and may contain legally privileged, confidential and/or proprietary information.The recipient of this E-mail is prohibited from distributing, copying, forwarding or in any way disseminating any material contained within this E-mail without prior written permission from the author. If you receive this E-mail in error, please immediately notify the author and delete this E-mail. Autoliv disclaims all responsibility and liability for the consequences of any person who fails to abide by the terms herein. ** ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: ethtool/nic question
Paul Lussier wrote: > "Darrell Michaud" <[EMAIL PROTECTED]> writes: > >> Sometimes (with Wake on LAN) the NICs will be fully powered as long >> as there's electricity on the motherboard, regardless of whether the >> system is on or not. > > If you turn off WOL in the BIOS, does the NIC still stay fully > powered? We discovered a bug in the Linux kernel e1000 drivers that > will hork the firmware and the only fix was to remove the power cord > and do a cold boot of the system. It's especially annoying when the > chassis you need to yank power on is a single chassis with 2 seperate > systems sharing a power supply, and you can't power off the other > half! H. I am having a problem using ifenslave on 2 e1000's. (twice) on deban systems using "auto" in the interface file. The first bond comes up (eth0 + eth1) on boot but the second one (eth2 eth3) just hangs. I have an nfs mount in fstab on the second bond network so the box just hangs stubbornly on boot. Give me the finger too I think. Another set of servers do not do this - using the exact same config and kernel. The difference is .. a netgear switch. > > I'm wondering if we could avoid yanking power to these systems by > shutting off WOL ? ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: ethtool/nic question
"Darrell Michaud" <[EMAIL PROTECTED]> writes: > Sometimes (with Wake on LAN) the NICs will be fully powered as long > as there's electricity on the motherboard, regardless of whether the > system is on or not. If you turn off WOL in the BIOS, does the NIC still stay fully powered? We discovered a bug in the Linux kernel e1000 drivers that will hork the firmware and the only fix was to remove the power cord and do a cold boot of the system. It's especially annoying when the chassis you need to yank power on is a single chassis with 2 seperate systems sharing a power supply, and you can't power off the other half! I'm wondering if we could avoid yanking power to these systems by shutting off WOL ? -- Seeya, Paul ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: ethtool/nic question
Thanks for the tip on depowering. I'll try this. Not sure about boot on LAN. But the switch is definitely indicating 100MbT at my ethX connection. The remote connection indicated 1000MbT. This indicator followed the hosts even if I swapped the ports on the switch. I'm about ready to dump this distro at this point. I have had way too many issues with other stuff. I think I'll do a clean install of a slightly more up to date distro. Backing up now in process. Ubuntu, here I come... -Bruce "Darrell Michaud" <[EMAIL PROTECTED]> wrote on 10/07/2008 04:22:46 AM: > Once the gig-E cards have dropped down to 100 for a valid reason, > sometimes it is tricky to induce them to renegotiate up again. If they > don't handle it automatically or with something like ethtool or a > manufacturer's utility, you might try removing the kernel module drivers > and re-adding them after switching ports, port configuration, or cables. > Sometimes this isn't enough, because of firmware bugs or something > happening at the hardware level. In this case one workaround is to fully > drain power to the card and then repower it. > > Do either of your NICs support booting from the LAN? If they do (and > sometimes even if they do not) the NICs will fully power on and negotiate > a link before Linux is up. Sometimes (with Wake on LAN) the NICs will be > fully powered as long as there's electricity on the motherboard, > regardless of whether the system is on or not. You can check the lights on > your interface or switch to see if it's recognizing 100bT or 1000bT. If > you can do this and remove the OS as a variable, it might make your > troubleshooting easier. > > > [EMAIL PROTECTED] wrote: > > I have a switch between the two computers I am trying to interconnect. The > > remote computer comes up as gig-E. The local computer, connected to > > either port, seems to come up as 100M. I have tested the switch by > > swapping ports - I know the switch is ok. (The gig-E indicator follows > > the remote switch.) I also tried a different CAT6 cable, still no joy. > > > > To make sure I haven't messed anything totally up, is there a way to set > > the NIC's back to their normal mode. Are the setting for ethtool > > persistent? > > > > # ethtool -s ethX autoneg on ? > > > > Anything else? > > > > -Bruce > > > > "Darrell Michaud" <[EMAIL PROTECTED]> wrote on 10/06/2008 01:45:09 PM: > > > >> I'm sure there's other advice out there but I'll throw in: > >> > >> Don't change the linux broadcom or intel gig-E ethernet drivers from > > their > >> defaults without a specifically documented reason. They will > > autonegotiate > >> to 1000 when possible under normal circumstances. > >> > >> Check your wiring, your switch, your switch's configuration first. My > >> personal experience is that GigE automatically dumbing down from 1000 > >> to > >> 100 has not been due to an configuration issue in the linux drivers. > >> > >> > >> > >> > >> > >> [EMAIL PROTECTED] wrote: > >> > What has your success been with ethtool? I cannot determine if I have > > a > >> > software (ethtool) or hardware issue. > >> > I cannot set either ethernet adapter I have to 1 Gbit. I have a > > Broadcom > >> > NetXtreme BCM5754 Gigabit Ethernet PCI express and a Realtek RTL-8169 > >> > adapters in my box. The Broadcom is integrated in the mobo. > >> > > >> > From google I know that people have had issues with the 8169's. Some > >> > folks have trouble and others don't. > >> > > >> > My distro (still Sci Linux) have only version 5 of ethtools. I just > > built > >> > version 6 of ethtools and it does not seem to make a difference. I > > can > >> > supposedly set the speed and "it allows it", but querying the device > >> > results in the report of the speed not being set to 1000 Mbit. The > > 1Gbit > >> > link light does not go on. I cannot set either interface to 1Gbit, > > even > >> > with autoneg off. > >> > > >> > Any suggestions? Buy another NIC? Not really a problem - which one? > > I > >> > was leaning towards intel, but I read of their firmware being able to > >> > brick itself. > >> > > >> > -Bruce > >> > ** > >> > Neither the footer nor anythin
Re: ethtool/nic question
Once the gig-E cards have dropped down to 100 for a valid reason, sometimes it is tricky to induce them to renegotiate up again. If they don't handle it automatically or with something like ethtool or a manufacturer's utility, you might try removing the kernel module drivers and re-adding them after switching ports, port configuration, or cables. Sometimes this isn't enough, because of firmware bugs or something happening at the hardware level. In this case one workaround is to fully drain power to the card and then repower it. Do either of your NICs support booting from the LAN? If they do (and sometimes even if they do not) the NICs will fully power on and negotiate a link before Linux is up. Sometimes (with Wake on LAN) the NICs will be fully powered as long as there's electricity on the motherboard, regardless of whether the system is on or not. You can check the lights on your interface or switch to see if it's recognizing 100bT or 1000bT. If you can do this and remove the OS as a variable, it might make your troubleshooting easier. [EMAIL PROTECTED] wrote: > I have a switch between the two computers I am trying to interconnect. The > remote computer comes up as gig-E. The local computer, connected to > either port, seems to come up as 100M. I have tested the switch by > swapping ports - I know the switch is ok. (The gig-E indicator follows > the remote switch.) I also tried a different CAT6 cable, still no joy. > > To make sure I haven't messed anything totally up, is there a way to set > the NIC's back to their normal mode. Are the setting for ethtool > persistent? > > # ethtool -s ethX autoneg on ? > > Anything else? > > -Bruce > > "Darrell Michaud" <[EMAIL PROTECTED]> wrote on 10/06/2008 01:45:09 PM: > >> I'm sure there's other advice out there but I'll throw in: >> >> Don't change the linux broadcom or intel gig-E ethernet drivers from > their >> defaults without a specifically documented reason. They will > autonegotiate >> to 1000 when possible under normal circumstances. >> >> Check your wiring, your switch, your switch's configuration first. My >> personal experience is that GigE automatically dumbing down from 1000 >> to >> 100 has not been due to an configuration issue in the linux drivers. >> >> >> >> >> >> [EMAIL PROTECTED] wrote: >> > What has your success been with ethtool? I cannot determine if I have > a >> > software (ethtool) or hardware issue. >> > I cannot set either ethernet adapter I have to 1 Gbit. I have a > Broadcom >> > NetXtreme BCM5754 Gigabit Ethernet PCI express and a Realtek RTL-8169 >> > adapters in my box. The Broadcom is integrated in the mobo. >> > >> > From google I know that people have had issues with the 8169's. Some >> > folks have trouble and others don't. >> > >> > My distro (still Sci Linux) have only version 5 of ethtools. I just > built >> > version 6 of ethtools and it does not seem to make a difference. I > can >> > supposedly set the speed and "it allows it", but querying the device >> > results in the report of the speed not being set to 1000 Mbit. The > 1Gbit >> > link light does not go on. I cannot set either interface to 1Gbit, > even >> > with autoneg off. >> > >> > Any suggestions? Buy another NIC? Not really a problem - which one? > I >> > was leaning towards intel, but I read of their firmware being able to >> > brick itself. >> > >> > -Bruce >> > ** >> > Neither the footer nor anything else in this E-mail is intended to or >> > constitutes an electronic signature and/or legally binding > agreement >> > in the absence of an express statement or Autoliv policy and/or >> > procedure to the contrary.This E-mail and any attachments hereto > are >> > Autoliv property and may contain legally privileged, confidential >> > and/or proprietary information.The recipient of this E-mail is >> > prohibited from distributing, copying, forwarding or in any way >> > disseminating any material contained within this E-mail without > prior >> > written permission from the author. If you receive this E-mail in >> > error, please immediately notify the author and delete this > E-mail. >> > Autoliv disclaims all responsibility and liability for the >> > consequences of any person who fails to abide by the terms >> herein. >> > >> > >> > **__
Re: ethtool/nic question
I have a switch between the two computers I am trying to interconnect. The remote computer comes up as gig-E. The local computer, connected to either port, seems to come up as 100M. I have tested the switch by swapping ports - I know the switch is ok. (The gig-E indicator follows the remote switch.) I also tried a different CAT6 cable, still no joy. To make sure I haven't messed anything totally up, is there a way to set the NIC's back to their normal mode. Are the setting for ethtool persistent? # ethtool -s ethX autoneg on ? Anything else? -Bruce "Darrell Michaud" <[EMAIL PROTECTED]> wrote on 10/06/2008 01:45:09 PM: > I'm sure there's other advice out there but I'll throw in: > > Don't change the linux broadcom or intel gig-E ethernet drivers from their > defaults without a specifically documented reason. They will autonegotiate > to 1000 when possible under normal circumstances. > > Check your wiring, your switch, your switch's configuration first. My > personal experience is that GigE automatically dumbing down from 1000 to > 100 has not been due to an configuration issue in the linux drivers. > > > > > > [EMAIL PROTECTED] wrote: > > What has your success been with ethtool? I cannot determine if I have a > > software (ethtool) or hardware issue. > > I cannot set either ethernet adapter I have to 1 Gbit. I have a Broadcom > > NetXtreme BCM5754 Gigabit Ethernet PCI express and a Realtek RTL-8169 > > adapters in my box. The Broadcom is integrated in the mobo. > > > > From google I know that people have had issues with the 8169's. Some > > folks have trouble and others don't. > > > > My distro (still Sci Linux) have only version 5 of ethtools. I just built > > version 6 of ethtools and it does not seem to make a difference. I can > > supposedly set the speed and "it allows it", but querying the device > > results in the report of the speed not being set to 1000 Mbit. The 1Gbit > > link light does not go on. I cannot set either interface to 1Gbit, even > > with autoneg off. > > > > Any suggestions? Buy another NIC? Not really a problem - which one? I > > was leaning towards intel, but I read of their firmware being able to > > brick itself. > > > > -Bruce > > ** > > Neither the footer nor anything else in this E-mail is intended to or > > constitutes an electronic signature and/or legally binding agreement > > in the absence of an express statement or Autoliv policy and/or > > procedure to the contrary.This E-mail and any attachments hereto are > > Autoliv property and may contain legally privileged, confidential > > and/or proprietary information.The recipient of this E-mail is > > prohibited from distributing, copying, forwarding or in any way > > disseminating any material contained within this E-mail without prior > > written permission from the author. If you receive this E-mail in > > error, please immediately notify the author and delete this E-mail. > > Autoliv disclaims all responsibility and liability for the > > consequences of any person who fails to abide by the terms herein. > > > > > **___ > > gnhlug-discuss mailing list > > gnhlug-discuss@mail.gnhlug.org > > http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/ > > > > ** Neither the footer nor anything else in this E-mail is intended to or constitutes an electronic signature and/or legally binding agreement in the absence of an express statement or Autoliv policy and/or procedure to the contrary.This E-mail and any attachments hereto are Autoliv property and may contain legally privileged, confidential and/or proprietary information.The recipient of this E-mail is prohibited from distributing, copying, forwarding or in any way disseminating any material contained within this E-mail without prior written permission from the author. If you receive this E-mail in error, please immediately notify the author and delete this E-mail. Autoliv disclaims all responsibility and liability for the consequences of any person who fails to abide by the terms herein. **___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: ethtool/nic question
> gig-E ethernet drivers [...] will autonegotiate to 1000 when > possible under normal circumstances. > > Check your wiring, your switch, your switch's configuration first. > My personal experience is that GigE automatically dumbing down > from 1000 to 100 has not been due to an configuration issue in > the linux drivers. I'll second that, and I'll add that the Intel e1000 series of NICs (and the associated Linux drivers) generally work just fine and you'd be doing yourself a disservice by engaging in a FUD-induced leap from "narrowly constrained problems with a small set of integrated NICs on a small set of motherboards" to "IntelEnet==BAD!" ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: ethtool/nic question
I'm sure there's other advice out there but I'll throw in: Don't change the linux broadcom or intel gig-E ethernet drivers from their defaults without a specifically documented reason. They will autonegotiate to 1000 when possible under normal circumstances. Check your wiring, your switch, your switch's configuration first. My personal experience is that GigE automatically dumbing down from 1000 to 100 has not been due to an configuration issue in the linux drivers. [EMAIL PROTECTED] wrote: > What has your success been with ethtool? I cannot determine if I have a > software (ethtool) or hardware issue. > I cannot set either ethernet adapter I have to 1 Gbit. I have a Broadcom > NetXtreme BCM5754 Gigabit Ethernet PCI express and a Realtek RTL-8169 > adapters in my box. The Broadcom is integrated in the mobo. > > From google I know that people have had issues with the 8169's. Some > folks have trouble and others don't. > > My distro (still Sci Linux) have only version 5 of ethtools. I just built > version 6 of ethtools and it does not seem to make a difference. I can > supposedly set the speed and "it allows it", but querying the device > results in the report of the speed not being set to 1000 Mbit. The 1Gbit > link light does not go on. I cannot set either interface to 1Gbit, even > with autoneg off. > > Any suggestions? Buy another NIC? Not really a problem - which one? I > was leaning towards intel, but I read of their firmware being able to > brick itself. > > -Bruce > ** > Neither the footer nor anything else in this E-mail is intended to or > constitutes an electronic signature and/or legally binding agreement > in the absence of an express statement or Autoliv policy and/or > procedure to the contrary.This E-mail and any attachments hereto are > Autoliv property and may contain legally privileged, confidential > and/or proprietary information.The recipient of this E-mail is > prohibited from distributing, copying, forwarding or in any way > disseminating any material contained within this E-mail without prior > written permission from the author. If you receive this E-mail in > error, please immediately notify the author and delete this E-mail. > Autoliv disclaims all responsibility and liability for the > consequences of any person who fails to abide by the terms herein. > > **___ > gnhlug-discuss mailing list > gnhlug-discuss@mail.gnhlug.org > http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/ > ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
ethtool/nic question
What has your success been with ethtool? I cannot determine if I have a software (ethtool) or hardware issue. I cannot set either ethernet adapter I have to 1 Gbit. I have a Broadcom NetXtreme BCM5754 Gigabit Ethernet PCI express and a Realtek RTL-8169 adapters in my box. The Broadcom is integrated in the mobo. From google I know that people have had issues with the 8169's. Some folks have trouble and others don't. My distro (still Sci Linux) have only version 5 of ethtools. I just built version 6 of ethtools and it does not seem to make a difference. I can supposedly set the speed and "it allows it", but querying the device results in the report of the speed not being set to 1000 Mbit. The 1Gbit link light does not go on. I cannot set either interface to 1Gbit, even with autoneg off. Any suggestions? Buy another NIC? Not really a problem - which one? I was leaning towards intel, but I read of their firmware being able to brick itself. -Bruce ** Neither the footer nor anything else in this E-mail is intended to or constitutes an electronic signature and/or legally binding agreement in the absence of an express statement or Autoliv policy and/or procedure to the contrary.This E-mail and any attachments hereto are Autoliv property and may contain legally privileged, confidential and/or proprietary information.The recipient of this E-mail is prohibited from distributing, copying, forwarding or in any way disseminating any material contained within this E-mail without prior written permission from the author. If you receive this E-mail in error, please immediately notify the author and delete this E-mail. Autoliv disclaims all responsibility and liability for the consequences of any person who fails to abide by the terms herein. **___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/