Re: ohci: sporadic crash/lockup in ohci-hcd io_watchdog_func()

2015-06-28 Thread Heiko Przybyl
On Monday 11 May 2015 13:14:52 Alan Stern wrote: > On Sun, 10 May 2015, Heiko Przybyl wrote: > > Hello again. > > > > The issue still bites me with 4.0.2. > > > > Though I was able to narrow down the issue, it's still hard to > > deterministically trigger it. > > > > Anyway. The setup: > > - OHC

Re: ohci: sporadic crash/lockup in ohci-hcd io_watchdog_func()

2015-01-23 Thread Alan Stern
On Tue, 20 Jan 2015, Heiko Przybyl wrote: > I'm not 100% sure, but then it's probably a race between urb > enqueuing (duplicates?) and the watchdog orphan cleanup. > > The crash log already shows the double list add in ohci_urb_enqueue > " > ohci-hcd.c:238: list_add(&ed->in_use_list, &ohci->eds_

Re: ohci: sporadic crash/lockup in ohci-hcd io_watchdog_func()

2015-01-20 Thread Heiko Przybyl
On Tuesday 20 January 2015 10:49:29 Alan Stern wrote: > On Mon, 19 Jan 2015, Heiko Przybyl wrote: > > On Monday 19 January 2015 11:17:59 Alan Stern wrote: > > > > > > That's easy enough to test. All you have to do is change the > > > spin_lock/unlock statements to their irq_save/restore variants.

Re: ohci: sporadic crash/lockup in ohci-hcd io_watchdog_func()

2015-01-20 Thread Alan Stern
On Mon, 19 Jan 2015, Heiko Przybyl wrote: > On Monday 19 January 2015 11:17:59 Alan Stern wrote: > > On Mon, 19 Jan 2015, Heiko Przybyl wrote: > > > It seems to be related to keyboard input (at least it happens when using > > > the keyboard), without relation to system load. Can happen within a da

Re: ohci: sporadic crash/lockup in ohci-hcd io_watchdog_func()

2015-01-19 Thread Heiko Przybyl
On Monday 19 January 2015 11:17:59 Alan Stern wrote: > On Mon, 19 Jan 2015, Heiko Przybyl wrote: > > It seems to be related to keyboard input (at least it happens when using > > the keyboard), without relation to system load. Can happen within a day > > after boot or after several days of hibernate

Re: ohci: sporadic crash/lockup in ohci-hcd io_watchdog_func()

2015-01-19 Thread Alan Stern
On Mon, 19 Jan 2015, Heiko Przybyl wrote: > Hi all, > > been redirected here from bug #91511 [1]. > > I'm getting sporadic crashes in io_watchdog_func() in drivers/usb/host/ohci- > hcd.c:761: > " > list_for_each_entry(ed, &ohci->eds_in_use, in_use_list) { > if (ed->pending_td) {

ohci: sporadic crash/lockup in ohci-hcd io_watchdog_func()

2015-01-19 Thread Heiko Przybyl
Hi all, been redirected here from bug #91511 [1]. I'm getting sporadic crashes in io_watchdog_func() in drivers/usb/host/ohci- hcd.c:761: " list_for_each_entry(ed, &ohci->eds_in_use, in_use_list) { if (ed->pending_td) { " with the in_use list getting corrupted: from ohci_urb_enqu