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

From: Jean-Michel Hautbois
Date: Fri Nov 06 2015 - 11:54:43 EST


Hi Arnd,

2015-11-06 17:38 GMT+01:00 Arnd Bergmann <arnd@xxxxxxxx>:
> 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?

It worked well, it will not write the last dirty page if any that's all...

JM
--
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/