Community discussions

MikroTik App
 
kovaga
just joined
Topic Author
Posts: 12
Joined: Mon Jan 20, 2020 7:53 pm

booting problem with serial console attached

Thu Jun 03, 2021 11:07 am

I have observed a situation when two mikrotik devices are connected with a rollover serial cable and device1 is rebooted, it is subsequently unable to boot and the other device (device2) receives the following messages in terminal:

09:55:04 echo: system,error,critical login failure for user .2 via local
[admin@CRS309] >
09:55:05 echo: system,error,critical login failure for user boot over Ethernet via local
[admin@CRS309] >
09:55:06 echo: system,error,critical login failure for user What do you want to configure? via local
[admin@CRS309] >
09:55:07 echo: system,error,critical login failure for user via local
[admin@CRS309] >
09:55:08 echo: system,error,critical login failure for user boot over Ethernet via local
[admin@CRS309] >
09:55:09 echo: system,error,critical login failure for user OT-6.48.2 via local
[admin@CRS309] >
09:55:10 echo: system,error,critical login failure for user Select boot device: via local
[admin@CRS309] >
09:55:11 echo: system,error,critical login failure for user boot from NAND only via local
[admin@CRS309] >


So in order for device1 to boot, device2 has to:
- /system console disable 0
- /system serial-terminal serial0 (and type x to continue boot process)


So if I want to successfully reboot device1, i need to disable console on device2. Otherwise device1 is stuck in the boot process.


Is that a known problem? are there any configuration options that would prevent this type of behaviour?
 
KayBur
just joined
Posts: 16
Joined: Thu Apr 29, 2021 3:33 pm
Location: Springfield

Re: booting problem with serial console attached

Thu Jun 03, 2021 1:09 pm

Possibly wrong connection sequence or wrong synchronization of two devices. Try to search the settings for synchronization.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: booting problem with serial console attached  [SOLVED]

Thu Jun 03, 2021 1:19 pm

NO, the problem is the use
On boot second serial receive the video output of bios, the second RB can interpret it as commands for login.
All is exactly go as expected

Simply paste
/sys routerboard settings
set enter-setup-on=delete-key
on both routerboard for not have problem on boot,
but error on log still happen.
 
kovaga
just joined
Topic Author
Posts: 12
Joined: Mon Jan 20, 2020 7:53 pm

Re: booting problem with serial console attached

Thu Jun 03, 2021 3:35 pm

NO, the problem is the use
On boot second serial receive the video output of bios, the second RB can interpret it as commands for login.
All is exactly go as expected

Simply paste
/sys routerboard settings
set enter-setup-on=delete-key
on both routerboard for not have problem on boot,
but error on log still happen.
Thanks. setting the "enter-setup-on=delete-key" fixed the issue.

Who is online

Users browsing this forum: johnson73, mbovenka, rplant and 85 guests