Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2011 17:25:18 +0200
From:      Hans Petter Selasky <hselasky@freebsd.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        Garrett Cooper <yanegomi@gmail.com>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: USB storage corruption/panic when doing file IO and unplugging (another, non-storage) device
Message-ID:  <201110101725.18195.hselasky@freebsd.org>
In-Reply-To: <CAJ-Vmom1Mq7sRmGSftiEsvjGFAYHMSNcF7LtchLq33TiWhnRkg@mail.gmail.com>
References:  <CAGH67wTtLqVyKRynOHDF4yD7%2B6J38%2Bk507BUeTjsvrG6HuaAGw@mail.gmail.com> <CAJ-Vmom1Mq7sRmGSftiEsvjGFAYHMSNcF7LtchLq33TiWhnRkg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 07 October 2011 08:32:40 Adrian Chadd wrote:
> On 7 October 2011 13:55, Garrett Cooper <yanegomi@gmail.com> wrote:
> >> Has anyone seen this before?
> >> 
> >> This is _not_ plug/unplug the active storage device, or another
> >> storage device. This is when doing IO on a storage device (whether the
> >> root device or a media device) whilst plug/unplug a non-storage USB
> >> device (wifi chipsets w/ no driver.)
> > 
> >    Yeah. Ran into it earlier on in the 9.x cycle with twa unplugging
> > a USB keyboard when I was rebooting a machine; the panic was fixed in
> > twa, not ukbd. I suppose my question is: does this only happen with
> > USB, or is firewire affected, and why aren't the devices being
> > properly masked against interrupts [in the same queue??] [by
> > newbus???]?
> 
> Let's wait for hps to get back to us. This seems like something he can
> replicate very quickly.

Hi,

Could you send me the backtrace of the panic. USB is a broadcast system and 
connecting and disconnecting devices might cause interference. Make sure your 
driver is self powered. I have not seen this issue before. I'm using a USB 
disk every day.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110101725.18195.hselasky>