Cannot start afm-user-daemon.service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 

I’m trying to port AGL to a new development board à https://www.96boards.org/product/hikey960/.

The rootfs are ported from agl-demo-platform-qemuarm64 and GPU related libraries (libEGL/libGLES) are replaced, now weston can be started manually with following commands:

²  mkdir -p /tmp/wayland && chmod 0700 /tmp/wayland

²  XDG_RUNTIME_DIR=/tmp/wayland weston --tty=1 --backend=drm-backend.so --idle-time=0 # (run_weston_manually.log attached)

 

But encountered many afm-user-daemon.service related problems, the dubs daemons are not running correctly

²  ps aux | grep bus

message+  2766  0.1  0.1   8296  5308 ?        Ss   03:12   0:31 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation

²  loginctl

   SESSION        UID USER             SEAT             TTY            

         1          0 root                                             

        c1          0 root                              /dev/ttyS0

²  journalctl -xn # (logs attached)

²  systemctl --user status dbus

Failed to connect to bus: Connection refused

²  dmesg

²  systemctl start weston.service # (run_weston_service_failed.log attached)

²  ls -lZ /run/user/0/bus

srw-rw-rw- 1 root root ? 0 Dec 16 08:16 /run/user/0/bus

²  id

uid=0(root) gid=0(root) groups=0(root)

²  afm-util install /usr/AGL/apps/autoinstall/dashboard.wgt

null

²  systemctl --user start dbus

Failed to connect to bus: No such file or directory

²  systemctl --user status dbus

Failed to connect to bus: No such file or directory

²  ls -l /etc/systemd/user/default.target.wants

lrwxrwxrwx 1 root root 45 Dec 16 09:02 afm-user-daemon.service -> /usr/lib/systemd/user/afm-user-daemon.service # (manually added)

lrwxrwxrwx 1 root root 33 Oct 21 02:11 dbus.socket -> /usr/lib/systemd/user/dbus.socket

lrwxrwxrwx 1 root root 47 Dec 16 09:02 lightmediascanner.service -> /usr/lib/systemd/user/lightmediascanner.service

 

I think all the problems is related to afm-user-daemon.service cannot start at boot time correctly, tried to *systemctl start afm-user-daemon.service*, but failed (afm-user-daemon.service.log attached)

 

Could anyone please give me some suggestions?

 

Thanks & Brs

Clive

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Attachment: journalctl.log
Description: journalctl.log

Attachment: run_weston_manually.log
Description: run_weston_manually.log

Attachment: run_weston_service_failed.log
Description: run_weston_service_failed.log

Attachment: dmesg.log
Description: dmesg.log

Attachment: ps.log
Description: ps.log

Attachment: afm-user-daemon.service.log
Description: afm-user-daemon.service.log

_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux