Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-15 Thread Alan Stern
On Sat, 15 Feb 2014, Stefani Seibold wrote: > I have cross tested Alan's patch again with kernel 3.13.2 and the > current 3.14-rc2. > > I have now exactly the same .config, the same system and the same kernel > cmdline. > > A kernel 3.13.2 without Alan's patch freeze when accessing a USB flash >

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-15 Thread Stefani Seibold
Am Samstag, den 15.02.2014, 02:33 +0100 schrieb Thomas Gleixner: > On Fri, 14 Feb 2014, Stefani Seibold wrote: > > Am Freitag, den 14.02.2014, 10:32 -0500 schrieb Alan Stern: > > > On Fri, 14 Feb 2014, Stefani Seibold wrote: > > > > > > > Hi Alan; > > > > > > > > Am Donnerstag, den 13.02.2014, 15

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-14 Thread Thomas Gleixner
On Fri, 14 Feb 2014, Stefani Seibold wrote: > Am Freitag, den 14.02.2014, 10:32 -0500 schrieb Alan Stern: > > On Fri, 14 Feb 2014, Stefani Seibold wrote: > > > > > Hi Alan; > > > > > > Am Donnerstag, den 13.02.2014, 15:55 -0500 schrieb Alan Stern: > > > > > > > Stefani, please try the patch belo

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-14 Thread Stefani Seibold
Am Freitag, den 14.02.2014, 10:32 -0500 schrieb Alan Stern: > On Fri, 14 Feb 2014, Stefani Seibold wrote: > > > Hi Alan; > > > > Am Donnerstag, den 13.02.2014, 15:55 -0500 schrieb Alan Stern: > > > > > Stefani, please try the patch below, with "threadirq" and the plain > > > vanilla kernel. It

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-14 Thread Alan Stern
On Fri, 14 Feb 2014, Stefani Seibold wrote: > Hi Alan; > > Am Donnerstag, den 13.02.2014, 15:55 -0500 schrieb Alan Stern: > > > Stefani, please try the patch below, with "threadirq" and the plain > > vanilla kernel. It ought to fix your problem, but let's make certain. > > I tried the patch on

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-14 Thread Stefani Seibold
Hi Alan; Am Donnerstag, den 13.02.2014, 15:55 -0500 schrieb Alan Stern: > Stefani, please try the patch below, with "threadirq" and the plain > vanilla kernel. It ought to fix your problem, but let's make certain. I tried the patch on 3.13.2 together with the commit 88ed9fd50e57 and it seems th

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-13 Thread Alan Stern
On Thu, 13 Feb 2014, Thomas Gleixner wrote: > On Thu, 13 Feb 2014, Alan Stern wrote: > > On Thu, 13 Feb 2014, Thomas Gleixner wrote: > > I can think of two other solutions. The first is to move the > > non-hardirq-safe hrtimers into threaded softirq context, as mentioned > > above. > > Right, bu

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-13 Thread Peter Zijlstra
On Thu, Feb 13, 2014 at 05:27:20PM +0100, Thomas Gleixner wrote: > I think, that's the simplest option for now. We'll look into the > hrtimer issue anyway, but as I said it's not a two lines patch. Yeah, and don't forget the reason we ripped that hrtimer softirq stuff out of mainline :-) -- To uns

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-13 Thread Thomas Gleixner
On Thu, 13 Feb 2014, Alan Stern wrote: > On Thu, 13 Feb 2014, Thomas Gleixner wrote: > I can think of two other solutions. The first is to move the > non-hardirq-safe hrtimers into threaded softirq context, as mentioned > above. Right, but that's major surgery. > The second is for ehci_hrtimer_

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-13 Thread Alan Stern
On Thu, 13 Feb 2014, Thomas Gleixner wrote: > On Wed, 12 Feb 2014, Alan Stern wrote: > > I have no idea what might have changed between 3.12 and 3.13 to cause > > this problem. Maybe Thomas can figure it out. > > > > > And yes, the issues goes away when no thread irqs are used (with and > > > w

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-13 Thread Thomas Gleixner
On Wed, 12 Feb 2014, Alan Stern wrote: > I have no idea what might have changed between 3.12 and 3.13 to cause > this problem. Maybe Thomas can figure it out. > > > And yes, the issues goes away when no thread irqs are used (with and > > without the patch). > > Thomas, there must be some reason

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-12 Thread Alan Stern
On Wed, 12 Feb 2014, Stefani Seibold wrote: > > > > >> Okay, the debugging info in your dmesg log indicates the cause of the > > > > >> problem. It looks like the bug is related to commit 88ed9fd50e57 > > > > >> (usb/hcd: remove unnecessary local_irq_save) by Michael Opdenacker. For the benefi

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-12 Thread Stefani Seibold
Am Mittwoch, den 12.02.2014, 08:28 -0800 schrieb Greg KH: > On Wed, Feb 12, 2014 at 05:20:10PM +0100, Stefani Seibold wrote: > > Am Mittwoch, den 12.02.2014, 16:57 +0100 schrieb Michael Opdenacker: > > > On 02/12/2014 04:47 PM, Stefani Seibold wrote: > > > > Am Mittwoch, den 12.02.2014, 10:37 -0500

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-12 Thread Greg KH
On Wed, Feb 12, 2014 at 05:20:10PM +0100, Stefani Seibold wrote: > Am Mittwoch, den 12.02.2014, 16:57 +0100 schrieb Michael Opdenacker: > > On 02/12/2014 04:47 PM, Stefani Seibold wrote: > > > Am Mittwoch, den 12.02.2014, 10:37 -0500 schrieb Alan Stern: > > >> On Wed, 12 Feb 2014, Stefani Seibold w

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-12 Thread Stefani Seibold
Am Mittwoch, den 12.02.2014, 16:57 +0100 schrieb Michael Opdenacker: > On 02/12/2014 04:47 PM, Stefani Seibold wrote: > > Am Mittwoch, den 12.02.2014, 10:37 -0500 schrieb Alan Stern: > >> On Wed, 12 Feb 2014, Stefani Seibold wrote: > >> > >>> Hi, > >>> > >>> Am Dienstag, den 11.02.2014, 11:30 -0500

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-12 Thread Michael Opdenacker
On 02/12/2014 04:47 PM, Stefani Seibold wrote: > Am Mittwoch, den 12.02.2014, 10:37 -0500 schrieb Alan Stern: >> On Wed, 12 Feb 2014, Stefani Seibold wrote: >> >>> Hi, >>> >>> Am Dienstag, den 11.02.2014, 11:30 -0500 schrieb Alan Stern: On Mon, 10 Feb 2014, Stefani Seibold wrote: >>>

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-12 Thread Stefani Seibold
Am Mittwoch, den 12.02.2014, 10:37 -0500 schrieb Alan Stern: > On Wed, 12 Feb 2014, Stefani Seibold wrote: > > > Hi, > > > > Am Dienstag, den 11.02.2014, 11:30 -0500 schrieb Alan Stern: > > > On Mon, 10 Feb 2014, Stefani Seibold wrote: > > > > > > > > > I have more information about the bug. I t

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-12 Thread Alan Stern
On Wed, 12 Feb 2014, Stefani Seibold wrote: > Hi, > > Am Dienstag, den 11.02.2014, 11:30 -0500 schrieb Alan Stern: > > On Mon, 10 Feb 2014, Stefani Seibold wrote: > > > > > > > I have more information about the bug. I tested with a USB 3.0 > > > > > Expresscard and this works with 3.13. > > > >

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-11 Thread Alan Stern
On Mon, 10 Feb 2014, Stefani Seibold wrote: > > > I have more information about the bug. I tested with a USB 3.0 > > > Expresscard and this works with 3.13. > > > > > > I also found an old USB 1.1 HUB in my USB gadget box. When i attach the > > > USB flash storage to the USB 1.1 hub there is also

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-10 Thread Alan Stern
On Mon, 10 Feb 2014, Stefani Seibold wrote: > > > One interesting thing was that the bus in 3.12.7 was sometimes 6 and > > > sometimes 2. > > > > The bus number doesn't matter; it's allowed to change every time you > > reboot. > > The bus change without a reboot! What? I don't understand. Can

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-10 Thread Stefani Seibold
Am Montag, den 10.02.2014, 12:09 -0500 schrieb Alan Stern: > On Mon, 10 Feb 2014, Stefani Seibold wrote: > > > Am Montag, den 10.02.2014, 10:56 -0500 schrieb Alan Stern: > > > On Mon, 10 Feb 2014, Stefani Seibold wrote: > > > > > > > Hi, > > > > > > > > the USB storage does not longer work on my

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-10 Thread Stefani Seibold
Am Montag, den 10.02.2014, 12:09 -0500 schrieb Alan Stern: > On Mon, 10 Feb 2014, Stefani Seibold wrote: > > > Am Montag, den 10.02.2014, 10:56 -0500 schrieb Alan Stern: > > > On Mon, 10 Feb 2014, Stefani Seibold wrote: > > > > > > > Hi, > > > > > > > > the USB storage does not longer work on my

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-10 Thread Alan Stern
On Mon, 10 Feb 2014, Stefani Seibold wrote: > Am Montag, den 10.02.2014, 10:56 -0500 schrieb Alan Stern: > > On Mon, 10 Feb 2014, Stefani Seibold wrote: > > > > > Hi, > > > > > > the USB storage does not longer work on my DELL PRECISION M6400 with a > > > plain vanilla 3.13 kernel. > > > > > >

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-10 Thread Alan Stern
On Mon, 10 Feb 2014, Stefani Seibold wrote: > Hi, > > the USB storage does not longer work on my DELL PRECISION M6400 with a > plain vanilla 3.13 kernel. > > When i attach a USB storage flash memory the system freeze immediately > or after accessing the flash. It makes not difference mounting vi