From owner-freebsd-stable@FreeBSD.ORG Thu Mar 8 14:22:27 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A84D816A403 for ; Thu, 8 Mar 2007 14:22:27 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id 36F6313C474 for ; Thu, 8 Mar 2007 14:22:27 +0000 (UTC) (envelope-from me@janh.de) Received: from [80.171.116.42] (helo=[192.168.178.27]) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1HPJVT3I20-0004HP; Thu, 08 Mar 2007 15:22:16 +0100 Message-ID: <45F01C0F.9090501@janh.de> Date: Thu, 08 Mar 2007 15:22:07 +0100 From: Jan Henrik Sylvester User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d7781a442c21a226569d6437949909a2 X-Provags-ID2: V01U2FsdGVkX19y3NyXGErkmTjpWo4kR5EOTOZZTm+vOkBrOex R3ItZNZVv9jGQuaU7h1fI+829oGzNsO6pL0PhBwi6DjFJRU4K4 KDvoPA1Jj/ur2nReN/u2g== Cc: fjoe@samodelkin.net Subject: RT2561 does not work (was: [CALL FOR TESTERS] (was: ral(4) and second/third gen devices)) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 14:22:27 -0000 Hi! I have got a RT2561 based card (not deliberately, wanted RT2500): ral0: mem 0xd8000000-0xd8007fff irq 10 at device 10.0 on pci0 ral0: MAC/BBP RT 2661B, RF RT2527 ral0: Ethernet address: 00:80:5a:38:XX:XX Some searching led me to: http://samodelkin.net/~fjoe/if_ral.diff -- which compiles on 6.2-RELEASE and, loaded as module, makes the card available. At first, I could not see (ifconfig ral0 up scan) any APs. After many tries I tried on a Linux system installed parallel with the vendor supplied RT61 driver -- the AP showed up (iwlist ra0 scanning). (Connecting was not possible due to unrelated wpa_supplicant problems on Linux.) Rebooting to FreeBSD (directly after seeing the AP on Linux), the AP showed up and I was able to associate to it using wpa_supplicant. With the appropriate configuration, this link was reestablished automatically on the next few reboots. Anyhow, it did not run totally satisfactorily as I was only able to scp with 150KB/s (for comparison I plugged in a ural device and got 1.5MB/s). Later I could not see the AP, again. After kldunloading and kldloading if_ral it reappeared (downing and upping with ifconfig did not help). A few days later (the computer was unplugged), the AP does not show up anymore no matter what I try, but it is visible from Linux. Any ideas? Is it possible that some state is kept in the card on reboot (from Linux to FreeBSD) or is it totally unrelated that I first saw the AP directly after seeing it on Linux? Is it possible that the driver does not correctly initialize the card? Is there any newer driver available? Do you want any other tests or information? Any chance that I get that running reliable? (The connection speed problem is not that important. I hoped to replace an unreliable Debian Sarge/zyd(USB-ZD1211) system with FreeBSD/ral(PCI-RT2500), what did not work out quite as expected...) Thanks Jan Henrik