Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2678

logs spammed about missing ttyS2 device on Up^2

XMLWordPrintable

    • Intel Upsquare

      On Up^2, the journal is spammed every 30-60 seconds with these messages:

      Jul 25 23:37:05 intel-corei7-64 systemd[1]: serial-getty@ttyS2.service: Service has no hold-off time (RestartSec=0), scheduling restart.
      Jul 25 23:37:06 intel-corei7-64 systemd[1]: serial-getty@ttyS2.service: Scheduled restart job, restart counter is at 1.
      Jul 25 23:37:06 intel-corei7-64 systemd[1]: Stopped Serial Getty on ttyS2.
      Jul 25 23:37:06 intel-corei7-64 systemd[1]: Started Serial Getty on ttyS2.
      Jul 25 23:37:06 intel-corei7-64 agetty[1174]: /dev/ttyS2: not a tty

      This is due to there not being a ttyS2 device on Up^2.  Looking in the tree, this seems to be an artifact of the intel-corei7-64 machine definition in meta-intel explicitly listing ttyS2 in SERIAL_CONSOLES.  Since having more than two serial devices is uncommon on x86 platforms, I propose tweaking this the intel-corei7-64 machine template in AGL to remove ttyS2.

        # Subject Branch Project Status CR V

            scottm Scott Murray
            scottm Scott Murray
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: