From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 13 12:34:34 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A3441065674 for ; Wed, 13 Jul 2011 12:34:34 +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 0236E8FC12 for ; Wed, 13 Jul 2011 12:34:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zagrebin.ru; s=mail; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=z3Tp8XWyumuqry/oO8bHmdhpqhg3j5ZZp7SMr5RLfEA=; b=D0T7i1bwXooQZRAdlNEha741tM8REr9xYi8CNfiUBTb1oboupTeUzwzrYJNsup2hravN8jxPGgU+C26jY/NyIfFeZAOOImhOvjuXsxXxVQ78EzBdHMARgPN2FN9rDDasNuFUlBmPmJk9pWQ+H28MJQCmlCa03EDXXM3BqXm+RK8=; Received: from alex by mail.zagrebin.ru with local (Exim 4.76 (FreeBSD)) (envelope-from ) id 1QgyCb-0001By-Ol for freebsd-wireless@freebsd.org; Wed, 13 Jul 2011 16:06:05 +0400 Date: Wed, 13 Jul 2011 16:06:05 +0400 From: Alexander Zagrebin To: freebsd-wireless@freebsd.org Message-ID: <20110713120605.GA3461@gw.zagrebin.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: RT2870: "run0: device timeout" issue X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 13 Jul 2011 12:34:34 -0000 Hi! I'm having a serious issue with an RT2872-based USB dongle running in the hostap mode: from time to time the device stops operating. On stations, connected to this AP, it looks like an access point disappears. The log (with debug enabled) contains records like this: kernel: run_bulk_tx_callbackN: USB transfer error, USB_ERR_TIMEOUT kernel: run0: device timeout kernel: run_bulk_tx_callbackN: cmdq_store=14 To restore normal operation I have to do anything from the following: unplug an adapter and plug it again or ifconfig wlan0 down && ifconfig wlan0 up or ifconfig run0 down && ifconfig run0 up On the 8.2-RELEASE this happened relatively seldom (for example, once in a week), but on the recent STABLE this occurs very frequently (may be once in some minutes). I've tried to use an alternative driver developed by Alexander Egorenkov (rt2870), and it seems that this driver doesn't have this issue. The access point running with the rt2870 driver is absolutely stable for about 3 weeks. So it isn't a hardware issue. Could anybody help me to fix this issue for the run(4)? -- Alexander Zagrebin