System reboot while initializing legato


#1

I am trying to run legato in a new board (ARM), but every time I execute the “start” script it crashes. In fact, the system is getting rebooted. Looking the log files, the only thing I can see are the lines written below:


Jan 6 00:17:02 mdm9607 syslog.info syslogd started: BusyBox v1.23.1
Jan 6 00:17:24 mdm9607 user.info Legato: INFO | UNKNOWN[1496]/framework T=main | LE_FILENAME GetStatus() 972 | Status of system ‘current’ is ‘good’.
Jan 6 00:17:24 mdm9607 user.info Legato: INFO | UNKNOWN[1496]/framework T=main | LE_FILENAME FindNewestSystemIndex() 1194 | System ‘current’ is OK.
Jan 6 00:17:24 mdm9607 user.info Legato: INFO | UNKNOWN[1496]/framework T=main | LE_FILENAME main() 1586 | The previous ‘current’ system has index 0.
Jan 6 00:17:24 mdm9607 user.info Legato: INFO | UNKNOWN[1496]/framework T=main | LE_FILENAME ShouldInstallGolden() 1258 | System on /mnt/legato is old. Ignoring it.
Jan 6 00:17:24 mdm9607 user.info Legato: INFO | UNKNOWN[1496]/framework T=main | LE_FILENAME GetStatus() 972 | Status of system ‘current’ is ‘good’.
Jan 6 00:17:24 mdm9607 user.err Legato: =ERR= | xattr[1500]/framework T=main | LE_FILENAME unixSocket_Connect() 333 | Connect failed with errno 2 (No such file or directory).
Jan 6 00:17:24 mdm9607 user.err Legato: =ERR= | xattr[1501]/framework T=main | LE_FILENAME unixSocket_Connect() 333 | Connect failed with errno 2 (No such file or directory).
Jan 6 00:17:24 mdm9607 user.err Legato: =ERR= | xattr[1502]/framework T=main | LE_FILENAME unixSocket_Connect() 333 | Connect failed with errno 2 (No such file or directory).


Does somebody knows what is happening and how to solve the problem?

Thanks in advance.


#2

It looks like something is running the “xattr” tool while the Service Directory is not running. It’s getting ENOENT (A component of the pathname does not name an existing file or the pathname is an empty string.) when trying to call connect() on the Service Directory’s “client connect socket”, which a named socket at /tmp/legato/serviceDirectoryClient.

What version of Legato are you using?