Re: [panic] Race in IEEE802.11 layer towards device drivers

2010-07-12 Thread Hans Petter Selasky
On Monday 12 July 2010 02:07:55 Andrew Thompson wrote: This turned out to be refcounting of the ieee80211_node struct which was causing this panic. vap-iv_bss can be freed at any time so all users of it need to bump the refcount to use it safely. This patch should fix the panic in the rum

Current problem reports assigned to freebsd-usb@FreeBSD.org

2010-07-12 Thread FreeBSD bugmaster
Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker

Re: [panic] Race in IEEE802.11 layer towards device drivers

2010-07-12 Thread Rui Paulo
On 12 Jul 2010, at 01:07, Andrew Thompson wrote: On 8 July 2010 07:13, Hans Petter Selasky hsela...@c2i.net wrote: Hi, When supplying wpa_supplicant.conf with incorrect passwords, but a valid SSID, I have seen kernel panics several times when using USB based WLAN dongles. When only

read(2) always returns 0 when reading from /dev/usb/n.m.k bulk IN endpoint

2010-07-12 Thread Peer Stritzinger
Hi, on FreeBSD 8.0-RELEASE I try to read from a bulk IN endpoint device node with read(2). The USB client it is talking to is a embedded controller with Cypress SX2 USB client chip, enumeration goes quite well (SX2 does it itself) and its reported correctly on console. The device nodes in

Re: read(2) always returns 0 when reading from /dev/usb/n.m.k bulk IN endpoint

2010-07-12 Thread Hans Petter Selasky
On Monday 12 July 2010 19:22:28 Peer Stritzinger wrote: Hi, on FreeBSD 8.0-RELEASE I try to read from a bulk IN endpoint device node with read(2). The USB client it is talking to is a embedded controller with Cypress SX2 USB client chip, enumeration goes quite well (SX2 does it itself)

Re: read(2) always returns 0 when reading from /dev/usb/n.m.k bulk IN endpoint

2010-07-12 Thread Peer Stritzinger
Hi, On Mon, Jul 12, 2010 at 8:20 PM, Hans Petter Selasky hsela...@freebsd.orgwrote: On Monday 12 July 2010 19:22:28 Peer Stritzinger wrote: However the read always returns 0. Tried different buffer sizes etc. Hi, Maybe you are missing to set the short transfer OK flag. Else I

Re: [panic] Race in IEEE802.11 layer towards device drivers

2010-07-12 Thread PseudoCylon
- Original Message From: Hans Petter Selasky hsela...@c2i.net To: freebsd-curr...@freebsd.org Cc: Andrew Thompson thom...@freebsd.org; Sam Leffler s...@freebsd.org; PseudoCylon moonlightak...@yahoo.ca; freebsd-usb@freebsd.org Sent: Mon, July 12, 2010 2:01:11 PM Subject: Re: [panic]