3c59x - 10/100 NIC fails to link to gigabit switch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| linux (Ubuntu) |
Undecided
|
Unassigned | ||
| linux-source-2.6.20 (Ubuntu) |
Undecided
|
Unassigned | ||
| linux-source-2.6.22 (Ubuntu) |
Low
|
Unassigned |
Bug Description
3Com PC Card (10/100) fails to negotiate a connection with a Netgear gigabit switch. After repeated insertions and removals, it may hook up at 10mb/s, but that happens less than 1 in 20 times. Ethertool shows the card successively trying to negotiate at 100mb/s full-duplex, then100mb/s half-duplex, then 10mb/s full-duplex, then 10mb/s half-duplex, then starts over again.
Note when I connect to a 10/100 switch, the NIC hooks up immediately.
Further note that using the same exact same hardware, except for the hard drive, Windows XP successfully hooks up to the gigabit switch at 100mb/s. (I dual boot my laptop by swapping the hard drive.)
Particulars:
------------
Dell Inspiron 3700 laptop
OS: Feisty Fawn with updates as of 3/20/2007
PC Card: 3Com 3CCFEM656 B (10/100mb/s)
switch: Netgear GS605 v2
switch: Netgear GS608 v2
Related branches
CVE References
- 2007-2876
- 2007-3105
- 2007-3848
- 2007-3851
- 2007-4571
- 2007-4573
- 2007-6282
- 2007-6694
- 2008-0001
- 2008-0007
- 2008-0009
- 2008-1375
- 2008-1615
- 2008-1669
- 2008-1673
- 2008-1675
- 2008-2136
- 2008-2137
- 2008-2148
- 2008-2358
- 2008-2372
- 2008-2750
- 2008-2812
- 2008-2826
- 2008-3272
- 2008-3275
- 2008-3276
- 2008-3525
- 2008-3526
- 2008-3534
- 2008-3535
- 2008-3792
- 2008-3915
- 2008-4113
- 2008-4445
- 2008-4554
- 2008-4576
- 2008-4618
- 2008-4933
- 2008-4934
- 2008-5025
- 2008-5029
- 2008-5033
Brian Murray (brian-murray) wrote : | #1 |
Hi Brian,
No, it's just a Netgear brain dead switch, although it's ports do auto
sense both speed and whether or not you are using a rolled cable or
not. I have a 5 port (GS605) and 8 port (GS608) version, and it happens
on both. Here's a link to the 8 port version:
http://
Let me know if I can do anything to help.
Thanks!
Stan
Brian Murray wrote:
> Thanks for taking the time to report this bug and helping to make Ubuntu
> better. Is your switch manageable i.e. could you force the speed and
> duplex on it to 100 Full? Thanks in advance.
>
> ** Changed in: Ubuntu
> Assignee: (unassigned) => Brian Murray
> Status: Unconfirmed => Needs Info
>
>
Stan (junk-it) wrote : | #3 |
Hi again Brian,
Don't know if this info helps or not, but one other data point is that I
have a Mac Mini, a TiVo, and a D-Link point to point wireless bridge all
plugged into the same switch. The Mini is connected at gigabit, the
Tivo and the D-Link are connected at 100mb/s, according to the switch
lights.
Thanks and regards,
Stan
Brian Murray wrote:
> Thanks for taking the time to report this bug and helping to make Ubuntu
> better. Is your switch manageable i.e. could you force the speed and
> duplex on it to 100 Full? Thanks in advance.
>
> ** Changed in: Ubuntu
> Assignee: (unassigned) => Brian Murray
> Status: Unconfirmed => Needs Info
>
>
I personally haven't done this in a bit, but you should be able to force the speed and duplex of your network adapter with ethtool. The command should be something like 'sudo ethtool -s speed 100 duplex full autoneg off'. Please let us know if that has any effect.
Before submitting the bug report I did try "ethtool autoneg off" with no
joy, but I did not try directly setting the speed. I'll give it a shot.
Brian Murray wrote:
> I personally haven't done this in a bit, but you should be able to force
> the speed and duplex of your network adapter with ethtool. The command
> should be something like 'sudo ethtool -s speed 100 duplex full autoneg
> off'. Please let us know if that has any effect.
>
>
Okay, I don't know what's going on with the bug reporting software, but my last two emails showed up empty even though Thunderbird's "Sent" folder shows that my comments were included. I will cut-&-paste my last two emails into the s web form and hope it works better. They were as follows:
-------- Original Message --------
Sorry my last reply was empty. For some reason Thunderbird did not include my comments. Let's try again. Comments are below.
-------- Original Message --------
Okay, I tried it. Did not work. By setting the speed with ethtool I can change the light on my adapter from 10 to 100 mb/s, which looks like a I have a link, but ethtool reports no link and i can't ping out. When I turn autoneg back to 'on', the light goes out and it goes back to rotating through the speeds/duplex, etc.
Just for s&g, I tried connecting a PC (non-laptop) with a 3Com 3C509C to the same gigabit switch and it hooked up immediately. So it appears it may be an issue specifically with the 3Com 3CCFEM656 card.
Brian Murray (brian-murray) wrote : | #9 |
Was the second system with the 3C509C using the same driver for the network card? You may be able to deduce this with 'lsmod'. If not please add which driver both of them use. Thanks again.
Stan (junk-it) wrote : | #10 |
Yes, they are using the same driver, 3c59x. Also lsmod reports that mii is using 3c59x. Here is the related output from lsmod:
3c59x 46632 0
mii 6528 1 3c59x
Thanks!
Changed in linux-source-2.6.20: | |
assignee: | brian-murray → ubuntu-kernel-team |
status: | Needs Info → Confirmed |
Tim Gardner (timg-tpi) wrote : | #11 |
Gutsy commit c17920a29711aac
Changed in linux-source-2.6.22: | |
assignee: | nobody → timg-tpi |
importance: | Undecided → Low |
status: | New → Fix Committed |
Kyle McMartin (kyle) wrote : | #12 |
linux-source-2.6.22 (2.6.22-13.40) gutsy; urgency=low
[Amit Kucheria]
* Enable CONFIG_VM86 for LPIA
- LP: #146311
* Update configuration files
* Disable MSI by default
* Add mmconf documentation
* Update configuration files
[Bartlomiej Zolnierkiewicz]
* ide-disk: workaround for buggy HPA support on ST340823A (take 3)
- LP: #26119
[Ben Collins]
* ubuntu/cell: Fixup ps3 related modules for d-i, enable RTAS console
* ubuntu/cell: Enable CELLEB and related modules (pata_scc)
* ubuntu/cell: Move ps3rom to storage-core. Also use spidernet, not
spider_net.
* ubuntu/cell: Set PS3_MANAGER=y
* ubuntu: Set NR_CPUS=256 for sparc64-smp
[Chuck Short]
* [USB] USB] Support for MediaTek MT6227 in cdc-acm.
- LP: #134123
* [XEN] Fix xen vif create with more than 14 guests.
- LP: #14486
[Jorge Juan Chico]
* ide: ST320413A has the same problem as ST340823A
- LP: #26119
[Kyle McMartin]
* fix -rt build
* fix ia32entry-xen.S for CVE-2007-4573
* fix build when CONFIG_PCI_MSI is not set
[Matthew Garrett]
* hostap: send events on data interface as well as master interface
- LP: #57146
* A malformed _GTF object should not prevent ATA device recovery
- LP: #139079
* hostap: send events on data interface as well as master interface
- LP: #57146
* A malformed _GTF object should not prevent ATA device recovery
- LP: #139079
* Don't lose appletouch button release events
* Fix build with appletouch change
* Disable Thinkpad backlight support on machines with ACPI video
- LP: #148055
* Don't attempt to register a callback if there is no CMOS object
- LP: #145857
* Update ACPI bay hotswap code to support locking
- LP: #148219
* Update ACPI bay hotswap code to support locking
- LP: #148219
* Don't attempt to register a callback if there is no CMOS object
- LP: #145857
* Disable Thinkpad backlight support on machines with ACPI video
- LP: #148055
[Steffen Klassert]
* 3c59x: fix duplex configuration
- LP: #94186
[Thomas Gleixner]
* clockevents: remove the suspend/resume workaround^Wthinko
[Tim Gardner]
* orinoco_cs.ko missing
- LP: #125832
* Marvell Technology ethernet card not recognized and not operational
- LP: #135316
* Marvell Technology ethernet card not recognized and not operational
- LP: #135316
* acpi_scan_rsdp() breaks some PCs by not honouring ACPI specification
- LP: #144336
* VIA southbridge Intel id missing
- LP: #128289
* Add T-Sinus 111card to hostap_cs driver to be able to upload firmware
- LP: #132466
* RTL8111 PCI Express Gigabit driver r8169 big files produce slow file
transfer
- LP: #114171
* Guest OS does not recognize a lun with non zero target id on Vmware ESX
Server
- LP: #140761
* Modualrize vesafb
- LP: #139505
* Nikon cameras need support in unusual_devs.h
- LP: #134477
* agp for i830m broken in gutsy
- LP: #139767
* hdaps: Added support for Thinkpad T61
- LP: #147383
* xen: Update config for i386
- LP: #139047
* xen: resync for amd64
- LP: #139047
* ide-disk: workaround for buggy HPA support ...
Changed in linux-source-2.6.22: | |
status: | Fix Committed → Fix Released |
Changed in linux-source-2.6.22: | |
assignee: | timg-tpi → nobody |
Luis F. Lopez (luis.lopez) wrote : | #13 |
Looks like this bug is also affecting Hardy. I just upgraded and I'm seeing it here...
Leann Ogasawara (leannogasawara) wrote : | #14 |
Stan,
Can you confirm a regression in Hardy? I see that the patch that went into Gutsy to originally resolve this is also in Hardy already. Luis, it may be that you have a slightly different bug that the original reporter which would warrant opening a new report. Thanks.
Changed in linux-source-2.6.24: | |
status: | New → Incomplete |
Luis F. Lopez (luis.lopez) wrote : | #16 |
Stan confirmed the bug in Hardy as per last comment.
Changed in linux: | |
status: | Incomplete → Confirmed |
Frankie83 (praetorian83) wrote : | #17 |
I use to have this problem, but the problem wasn't on ubuntu, it was on a 2wire access point, could you please check that ???
Regards....
Frankie83 (praetorian83) wrote : | #18 |
None
Stan (junk-it) wrote : | #20 |
Jan (jan23) wrote : | #21 |
My problem seems to be related to yours. I use a 3Com Ethernet card (3c59x module) connected to a 100Mbit switch. Unfortunately the connection is established by default with 10MBit. To connect with 100MBit I have to add the following line to /etc/modprobe.
options 3c59x "options=0x008"
I don't know why the connection is not established with 100MBit by default. I had the same problem with (another) 3c59x-compatible 3Com card 9 or 10 years ago (completely different hardware and setup)!!!! Why is this bug not fixed already?!
Stan (junk-it) wrote : | #22 |
Thanks for the info. It's nice you found a workaround. How did you
arrive at adding that option and it's value? For s&g, I tried adding
that line as well to see if it fixed my problem. With this option,
dmesg reported that the card was put into mode 8 (autonegotiation).
This hosed my connection altogether, including connecting to a 100Mb/s
switch.
JanJan wrote:
> My problem seems to be related to yours. I use a 3Com Ethernet card
> (3c59x module) connected to a 100Mbit switch. Unfortunately the
> connection is established by default with 10MBit. To connect with
> 100MBit I have to add the following line to /etc/modprobe.
>
> options 3c59x "options=0x008"
>
> I don't know why the connection is not established with 100MBit by
> default. I had the same problem with (another) 3c59x-compatible 3Com
> card 9 or 10 years ago (completely different hardware and setup)!!!! Why
> is this bug not fixed already?!
>
>
Jan (jan23) wrote : | #23 |
Unfortunately I have to revoke my "work around". First I found out that I have to remove and load the 3c59x module manually after every reboot. Later I found out that even this does not work any time. So my proposed "work around" does help me _sometimes_ when removing and loading the module manually.
Leann Ogasawara (leannogasawara) wrote : | #24 |
The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:
1) If you are comfortable installing packages on your own, the linux-image-
--or--
2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://
Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.
David Wilson (mcs6502) wrote : | #25 |
Running Ubuntu 8.10 Beta Live CD.
3c905B connected to dumb 10/100 switch (it only has link lights - no speed lights)
Card has LNK100 LED lit. Assuming we can believe the LED on the card, ethtool and "Connection Information - Active Network Connections" are misreporting the link speed as 10Mb/s.
$ uname -a
Linux ubuntu 2.6.27-4-generic #1 SMP Wed Sep 24 01:30:51 UTC 2008 i686 GNU/Linux
$ lspci
00:0b.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
$ sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Full
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 24
Transceiver: internal
Auto-negotiation: on
Current message level: 0x00000001 (1)
Link detected: yes
$ sudo mii-tool -v eth0
eth0: link ok
product info: vendor 00:00:00, model 0 rev 0
basic mode: autonegotiation enabled
basic status: link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 10baseT-FD
Leann Ogasawara (leannogasawara) wrote : | #26 |
The 18 month support period for Feisty Fawn 7.04 has reached it's end of life - http://
Changed in linux-source-2.6.20: | |
status: | Confirmed → Won't Fix |
Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https:/
Launchpad Janitor (janitor) wrote : | #28 |
This bug was fixed in the package linux - 2.6.24-23.48
---------------
linux (2.6.24-23.48) hardy-security; urgency=low
[Upstream Kernel Changes]
* ATM: CVE-2008-5079: duplicate listen() on socket corrupts the vcc table
- CVE-2008-5079
* libertas: fix buffer overrun
- CVE-2008-5134
* Fix inotify watch removal/umount races
- CVE-2008-5182
* net: Fix soft lockups/OOM issues w/ unix garbage collector
- CVE-2008-5300
* Enforce a minimum SG_IO timeout
- CVE-2008-5700
* ib700wdt.c - fix buffer_underflow bug
- CVE-2008-5702
linux (2.6.24-23.46) hardy-proposed; urgency=low
[Alessio Igor Bogani]
* rt: Updated PREEMPT_RT support to rt21
- LP: #302138
[Amit Kucheria]
* SAUCE: Update lpia patches from moblin tree
- LP: #291457
[Andy Whitcroft]
* SAUCE: replace gfs2_bitfit with upstream version to prevent oops
- LP: #276641
[Colin Ian King]
* isdn: Do not validate ISDN net device address prior to interface-up
- LP: #237306
* hwmon: (coretemp) Add Penryn CPU to coretemp
- LP: #235119
* USB: add support for Motorola ROKR Z6 cellphone in mass storage mode
- LP: #263217
* md: fix an occasional deadlock in raid5
- LP: #208551
[Stefan Bader]
* SAUCE: buildenv: Show CVE entries in printchanges
* SAUCE: buildenv: Send git-ubuntu-log informational message to stderr
* Xen: dma: avoid unnecessarily SWIOTLB bounce buffering
- LP: #247148
* Update openvz patchset to apply to latest stable tree.
- LP: #301634
* XEN: Fix FTBS with stable updates
- LP: #301634
[Steve Conklin]
* Add HID quirk for dual USB gamepad
- LP: #140608
[Tim Gardner]
* Enable CONFIG_
- LP: #257684
* SAUCE: Correctly blacklist Thinkpad r40e in ACPI
- LP: #278794
* SAUCE: ALPS touchpad for Dell Latitude E6500/E6400
- LP: #270643
[Upstream Kernel Changes]
* Revert "[Bluetooth] Eliminate checks for impossible conditions in IRQ
handler"
- LP: #217659
* KVM: VMX: Clear CR4.VMXE in hardware_disable
- LP: #268981
* iov_iter_advance() fix
- LP: #231746
* Fix off-by-one error in iov_iter_advance()
- LP: #231746
* USB: serial: ch341: New VID/PID for CH341 USB-serial
- LP: #272485
* x86: Fix 32-bit x86 MSI-X allocation leakage
- LP: #273103
* b43legacy: Fix failure in rate-adjustment mechanism
- LP: #273143
* x86: Reserve FIRST_DEVICE_VECTOR in used_vectors bitmap.
- LP: #276334
* openvz: merge missed fixes from vanilla 2.6.24 openvz branch
- LP: #298059
* openvz: some autofs related fixes
- LP: #298059
* openvz: fix ve stop deadlock after nfs connect
- LP: #298059
* openvz: fix netlink and rtnl inside container
- LP: #298059
* openvz: fix wrong size of ub0_percpu
- LP: #298059
* openvz: fix OOPS while stopping VE started before binfmt_misc.ko loaded
- LP: #298059
* x86-64: Fix "bytes left to copy" return value for copy_from_user()
* NET: Fix race in dev_close(). (Bug 9750)
- LP: #301608
* IPV6: Fix IPsec datagram fragmentation
- LP: #301608
* IPV6: dst_entry leak in ip4ip6_err.
- LP: #301608
* IPV4: Remove IP_TOS setting priv...
Changed in linux: | |
status: | Confirmed → Fix Released |
Thanks for taking the time to report this bug and helping to make Ubuntu better. Is your switch manageable i.e. could you force the speed and duplex on it to 100 Full? Thanks in advance.