Description

After upgrading the device from Junos OS version 19.4R3-S7.3 to 21.2R3-S8.5 and performing a reboot, the primary Routing Engine (RE0) entered amnesiac mode, indicating a loss of configuration and booting into the loader prompt.

Symptoms

Console Logs


kern.moduLoading JUNOS chassis module

chassis_init_hw_chassis_startup_time: chassis startup time 0.000000, shared: 0x7ffffffff300, base: 0x7ffffffff000, offset: 0x300

le_path: /packages/sets/pending/boot/junos-net-platform;/packageIPsec: Initialized Security Association Processing.

s/sets/pending/boot/junos-modules-platform;/packages/sets/pending/boot/os-kernelfuse-freebsd: version 0.4.4, FUSE ABI 7.8

;/packages/sets/pending/boot/os-crypto;/packages/sets/pending/boot/netstack;/packages/sets/pending/boot/junos-modules -> /modules;/modules/dev;/modules/ifpfe_drv;/modules/ifpfe_media;/modules/jam_core;/modules/jam_plugin;/modules/peertype;/modules/platform

Loading the CHMIC module

^B^@^B^@^@^@^@^@qualys_scanner^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Nid^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^B^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^A^B^@^F^A^A^@^@^@^@^B^@^@^@^@SC_ASEJ_Mgmt^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^L^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^C^@^@^@^@Loading POS driver

 ^NB

^@^B^@^GScript /etc/rc.d/kldload interrupted

 bcmsdk_5_9_x kld

 Loading BCMSDK module.....

bcm_sdk_init(): DevID = 0xb680, RevID = 0x12

bcm_sdk_init: device ID: dev: 0xb680, rev: 0x12

...

Creating initial configuration: ...

^E^A^@^A^@^@^@^@^@^@A^@l^@^K^@^@^@^@^@^@^@^@^@^\Mq]huo$5^\%^Cޭ^@^@^@^@^@^@^@^@^@^@^@^@status

^Z^@^@^@^@^@^@^K^@^F^A^@^@^A@^@^@^@^@^@Quit (core dumped)

Warning: Failed to commit active configuration.

Warning: Trying to commit recovery mode configuration.

mgd: error: schema header sequence numbers mismatch for pkg base

mgd: error: schema header sequence numbers mismatch for pkg junos-base

mgd: error: schema header sequence numbers mismatch for pkg jkernel

mgd: error: schema header sequence numbers mismatch for pkg aaad

mgd: error: schema header sequence numbers mismatch for pkg access_line

mgd: error: schema header sequence numbers mismatch for pkg ancpd

mgd: error: schema header sequence numbers mismatch for pkg appsecure

mgd: error: schema header sequence numbers mismatch for pkg aprobe

mgd: error: schema header sequence numbers mismatch for pkg apsd

mgd: error: schema header sequence numbers mismatch for pkg authd_cmd

mgd: error: schema header sequence numbers mismatch for pkg autoconfd_cmd

mgd: error: schema header sequence numbers mismatch for pkg bfdd

mgd: error: schema header sequence numbers mismatch for pkg cfm

mgd: error: schema header sequence numbers mismatch for pkg chassis_cmd

mgd: error: schema header sequence numbers mismatch for pkg clksyncd

mgd: error: schema header sequence numbers mismatch for pkg collector

mgd: error: schema header sequence numbers mismatch for pkg cos_cmd

mgd: error: schema header sequence numbers mismatch for pkg cpcdd_cmd

mgd: error: schema header sequence numbers mismatch for pkg dcd_cmd

mgd: error: schema header sequence numbers mismatch for pkg demuxd

mgd: error: schema header sequence numbers mismatch for pkg dfcd_cmd

mgd: error: schema header sequence numbers mismatch for pkg dot1xd

mgd: error: schema header sequence numbers mismatch for pkg dyn-sess-prof

mgd: error: schema header sequence numbers mismatch for pkg elmi

mgd: error: schema header sequence numbers mismatch for pkg essmd

mgd: error: schema header sequence numbers mismatch for pkg forwarding_options_cmd

mgd: error: schema header sequence numbers mismatch for pkg fsad

mgd: error: schema header sequence numbers mismatch for pkg gres-test-point

mgd: error: schema header sequence numbers mismatch for pkg httpd_cmd

mgd: error: schema header sequence numbers mismatch for pkg iccp_cmd

mgd: error: schema header sequence numbers mismatch for pkg ilmid

mgd: error: schema header sequence numbers mismatch for pkg jappid

mgd: error: schema header sequence numbers mismatch for pkg jcrypto

mgd: error: schema header sequence numbers mismatch for pkg jcrypto_junos

