From owner-freebsd-net@FreeBSD.ORG Wed Jan 19 12:07:48 2011 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 7020B1065670 for ; Wed, 19 Jan 2011 12:07:48 +0000 (UTC) (envelope-from alex@zagrebin.ru) Received: from mail.zagrebin.ru (gw.zagrebin.ru [91.215.205.128]) by mx1.freebsd.org (Postfix) with ESMTP id 1A3AA8FC18 for ; Wed, 19 Jan 2011 12:07:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zagrebin.ru; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=0j2LWWcRsbRTFsiyeHb0VD+WhDlZgMF4/q4vmCyHaII=; b=bmpRLSkynDgEjCNxii3OspKbfN8s72Hk3agzrfljt2V7f/H0/WhRVvAAXd6egTkkOU5uZ9qu/nLE1cLFqvw7C6Nai6++6lRZzDxWeL0jzQdPl0IhJOhdA5apt3AkBSqV190c/74Q4AwIrXa5vFhrthh8LC/jfUqOa0DccEc1vko=; Received: from alex by mail.zagrebin.ru with local (Exim 4.73 (FreeBSD)) (envelope-from ) id 1PfWpG-0005as-Mq; Wed, 19 Jan 2011 15:07:46 +0300 Date: Wed, 19 Jan 2011 15:07:46 +0300 From: Alexander Zagrebin To: PseudoCylon Message-ID: <20110119120746.GE13844@gw.zagrebin.ru> References: <20110118120038.9C4E81065853@hub.freebsd.org> <174429.26123.qm@web39308.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <174429.26123.qm@web39308.mail.mud.yahoo.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-net@freebsd.org Subject: Re: if_run and wlan_amrr: kernel panics on 8.2-PRERELEASE 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, 19 Jan 2011 12:07:48 -0000 Hi! On 19.01.2011 01:23:18 -0800, PseudoCylon wrote: > > mostly works (there is an issue with the devices with the 'power save mode' > > enabled), If device, connected to the freebsd based AP, is in 'power save mode', then there are: - very large dispersion of the ping time; like this 64 bytes from 192.168.1.12: icmp_seq=0 ttl=68 time=228.479 ms 64 bytes from 192.168.1.12: icmp_seq=1 ttl=68 time=2695.647 ms 64 bytes from 192.168.1.12: icmp_seq=2 ttl=68 time=1674.081 ms 64 bytes from 192.168.1.12: icmp_seq=3 ttl=68 time=653.757 ms 64 bytes from 192.168.1.12: icmp_seq=4 ttl=68 time=3785.051 ms 64 bytes from 192.168.1.12: icmp_seq=5 ttl=68 time=2764.311 ms 64 bytes from 192.168.1.12: icmp_seq=6 ttl=68 time=1742.506 ms 64 bytes from 192.168.1.12: icmp_seq=7 ttl=68 time=720.719 ms 64 bytes from 192.168.1.12: icmp_seq=10 ttl=68 time=568.465 ms 64 bytes from 192.168.1.12: icmp_seq=11 ttl=68 time=3.489 ms 64 bytes from 192.168.1.12: icmp_seq=12 ttl=68 time=8469.515 ms 64 bytes from 192.168.1.12: icmp_seq=13 ttl=68 time=7447.776 ms 64 bytes from 192.168.1.12: icmp_seq=14 ttl=68 time=6428.403 ms 64 bytes from 192.168.1.12: icmp_seq=15 ttl=68 time=5407.636 ms 64 bytes from 192.168.1.12: icmp_seq=16 ttl=68 time=4385.875 ms 64 bytes from 192.168.1.12: icmp_seq=17 ttl=68 time=3364.814 ms 64 bytes from 192.168.1.12: icmp_seq=18 ttl=68 time=2343.062 ms 64 bytes from 192.168.1.12: icmp_seq=19 ttl=68 time=1322.413 ms 64 bytes from 192.168.1.12: icmp_seq=20 ttl=68 time=300.670 ms 64 bytes from 192.168.1.12: icmp_seq=25 ttl=68 time=206.728 ms - periodical loss of packets, designated to device (like keepalive, icmp etc.), isn't it? > Yes, there is. > Due to lack of documents, I haven't figured out how to add support, how to set > tim, etc. Due to lack of documents, related to the Ralink chipsets? > > enabled), but transmission rate is limited with 1 Mbit/s. > > Can you try attached patch and see if tx rate goes up. It seems the commit r217511 have fixed issue. Have you any thoughts about kernel panic when if_run, runfw and wlan_amrr are loaded via loader.conf? -- Alexander Zagrebin