From owner-freebsd-net@FreeBSD.ORG Mon Jun 4 12:15:09 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A244A16A41F for ; Mon, 4 Jun 2007 12:15:09 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 2272013C45E for ; Mon, 4 Jun 2007 12:15:08 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (localhost [127.0.0.1]) by blah.sun-fish.com (Postfix) with ESMTP id E77101B10EF3; Mon, 4 Jun 2007 14:15:07 +0200 (CEST) Received: from hater.cmotd.com (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id E27551B10EE9; Mon, 4 Jun 2007 14:15:07 +0200 (CEST) Message-ID: <4664024B.5050600@sun-fish.com> Date: Mon, 04 Jun 2007 15:15:07 +0300 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.0 (X11/20070521) MIME-Version: 1.0 To: Jack Vogel References: <462E3B4A.5030307@sun-fish.com> <46595504.4060803@sun-fish.com> <2a41acea0705271034s79d6774dg2008a057831d9de2@mail.gmail.com> <4659C59C.9030208@sun-fish.com> <2a41acea0705271220w2239211bn1c582031607ca1eb@mail.gmail.com> <2a41acea0705291506w156ac4d8s88c0fdd1025e5141@mail.gmail.com> <2a41acea0705301142v68505a1cs674008165095a335@mail.gmail.com> <465E889E.9050008@sun-fish.com> <2a41acea0705311048o7b4bd3cai3d381b4f9cf9b16c@mail.gmail.com> In-Reply-To: <2a41acea0705311048o7b4bd3cai3d381b4f9cf9b16c@mail.gmail.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on BLAH Cc: freebsd-net@freebsd.org Subject: Re: em0 failed to work at 1000baseTX. WAS [Re: em0 - bge0 failed to work at 1000baseTX] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 12:15:09 -0000 Hi, Jack Vogel wrote: > On 5/31/07, Stefan Lambrev wrote: > >> Thank you very much for the help Jack :)) >> Unfortunately I'm off next four days and probably will not be able to >> test it before Monday. >> Btw any chances to have patch for releng_6 or the difference in the >> drivers is too big ? :) > > Welcome, turns out its just as well that you didnt test yet because > my test engineer came back to me this morning and it turns out there > was still a code path that caused the autoneg back down to 100, I > worked with him this morning and now I've simplified the code and > plugged that hole at the same time, so another delta will be coming > today. em0: port 0x2000-0x201f mem 0xf0500000-0xf051ffff,0xf0524000-0xf0524fff irq 19 at device 25.0 on pci0 em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xf0500000 em0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to vector 49 em0: using IRQ 256 for MSI em0: Reserved 0x1000 bytes for rid 0x14 type 3 at 0xf0524000 em0: bpf attached em0: Ethernet address: 00:0f:fe:4e:78:16 em0: [FILTER] This is freebsd 7-current with src from today and I still have the same problem :( Here are few lines from messages: Jun 4 11:55:20 shitler kernel: em0: Link is up 1000 Mbps Full Duplex Jun 4 11:55:20 shitler kernel: em0: link state changed to UP Jun 4 11:55:23 shitler kernel: em0: Link is Down Jun 4 11:55:23 shitler kernel: em0: link state changed to DOWN Jun 4 11:55:26 shitler kernel: em0: Link is up 100 Mbps Full Duplex Jun 4 11:55:26 shitler kernel: em0: link state changed to UP > > As for 6.X, well, its definitely a fix that needs to go back, but the > question is how. What I would like to do is MFC the whole new > shared code driver, in fact the next release that gets published > by Intel which is a few months out should have that version anyway > so I'll work that and the MFC together. > > However, if you have an urgent need for this fix on 6.2 I can make > up a special patch, I'm pretty sure the old shared code still has > what we need to do this. > My idea was to use this server to benchmark few apps under different OSes, but with network card running on 100mbps under freebsd .. it's impossible to compare things. Unfortunately I'll need this server soon in production and will be unable to finish the tests on it. > Jack > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Best Wishes, Stefan Lambrev ICQ# 24134177