From owner-freebsd-current@FreeBSD.ORG Sat Dec 29 20:43:49 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCAC616A41B for ; Sat, 29 Dec 2007 20:43:48 +0000 (UTC) (envelope-from bazzoola@gmail.com) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.227]) by mx1.freebsd.org (Postfix) with ESMTP id 8CF6F13C4CC for ; Sat, 29 Dec 2007 20:43:48 +0000 (UTC) (envelope-from bazzoola@gmail.com) Received: by qb-out-0506.google.com with SMTP id a10so68499qbd.7 for ; Sat, 29 Dec 2007 12:43:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=wD/D/1ti28yp46aUZi08QVKM47IRgkVF+Ftug6jjWKc=; b=afiU66ll1fgFOQG5tWCwjNe0guvc8CP7woUCOThv54TXcmTjbonEYHj7uU6hIJPoEOTbZQ6pv6wseA93cwST3Sv8x7NgCmFoqjGTy66NPWqKOyJVKNah9jy4tiRIeE+RivKmbfhlRiQ/V58FiZ69TI8+v2bsW2CIgWgtq7NejoM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=NktgvXP+bjdK/CZwQzpKqVAiJ1DxD02Ht1jndbHBPvDlwPzlEBmgYERW71XdZAo26BlkbOK++JIYn7gCSvOrcSz7YNrjk1G7rAMlTSD6O1XG/TqbEBWdpWnqcnfD5MUr+WlxH5ksPDUPagzbPkgzxheY1Rh05ztaxjT6ZrXYGao= Received: by 10.65.54.9 with SMTP id g9mr21188927qbk.3.1198960140007; Sat, 29 Dec 2007 12:29:00 -0800 (PST) Received: from macwire.local ( [76.247.130.45]) by mx.google.com with ESMTPS id 38sm9415839nzf.10.2007.12.29.12.28.57 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 29 Dec 2007 12:28:58 -0800 (PST) Message-Id: From: bazzoola To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= In-Reply-To: <86ir2hznnd.fsf@ds4.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v915) Date: Sat, 29 Dec 2007 15:28:55 -0500 References: <86ir2hznnd.fsf@ds4.des.no> X-Mailer: Apple Mail (2.915) Cc: kevlo@freebsd.org, sam@freebsd.org, current@freebsd.org, net@freebsd.org Subject: Re: if_ral regression 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: Sat, 29 Dec 2007 20:43:49 -0000 On Dec 29, 2007, at 7:33 AM, Dag-Erling Sm=F8rgrav wrote: > I upgraded my router cum firewall cum access point (soekris net4801 =20= > with > a cheap third-party ralink-based wlan adapter) from RELENG_6 to HEAD =20= > and > noticed what seems to be a regression in if_ral. After a certain =20 > amount > of use (i.e. actually having a client connected to it and transferring > data), the connection falters, and eventually the client can no longer > see even see the access point in a scan. Restarting the interface on > the router (/etc/rc.d/netif restart ral0) fixes it. I now have a cron > job that does this every five minutes. I still get occasional =20 > outages, > but all I have to do is wait a few minutes for the cron job to kick =20= > in. > > Outages are clearly related to traffic; a sure-fire way to trigger one > is to start a backup job on my laptop (rsync to my file server). I =20= > will > lose the wlan connection repeatedly until I either stop trying or run > the script with a bandwidth limit. > > des@soe ~% uname -a > FreeBSD soe.des.no 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Dec 15 =20 > 20:46:29 UTC 2007 des@pwd.des.no:/usr/obj/usr/src/sys/soe i386 > des@soe ~% kldstat -v > Id Refs Address Size Name > 1 18 0xc0400000 33fdfc kernel (/boot/soe/kernel) > 2 1 0xc0740000 7690 if_sis.ko (/boot/soe/if_sis.ko) > 3 2 0xc0748000 1dbe0 miibus.ko (/boot/soe/miibus.ko) > 4 1 0xc0766000 18e28 if_ral.ko (/boot/soe/if_ral.ko) > 5 4 0xc077f000 2a95c wlan.ko (/boot/soe/wlan.ko) > 6 1 0xc07aa000 2cb0 wlan_acl.ko (/boot/soe/wlan_acl.ko) > 7 1 0xc07ad000 1924 wlan_scan_ap.ko (/boot/soe/wlan_scan_ap.ko) > 8 1 0xc107f000 6000 geom_md.ko (/boot/soe/geom_md.ko) > 9 1 0xc10f9000 2000 pflog.ko (/boot/soe/pflog.ko) > 10 1 0xc10fb000 2f000 pf.ko (/boot/soe/pf.ko) > 11 4 0xc118d000 a000 netgraph.ko (/boot/soe/netgraph.ko) > 12 1 0xc119c000 3000 ng_ether.ko (/boot/soe/ng_ether.ko) > 13 1 0xc11a8000 5000 ng_pppoe.ko (/boot/soe/ng_pppoe.ko) > 14 1 0xc11ad000 4000 ng_socket.ko (/boot/soe/ng_socket.ko) > des@soe ~% grep ral0 /var/run/dmesg.boot > ral0: mem 0xa0004000-0xa0005fff irq 11 at =20= > device 10.0 on pci0 > ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 > ral0: Ethernet address: 00:08:a1:8d:2f:73 > ral0: [ITHREAD] > des@soe ~% pciconf -lv > [...] > ral0@pci0:0:10:0: class=3D0x028000 card=3D0x00201371 =20 > chip=3D0x02011814 rev=3D0x01 hdr=3D0x00 > vendor =3D 'Ralink Technology, Corp' > device =3D '0x03011814 Zonet ZEW1601 (Ralink Chipset) 802.11b/g = =20 > WLAN Card' > class =3D network > [...] > des@soe ~% ifconfig ral0 > ral0: flags=3D8843 metric 0 =20= > mtu 1500 > ether 00:08:a1:8d:2f:73 > inet 10.0.11.1 netmask 0xffffff00 broadcast 10.0.11.255 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g =20 > > status: associated > ssid des.no channel 1 (2412 Mhz 11g) bssid 00:08:a1:8d:2f:73 > authmode OPEN privacy OFF txpower 50 scanvalid 60 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 > protmode CTS dtimperiod 1 > > DES > --=20 > Dag-Erling Sm=F8rgrav - des@des.no > _______________________________________________ > 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=20 > " I have reported a similar regression please see http://www.freebsd.org/cgi/query-pr.cgi?pr=3D117655 = http://lists.freebsd.org/pipermail/freebsd-stable/2007-October/037636.html= Thanks!=