Re: USB storage corruption/panic when doing file IO and unplugging (another, non-storage) device

From: Hans Petter Selasky <hselasky_at_freebsd.org>
Date: Mon, 10 Oct 2011 17:25:18 +0200
On Friday 07 October 2011 08:32:40 Adrian Chadd wrote:
> On 7 October 2011 13:55, Garrett Cooper <yanegomi_at_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
Received on Mon Oct 10 2011 - 13:28:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC