Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1264255

Re: i.MX6: Oops when unplugging a USB key

From Jean-Michel Hautbois <jean-michel.hautbois@veo-labs.com>
Newsgroups linux.kernel
Subject Re: i.MX6: Oops when unplugging a USB key
Date 2015-11-06 20:30 +0100
Message-ID <qrURZ-d0-27@gated-at.bofh.it> (permalink)
References <qrSdr-6Ta-7@gated-at.bofh.it> <qrUIj-9d-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2015-11-06 20:12 GMT+01:00 Joshua Clayton <joshua.clayton@uniwest.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?

I can see it every time I unplug my device. I must conduct some tests,
but seems to be somehow related to cpufreq and maybe the PMIC too (I
have cherry-picked the patches allowing anatop to use a vin-supply). I
didn't have time to bisect, I am sure I didn't have it when cpufreq
was not used at 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/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

i.MX6: Oops when unplugging a USB key Jean-Michel Hautbois <jean-michel.hautbois@veo-labs.com> - 2015-11-06 17:40 +0100
  Re: i.MX6: Oops when unplugging a USB key Arnd Bergmann <arnd@arndb.de> - 2015-11-06 17:40 +0100
    Re: i.MX6: Oops when unplugging a USB key Jean-Michel Hautbois <jean-michel.hautbois@veo-labs.com> - 2015-11-06 18:00 +0100
  Re: i.MX6: Oops when unplugging a USB key Joshua Clayton <joshua.clayton@uniwest.com> - 2015-11-06 20:20 +0100
    Re: i.MX6: Oops when unplugging a USB key Jean-Michel Hautbois <jean-michel.hautbois@veo-labs.com> - 2015-11-06 20:30 +0100

csiph-web