Error -110

2015-01-31 Thread Bifrost
on multiple machine, from a multiple server, when reading data from USB port CDC driver (actually using arduino uno, arduino due, stm32f3-discovery) i often get a  hub 1-3:1.0: hub_port_status failed (err = -110) [19953.337829] hub 1-3:1.0: hub_port_status failed (err = -110) [19958.344533] hu

[PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-01-31 Thread Pali Rohár
This patch adds removable mass storage support to g_nokia gadget (for N900). It means that at runtime block device can be exported or unexported. So it does not export anything by default and thus allows to use MyDocs partition as before... Signed-off-by: Pali Rohár --- drivers/usb/gadget/legacy

Re: intensive IO on usb-storage device causing system lock

2015-01-31 Thread Oliver Neukum
On Sat, 2015-01-31 at 08:57 +0100, Enrico Mioso wrote: > This happens especially when I use rtorrent on the device. It can > happen after > rtorrent hashed downloaded files. > > Symptoms: > - [kthreadd] (PID 2 here) stays persistently in disk-sleep state (D) > - processes doing IO (such as mpd, M

Re: intensive IO on usb-storage device causing system lock

2015-01-31 Thread Enrico Mioso
Hi Oliver! Thank you for the reply and the attention overall. What do you mean for "do it manually"? Yeah - I will try do do it via the sysrq key - I can't use the keyboard to trigger that actually (it's an Apple keyboard; yes I know there's a trick with it also). I'll wait until the next time

[PATCH 2/2] usb: dwc2: Add default fifo sizes for Lantiq SoCs

2015-01-31 Thread Antti Seppälä
Lantiq SoCs define the total_fifo_size to be 552 dwords which is too small for algorithm in dwc2_calculate_dynamic_fifo to work properly. This patch provides sensible defaults for fifo sizes for Lantiq SoCs to be used in dwc2 driver. The default values are taken from original ifx-hcd driver. Sign

[PATCH 0/2] usb: dwc2: add support for big-endian Lantiq SoCs

2015-01-31 Thread Antti Seppälä
Here are two patches needed to add support for mips based big-endian SoCs made by Lantiq to dwc2 driver. The first patch converts the readl/writel io-accessors of dwc2 to big-endian friendly versions and was discussed on the linux-usb ml already earlier. The second patch adds default fifo para

[PATCH 1/2] usb: dwc2: Use platform endianness when accessing registers

2015-01-31 Thread Antti Seppälä
This patch switches calls to readl/writel to their dwc2_readl/dwc2_writel equivalents which preserve platform endianness. This patch is necessary to access dwc2 registers correctly on big endian systems such as the mips based SoCs made by Lantiq. Then dwc2 can be used to replace ifx-hcd driver for

Re: intensive IO on usb-storage device causing system lock

2015-01-31 Thread Oliver Neukum
On Sat, 2015-01-31 at 12:10 +0100, Enrico Mioso wrote: > Hi Oliver! > Thank you for the reply and the attention overall. > > What do you mean for "do it manually"? Pressing Alt-Sysrq-T > Yeah - I will try do do it via the sysrq key - I can't use the keyboard to > trigger that actually (it's an A

Re: intensive IO on usb-storage device causing system lock

2015-01-31 Thread Enrico Mioso
Fine. Now the system is on-track. I can add another piece of info I collected. When removing (modprobe -r) usb-storage from memory, as long as "uas", I can trigger an oops, but only if the "IO not going on" thing manifests. So the two things seems related at this point. Enrico On Sat, 31 Jan

[PATCH 14/15] usb: kconfig: replace PPC_OF with PPC

2015-01-31 Thread Kevin Hao
The PPC_OF is a ppc specific option which is used to mean that the firmware device tree access functions are available. Since all the ppc platforms have a device tree, it is aways set to 'y' for ppc. So it makes no sense to keep a such option in the current kernel. Replace it with PPC Signed-off-b

Attention Sir

2015-01-31 Thread finance ministry
Dear Sir, Below was the message I sent you on 01/05/2015 and I hope you received it. Please as a matter of urgency we need you to respond today. You can reach me on my cell number at +2348097728126 or email at cbn.cent...@accountant.com. Thanks. Dear Sir, Happy New Year to you and the rest of

Re: [PATCH] pci-dma: Fix x86 dma_alloc_coherent to fully clear all pages returned

2015-01-31 Thread Alan Stern
On Fri, 30 Jan 2015, Andi Kleen wrote: > > We don't "need" any backward compatility, why not fix the broken drivers > > that are using memory outside of what they are asking for? That's not > > ok no matter what, right? > > How would you find them all? > > We don't even know which place in XHCI

PD: [Bug 92341] xHCI USB driver, support for non-conformant HS USB devices with bulk endpoints of maxpacket size different than 512

2015-01-31 Thread Kazimierz Marzec
Good day, could You please take a look at https://bugzilla.kernel.org/show_bug.cgi?id=92341 Regards. Dnia Piątek, 30 Stycznia 2015 17:15 napisał(a) > https://bugzilla.kernel.org/show_bug.cgi?id=92341 > > --- Comment #1 from Greg Kroah-Hartman --- > On Fri, Jan 30, 2015 at 01:58:09PM +, bu

Re: intensive IO on usb-storage device causing system lock

2015-01-31 Thread Enrico Mioso
Hi guys. The good news is that the problem is perfectly reproducible with some time - and some IO of course. A torrent file of somewhat 14 GB can trigger the issue; with files having a size of some MB each one. The bad news is that it triggers too aggressively - and therefore I wasn't able to g

Re: PD: [Bug 92341] xHCI USB driver, support for non-conformant HS USB devices with bulk endpoints of maxpacket size different than 512

2015-01-31 Thread Greg KH
On Sat, Jan 31, 2015 at 10:48:36PM +0100, Kazimierz Marzec wrote: > Good day, > could You please take a look at > https://bugzilla.kernel.org/show_bug.cgi?id=92341 How about posting the full information here, it makes it hard to comment on things if you just post a single web link. thanks, greg

Re: PD: [Bug 92341] xHCI USB driver, support for non-conformant HS USB devices with bulk endpoints of maxpacket size different than 512

2015-01-31 Thread Alan Stern
On Sat, 31 Jan 2015, Kazimierz Marzec wrote: > Good day, > could You please take a look at > https://bugzilla.kernel.org/show_bug.cgi?id=92341 > Regards. > > Dnia Pi�tek, 30 Stycznia 2015 17:15 > napisa�(a) > > https://bugzilla.kernel.org/show_bug.cgi?id=92341 > > > > --- Comment #1 from Greg

[PATCH] usb: musb: blackfin: remove incorrect __exit_p()

2015-01-31 Thread Dmitry Torokhov
bfin_remove() is not (nor should it be) marked as __exit, so we should not be using __exit_p() wrapper with it, otherwise unbinding through sysfs does not work properly. Signed-off-by: Dmitry Torokhov --- Not tested, sorry. drivers/usb/musb/blackfin.c | 2 +- 1 file changed, 1 insertion(+), 1

UAS resets on Seagate Backup Plus

2015-01-31 Thread Phil Kao
Hey guys, I have a problem with my Seagate Backup Plus drive. I get lots of uas_eh_abort_handler and uas_eh_reset_handler messages when I do sustained writes to the drive. The productid is 0bc2:ab34, which is not listed in the unusual_uas.h. I added the device to it and recompiled the kernel and i