From owner-freebsd-net@FreeBSD.ORG Wed Aug 20 15:20:20 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F75F1065672 for ; Wed, 20 Aug 2008 15:20:20 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id E2ACC8FC28 for ; Wed, 20 Aug 2008 15:20:19 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so648694fgb.35 for ; Wed, 20 Aug 2008 08:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=p5Z+hH5rdZ3h5md9CrgJ5Oa2T0qtx9KQTeAAFkcSPTI=; b=o7ifQ8dEUFP0pT6JgF+Ii5aN+1DuaCzIb1iU0BuSemUll5nv8qwojQg/NHDJ/gwxtS PLOCHhxaKr8gdfRfEJfyjuBlmn6Cw01NXlfAe/tW/Ni56yxu3IuScXQL+tDXbN0Sr2mY zVinGh9ofv9pXUOoFGcoyQBZ2rySeUQDA3zDs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PxunQ2CAGrHv9rWkjAxW5BQuLrnWbnL4fkN4Mxnf03PayUihuFUfIenCKZf1E17Hpg EZMVxG8LWfdmazXG1W4HH0/mrB9DOcBHzndr/hSXARdGy5wwvFPU5R1aOYV415nYgeAk oM85skIWTh1n51rLxdZLiNmF8XWPDs2nsMwio= Received: by 10.86.26.11 with SMTP id 11mr156414fgz.12.1219245618680; Wed, 20 Aug 2008 08:20:18 -0700 (PDT) Received: by 10.86.62.14 with HTTP; Wed, 20 Aug 2008 08:20:18 -0700 (PDT) Message-ID: <7d6fde3d0808200820n315388eak8782b3583a990f20@mail.gmail.com> Date: Wed, 20 Aug 2008 08:20:18 -0700 From: "Garrett Cooper" To: pyunyh@gmail.com In-Reply-To: <20080820080304.GA87443@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d6fde3d0808192345j3c6b595el2f60a21c8353e9ec@mail.gmail.com> <20080820080304.GA87443@cdnetworks.co.kr> Cc: net@freebsd.org Subject: Re: Issues with msk driver on 8-CURRENT amd64 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: Wed, 20 Aug 2008 15:20:20 -0000 Comments inline. On Wed, Aug 20, 2008 at 1:03 AM, Pyun YongHyeon wrote: > On Tue, Aug 19, 2008 at 11:45:48PM -0700, Garrett Cooper wrote: > > Hi Pyun! > > I know it's been a while since I responded, but after > > reinstalling my system recently I noticed that the issue I mentioned > > almost a year ago > > (http://www.mavetju.org/mail/view_thread.php?list=freebsd-net&id=2570821&thread=yes) > > with my Marvell chipset card has once again returned. In the interim I > > was using x86, and I didn't suffer from any of the issues I have again > > on x64, and I was using XP x64 but now I've switched over to Vista x64 > > on my client box. > > Subsequently, the only thing that's really changed on my system > > is that I'm using CPUTYPE=nocona (for my Core 2 Quad proc). > > I'm using the 7-RELENG kernel right now (and not really enjoying > > it, but it works -- yay?), but I'd like to help resolve the issue with > > msk under CURRENT with x64 and my chipset. > > Standing by awaiting marching orders with tcpdump, netcat, and > > pciconf at my side to help debug the issue :). > > Would you please explain your issues with more information? > For instance, > Can you see a valid link is established by msk(4)? Sort of. A link between the endpoints is established, but then it stalls and fails after a "connection reset". > Did both ends agree on established speed/duplex? Yes, they did. > What speed/duplex was chosen by msk(4)? 10/100MBit and GBit duplex, respectively. > Forcing speed/duplex have any effects? Not sure, but using a 100MBit and 1GBit connection yields the same results, whereas before I just claimed it was just gigabit connections. > Turning off checksum offload or TSO have any effects? How do I do that? > Did you use back-to-back connection without switch? I'm connecting via a switch and it works perfectly fine via 7-RELENG with amd64. > tcpdump data for a broken connection might be help too. Ok. More help on trying to setup everything to debug this issue would be helpful. FWIW, the issue might be that the MTU doesn't match for Windows and FreeBSD (I remember reading that somewhere a while back)... unfortunately, my router speaks this MTU (1464?) so connections via msk don't work properly anymore on 8-CURRENT. Thanks, -Garrett