rpi3: conman.service fails to start on guppy

Description

CI jobs check a few systemd services to verify they are up and running after boot, and on rpi3 for guppy, the conman.service fails to start due to a dbus disconnect:

https://lava.automotivelinux.org/scheduler/job/2028#results_91089

The same test on the master branch passes:

https://lava.automotivelinux.org/scheduler/job/2008#results_90845

Environment

None

Activity

Leon Anavi 
October 25, 2019 at 10:56 AM

Hi,

In the latest Grumpy Guppy release, 7.0.4, this issue is not observed. I've tested with the latest pre-built image on Raspberry Pi 3 B rev1.2. Connman starts successfully, I was able to connect via WiFi as well as through Ethernet. Here are a few logs:

Automotive Grade Linux 7.0.4 raspberrypi3 ttyS0
raspberrypi3:~# systemctl status connman ● connman.service - Connection service Loaded: loaded (/lib/systemd/system/connman.service; enabled; vendor preset: enabled) Drop-In: /lib/systemd/system/connman.service.d └─smack.conf Active: active (running) since Mon 2019-09-09 14:52:10 UTC; 1 months 15 days ago Main PID: 306 (connmand) CGroup: /system.slice/connman.service └─306 /usr/sbin/connmand -n Sep 09 14:52:13 raspberrypi3 connmand[306]: Failed to set hostname to raspberrypi3 Sep 09 14:52:14 raspberrypi3 connmand[306]: wlan0 {add} address 192.168.4.66/24 label wlan0 family 2 Sep 09 14:52:14 raspberrypi3 connmand[306]: wlan0 {add} route 192.168.4.0 gw 0.0.0.0 scope 253 <LINK> Sep 09 14:52:14 raspberrypi3 connmand[306]: wlan0 {add} route 192.168.4.1 gw 0.0.0.0 scope 253 <LINK> Sep 09 14:52:14 raspberrypi3 connmand[306]: wlan0 {add} route 8.8.8.8 gw 192.168.4.1 scope 0 <UNIVERSE> Sep 09 14:52:14 raspberrypi3 connmand[306]: wlan0 {add} route 0.0.0.0 gw 192.168.4.1 scope 0 <UNIVERSE> Sep 09 14:52:14 raspberrypi3 connmand[306]: wlan0 {add} route 212.227.81.55 gw 192.168.4.1 scope 0 <UNIVERSE> Sep 09 14:52:14 raspberrypi3 connmand[306]: ntp: adjust (jump): +3960101.525242 sec Oct 25 10:53:56 raspberrypi3 connmand[306]: wlan0 {del} route 212.227.81.55 gw 192.168.4.1 scope 0 <UNIVERSE> Oct 25 10:53:56 raspberrypi3 connmand[306]: ntp: adjust (slew): -0.001952 sec

Best regards, Leon

Kevin Hilman 
December 13, 2018 at 3:02 PM

The one in BayLibre lab is Model B v1.2

 

Tom Rini 
December 11, 2018 at 7:56 PM

Are these both "B"s or "B+"s ?  And in both cases it's NBD so we an rule out uSD card race condition fun but can't rule out other race condition fun.

Jan-Simon Moeller 
December 11, 2018 at 7:24 PM

What is funny is the dbus messages ...

 

Dec 02 16:46:21 raspberrypi3 connmand[414]: D-Bus disconnect Dec 02 16:46:21 raspberrypi3 connmand[414]: Remove interface wlan0 [ wifi ] Dec 02 16:46:21 raspberrypi3 connmand[414]: eth0 {remove} index 2 Dec 02 16:46:21 raspberrypi3 connmand[414]: wlan0 {remove} index 3 Dec 02 16:46:21 raspberrypi3 connmand[414]: Exit

 

Jan-Simon Moeller 
December 11, 2018 at 7:19 PM

I have the rpi3 7'' touchscreen connected to the board , should be the only difference .

 

Fixed

Details

Assignee

Reporter

Fix versions

Contract ID

Hardware Platform(s) Affected

Raspberry Pi 3

Components

Affects versions

Priority

Created December 11, 2018 at 6:06 PM
Updated November 13, 2019 at 2:17 AM
Resolved October 25, 2019 at 10:56 AM

Flag notifications