Public bug reported: 1. Description: Ubuntu Bionic Beaver (development branch) Release: 18.04
2. linux-raspi2: Installed: 4.15.0.1006.4 Candidate: 4.15.0.1006.4 3. Used Adb to connect to android device, enabled tethering, and then bridged tether usb0 to ethernet. dmesg and syslog from ssh connection via wifi. 4. System crashes 75% of the time after tethering and bridging is enabled. Watchdog is enabled but apparently the crash is able to lock up the watchdog timer too. Crash 1: [ 739.843489] usbcore: registered new interface driver cdc_ether [ 739.866917] rndis_host 1-1.3:1.0 usb0: register 'rndis_host' at usb-3f980000.usb-1.3, RNDIS device, 46:0d:64:1c:9b:c6 [ 739.867361] usbcore: registered new interface driver rndis_host [ 2137.390791] ERROR::assign_and_init_hc:1391: assign_and_init_hc: Failed to allocate memory to handle non-dword aligned buffer case [ 2147.413119] br0: port 1(eth0) entered blocking state [ 2147.413147] br0: port 1(eth0) entered disabled state [ 2147.414027] device eth0 entered promiscuous mode [ 2147.421881] br0: port 2(usb0) entered blocking state [ 2147.422015] br0: port 2(usb0) entered disabled state [ 2147.422793] device usb0 entered promiscuous mode [ 2147.433287] br0: port 2(usb0) entered blocking state [ 2147.433315] br0: port 2(usb0) entered forwarding state [ 2147.433622] br0: port 1(eth0) entered blocking state [ 2147.433647] br0: port 1(eth0) entered forwarding state [ 2147.435039] IPv6: ADDRCONF(NETDEV_UP): br0: link is not ready [ 2148.442700] IPv6: ADDRCONF(NETDEV_CHANGE): br0: link becomes ready [ 2173.147088] ------------[ cut here ]------------ [ 2173.147183] WARNING: CPU: 1 PID: 0 at /build/linux-raspi2-8_qwlu/linux-raspi2-4.15.0/net/sched/sch_generic.c:323 dev_watchdog+0x280/0x284 [ 2173.147201] NETDEV WATCHDOG: usb0 (rndis_host): transmit queue 0 timed out [ 2173.147215] Modules linked in: rndis_host cdc_ether fuse brcmfmac brcmutil cfg80211 uio_pdrv_genirq uio sch_fq_codel iscsi_tcp libiscsi_tcp libiscsi br_netfilter bridge stp llc ip_tables x_tables btrfs zstd_decompress zstd_compress xxhash raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq raid1 raid0 multipath linear aes_arm_bs crypto_simd cryptd [ 2173.147481] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.15.0-1006-raspi2 #7-Ubuntu [ 2173.147490] Hardware name: BCM2835 [ 2173.147531] [<80113374>] (unwind_backtrace) from [<8010e0fc>] (show_stack+0x20/0x24) [ 2173.147564] [<8010e0fc>] (show_stack) from [<809d09b0>] (dump_stack+0xcc/0x110) [ 2173.147593] [<809d09b0>] (dump_stack) from [<8012bf40>] (__warn+0xf0/0x108) [ 2173.147615] [<8012bf40>] (__warn) from [<8012bfb0>] (warn_slowpath_fmt+0x58/0x74) [ 2173.147637] [<8012bfb0>] (warn_slowpath_fmt) from [<808c563c>] (dev_watchdog+0x280/0x284) [ 2173.147663] [<808c563c>] (dev_watchdog) from [<801b2d58>] (call_timer_fn+0x3c/0x210) [ 2173.147688] [<801b2d58>] (call_timer_fn) from [<801b2ff8>] (expire_timers+0xcc/0x178) [ 2173.147711] [<801b2ff8>] (expire_timers) from [<801b3198>] (run_timer_softirq+0xf4/0x1bc) [ 2173.147732] [<801b3198>] (run_timer_softirq) from [<80101764>] (__do_softirq+0x164/0x460) [ 2173.147755] [<80101764>] (__do_softirq) from [<801333c4>] (irq_exit+0xd8/0x104) [ 2173.147780] [<801333c4>] (irq_exit) from [<801995d0>] (__handle_domain_irq+0x70/0xc4) [ 2173.147807] [<801995d0>] (__handle_domain_irq) from [<801015fc>] (bcm2836_arm_irqchip_handle_irq+0xac/0xb0) [ 2173.147833] [<801015fc>] (bcm2836_arm_irqchip_handle_irq) from [<809ed0f0>] (__irq_svc+0x70/0xb0) [ 2173.147845] Exception stack(0xb8161f20 to 0xb8161f68) [ 2173.147863] 1f20: 00000001 00000000 60010093 60010093 ffffe000 80f05df4 80f05e58 00000002 [ 2173.147881] 1f40: 00000000 00000000 80f05e68 b8161f7c b8161f70 b8161f70 80109d14 80109d18 [ 2173.147892] 1f60: 60010013 ffffffff [ 2173.147921] [<809ed0f0>] (__irq_svc) from [<80109d18>] (arch_cpu_idle+0x34/0x4c) [ 2173.147946] [<80109d18>] (arch_cpu_idle) from [<809ec3ac>] (default_idle_call+0x34/0x48) [ 2173.147970] [<809ec3ac>] (default_idle_call) from [<8017af24>] (do_idle+0x1a8/0x244) [ 2173.147992] [<8017af24>] (do_idle) from [<8017b2c4>] (cpu_startup_entry+0x28/0x2c) [ 2173.148014] [<8017b2c4>] (cpu_startup_entry) from [<801108dc>] (secondary_start_kernel+0x17c/0x1a4) [ 2173.148040] [<801108dc>] (secondary_start_kernel) from [<00101aec>] (0x101aec) [ 2173.148063] ---[ end trace c4e9cf90d0d7221e ]--- [ 2200.539723] ERROR::assign_and_init_hc:1391: assign_and_init_hc: Failed to allocate memory to handle non-dword aligned buffer case [ 2268.124838] ERROR::assign_and_init_hc:1391: assign_and_init_hc: Failed to allocate memory to handle non-dword aligned buffer case Crash 2: Apr 20 18:11:16 bridge systemd[2882]: Reached target Sockets. Apr 20 18:11:16 bridge systemd[2882]: Reached target Basic System. Apr 20 18:11:16 bridge systemd[2882]: Reached target Default. Apr 20 18:11:16 bridge systemd[2882]: Startup finished in 623ms. Apr 20 18:11:16 bridge systemd[1]: Started User Manager for UID 1001. Apr 20 18:11:20 bridge NetworkManager[1188]: <info> [1524262280.9894] device (usb0): carrier: link connected Apr 20 18:11:20 bridge systemd-networkd[1023]: usb0: Gained carrier Apr 20 18:11:21 bridge systemd-timesyncd[990]: Network configuration changed, trying to establish connection. Apr 20 18:11:21 bridge kernel: [ 155.398993] ERROR::assign_and_init_hc:1391: assign_and_init_hc: Failed to allocate memory to handle non-dword aligned buffer case Apr 20 18:11:21 bridge kernel: [ 155.398993] Apr 20 18:11:21 bridge systemd-timesyncd[990]: Synchronized to time server [2001:67c:1560:8003::c7]:123 (ntp.ubuntu.com). Apr 20 18:11:22 bridge avahi-daemon[1177]: Joining mDNS multicast group on interface usb0.IPv6 with address fe80::c443:6fff:feeb:95e6. Apr 20 18:11:22 bridge systemd-networkd[1023]: usb0: Gained IPv6LL Apr 20 18:11:22 bridge avahi-daemon[1177]: New relevant interface usb0.IPv6 for mDNS. Apr 20 18:11:22 bridge systemd-timesyncd[990]: Network configuration changed, trying to establish connection. Apr 20 18:11:22 bridge avahi-daemon[1177]: Registering new address record for fe80::c443:6fff:feeb:95e6 on usb0.*. Apr 20 18:11:22 bridge systemd-timesyncd[990]: Synchronized to time server [2001:67c:1560:8003::c7]:123 (ntp.ubuntu.com). Apr 20 18:11:26 bridge systemd-udevd[3004]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. Apr 20 18:11:26 bridge systemd-udevd[3004]: Could not generate persistent MAC address for br0: No such file or directory Apr 20 18:11:26 bridge NetworkManager[1188]: <info> [1524262286.0394] manager: (br0): new Bridge device (/org/freedesktop/NetworkManager/Devices/5) Apr 20 18:11:26 bridge NetworkManager[1188]: <info> [1524262286.1127] devices added (path: /sys/devices/virtual/net/br0, iface: br0) Apr 20 18:11:26 bridge NetworkManager[1188]: <info> [1524262286.1130] device added (path: /sys/devices/virtual/net/br0, iface: br0): no ifupdown configuration found. Apr 20 18:11:26 bridge systemd-timesyncd[990]: Network configuration changed, trying to establish connection. Apr 20 18:11:26 bridge networkd-dispatcher[1189]: WARNING:Unknown index 5 seen, reloading interface list Apr 20 18:11:26 bridge systemd-timesyncd[990]: Synchronized to time server [2001:67c:1560:8003::c7]:123 (ntp.ubuntu.com). Apr 20 18:11:31 bridge kernel: [ 165.439222] br0: port 1(eth0) entered blocking state Apr 20 18:11:31 bridge kernel: [ 165.439289] br0: port 1(eth0) entered disabled state Apr 20 18:11:31 bridge kernel: [ 165.440199] device eth0 entered promiscuous mode Apr 20 18:11:31 bridge kernel: [ 165.447498] br0: port 2(usb0) entered blocking state Apr 20 18:11:31 bridge kernel: [ 165.447572] br0: port 2(usb0) entered disabled state Apr 20 18:11:31 bridge kernel: [ 165.448936] device usb0 entered promiscuous mode Apr 20 18:11:31 bridge kernel: [ 165.460555] br0: port 2(usb0) entered blocking state Apr 20 18:11:31 bridge kernel: [ 165.460582] br0: port 2(usb0) entered forwarding state Apr 20 18:11:31 bridge kernel: [ 165.460886] br0: port 1(eth0) entered blocking state Apr 20 18:11:31 bridge kernel: [ 165.460912] br0: port 1(eth0) entered forwarding state Apr 20 18:11:31 bridge kernel: [ 165.461795] IPv6: ADDRCONF(NETDEV_UP): br0: link is not ready Apr 20 18:11:31 bridge NetworkManager[1188]: <info> [1524262291.0649] device (br0): carrier: link connected Apr 20 18:11:31 bridge systemd-timesyncd[990]: Network configuration changed, trying to establish connection. Apr 20 18:11:31 bridge CRON[1195]: (CRON) info (No MTA installed, discarding output) Apr 20 18:11:31 bridge systemd-timesyncd[990]: Synchronized to time server [2001:67c:1560:8003::c7]:123 (ntp.ubuntu.com). Apr 20 18:11:32 bridge kernel: [ 166.470872] IPv6: ADDRCONF(NETDEV_CHANGE): br0: link becomes ready Apr 20 18:11:32 bridge systemd-networkd[1023]: br0: Gained carrier Apr 20 18:11:32 bridge systemd-timesyncd[990]: Network configuration changed, trying to establish connection. Apr 20 18:11:32 bridge systemd-timesyncd[990]: Synchronized to time server [2001:67c:1560:8003::c7]:123 (ntp.ubuntu.com). Apr 20 18:11:34 bridge avahi-daemon[1177]: Joining mDNS multicast group on interface br0.IPv6 with address fe80::ba27:ebff:fe5d:58a5. Apr 20 18:11:34 bridge avahi-daemon[1177]: New relevant interface br0.IPv6 for mDNS. Apr 20 18:11:34 bridge systemd-networkd[1023]: br0: Gained IPv6LL Apr 20 18:11:34 bridge avahi-daemon[1177]: Registering new address record for fe80::ba27:ebff:fe5d:58a5 on br0.*. Apr 20 18:11:34 bridge systemd-timesyncd[990]: Network configuration changed, trying to establish connection. Apr 20 18:11:34 bridge systemd-timesyncd[990]: Synchronized to time server [2001:67c:1560:8003::c7]:123 (ntp.ubuntu.com). Apr 20 18:11:54 bridge systemd[1]: Starting Stop ureadahead data collection... Apr 20 18:11:54 bridge rsyslogd-2007: action 'action 10' suspended, next retry is Fri Apr 20 18:12:24 2018 [v8.16.0 try http://www.rsyslog.com/e/2007 ] Apr 20 18:11:54 bridge systemd[1]: Started Stop ureadahead data collection. Apr 20 18:11:59 bridge wpa_supplicant[1169]: wlan0: WPA: Group rekeying completed with 34:12:98:05:aa:12 [GTK=CCMP] Apr 20 18:12:01 bridge kernel: [ 195.814976] ------------[ cut here ]------------ Apr 20 18:12:01 bridge kernel: [ 195.815076] WARNING: CPU: 2 PID: 0 at /build/linux-raspi2-8_qwlu/linux-raspi2-4.15.0/net/sched/sch_generic.c:323 dev_watchdog+0x280/0x284 Apr 20 18:12:01 bridge kernel: [ 195.815094] NETDEV WATCHDOG: usb0 (rndis_host): transmit queue 0 timed out Apr 20 18:12:01 bridge kernel: [ 195.815107] Modules linked in: rndis_host cdc_ether fuse brcmfmac brcmutil cfg80211 uio_pdrv_genirq uio sch_fq_codel iscsi_tcp libiscsi_tcp libiscsi br_netfilter bridge stp llc ip_tables x_tables btrfs zstd_decompress zstd_compress xxhash raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq raid1 raid0 multipath linear aes_arm_bs crypto_simd cryptd Apr 20 18:12:01 bridge kernel: [ 195.815374] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.15.0-1006-raspi2 #7-Ubuntu Apr 20 18:12:01 bridge kernel: [ 195.815383] Hardware name: BCM2835 Apr 20 18:12:01 bridge kernel: [ 195.815425] [<80113374>] (unwind_backtrace) from [<8010e0fc>] (show_stack+0x20/0x24) Apr 20 18:12:01 bridge kernel: [ 195.815451] [<8010e0fc>] (show_stack) from [<809d09b0>] (dump_stack+0xcc/0x110) Apr 20 18:12:01 bridge kernel: [ 195.815478] [<809d09b0>] (dump_stack) from [<8012bf40>] (__warn+0xf0/0x108) Apr 20 18:12:01 bridge kernel: [ 195.815499] [<8012bf40>] (__warn) from [<8012bfb0>] (warn_slowpath_fmt+0x58/0x74) Apr 20 18:12:01 bridge kernel: [ 195.815521] [<8012bfb0>] (warn_slowpath_fmt) from [<808c563c>] (dev_watchdog+0x280/0x284) Apr 20 18:12:01 bridge kernel: [ 195.815546] [<808c563c>] (dev_watchdog) from [<801b2d58>] (call_timer_fn+0x3c/0x210) Apr 20 18:12:01 bridge kernel: [ 195.815570] [<801b2d58>] (call_timer_fn) from [<801b2ff8>] (expire_timers+0xcc/0x178) Apr 20 18:12:01 bridge kernel: [ 195.815592] [<801b2ff8>] (expire_timers) from [<801b3198>] (run_timer_softirq+0xf4/0x1bc) Apr 20 18:12:01 bridge kernel: [ 195.815614] [<801b3198>] (run_timer_softirq) from [<80101764>] (__do_softirq+0x164/0x460) Apr 20 18:12:01 bridge kernel: [ 195.815637] [<80101764>] (__do_softirq) from [<801333c4>] (irq_exit+0xd8/0x104) Apr 20 18:12:01 bridge kernel: [ 195.815662] [<801333c4>] (irq_exit) from [<801995d0>] (__handle_domain_irq+0x70/0xc4) Apr 20 18:12:01 bridge kernel: [ 195.815685] [<801995d0>] (__handle_domain_irq) from [<801015fc>] (bcm2836_arm_irqchip_handle_irq+0xac/0xb0) Apr 20 18:12:01 bridge kernel: [ 195.815709] [<801015fc>] (bcm2836_arm_irqchip_handle_irq) from [<809ed0f0>] (__irq_svc+0x70/0xb0) Apr 20 18:12:01 bridge kernel: [ 195.815719] Exception stack(0xb8163f20 to 0xb8163f68) Apr 20 18:12:01 bridge kernel: [ 195.815737] 3f20: 00000001 00000000 60000093 60000093 ffffe000 80f05df4 80f05e58 00000004 Apr 20 18:12:01 bridge kernel: [ 195.815755] 3f40: 00000000 00000000 80f05e68 b8163f7c b8163f70 b8163f70 80109d14 80109d18 Apr 20 18:12:01 bridge kernel: [ 195.815764] 3f60: 60000013 ffffffff Apr 20 18:12:01 bridge kernel: [ 195.815790] [<809ed0f0>] (__irq_svc) from [<80109d18>] (arch_cpu_idle+0x34/0x4c) Apr 20 18:12:01 bridge kernel: [ 195.815813] [<80109d18>] (arch_cpu_idle) from [<809ec3ac>] (default_idle_call+0x34/0x48) Apr 20 18:12:01 bridge kernel: [ 195.815846] [<809ec3ac>] (default_idle_call) from [<8017af24>] (do_idle+0x1a8/0x244) Apr 20 18:12:01 bridge kernel: [ 195.815866] [<8017af24>] (do_idle) from [<8017b2c4>] (cpu_startup_entry+0x28/0x2c) Apr 20 18:12:01 bridge kernel: [ 195.815886] [<8017b2c4>] (cpu_startup_entry) from [<801108dc>] (secondary_start_kernel+0x17c/0x1a4) Apr 20 18:12:01 bridge kernel: [ 195.815910] [<801108dc>] (secondary_start_kernel) from [<00101aec>] (0x101aec) Apr 20 18:12:01 bridge kernel: [ 195.815932] ---[ end trace 5f2b54f7c64901f1 ]--- Apr 20 18:12:01 bridge kernel: [ 195.822273] ERROR::assign_and_init_hc:1391: assign_and_init_hc: Failed to allocate memory to handle non-dword aligned buffer case Apr 20 18:12:01 bridge kernel: [ 195.822273] Apr 20 18:12:32 bridge rsyslogd-2007: action 'action 10' suspended, next retry is Fri Apr 20 18:13:02 2018 [v8.16.0 try http://www.rsyslog.com/e/2007 ] Apr 20 18:12:32 bridge crontab[3027]: (root) BEGIN EDIT (root) Apr 20 18:12:38 bridge kernel: [ 232.943434] ERROR::assign_and_init_hc:1391: assign_and_init_hc: Failed to allocate memory to handle non-dword aligned buffer case Apr 20 18:12:38 bridge kernel: [ 232.943434] Apr 20 18:12:46 bridge crontab[3027]: (root) REPLACE (root) Apr 20 18:12:46 bridge crontab[3027]: (root) END EDIT (root) Apr 20 18:13:01 bridge cron[1187]: (root) RELOAD (crontabs/root) Apr 20 18:13:47 bridge kernel: [ 302.055794] ERROR::assign_and_init_hc:1391: assign_and_init_hc: Failed to allocate memory to handle non-dword aligned buffer case Apr 20 18:13:47 bridge kernel: [ 302.055794] Apr 20 18:13:47 bridge rsyslogd-2007: action 'action 10' suspended, next retry is Fri Apr 20 18:14:17 2018 [v8.16.0 try http://www.rsyslog.com/e/2007 ] Apr 20 18:14:24 bridge rsyslogd-2007: action 'action 10' suspended, next retry is Fri Apr 20 18:14:54 2018 [v8.16.0 try http://www.rsyslog.com/e/2007 ] ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1006-raspi2 4.15.0-1006.7 ProcVersionSignature: Ubuntu 4.15.0-1006.7-raspi2 4.15.15 Uname: Linux 4.15.0-1006-raspi2 armv7l ApportVersion: 2.20.9-0ubuntu5 Architecture: armhf Date: Fri Apr 20 18:57:34 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=C.UTF-8 SHELL=/bin/bash SourcePackage: linux-raspi2 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: linux-raspi2 (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug armhf bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1765869 Title: Raspberry pi lockup with android tethering To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1765869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs