Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161755AbbKFQjE (ORCPT ); Fri, 6 Nov 2015 11:39:04 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:52112 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751320AbbKFQjC (ORCPT ); Fri, 6 Nov 2015 11:39:02 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Jean-Michel Hautbois , Fabio Estevam , Jon Nettleton , Russell King - ARM Linux , linux-kernel Subject: Re: i.MX6: Oops when unplugging a USB key Date: Fri, 06 Nov 2015 17:38:30 +0100 Message-ID: <4306403.1Q6hpl8dCg@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:Izv+iNL2MBWQxcS+/0pggnrZjalX9NLNXHu9mw4Nc7qSg+xinZb WjnwiUA2wWr69Ch3sHlwiFO5iPFoEAt5Y7dYN4vguScmDFTRSR8QX/z0PW5kI+Oy0TFUggp +Ml42PRzV9V4SsQhhfY4zlCmqQa39Gsur8qMq7uSqOXVtsBWvwrJAoisnmNhk3c3DQy4/B7 jclTmSATMNMnFlVF7isqg== X-UI-Out-Filterresults: notjunk:1;V01:K0:kprN51DkL6A=:JttG7qpVHhmK+/U8qwyWUd ryFlLFDT7ZUZXBfa1m3FXGAXICBZSEfIswJRpV954okZ7mScnij25dsA+Unm0noRlBi+0MTxE ygkPwwWq6RUToOksW7gpIbTc5sxK/ane2Tx6jL22FoHXzRQ9TQZuAxgIFwgU697/T5/fnFOZP rr/5wZnb7FzmvhNDWxyv3AThYxnYZ46q8Ty2u9aIP8PJIIJMHwJHsao8O3UFZYclQPjo49YfA 8jY82IijI+BWIivib1G9NYN/OO1tzYYyBoJW0LMz/jZfAJemi3EdlJn3W5ol8xsbcHI5SdVQy 5RniHzcycGix/JFGiJ8jwi38x3oXI7y/6z08Rcw4sehlls6lNd+xiOxUeXWe5olTNWffMyC/I VjFZrXbI2RwXxy42QPjBFPrJGIfgHStgTjFkylpbEAfgielulemJ6jFWRnwfJ+isIq8AwbL0/ uSSZsmvBIrkPxidwckhKeRcGPDXXNuNbs2DiC4OcTMVdv54YL+ImO5REmdWlIHvLyYgB1WrA4 Eb04rkKkqANESiNgwdYfOfrDs/e59UMMx3cLOi4nRHEfQ5PRGyoFZL78GsBkV+2AO/5Re1vv7 t+Q+EYlCq9GMYiLz5R3qYYWdyqeEfMrlAZXMMis9jLKCDp6zQhIEx08wT9yHGzOAPtDeeYA/6 6TxMUzr5ju6fuEKP7UtaREPiCaqJ5foTyRnO5loFbarKaNRmS4m2YsKv+5gOZT0kk1KCJVLNW BpNeFfm2x6oextrY Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 815 Lines: 18 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/