Re: i.MX6: Oops when unplugging a USB key

From: Arnd Bergmann
Date: Fri Nov 06 2015 - 11:39:08 EST


On Friday 06 November 2015 17:32:30 Jean-Michel Hautbois wrote:
> I have an issue on my i.MX6 board I don't understand (kernel is a 4.2)...
> When I connect a USB key, and then disconnect it, it oopses and
> reboots (as I have panic on oops, and reboot on panic).
> Seems to be on the umount part...
> The USB is connected through a smsc95xx but I don't think this is related...

You should normally unmount the file system before unplugging.

Did this work on other kernels? What happens if you unplug
that stick on your laptop while the file system is mounted?

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/