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 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 supplyin

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 /dev/u

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 itse

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

2010-07-12 Thread Hans Petter Selasky
Hi Andrew, Your patch appears to be working. Can you fix this issue in the other WLAN drivers aswell? Then send an e-mail to request testing? I had a go at it here: http://p4web.freebsd.org/@@180844?ac=10 I found another panic issue: ifconfig wlan0 delete ifconfig wlan0 destroy When not assoc

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 wrote: > 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 recommend using

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

2010-07-12 Thread PseudoCylon
- Original Message > From: Hans Petter Selasky > To: freebsd-curr...@freebsd.org > Cc: Andrew Thompson ; Sam Leffler ; >PseudoCylon ; freebsd-usb@freebsd.org > Sent: Mon, July 12, 2010 2:01:11 PM > Subject: Re: [panic] Race in IEEE802.11 layer towards device drivers > > Hi Andrew, > >

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

2010-07-12 Thread Hans Petter Selasky
On Tuesday 13 July 2010 03:54:08 PseudoCylon wrote: > Should the debugging code, usb_pause_mtx(), be left in the code for > testing? If the drivers don't panic to begin with, we won't know the > patch really fixed the issue. > No, I think it is safe to remove it. --HPS ___