From owner-freebsd-net@FreeBSD.ORG Mon May 31 22:32:30 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E95771065675 for ; Mon, 31 May 2010 22:32:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id B740E8FC19 for ; Mon, 31 May 2010 22:32:30 +0000 (UTC) Received: by pwj1 with SMTP id 1so299651pwj.13 for ; Mon, 31 May 2010 15:32:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=bLeZ2If9u71HsC9LeNeENPi1Yms/j1Hb5IPMXzFIACk=; b=ZnHSVY5pM8Y/gsFql/vkLBdhF0y1JqFxsEhr+lnUHmnFU0SKRNF/djPyW4JYxRuJwE Do6JNQJdH7ZsWiSpOmFkwQirm40GKWQxnyRg2u2phDnhS2vz0iZHP63ge9Azl6KOgPfg xmE4Mehpr2amg/No7b/wjWTuuhsA41l5G9QSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=dGc6rRa2qkuU118vPw2KvnB8fyQ+k3u/Vet2ZiUjt67H9L3ylaQztnmEHrK8MtaAsn E7386Z1IlQe8Oun/9bMXYkX4/xDf9N9KYgcyX+5PU6jSSUZaZpCNq8mQQ3FzKYll3P6i RzPawafvvb3MgfjtvfG2dar+FbmjZqtofmPi4= Received: by 10.114.18.7 with SMTP id 7mr4078389war.127.1275345149907; Mon, 31 May 2010 15:32:29 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id r20sm53355916wam.17.2010.05.31.15.32.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 May 2010 15:32:28 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 31 May 2010 15:32:04 -0700 From: Pyun YongHyeon Date: Mon, 31 May 2010 15:32:04 -0700 To: Perevalov Sergey Message-ID: <20100531223204.GE1577@michelle.cdnetworks.com> References: <4BE44E2D.6060907@gmail.com> <20100507210516.GI14801@michelle.cdnetworks.com> <4C01760E.2080403@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C01760E.2080403@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: [axe][ue0] Device send packets but any host in network can not receive any packet from it. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 22:32:31 -0000 On Sun, May 30, 2010 at 01:16:14AM +0500, Perevalov Sergey wrote: > Pyun YongHyeon, I am really sorry, I have found you message in my spam > folder:-( > And immediately I did by your instructions. > I connected 2 Freebsd 8.0 hosts by one cable, and started tcpdump > -evvvvvvi rl0/ue0. > > So, 192.168.2.15 is receiver (rl0) log: http://pastebin.com/pZ5udweh > > 192.168.2.16 is sender (ue0) log: http://pastebin.com/BEDwUWBe > It seems both ends does not see any frames at all. I thought axe(4) sent wrong ethernet address to the other end but tcpdump output you posted makes me wonder cabling issue. I'm not sure whether rgephy(4) used in axe(4) can handle automatic MDI/MDIX crossover but rlphy(4) surely lacks the capability. Can you retest it with crossover cable instead of straight UTP cable? Also your tcpdump seems to indicate both hosts are trying to send packets. This makes it hard to know which part of NIC is not working. Send ICMP echo request on one host(e.g. ping(8)) and capture traffic on both sender and receiver side and post the result again. > Thank you for your help! > > > > On 08.05.2010 02:05, Pyun YongHyeon wrote: > >On Fri, May 07, 2010 at 10:30:21PM +0500, Perevalov Sergey wrote: > > > >>Hi guys. I am beginner in FreeBSD. And I got problem with my Gigabit > >>usb to ethernet adapter with AX88178 chipset. It works in windows very > >>well but doesn't work in FreeBSD 8.0. tcpdump shows log with received > >>and sent packets, but any host in network doesn't receive them from it. > >>I checked it with 2 FreeBSD hosts connected directly by cable. Can you, > >>guys, advice to me something to fix or to find reason of this issue? > >>I started thread on freebsd forums( > >>http://forums.freebsd.org/showthread.php?t=13649 ) and also reported > >>about problem ( http://www.freebsd.org/cgi/query-pr.cgi?pr=146153 ). > >> > >> > >It seems the PR shows tcpdump output on sender side(axe(4) > >host 192.168.2.22). Would you capture the traffic on receiver side > >(host 192.168.2.7) and post the result? Note, please use direct > >cable to connect both systems and use option -e to capture traffic > >on host 192.168.2.7. For instance, use > >#ifconfig -envvvvvvi nic0 > >on receiver side. > > > >Also check whether the receiver agrees on the resolved speed/duplex > >of established link. For your case, host 192.168.2.7 should show > >100baseTX, full-duplex. > > > > > >>Here some information: > >> > >>dmesg: > >>ugen4.2: at usbus4 > >>axe0: on usbus4 > >>axe0: PHYADDR 0xe0:0x02 > >>miibus0: on axe0 > >>rgephy0: PHY 2 on miibus0 > >>rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > >>1000baseT-FDX, auto > >>ue0: on axe0 > >>ue0: Ethernet address: 00:0e:c6:88:09:4e > >> > >>usbconfig: > >>laptop# usbconfig > >>ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL > >>(12Mbps) pwr=ON > >>ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL > >>(12Mbps) pwr=ON > >>ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL > >>(12Mbps) pwr=ON > >>ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL > >>(12Mbps) pwr=ON > >>ugen4.1: at usbus4, cfg=0 md=HOST spd=HIGH > >>(480Mbps) pwr=ON > >>ugen4.2: at usbus4, cfg=0 md=HOST > >>spd=HIGH (480Mbps) pwr=ON > >>ugen0.2: at usbus0, cfg=0 md=HOST spd=LOW > >>(1.5Mbps) pwr=ON > >> > >>ifconfig: > >>ue0: flags=8843 metric 0 mtu 1500 > >>ether 00:0e:c6:88:09:4e > >>inet 192.168.2.22 netmask 0xffffff00 broadcast 192.168.2.255 > >>media: Ethernet autoselect (100baseTX) > >>status: active > >> > >>Thank you for you help! > >> > > > > > -- > Regards, Sergey. >