i.MX6: Oops when unplugging a USB key

Jean-Michel Hautbois jean-michel.hautbois at veo-labs.com
Fri Nov 6 08:54:17 PST 2015


Hi Arnd,

2015-11-06 17:38 GMT+01:00 Arnd Bergmann <arnd at arndb.de>:
> 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



More information about the linux-arm-kernel mailing list