Guys,

 

We have a problem as next:

 

 

The story is we have kernel exception when device boot, then per next code:

 

if index == cls.TRACE or index == cls.EXCEPTION:

                res = "fail"

                if action:

                    action.logger.warning(

                        "%s: %s" % (action.name, cls.MESSAGE_CHOICES[index][2])

                    )

                # TRACE may need a newline to force a prompt

                connection.sendline(connection.check_char)

 

It will send a “#” to device, but unfortunately, the exception time is too close the final login, then the “#” was sent to user login as next:

Imx8qxpmek login: #

 

Then when we send “root”, it definitely cannot login, how to resolve?

More, why lava send “#” to device when kernel have exception?