All of lore.kernel.org
 help / color / mirror / Atom feed
* next/master boot: 264 boots: 62 failed, 199 passed with 3 conflicts (next-20171109)
       [not found] <5a0446a2.85a8500a.55819.1c58@mx.google.com>
@ 2017-11-09 13:45 ` Mark Brown
  2017-11-09 13:47   ` Mark Brown
  2017-11-09 14:00 ` Mark Brown
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Brown @ 2017-11-09 13:45 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Nov 09, 2017 at 04:14:26AM -0800, kernelci.org bot wrote:

Today's -next fails to boot a bcm2836-rpi-2-b on any config in kernelci,
it was working yesterday:

>     bcm2835_defconfig:
>         bcm2836-rpi-2-b:
>             lab-collabora: new failure (last pass: next-20171107)

The boot log looks like something went badly wrong with USB:

[    1.643488] dwc2 3f980000.usb: DWC OTG Controller
[    1.648225] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
[    1.655328] dwc2 3f980000.usb: irq 39, io mem 0x3f980000
[    1.661495] hub 1-0:1.0: USB hub found
[    1.665301] hub 1-0:1.0: 1 port detected
[    1.669239] hub 1-0:1.0: config failed, can't get hub status (err 2)
[    1.676763] hub 1-0:1.0: activate --> -22
[    1.680806] hub 1-0:1.0: activate --> -22
[    1.684855] hub 1-0:1.0: activate --> -22

and so on until the tester gets bored.  There's nothing obvious changed
in arch/arm or drivers/usb though.

More info and full log here:

   https://kernelci.org/boot/id/5a04231159b514cb291cdd1a/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171109/9596ee7b/attachment-0001.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* next/master boot: 264 boots: 62 failed, 199 passed with 3 conflicts (next-20171109)
  2017-11-09 13:45 ` next/master boot: 264 boots: 62 failed, 199 passed with 3 conflicts (next-20171109) Mark Brown
@ 2017-11-09 13:47   ` Mark Brown
  2017-11-09 14:08     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2017-11-09 13:47 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Nov 09, 2017 at 01:45:02PM +0000, Mark Brown wrote:
> On Thu, Nov 09, 2017 at 04:14:26AM -0800, kernelci.org bot wrote:
> 
> Today's -next fails to boot a bcm2836-rpi-2-b on any config in kernelci,
> it was working yesterday:
> 
> >     bcm2835_defconfig:
> >         bcm2836-rpi-2-b:
> >             lab-collabora: new failure (last pass: next-20171107)
> 
> The boot log looks like something went badly wrong with USB:
> 
> [    1.643488] dwc2 3f980000.usb: DWC OTG Controller
> [    1.648225] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
> [    1.655328] dwc2 3f980000.usb: irq 39, io mem 0x3f980000
> [    1.661495] hub 1-0:1.0: USB hub found
> [    1.665301] hub 1-0:1.0: 1 port detected
> [    1.669239] hub 1-0:1.0: config failed, can't get hub status (err 2)
> [    1.676763] hub 1-0:1.0: activate --> -22
> [    1.680806] hub 1-0:1.0: activate --> -22
> [    1.684855] hub 1-0:1.0: activate --> -22
> 
> and so on until the tester gets bored.  There's nothing obvious changed
> in arch/arm or drivers/usb though.
> 
> More info and full log here:
> 
>    https://kernelci.org/boot/id/5a04231159b514cb291cdd1a/

There's similar issues reported for Odroid c1 with the same DesignWare
controller so it's unlikely to be something Raspberry Pi related:

    https://kernelci.org/boot/id/5a0416c059b514c4931cdd1b/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171109/a386f5ca/attachment.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* next/master boot: 264 boots: 62 failed, 199 passed with 3 conflicts (next-20171109)
       [not found] <5a0446a2.85a8500a.55819.1c58@mx.google.com>
  2017-11-09 13:45 ` next/master boot: 264 boots: 62 failed, 199 passed with 3 conflicts (next-20171109) Mark Brown
@ 2017-11-09 14:00 ` Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2017-11-09 14:00 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Nov 09, 2017 at 04:14:26AM -0800, kernelci.org bot wrote:

The armada-8040-db has been failing to boot for a little while in -next,
though there were some generic arm64 issues which make it hard to tell
when it started:

>     defconfig:
>         armada-8040-db:
>             lab-free-electrons: failing since 5 days (last pass: next-20170929 - first fail: next-20171103)

It gets timeouts talking to MMC and a RCU lockup:

[   23.071083] INFO: rcu_preempt detected stalls on CPUs/tasks:
[   23.076772] 	0-...0: (0 ticks this GP) idle=caa/1/4611686018427387904 softirq=408/408 fqs=2281 
[   23.085505] 	(detected by 1, t=5252 jiffies, g=-201, c=-202, q=20)
[   23.091714] Task dump for CPU 0:
[   23.094955] kworker/0:1     R  running task        0    75      2 0x00000002
[   23.102048] Workqueue: events deferred_probe_work_func
[   23.107208] Call trace:
[   23.109668]  __switch_to+0x90/0xa8
[   23.113084]  0xffff8001f5c95c38

with substantially less chat in the log from PCI than mainline where it
seems to boot OK.  Links to some builds for mainline and other useful
information here:

   https://kernelci.org/boot/id/5a040fe359b514c1601cdd1c/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171109/d5f12d6a/attachment.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* next/master boot: 264 boots: 62 failed, 199 passed with 3 conflicts (next-20171109)
  2017-11-09 13:47   ` Mark Brown
@ 2017-11-09 14:08     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2017-11-09 14:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Nov 09, 2017 at 01:47:13PM +0000, Mark Brown wrote:
> On Thu, Nov 09, 2017 at 01:45:02PM +0000, Mark Brown wrote:
> > On Thu, Nov 09, 2017 at 04:14:26AM -0800, kernelci.org bot wrote:
> > 
> > Today's -next fails to boot a bcm2836-rpi-2-b on any config in kernelci,
> > it was working yesterday:
> > 
> > >     bcm2835_defconfig:
> > >         bcm2836-rpi-2-b:
> > >             lab-collabora: new failure (last pass: next-20171107)
> > 
> > The boot log looks like something went badly wrong with USB:
> > 
> > [    1.643488] dwc2 3f980000.usb: DWC OTG Controller
> > [    1.648225] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
> > [    1.655328] dwc2 3f980000.usb: irq 39, io mem 0x3f980000
> > [    1.661495] hub 1-0:1.0: USB hub found
> > [    1.665301] hub 1-0:1.0: 1 port detected
> > [    1.669239] hub 1-0:1.0: config failed, can't get hub status (err 2)
> > [    1.676763] hub 1-0:1.0: activate --> -22
> > [    1.680806] hub 1-0:1.0: activate --> -22
> > [    1.684855] hub 1-0:1.0: activate --> -22
> > 
> > and so on until the tester gets bored.  There's nothing obvious changed
> > in arch/arm or drivers/usb though.
> > 
> > More info and full log here:
> > 
> >    https://kernelci.org/boot/id/5a04231159b514cb291cdd1a/
> 
> There's similar issues reported for Odroid c1 with the same DesignWare
> controller so it's unlikely to be something Raspberry Pi related:
> 
>     https://kernelci.org/boot/id/5a0416c059b514c4931cdd1b/

Fix is already diagnosed and is in my tree now.

I've put it below if you need/want it now.

thanks,

greg k-h
-------------

>From d656fa32b13424701bb85f6b5183ea869b363799 Mon Sep 17 00:00:00 2001
From: Felipe Balbi <felipe.balbi@linux.intel.com>
Date: Thu, 9 Nov 2017 12:59:58 +0200
Subject: usb: core: message: remember to reset 'ret' to 0 when necessary

usb_control_msg() will return the amount of bytes transferred, if that
amount matches what we wanted to transfer, we need to reset 'ret' to 0
from usb_get_status().

Fixes: 2e43f0fe379c ("usb: core: add a 'type' parameter to usb_get_status()")
Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/usb/core/message.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c
index ebaea514161f..77001bcfc504 100644
--- a/drivers/usb/core/message.c
+++ b/drivers/usb/core/message.c
@@ -975,6 +975,7 @@ int usb_get_status(struct usb_device *dev, int recip, int type, int target,
 		}
 
 		*(u32 *) data = le32_to_cpu(*(__le32 *) status);
+		ret = 0;
 		break;
 	case 2:
 		if (type != USB_STATUS_TYPE_STANDARD) {
@@ -983,6 +984,7 @@ int usb_get_status(struct usb_device *dev, int recip, int type, int target,
 		}
 
 		*(u16 *) data = le16_to_cpu(*(__le16 *) status);
+		ret = 0;
 		break;
 	default:
 		ret = -EIO;
-- 
2.15.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-09 14:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5a0446a2.85a8500a.55819.1c58@mx.google.com>
2017-11-09 13:45 ` next/master boot: 264 boots: 62 failed, 199 passed with 3 conflicts (next-20171109) Mark Brown
2017-11-09 13:47   ` Mark Brown
2017-11-09 14:08     ` Greg KH
2017-11-09 14:00 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.