From owner-freebsd-current@FreeBSD.ORG Thu Mar 3 14:00:24 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64F65106566C; Thu, 3 Mar 2011 14:00:24 +0000 (UTC) (envelope-from erob@gthcfoundation.org) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3A5748FC12; Thu, 3 Mar 2011 14:00:24 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-15 Received: from [192.168.0.100] ([184.162.50.38]) by vl-mo-mrz23.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0LHH00IIJIVUU580@vl-mo-mrz23.ip.videotron.ca>; Thu, 03 Mar 2011 08:59:54 -0500 (EST) Message-id: <4D6F9EF7.3020707@gthcfoundation.org> Date: Thu, 03 Mar 2011 09:00:23 -0500 From: Etienne Robillard Organization: Green Tea Hackers Club User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101227 Icedove/3.0.11 To: Hans Petter Selasky References: <4D66C4CB.1060207@2egos.de> <201103031242.02741.hselasky@c2i.net> <4D6F92A8.6020707@gthcfoundation.org> <201103031425.58176.hselasky@c2i.net> In-reply-to: <201103031425.58176.hselasky@c2i.net> X-Enigmail-Version: 1.0.1 Cc: freebsd-current@freebsd.org, bschmidt@freebsd.org Subject: Re: urtw0: could not allocate USB transfers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: erob@gthcfoundation.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 14:00:24 -0000 On 03/03/11 08:25 AM, Hans Petter Selasky wrote: > On Thursday 03 March 2011 14:07:52 Etienne Robillard wrote: > >> ieee80211_newstate_cb >> > Hi, > > I think the problem is in the ieee80211 layer not draining its taskqueues > properly and/or other activities. It crashes in USB because it is accessing > freed memory or NULL pointers most likely. > > --HPS > X-UID: 11309 > Status: > X-Keywords: > Content-Length: 0 > > nice debugging! out of curiosity, what is OFDM and why is it faster than "unknown subtype" as when using rt2870 ? $ dmesg run0: <1.0> on usbus1 run0: MAC/BBP RT2872 (rev 0x0202), RF RT2720 (MIMO 1T2R), address 00:14:d1:67:a5:de run0: firmware RT2870 loaded run0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps run0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps t_delta 15.fd8648f984182166 too short wlan0: bpf attached wlan0: bpf attached wlan0: Ethernet address: 00:14:d1:67:a5:de wlan0: link state changed to UP $ kldload /boot/kernel/ipfw.ko link_elf_obj: symbol in6_clearscope undefined linker_load_file: Unsupported file type wlan0: link state changed to DOWN wlan0: link state changed to UP $ ifconfig wlan0: flags=8843 metric 0 mtu 1500 ether 00:00:00:00:00:00 inet 192.168.0.101 netmask 0xffffff00 broadcast 192.168.0.255 media: IEEE 802.11 Wireless Ethernet OFDM/12Mbps mode 11g status: associated ssid dlink2 channel 2 (2417 MHz 11g) bssid 00:00:00:00:00:00 country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 protmode CTS wme Cheers! :) -- Etienne Robillard Company: Green Tea Hackers Club Occupation: Software Developer (and CEO) E-mail: erob@gthcfoundation.org Work phone: 450-936-2123 Website (Company): https://gthc.org/ Website (Blog): https://gthc.org/blog/ PGP public key fingerprint: F2A9 32EA 8E7C 460F 1728 A1A7 649C 7F17 A086 DDEC During times of universal deceit, telling the truth becomes a revolutionary act. -- George Orwell If a free society cannot help the many who are poor, it cannot save the few who are rich. -- John F. Kennedy