mEnter full pathname of shell or RETURN for /bin/^CG@-^@@^@M^@S^@ ^@S^@Q^@L^@ ^@Q^@u^@e^@r^@y^@ ^@A^@n^@a^@l^@y^@z^@e^@r^@1^@0^@.^@1^@0^@.^@1^@0^@.^@1^@1^@9^@O^@D^@B^@C^@NTLMSSP^@^A^@^@^@^^@%^@^@^@^E^@^E^@ ^@^@^@NT4DCVULNTEST^@swapon: /dev/gpt/swap: Device already in use

@ 1760511043 [2025-10-15 06:50:43 UTC] verify active ...

...

Verified junos-libs-x86-64-20211222 signed by PackageProductionEC^Chned by PackageProductionECP256_2021 method ECDSA256+SHA25^C^A^EScript /etc/rc.d/mount interrupted

^@@^A@^@^@^C^A^B^@^B^A^\ Enter full pathname of shell or ^C^@2^@^^C^B^A   ^A^G^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@swapon: /dev/gpt/swap: Device already in use

^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@ 1760511049 [2025-10-15 06:50:49 UTC] verify acti^Chcript /etc/rc.d/verify interrupted

@ 1760511049 [2025-10-15 06:50:49 UTC] mount start

R^K^[8F@ 1760511049 [2025-10-15 06:50:49 UTC] junos 19.4R3-S7.3

;oad: 0.93 cmd:^\^@^L^@^K^@^[^@^Z^@^G^@^CScript /etc/rc.d/mount interruEnter full pathn^C^B^B^B^A^A^A^@^P^@^N^@http/1.1^Bh2^@;oad: 0.93 cmd:^\^@^L^@^K^@^[^@^Z^@^G^@^CScript /etc/rc.d/mount interruEnter full pathn^^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^C^Bhb !C]oad: 0.93 cmd: sh 23865 [running] 0.29r 0.00u 0.00s 0% 2008k

load: 0.93 cmd: sh 23865 [running] 0.29r 0.00u 0.00s 0% 2008k

C~wa{^@^@z^@k@^L^@^K^@^[^@

^@   ^@^Z^@^G^@^C^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^C^AhS,^E5[+y^L^@^@z^@k^@gload: 0.93 cmd: sh 23865 [ttyout] 0.91r 0.00u 0.00s 0% 2008k

E^@9^@3^\^@^L^@^K^@^[^@

^@   ^Z^@^G^@ ^C^@^A^@^P^@Script /etc/rc.d/media interrupted

^@^O^@^K^@^B^A^@@ 1760511051 [2025-10-15 06:50:51 UTC] verify active ...

^R               

^@^A^@^P^@^@^O^@^C^@hScript /etc/rc.d/verify interrupted

@ 1760511051 [2025-10-15 06:50:51 UTC]^ZScript /etc/rc.d/mount interru^C^@hcript /etc/rc.d/ldconfig interrupted

iemoving /etc/malloc.conf

@yR^YI"^@zcking platform support for: mx960

(k^@g^C^@@^@@@^@@Q^K^[E@ 1760511052 [2025-10-15 06:50:52 UTC] mountlate start

hw.re.gres_sync_other: 1 -> 1

@ 1760511052 [2025-10-15 06:50:52 UTC] mountlate done

...

FreeBSD/amd64 (Amnesiac) (ttyu0)


login: 


    FreeBSD/amd64 (Amnesiac) (ttyu0)


login: 

FreeBSD/amd64 (Amnesiac) (ttyu0)


login: 

FreeBSD/amd64 (Amnesiac) (ttyu0)


login: Oct 15 06:51:18  irsd.log[28190]: UI_DBASE_OPEN_FAILED: Database open failed for file '/var/run/db/juniper.data': No such file or directory

Oct 15 06:51:18  irsd.log[28190]: UI_CONFIGURATION_ERROR: Process: <unknown>, path: <none>, statement: <none>, Opening configuration database: Could not open configuration database

Oct 15 06:51:18  irsd.log[28190]: IRSD config read failed

Oct 15 06:51:18  lacpd[28193]: UI_SCHEMA_SEQUENCE_ERROR: Schema sequence number mismatch

Oct 15 06:51:18  lacpd[28193]: UI_CONFIGURATION_ERROR: Process: <unknown>, path: <none>, statement: <none>, Opening configuration database: Could not open database schema

...

Solution

Our investigation indicates that this behavior was likely triggered by user-initiated console interrupts during startup—such as key presses—which can prevent the system from properly loading its configuration and filesystem.


To recover, we disconnected the console and performed a clean reboot, after which the system booted normally.

We have advised the customer to investigate console access logs to determine if any users were interacting with the device via the console during the reboot window.

Modification History

2025-10-21 : Article Created