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


Groups > linux.kernel > #1565752

Re: v4.9 to v4.10 regression: oops when USB cable is plugged in.

From Pali Rohár <pali.rohar@gmail.com>
Newsgroups linux.kernel
Subject Re: v4.9 to v4.10 regression: oops when USB cable is plugged in.
Date 2017-01-24 11:10 +0100
Message-ID <t36d3-2Xs-1@gated-at.bofh.it> (permalink)
References <t2VhE-3Vc-7@gated-at.bofh.it> <t2VAZ-43P-3@gated-at.bofh.it> <t35qF-2qR-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tuesday 24 January 2017 10:18:17 Pavel Machek wrote:
> Hi!
> On Mon 2017-01-23 14:44:54, Tony Lindgren wrote:
> > * Pavel Machek <pavel@ucw.cz> [170123 14:26]:
> > > [25392.239837] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa0ab060
> > > [25392.239868] pgd = c0004000
> > > [25392.239898] [fa0ab060] *pgd=48011452(bad)
> > > [25392.239929] Internal error: : 1028 [#1] ARM
> > > [25392.239929] Modules linked in:
> > > [25392.239959] CPU: 0 PID: 24322 Comm: kworker/0:1 Not tainted 4.10.0-rc5-142127-g41f2839-dirty #222
> > > [25392.239990] Hardware name: Nokia RX-51 board
> > > [25392.240020] Workqueue: events musb_irq_work
> > > [25392.240051] task: cd44d5c0 task.stack: cd308000
> > > [25392.240051] PC is at musb_default_readb+0x0/0xc
> > > [25392.240081] LR is at musb_irq_work+0x1c/0x1b0
> > 
> > OK I'm pretty sure the patch I posted few days ago fixes
> > this. Can you please test patch "[PATCH] usb: musb: Fix
> > external abort on non-linefetch for musb_irq_work()"?
> 
> Can I get the copy of the patch?
> 
> http://www.spinics.net/lists/linux-usb/msg152542.html
> 
> ...but it is html mangled with no obvious way to unmangle it.

Another place when caller of pm_runtime_get_sync forgot to check return
value? This is not first time I see this problem related to Nokia N900!

In past I already suggested to use gcc attribute for pm_runtime_get_sync
to issue warning when caller does not check return value.

> > I was able to hit that only once so far, do you hit it
> > every time with your built-in g_ether .config?
> 
> I get it "way too often", like once a day. I don't yet know how to hit
> it reliably :-(.

-- 
Pali Rohár
pali.rohar@gmail.com

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


Thread

Re: v4.9 to v4.10 regression: oops when USB cable is plugged in. Tony Lindgren <tony@atomide.com> - 2017-01-23 23:50 +0100
  Re: v4.9 to v4.10 regression: oops when USB cable is plugged in. Pavel Machek <pavel@ucw.cz> - 2017-01-24 10:20 +0100
    Re: v4.9 to v4.10 regression: oops when USB cable is plugged in. Pali Rohár <pali.rohar@gmail.com> - 2017-01-24 11:10 +0100
      Re: v4.9 to v4.10 regression: oops when USB cable is plugged in. Tony Lindgren <tony@atomide.com> - 2017-01-24 16:00 +0100
        Re: v4.9 to v4.10 regression: oops when USB cable is plugged in. Pavel Machek <pavel@ucw.cz> - 2017-01-27 23:00 +0100
          Re: v4.9 to v4.10 regression: oops when USB cable is plugged in. Sebastian Reichel <sre@kernel.org> - 2017-01-28 00:50 +0100

csiph-web