Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166490 - gentoo-sources 2.6.20-r2 incorrectly detects speed of line of network card
Summary: gentoo-sources 2.6.20-r2 incorrectly detects speed of line of network card
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL:
Whiteboard: linux-2.6.20-regression
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-12 12:06 UTC by Eero Volotinen
Modified: 2007-03-10 04:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch-from-maintainer-to-fix-problem (verkkokortti.patch,987 bytes, patch)
2007-03-07 12:39 UTC, Eero Volotinen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eero Volotinen 2007-02-12 12:06:44 UTC
Network card is rtl-8169 which is gigabit ethernet card, but in this kernel
it is impossible use faster speed because line is detected of 10mbps.

This might be upstream bug, but I have no contact to kernel developers.

Reproducible: Always
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2007-02-24 18:27:23 UTC
Please post some evidence of the error (e.g. kernel logs or whereever you are reading the speed from).
Is this reproducible on the latest development kernel, currently 2.6.21-rc1?
Comment 2 Eero Volotinen 2007-02-25 07:29:19 UTC
Well. I got speed from "switch", since it connects only 10mbps connection on that kernel.

It works on .19 so, I switched back to it before this is corrected.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-03-06 18:55:07 UTC
Please reopen when you have tested the latest development kernel, currently 2.6.21-rc2
Comment 4 Eero Volotinen 2007-03-06 20:12:19 UTC
well. rc2 is too buggy to even compile on my system.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2007-03-06 20:37:50 UTC
Put this patch on top:
http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.21-rc2-git4.bz2

If it still doesn't compile, post the compile error and attach your kernel config
Comment 6 Eero Volotinen 2007-03-07 08:02:47 UTC
tried with git5, but still does not work, so this is bug in 
vanilla kernel too?

Linespeed is detected as 10mbps, not 100 and 1000 at it should.

This works on gentoo 2.6.19-r2 and machine is amilo pro v2085
and network card is :
02:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)

very annoying, since it is almost impossible to use if networks card only works with 10mbps
Comment 7 Eero Volotinen 2007-03-07 12:39:44 UTC
Created attachment 112395 [details, diff]
patch-from-maintainer-to-fix-problem

patch from maintainer to fix problem. should be applied to gentoo sources
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2007-03-07 13:17:16 UTC
Thanks for following up :)
Will include in next release provided it's heading upstream
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2007-03-10 04:39:43 UTC
Fixed in gentoo-sources-2.6.20-r2, thanks for supplying the patch