Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933003AbbKFQyj (ORCPT ); Fri, 6 Nov 2015 11:54:39 -0500 Received: from mail-oi0-f43.google.com ([209.85.218.43]:33607 "EHLO mail-oi0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751365AbbKFQyi (ORCPT ); Fri, 6 Nov 2015 11:54:38 -0500 MIME-Version: 1.0 In-Reply-To: <4306403.1Q6hpl8dCg@wuerfel> References: <4306403.1Q6hpl8dCg@wuerfel> From: Jean-Michel Hautbois Date: Fri, 6 Nov 2015 17:54:17 +0100 Message-ID: Subject: Re: i.MX6: Oops when unplugging a USB key To: Arnd Bergmann Cc: linux-arm-kernel , Fabio Estevam , Jon Nettleton , Russell King - ARM Linux , linux-kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 971 Lines: 23 Hi Arnd, 2015-11-06 17:38 GMT+01:00 Arnd Bergmann : > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/