USB storage corruption/panic when doing file IO and unplugging
(another, non-storage) device
Hans Petter Selasky
hselasky at freebsd.org
Mon Oct 10 15:28:22 UTC 2011
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
More information about the freebsd-current
mailing list