<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>166490</bug_id>
          
          <creation_ts>2007-02-12 12:06 0000</creation_ts>
          <short_desc>gentoo-sources 2.6.20-r2 incorrectly detects speed of line of network card</short_desc>
          <delta_ts>2007-03-10 04:39:43 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <status_whiteboard>linux-2.6.20-regression</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>eero@pronics.com</reporter>
          <assigned_to>dsd@gentoo.org</assigned_to>
          <cc>kernel@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>eero@pronics.com</who>
            <bug_when>2007-02-12 12:06:44 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2007-02-24 18:27:23 0000</bug_when>
            <thetext>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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eero@pronics.com</who>
            <bug_when>2007-02-25 07:29:19 0000</bug_when>
            <thetext>Well. I got speed from &quot;switch&quot;, since it connects only 10mbps connection on that kernel.

It works on .19 so, I switched back to it before this is corrected.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2007-03-06 18:55:07 0000</bug_when>
            <thetext>Please reopen when you have tested the latest development kernel, currently 2.6.21-rc2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eero@pronics.com</who>
            <bug_when>2007-03-06 20:12:19 0000</bug_when>
            <thetext>well. rc2 is too buggy to even compile on my system.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2007-03-06 20:37:50 0000</bug_when>
            <thetext>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&apos;t compile, post the compile error and attach your kernel config</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eero@pronics.com</who>
            <bug_when>2007-03-07 08:02:47 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eero@pronics.com</who>
            <bug_when>2007-03-07 12:39:44 0000</bug_when>
            <thetext>Created an attachment (id=112395)
patch-from-maintainer-to-fix-problem

patch from maintainer to fix problem. should be applied to gentoo sources</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2007-03-07 13:17:16 0000</bug_when>
            <thetext>Thanks for following up :)
Will include in next release provided it&apos;s heading upstream</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2007-03-10 04:39:43 0000</bug_when>
            <thetext>Fixed in gentoo-sources-2.6.20-r2, thanks for supplying the patch</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>112395</attachid>
            <date>2007-03-07 12:39 0000</date>
            <desc>patch-from-maintainer-to-fix-problem</desc>
            <filename>verkkokortti.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">RnJvbSAxNjNjMjI4M2QzZjQ5M2U0ODk3ZjU4NjZlNDBmYjA4ZWFmM2I5MmNhIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBGcmFuY29pcyBSb21pZXUgPHJvbWlldUBmci56b3JlaWwuY29t
PgpEYXRlOiBUdWUsIDYgTWFyIDIwMDcgMjM6MDk6NTYgKzAxMDAKU3ViamVjdDogW1BBVENIXSBy
ODE2OTogcmV2ZXJ0IGJvZ3VzIEJNQ1IgcmVzZXQKClRoZSBjdXJyZW50IGNvZGUgcmVxdWVzdHMg
YSByZXNldCBidXQgcHJvaGliaXRzIGF1dG9uZWcsIDEwMDAgTWIvcywKMTAwIE1iL3MgYW5kIGZ1
bGwgZHVwbGV4LiBJIHdvbmRlciB3aHkgaXQgZG9lcyBub3QgY2F1c2UgbW9yZQpyZWdyZXNzaW9u
LgoKU2lnbmVkLW9mZi1ieTogRnJhbmNvaXMgUm9taWV1IDxyb21pZXVAZnIuem9yZWlsLmNvbT4K
LS0tCiBkcml2ZXJzL25ldC9yODE2OS5jIHwgICAgNCArKy0tCiAxIGZpbGVzIGNoYW5nZWQsIDIg
aW5zZXJ0aW9ucygrKSwgMiBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9kcml2ZXJzL25ldC9y
ODE2OS5jIGIvZHJpdmVycy9uZXQvcjgxNjkuYwppbmRleCAxM2NmMDZlLi5jY2E5MjMzIDEwMDY0
NAotLS0gYS9kcml2ZXJzL25ldC9yODE2OS5jCisrKyBiL2RyaXZlcnMvbmV0L3I4MTY5LmMKQEAg
LTU3Miw4ICs1NzIsOCBAQCBzdGF0aWMgdm9pZCBydGw4MTY5X3htaWlfcm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