From owner-freebsd-current@FreeBSD.ORG Fri Jul 1 17:30:16 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A198816A41C for ; Fri, 1 Jul 2005 17:30:16 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C9F743D1F for ; Fri, 1 Jul 2005 17:30:16 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.94] ([66.127.85.94]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j61HUEms012328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Jul 2005 10:30:15 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <42C57DBE.8080403@errno.com> Date: Fri, 01 Jul 2005 10:30:38 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jiri Mikulas References: <42C41B57.4020608@mikulas.com> In-Reply-To: <42C41B57.4020608@mikulas.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: ath: truncated-ip X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2005 17:30:16 -0000 Jiri Mikulas wrote: > Hello > Maybe there is problem with ath > I have point-to-point uplink with ath 5213 based cards > with > > 6.0-CURRENT #2: Thu Jun 30 02:39:34 CEST 2005 > hw.ath.hal.version: 0.9.14.9 > ifconfig_ath0="10.27.64.78/30 ssid HA2BH media OFDM/24Mbps mode 11a up" > bhillz-F# ifconfig ath0 list ap > SSID BSSID CHAN RATE S:N INT CAPS > HA2BH 00:90:4b:ca:33:52 149 54M 32:0 100 E > > and on the other side: > 5.4-STABLE #6: Sat May 28 11:01:07 CEST 2005 > hw.ath.hal.version: 0.9.6.3 > ifconfig_ath0="10.27.64.77/30 ssid HA2BH channel 149 media autoselect > mode 11a mediaopt hostap up" > habr# wicontrol ath0 -l | grep signal > Quality/Signal/Noise [signal]: [ 0 / 34 / 0 ] > > > The problem is, that "client" side seems to be sendig corrupted data > (tcpdump above), I tried to switch client<->hostap cards (in config) but > the same thing again. > I also tried CURRENT <-> CURRENT machines, it do the same thing > I have more interfaces (fxp, wi, vlan) on these boxes and OSPF runs > there without any problem, so I think it could be ath specific problem ? > > Does anybody have any idea where could be the problem ? > If will anybody be interested in, I can provide more info. This is likely tcpdump not knowing that there is some padding in the packets for the atheros h/w; can't recall which cases this occurs and/or whether it's exposed at the 802.11 layer (it definitely can show up if you tap with -y IEEE802_11_RADIO). I would sniff from another station to be sure. Can you be sure packets are being lost and/or discarded? statistics at the ath and/or 802.11 level will tell you. Sam > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > habr# tcpdump -i ath0 proto ospf > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on ath0, link-type EN10MB (Ethernet), capture size 96 bytes > 18:01:48.994769 IP 10.27.64.78 > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), > length: 44 > 18:01:49.013819 IP truncated-ip - 11200 bytes missing! 10.27.64.78 > > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), length: 11244 > 18:01:49.398200 IP 10.27.64.77 > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), > length: 48 > 18:01:58.995047 IP 10.27.64.78 > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), > length: 44 > 18:01:59.048889 IP truncated-ip - 11200 bytes missing! 10.27.64.78 > > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), length: 11244 > 18:01:59.408431 IP 10.27.64.77 > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), > length: 48 > 18:02:08.995264 IP 10.27.64.78 > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), > length: 44 > 18:02:09.038394 IP truncated-ip - 11200 bytes missing! 10.27.64.78 > > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), length: 11244 > 18:02:09.418535 IP 10.27.64.77 > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), > length: 48 > 18:02:18.995734 IP 10.27.64.78 > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), > length: 44 > 18:02:19.016646 IP truncated-ip - 11200 bytes missing! 10.27.64.78 > > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), length: 11244 > 18:02:19.428675 IP 10.27.64.77 > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), > length: 48 > 18:02:28.996688 IP 10.27.64.78 > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), > length: 44 > 18:02:29.051713 IP truncated-ip - 11200 bytes missing! 10.27.64.78 > > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), length: 11244 > 18:02:29.438828 IP 10.27.64.77 > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), > length: 48 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > bhillz-F# tcpdump -i ath0 proto ospf > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on ath0, link-type EN10MB (Ethernet), capture size 96 bytes > 18:01:49.389444 IP 10.27.64.78 > OSPF-ALL.MCAST.NET: OSPFv2, Hello, > length: 44 > 18:01:59.390520 IP 10.27.64.78 > OSPF-ALL.MCAST.NET: OSPFv2, Hello, > length: 44 > 18:02:09.391534 IP 10.27.64.78 > OSPF-ALL.MCAST.NET: OSPFv2, Hello, > length: 44 > 18:02:19.392793 IP 10.27.64.78 > OSPF-ALL.MCAST.NET: OSPFv2, Hello, > length: 44 > 18:02:29.394546 IP 10.27.64.78 > OSPF-ALL.MCAST.NET: OSPFv2, Hello, > length: 44 > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >