Pi Zero USB + Ethernet adapter hub cuts out


#1

I recently bought an Pi Zero + Adaptors + Pibow Zero Case bundle (RPI-011) and an Three Port USB Hub with Ethernet - microB connector (ADP005) from Pimoroni and I’m running into some issues with the ethernet adapter: every once in a while the ethernet adapter cuts out with a kernel error and the internet does not come up until the power is pulled. This is what pops up in my kern.log:

Sep 7 14:09:18 heron kernel: [ 5383.256307] ------------[ cut here ]------------ Sep 7 14:09:18 heron kernel: [ 5383.256388] WARNING: CPU: 0 PID: 8186 at net/sched/sch_generic.c:306 dev_watchdog+0x268/0x28c() Sep 7 14:09:18 heron kernel: [ 5383.256405] NETDEV WATCHDOG: eth0 (r8152): transmit queue 0 timed out Sep 7 14:09:18 heron kernel: [ 5383.256416] Modules linked in: ipv6 binfmt_misc cdc_ether r8152 bcm2835_gpiomem bcm2835_wdt uio_pdrv_genirq uio Sep 7 14:09:18 heron kernel: [ 5383.256473] CPU: 0 PID: 8186 Comm: cc1plus Not tainted 4.4.19+ #907 Sep 7 14:09:18 heron kernel: [ 5383.256484] Hardware name: BCM2708 Sep 7 14:09:18 heron kernel: [ 5383.256549] [<c0016cfc>] (unwind_backtrace) from [<c0013c20>] (show_stack+0x20/0x24) Sep 7 14:09:18 heron kernel: [ 5383.256584] [<c0013c20>] (show_stack) from [<c02e38fc>] (dump_stack+0x20/0x28) Sep 7 14:09:18 heron kernel: [ 5383.256619] [<c02e38fc>] (dump_stack) from [<c0021eb4>] (warn_slowpath_common+0x8c/0xc4) Sep 7 14:09:18 heron kernel: [ 5383.256650] [<c0021eb4>] (warn_slowpath_common) from [<c0021f2c>] (warn_slowpath_fmt+0x40/0x48) Sep 7 14:09:18 heron kernel: [ 5383.256682] [<c0021f2c>] (warn_slowpath_fmt) from [<c04b97f8>] (dev_watchdog+0x268/0x28c) Sep 7 14:09:18 heron kernel: [ 5383.256722] [<c04b97f8>] (dev_watchdog) from [<c0064d4c>] (call_timer_fn+0x40/0x120) Sep 7 14:09:18 heron kernel: [ 5383.256751] [<c0064d4c>] (call_timer_fn) from [<c006505c>] (run_timer_softirq+0x14c/0x280) Sep 7 14:09:18 heron kernel: [ 5383.256785] [<c006505c>] (run_timer_softirq) from [<c0025348>] (__do_softirq+0x124/0x314) Sep 7 14:09:18 heron kernel: [ 5383.256813] [<c0025348>] (__do_softirq) from [<c002588c>] (irq_exit+0xbc/0x11c) Sep 7 14:09:18 heron kernel: [ 5383.256846] [<c002588c>] (irq_exit) from [<c005a3f8>] (__handle_domain_irq+0x60/0xb8) Sep 7 14:09:18 heron kernel: [ 5383.256879] [<c005a3f8>] (__handle_domain_irq) from [<c0010748>] (handle_IRQ+0x2c/0x30) Sep 7 14:09:18 heron kernel: [ 5383.256909] [<c0010748>] (handle_IRQ) from [<c000940c>] (bcm2835_handle_irq+0x3c/0x58) Sep 7 14:09:18 heron kernel: [ 5383.256942] [<c000940c>] (bcm2835_handle_irq) from [<c0574414>] (__irq_usr+0x54/0x80) Sep 7 14:09:18 heron kernel: [ 5383.256957] Exception stack(0xdafd7fb0 to 0xdafd7ff8) Sep 7 14:09:18 heron kernel: [ 5383.256976] 7fa0: b65070c0 00000000 00000001 00534f8c Sep 7 14:09:18 heron kernel: [ 5383.256998] 7fc0: b65070c0 00cd9230 00d75cb0 b6649420 b662b6e0 b64f1a80 00cd4608 00d70fc0 Sep 7 14:09:18 heron kernel: [ 5383.257019] 7fe0: b64f1a80 bedd4bc8 00376038 0053025c a0000010 ffffffff Sep 7 14:09:18 heron kernel: [ 5383.257034] ---[ end trace d4b57c6868f71161 ]--- Sep 7 14:09:18 heron kernel: [ 5383.257059] r8152 1-1.4:1.0 eth0: Tx timeout Sep 7 14:09:20 heron kernel: [ 5385.286518] r8152 1-1.4:1.0 eth0: Tx status -2 Sep 7 14:09:20 heron kernel: [ 5385.286581] r8152 1-1.4:1.0 eth0: Tx status -2 Sep 7 14:09:20 heron kernel: [ 5385.286817] r8152 1-1.4:1.0 eth0: Tx status -2 Sep 7 14:09:20 heron kernel: [ 5385.286899] r8152 1-1.4:1.0 eth0: Tx status -2 Sep 7 14:09:23 heron kernel: [ 5388.256329] r8152 1-1.4:1.0 eth0: Tx timeout Sep 7 14:09:28 heron kernel: [ 5393.256324] r8152 1-1.4:1.0 eth0: Tx timeout Sep 7 14:09:33 heron kernel: [ 5398.256328] r8152 1-1.4:1.0 eth0: Tx timeout Sep 7 14:09:38 heron kernel: [ 5403.256325] r8152 1-1.4:1.0 eth0: Tx timeout Sep 7 14:09:43 heron kernel: [ 5408.256325] r8152 1-1.4:1.0 eth0: Tx timeout Sep 7 14:09:48 heron kernel: [ 5413.256329] r8152 1-1.4:1.0 eth0: Tx timeout
with this last message repeating every 5 seconds until the power is pulled

Other details:
OS: Gentoo
uname -a: Linux heron 4.4.19+ #907 Tue Sep 6 13:45:45 BST 2016 armv6l BCM2708 GNU/Linux (prebuilt from the RPi firmware repository)
PSU: Raspberry Pi Universal Power Supply - White 2A Power Supply (RPI-SUPPLY)
Setup picture: i.imgur.com/ds9mD8F.jpg


#2

We have absolutely no experience with how Gentoo builds perform on the Pi Zero, so I’d highly encourage you to try Raspbian Jessie for a while and see if the problem goes away, since “Try the latest version of Raspbian Jessie” is usually our first debugging step in cases like this.


#3

Turns out accidentally poking metal objects at the pi may have caused the issue. Oops.