From owner-freebsd-wireless@FreeBSD.ORG Mon Jun 2 07:12:44 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36EFFEDC; Mon, 2 Jun 2014 07:12:44 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB58321F1; Mon, 2 Jun 2014 07:12:43 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 248611FE026; Mon, 2 Jun 2014 09:12:41 +0200 (CEST) Message-ID: <538C2412.4030600@selasky.org> Date: Mon, 02 Jun 2014 09:13:22 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Thomas Mueller , freebsd-wireless@freebsd.org Subject: Re: Change for the worse in rsu wireless driver References: <792139.75850.bm@smtp112.sbc.mail.bf1.yahoo.com> In-Reply-To: <792139.75850.bm@smtp112.sbc.mail.bf1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 07:12:44 -0000 On 06/02/14 07:30, Thomas Mueller wrote: > I sent this message, without this top part, over an hour ago, and notice wlan0 is still up. I intended but forgot to CC to freebsd-current. But I am in newcons, having not started X so far this boot session. Maybe something rotten with Xorg, or interaction between rsu and X, or rsu and Firefox. > > I am afraid to try again with X, don't want to mess the file system to the extent of losing data. > > WLAN device is Hiro H50191 USB wireless adapter, chipset RTL8191SU. > > I just updated FreeBSD-current, both amd64 and i386, now both rsu and Xorg are highly unstable, at least on amd64. > > FreeBSD amelia4 11.0-CURRENT FreeBSD 11.0-CURRENT #6 r266948: Sun Jun 1 19:12:44 UTC 2014 root@amelia4:/usr/obj/usr/src/sys/SANDY11NC amd64 > > root@amelia4:~ # ls -l /usr/src/sys/dev/usb/wlan > > total 1164 > > -rw-r--r-- 1 root wheel 65759 Jun 1 16:23 if_rsu.c > > -rw-r--r-- 1 root wheel 19964 Jun 1 16:23 if_rsureg.h > > (snip) > > This is a change for the worse. Now I can connect with Hiro H50191; bug in re Ethernet driver persists, so I can't connect that way. > > I also had several crashes in Xorg, so am typing this with vi in newcons. > > Tom Hi, Re-compile the rsu module with USB debugging enabled: Add to: sys/modules/usb/rsu/Makefile CFLAGS+= -DUSB_DEBUG Rebuild and install. After that lookup the debug knob using "sysctl hw.usb | grep rsu" and set it to 16. Then collect some debug messages in dmesg, when problems appear. Thank you. --HPS