All of lore.kernel.org
 help / color / mirror / Atom feed
From: joshua.clayton@uniwest.com (Joshua Clayton)
To: linux-arm-kernel@lists.infradead.org
Subject: i.MX6: Oops when unplugging a USB key
Date: Fri, 06 Nov 2015 11:12:39 -0800	[thread overview]
Message-ID: <2393919.Res6zC5Fd5@jclayton-pc> (raw)
In-Reply-To: <CAH-u=81BFm1nquN5z7hFN9auV=9dPMPkRFX_PneK22UXgPbJnA@mail.gmail.com>

On Friday, November 06, 2015 05:32:30 PM Jean-Michel Hautbois wrote:
> Hi !
> 
> 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...
> 
> Any idea is welcome :)
> 

I have seen a similar issue intermitently on my imx6 based board.
I would also like to find a fix.

Specifically: unplugging usb storage occasionally causes an oops.

I'm guessing a race with use-after-free, but I haven't tracked it down.
In my environment it has been hard to reproduce, and I wasn't able to
grok anything useful in the trace.

Are you seeing this behavior consistently?

Perhaps the driver is freeing more than it should when a device is disconnected.

-- 
Joshua Clayton
Software Engineer
UniWest
122 S. 4th Avenue
Pasco, WA 99301
(509) 544-0720

WARNING: multiple messages have this Message-ID (diff)
From: Joshua Clayton <joshua.clayton@uniwest.com>
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 11:12:39 -0800	[thread overview]
Message-ID: <2393919.Res6zC5Fd5@jclayton-pc> (raw)
In-Reply-To: <CAH-u=81BFm1nquN5z7hFN9auV=9dPMPkRFX_PneK22UXgPbJnA@mail.gmail.com>

On Friday, November 06, 2015 05:32:30 PM Jean-Michel Hautbois wrote:
> Hi !
> 
> 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...
> 
> Any idea is welcome :)
> 

I have seen a similar issue intermitently on my imx6 based board.
I would also like to find a fix.

Specifically: unplugging usb storage occasionally causes an oops.

I'm guessing a race with use-after-free, but I haven't tracked it down.
In my environment it has been hard to reproduce, and I wasn't able to
grok anything useful in the trace.

Are you seeing this behavior consistently?

Perhaps the driver is freeing more than it should when a device is disconnected.

-- 
Joshua Clayton
Software Engineer
UniWest
122 S. 4th Avenue
Pasco, WA 99301
(509) 544-0720

  parent reply	other threads:[~2015-11-06 19:12 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
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 [this message]
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=2393919.Res6zC5Fd5@jclayton-pc \
    --to=joshua.clayton@uniwest.com \
    --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.