All of lore.kernel.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: i.MX6: Oops when unplugging a USB key
Date: Fri, 06 Nov 2015 17:38:30 +0100	[thread overview]
Message-ID: <4306403.1Q6hpl8dCg@wuerfel> (raw)
In-Reply-To: <CAH-u=81BFm1nquN5z7hFN9auV=9dPMPkRFX_PneK22UXgPbJnA@mail.gmail.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd@arndb.de>
To: linux-arm-kernel@lists.infradead.org
Cc: Jean-Michel Hautbois <jean-michel.hautbois@veo-labs.com>,
	Fabio Estevam <fabio.estevam@freescale.com>,
	Jon Nettleton <jon.nettleton@gmail.com>,
	Russell King - ARM Linux <linux@arm.linux.org.uk>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: i.MX6: Oops when unplugging a USB key
Date: Fri, 06 Nov 2015 17:38:30 +0100	[thread overview]
Message-ID: <4306403.1Q6hpl8dCg@wuerfel> (raw)
In-Reply-To: <CAH-u=81BFm1nquN5z7hFN9auV=9dPMPkRFX_PneK22UXgPbJnA@mail.gmail.com>

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

  reply	other threads:[~2015-11-06 16:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-06 16:32 i.MX6: Oops when unplugging a USB key Jean-Michel Hautbois
2015-11-06 16:32 ` Jean-Michel Hautbois
2015-11-06 16:38 ` Arnd Bergmann [this message]
2015-11-06 16:38   ` Arnd Bergmann
2015-11-06 16:54   ` Jean-Michel Hautbois
2015-11-06 16:54     ` Jean-Michel Hautbois
2015-11-06 19:12 ` Joshua Clayton
2015-11-06 19:12   ` Joshua Clayton
2015-11-06 19:28   ` Jean-Michel Hautbois
2015-11-06 19:28     ` Jean-Michel Hautbois

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4306403.1Q6hpl8dCg@wuerfel \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.