Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  EX4200 Boot Loop

    Posted 12-05-2021 06:12
    Hi all,

    I have an EX4200 in a lab environment which recently lost power. Unfortunately after the reboot, one of my switches in a virtual chassis started having issues.

    The switch appears to boot perfectly ok, with what I can tell no distinct errors. However after reaching the login prompt, roughly 10-20 seconds the system calls a reboot and the switch enters a reboot loop. You will also see that it records the reboot as normal.

    So far I have reinstalled the firmware:
    15.1R7-S6.3 (current firmware and firmware installed when issue started)
    12.3R1.7 (tested older firmware) the log captured is from this, but otherwise it is exactly the same symptoms. 

    One thing I have spotted:
    On 12.3: path /var/jail does not exist Automatic reboot in progress...
    On 15.1: Error execution /packages/mnt/jweb-ex-15.1R7-S6.3/mount.post: path /var/jail does not exist Automatic reboot in progress...

    Wondering if anybody has any ideas on what the issue might be? Could J-Web be the issue?

    I have also opened the switch as I thought maybe I could swap an SD-Card or CMOS battery, however nothing seems replaceable.

    12.3 log:
    syncing disks... Syncing disks, buffers remaining... 4 4 3 3 3 3 1 1 0 1 1
    Final sync complete
    2 0 Uptime: 3m12s
    recorded reboot as normal shutdown
    Rebooting...
    
    
    U-Boot 1.1.6 (Jun  5 2012 - 02:26:04)
    
    Board: EX4200-48PX 4.31
    EPLD:  Version 10.0 (0x82)
    DRAM:  Initializing (1024 MB)
    FLASH: 8 MB
    
    Firmware Version: --- 01.00.00 ---
    USB:   scanning bus for devices... 2 USB Device(s) found
           scanning bus for storage devices... 1 Storage Device(s) found
    
    ELF file is 32 bit
    Consoles: U-Boot console
    
    FreeBSD/PowerPC U-Boot bootstrap loader, Revision 2.4
    (builder@greteth, Tue Jun  5 01:50:12 UTC 2012)
    Memory: 1024MB
    bootsequencing is enabled
    bootsuccess is set
    new boot device = disk0s2:
    Loading /boot/defaults/loader.conf
    /kernel data=0xa810a4+0xb03c8 syms=[0x4+0x8f090+0x4+0xd1654]
    
    
    Hit [Enter] to boot immediately, or space bar for command prompt.
    Booting [/kernel]...
    Kernel entry at 0x800000c0 ...
    GDB: no debug ports present
    KDB: debugger backends: ddb
    KDB: current backend: ddb
    Copyright (c) 1996-2013, Juniper Networks, Inc.
    All rights reserved.
    Copyright (c) 1992-2006 The FreeBSD Project.
    Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
            The Regents of the University of California. All rights reserved.
    JUNOS 12.3R1.7 #0: 2013-01-26 01:32:53 UTC
        builder@dagmath.juniper.net:/volume/build/junos/12.3/release/12.3R1.7/obj-powerpc/junos/bsd/kernels/JUNIPER-EX/kernel
    can't re-use a leaf (all_slot_serialid)!
    Timecounter "decrementer" frequency 50000000 Hz quality 0
    cpu0: Freescale e500v2 core revision 2.3
    cpu0: HID0 80004080<EMCP,TBEN,EN_MAS7_UPDATE>
    real memory  = 1047527424 (999 MB)
    avail memory = 1025544192 (978 MB)
    Security policy loaded: JUNOS MAC/pcap (mac_pcap)
    Security policy loaded: JUNOS MAC/runasnonroot (mac_runasnonroot)
    Security policy loaded: Junos MAC/veriexec (mac_veriexec)
    MAC/veriexec fingerprint module loaded: SHA1
    MAC/veriexec fingerprint module loaded: SHA256
    ETHERNET SOCKET BRIDGE initialising
    Initializing EXSERIES platform properties ...
    nexus0: <PPC e500 Nexus device>
    ocpbus0: <on-chip peripheral bus> on nexus0
    openpic0: <OpenPIC in on-chip peripheral bus> iomem 0xfef40000-0xfef600b3 on ocpbus0
    memctl0: <mpc85xx memory ECC monitor> iomem 0xfef20000-0xfef20e5b,0xfef02000-0xfef02e5b irq 32,34 on ocpbus0
    i2c0: <MPC85XX OnChip i2c Controller> iomem 0xfef03000-0xfef03014 irq 59 on ocpbus0
    poe0: <POE> on i2c0
    i2c1: <MPC85XX OnChip i2c Controller> iomem 0xfef03100-0xfef03114 irq 59 on ocpbus0
    uart0: <16550 or compatible> iomem 0xfef04500-0xfef0450f irq 58 on ocpbus0
    uart0: console (9600,n,8,1)
    uart1: <16550 or compatible> iomem 0xfef04600-0xfef0460f irq 58 on ocpbus0
    lbc0: <Freescale 8533 Local Bus Controller> iomem 0xfef05000-0xfef05fff,0xff000000-0xffffffff irq 22 on ocpbus0
    cb fpga: un-supported RE/board:113
    cfi0: <AMD/Fujitsu - 8MB> iomem 0xff800000-0xffffffff on lbc0
    cb fpga: un-supported RE/board:113
    syspld0 iomem 0xff000000-0xff00ffff on lbc0
    tsec0: <eTSEC ethernet controller> iomem 0xfef24000-0xfef24fff irq 45,46,50 on ocpbus0
    tsec0: hardware MAC address 54:4b:8c:c5:11:ff
    miibus0: <MII bus> on tsec0
    e1000phy0: <Marvell 88E1112 Gigabit PHY> on miibus0
    e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
    pcib0: <Freescale MPC8544 PCI host controller> iomem 0xfef08000-0xfef08fff,0xf0000000-0xf3ffffff on ocpbus0
    pci0: <PCI bus> on pcib0
    pci0: <serial bus, USB> at device 18.0 (no driver attached)
    ehci0: <NEC uPD 72010x USB 2.0 controller> mem 0xf0001000-0xf00010ff irq 22 at device 18.1 on pci0
    usb0: EHCI version 1.0
    usb0: <NEC uPD 72010x USB 2.0 controller> on ehci0
    usb0: USB revision 2.0
    uhub0: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
    uhub0: 3 ports with 3 removable, self powered
    umass0: STMicroelectronics ST72682  High Speed Mode, rev 2.00/2.10, addr 2
    pcib1: <Freescale MPC8544 PCI Express host controller> iomem 0xfef0a000-0xfef0afff,0xe0000000-0xe3ffffff,0xec000000-0xec0fffff irq 42 on ocpbus0
    pci1: <PCI bus> on pcib1
    pcib2: <PCI-PCI bridge> at device 0.0 on pci1
    pci2: <PCI bus> on pcib2
    mpfe0: <Juniper EX-series Packet Forwarding Engine> mem 0xa4000000-0xa40fffff,0xa0000000-0xa3ffffff irq 20 at device 0.0 on pci2
    mpfe_adcr_shadow_alloc: allocated idx: 0
    pcib3: <Freescale MPC8544 PCI Express host controller> iomem 0xfef09000-0xfef09fff,0xe4000000-0xe7ffffff,0xec100000-0xec1fffff irq 41 on ocpbus0
    pci3: <PCI bus> on pcib3
    pcib4: <PCI-PCI bridge> at device 0.0 on pci3
    pci4: <PCI bus> on pcib4
    mpfe1: <Juniper EX-series Packet Forwarding Engine> mem 0xac000000-0xac0fffff,0xa8000000-0xabffffff irq 18 at device 0.0 on pci4
    mpfe_adcr_shadow_alloc: allocated idx: 1
    pcib5: <Freescale MPC8544 PCI Express host controller> iomem 0xfef0b000-0xfef0bfff,0xe8000000-0xebffffff,0xec200000-0xec2fffff irq 43 on ocpbus0
    pci5: <PCI bus> on pcib5
    pcib6: <PCI-PCI bridge> at device 0.0 on pci5
    pci6: <PCI bus> on pcib6
    mpfe2: <Juniper EX-series Packet Forwarding Engine> mem 0xb4000000-0xb40fffff,0xb0000000-0xb3ffffff irq 19 at device 0.0 on pci6
    mpfe_adcr_shadow_alloc: allocated idx: 2
    idma0: <mp85xxx DMA Controller> iomem 0xfef21000-0xfef21300 irq 36 on ocpbus0
    Initializing product: 100 ..
    bmeb: bmeb_lib_init done 0x82b4b000, addr 0x80a82514
    bme0:Virtual BME driver initializing
    ###PCB Group initialized for udppcbgroup
    ###PCB Group initialized for tcppcbgroup
    da0 at umass-sim0 bus 0 target 0 lun 0
    da0: <ST ST72682 2.10> Removable Direct Access SCSI-2 device
    da0: 40.000MB/s transfers
    da0: 1000MB (2048000 512 byte sectors: 64H 32S/T 1000C)
    Kernel thread "wkupdaemon" (pid 41) exited prematurely.
    Trying to mount root from ufs:/dev/da0s2a
    Attaching /packages/jbase via /dev/mdctl...
    Mounted jbase package on /dev/md0...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jboot signed by PackageProduction_12_3_0
    Verified jbase-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted fips-mode-powerpc package on /dev/md2...
    Verified manifest signed by PackageProduction_12_3_0
    Verified fips-mode-powerpc-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jcrypto-ex package on /dev/md4...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jcrypto-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jdocs-ex package on /dev/md6...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jdocs-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jkernel-ex package on /dev/md8...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jkernel-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jpfe-ex42x package on /dev/md10...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jpfe-ex42x-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jroute-ex package on /dev/md12...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jroute-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jswitch-ex package on /dev/md14...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jswitch-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jweb-ex package on /dev/md16...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jweb-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Executing /packages/mnt/jweb-ex-12.3R1.7/mount.post..
    Automatic reboot in progress...
    Media check on da0 on ex platforms
    ** /dev/da0s2a
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 28290 free (74 frags, 3527 blocks, 0.1% fragmentation)
    Computing slice and partition sizes for /dev/da0 ...
    ** /dev/da0s3e
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 62476 free (116 frags, 7795 blocks, 0.2% fragmentation)
    savecore: Router rebooting after a normal shutdown...
    No dump exists
    ** /dev/da0s3d
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 188789 free (29 frags, 23595 blocks, 0.0% fragmentation)
    ** /dev/da0s4d
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 31590 free (30 frags, 3945 blocks, 0.1% fragmentation)
    ln: /var/db/dcd.snmp_ix: File exists
    ln: /var/db/snmp_engine.db: File exists
    Creating initial configuration...mgd: Running FIPS Self-tests
    mgd: Expect an everiexec: no fingerprint for file='/sbin/kats/cannot-exec' fsid=75 fileid=51404 uid=0 pid=536
    xec Authentication error...
    mgd: /sbin/kats/run-tests: /sbin/kats/cannot-exec: Authentication error
    mgd: FIPS Self-tests Passed
    mgd: commit complete
    Setting initial options:  debugger_on_panic=NO debugger_on_break=NO.
    Starting optional daemons: .
    Doing initial network setup:
    .
    Initial interface configuration:
    additional daemons:.
    Additional routing options:kern.module_path: /boot//kernel;/boot/modules -> /boot/modules;/modules/peertypeLoading the EX-series platform NETPFE module
    ;/modules/ifpfe_drv;/modules/platform;/modules;
    kld netpfe drv: ifpfed_eth ifpfed_ml_cmnkld platform: ex_ifpfe if_vcpkld peertype: peertype_hcm peertype_pfem peertype_sfi peertype_slavere grat_arp_on_ifup=YES: net.link.ether.inet.grat_arp_on_ifup: 1 -> 1
     ipsec kld.
    Doing additional network setup:.
    Starting final network daemons:.
    setting ldconfig path: /usr/lib /opt/lib
    starting standard daemons: cron.
    Local package initialization:.
    kern.securelevel: -1 -> 1
    starting local daemons:.
    Sat Jan 26 03:58:33 UTC 2013
    Boot media /dev/da0 has dual root support
    ** /dev/da0s1a
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 27778 free (10 frags, 3471 blocks, 0.0% fragmentation)
    
    Amnesiac (ttyu0)
    
    login: Waiting (max 60 seconds) for system process `vnlru_mem' to stop...done
    Waiting (max 60 seconds) for system process `vnlru' to stop...done
    Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
    Waiting (max 60 seconds) for system process `syncer' to stop...
    Syncing disks, vnodes remaining...7 6 3 5 5 5 5 4 4 3 2 2 1 2 2 2 1 3 3 3 2 3 3 3 3 2 2 2 1 2 2 2 3 3 3 3 3 2 3 3 2 1 2 2 2 2 2 3 3 2 3 3 3 1 3 2 2 0 2 2 timed out
    
    syncing disks... Syncing disks, buffers remaining... 5 5 4 4 4 4 0 2 2 2 1 1
    Final sync complete
    1 0 pid 1261 (sfid), uid (0):  Path `/var/tmp/sfid.core.0.gz' failed on initial open test, error = 20
    pid 1262 (vccpd), uid (0):  Path `/var/tmp/vccpd.core.0.gz' failed on initial open test, error = 20
    Uptime: 3m20s
    recorded reboot as normal shutdown
    Rebooting...
    
    
    U-Boot 1.1.6 (Jun  5 2012 - 02:26:04)
    
    Board: EX4200-48PX 4.31
    EPLD:  Version 10.0 (0x82)
    DRAM:  Initializing (1024 MB)
    FLASH: 8 MB
    
    Firmware Version: --- 01.00.00 ---
    USB:   scanning bus for devices... 2 USB Device(s) found
           scanning bus for storage devices... 1 Storage Device(s) found
    
    ELF file is 32 bit
    Consoles: U-Boot console
    
    FreeBSD/PowerPC U-Boot bootstrap loader, Revision 2.4
    (builder@greteth, Tue Jun  5 01:50:12 UTC 2012)
    Memory: 1024MB
    bootsequencing is enabled
    bootsuccess is set
    new boot device = disk0s2:
    Loading /boot/defaults/loader.conf
    /kernel data=0xa810a4+0xb03c8 syms=[0x4+0x8f090+0x4+0xd1654]
    
    
    Hit [Enter] to boot immediately, or space bar for command prompt.
    Booting [/kernel]...
    Kernel entry at 0x800000c0 ...
    GDB: no debug ports present
    KDB: debugger backends: ddb
    KDB: current backend: ddb
    Copyright (c) 1996-2013, Juniper Networks, Inc.
    All rights reserved.
    Copyright (c) 1992-2006 The FreeBSD Project.
    Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
            The Regents of the University of California. All rights reserved.
    JUNOS 12.3R1.7 #0: 2013-01-26 01:32:53 UTC
        builder@dagmath.juniper.net:/volume/build/junos/12.3/release/12.3R1.7/obj-powerpc/junos/bsd/kernels/JUNIPER-EX/kernel
    can't re-use a leaf (all_slot_serialid)!
    Timecounter "decrementer" frequency 50000000 Hz quality 0
    cpu0: Freescale e500v2 core revision 2.3
    cpu0: HID0 80004080<EMCP,TBEN,EN_MAS7_UPDATE>
    real memory  = 1047527424 (999 MB)
    avail memory = 1025544192 (978 MB)
    Security policy loaded: JUNOS MAC/pcap (mac_pcap)
    Security policy loaded: JUNOS MAC/runasnonroot (mac_runasnonroot)
    Security policy loaded: Junos MAC/veriexec (mac_veriexec)
    MAC/veriexec fingerprint module loaded: SHA1
    MAC/veriexec fingerprint module loaded: SHA256
    ETHERNET SOCKET BRIDGE initialising
    Initializing EXSERIES platform properties ...
    nexus0: <PPC e500 Nexus device>
    ocpbus0: <on-chip peripheral bus> on nexus0
    openpic0: <OpenPIC in on-chip peripheral bus> iomem 0xfef40000-0xfef600b3 on ocpbus0
    memctl0: <mpc85xx memory ECC monitor> iomem 0xfef20000-0xfef20e5b,0xfef02000-0xfef02e5b irq 32,34 on ocpbus0
    i2c0: <MPC85XX OnChip i2c Controller> iomem 0xfef03000-0xfef03014 irq 59 on ocpbus0
    poe0: <POE> on i2c0
    i2c1: <MPC85XX OnChip i2c Controller> iomem 0xfef03100-0xfef03114 irq 59 on ocpbus0
    uart0: <16550 or compatible> iomem 0xfef04500-0xfef0450f irq 58 on ocpbus0
    uart0: console (9600,n,8,1)
    uart1: <16550 or compatible> iomem 0xfef04600-0xfef0460f irq 58 on ocpbus0
    lbc0: <Freescale 8533 Local Bus Controller> iomem 0xfef05000-0xfef05fff,0xff000000-0xffffffff irq 22 on ocpbus0
    cb fpga: un-supported RE/board:113
    cfi0: <AMD/Fujitsu - 8MB> iomem 0xff800000-0xffffffff on lbc0
    cb fpga: un-supported RE/board:113
    syspld0 iomem 0xff000000-0xff00ffff on lbc0
    tsec0: <eTSEC ethernet controller> iomem 0xfef24000-0xfef24fff irq 45,46,50 on ocpbus0
    tsec0: hardware MAC address 54:4b:8c:c5:11:ff
    miibus0: <MII bus> on tsec0
    e1000phy0: <Marvell 88E1112 Gigabit PHY> on miibus0
    e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
    pcib0: <Freescale MPC8544 PCI host controller> iomem 0xfef08000-0xfef08fff,0xf0000000-0xf3ffffff on ocpbus0
    pci0: <PCI bus> on pcib0
    pci0: <serial bus, USB> at device 18.0 (no driver attached)
    ehci0: <NEC uPD 72010x USB 2.0 controller> mem 0xf0001000-0xf00010ff irq 22 at device 18.1 on pci0
    usb0: EHCI version 1.0
    usb0: <NEC uPD 72010x USB 2.0 controller> on ehci0
    usb0: USB revision 2.0
    uhub0: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
    uhub0: 3 ports with 3 removable, self powered
    umass0: STMicroelectronics ST72682  High Speed Mode, rev 2.00/2.10, addr 2
    pcib1: <Freescale MPC8544 PCI Express host controller> iomem 0xfef0a000-0xfef0afff,0xe0000000-0xe3ffffff,0xec000000-0xec0fffff irq 42 on ocpbus0
    pci1: <PCI bus> on pcib1
    pcib2: <PCI-PCI bridge> at device 0.0 on pci1
    pci2: <PCI bus> on pcib2
    mpfe0: <Juniper EX-series Packet Forwarding Engine> mem 0xa4000000-0xa40fffff,0xa0000000-0xa3ffffff irq 20 at device 0.0 on pci2
    mpfe_adcr_shadow_alloc: allocated idx: 0
    pcib3: <Freescale MPC8544 PCI Express host controller> iomem 0xfef09000-0xfef09fff,0xe4000000-0xe7ffffff,0xec100000-0xec1fffff irq 41 on ocpbus0
    pci3: <PCI bus> on pcib3
    pcib4: <PCI-PCI bridge> at device 0.0 on pci3
    pci4: <PCI bus> on pcib4
    mpfe1: <Juniper EX-series Packet Forwarding Engine> mem 0xac000000-0xac0fffff,0xa8000000-0xabffffff irq 18 at device 0.0 on pci4
    mpfe_adcr_shadow_alloc: allocated idx: 1
    pcib5: <Freescale MPC8544 PCI Express host controller> iomem 0xfef0b000-0xfef0bfff,0xe8000000-0xebffffff,0xec200000-0xec2fffff irq 43 on ocpbus0
    pci5: <PCI bus> on pcib5
    pcib6: <PCI-PCI bridge> at device 0.0 on pci5
    pci6: <PCI bus> on pcib6
    mpfe2: <Juniper EX-series Packet Forwarding Engine> mem 0xb4000000-0xb40fffff,0xb0000000-0xb3ffffff irq 19 at device 0.0 on pci6
    mpfe_adcr_shadow_alloc: allocated idx: 2
    idma0: <mp85xxx DMA Controller> iomem 0xfef21000-0xfef21300 irq 36 on ocpbus0
    Initializing product: 100 ..
    bmeb: bmeb_lib_init done 0x82b4b000, addr 0x80a82514
    bme0:Virtual BME driver initializing
    ###PCB Group initialized for udppcbgroup
    ###PCB Group initialized for tcppcbgroup
    da0 at umass-sim0 bus 0 target 0 lun 0
    da0: <ST ST72682 2.10> Removable Direct Access SCSI-2 device
    da0: 40.000MB/s transfers
    da0: 1000MB (2048000 512 byte sectors: 64H 32S/T 1000C)
    Kernel thread "wkupdaemon" (pid 41) exited prematurely.
    Trying to mount root from ufs:/dev/da0s2a
    Attaching /packages/jbase via /dev/mdctl...
    Mounted jbase package on /dev/md0...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jboot signed by PackageProduction_12_3_0
    Verified jbase-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted fips-mode-powerpc package on /dev/md2...
    Verified manifest signed by PackageProduction_12_3_0
    Verified fips-mode-powerpc-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jcrypto-ex package on /dev/md4...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jcrypto-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jdocs-ex package on /dev/md6...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jdocs-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jkernel-ex package on /dev/md8...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jkernel-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jpfe-ex42x package on /dev/md10...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jpfe-ex42x-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jroute-ex package on /dev/md12...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jroute-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jswitch-ex package on /dev/md14...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jswitch-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Mounted jweb-ex package on /dev/md16...
    Verified manifest signed by PackageProduction_12_3_0
    Verified jweb-ex-12.3R1.7 signed by PackageProduction_12_3_0
    Executing /packages/mnt/jweb-ex-12.3R1.7/mount.post..
    Automatic reboot in progress...
    Media check on da0 on ex platforms
    ** /dev/da0s2a
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 28290 free (74 frags, 3527 blocks, 0.1% fragmentation)
    Computing slice and partition sizes for /dev/da0 ...
    ** /dev/da0s3e
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 62511 free (143 frags, 7796 blocks, 0.2% fragmentation)
    savecore: Router rebooting after a normal shutdown...
    No dump exists
    ** /dev/da0s3d
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 188789 free (29 frags, 23595 blocks, 0.0% fragmentation)
    ** /dev/da0s4d
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 31590 free (30 frags, 3945 blocks, 0.1% fragmentation)
    ln: /var/db/dcd.snmp_ix: File exists
    ln: /var/db/snmp_engine.db: File exists
    Creating initial configuration...mgd: Running FIPS Self-tests
    mgd: Expect an everiexec: no fingerprint for file='/sbin/kats/cannot-exec' fsid=75 fileid=51404 uid=0 pid=536
    xec Authentication error...
    mgd: /sbin/kats/run-tests: /sbin/kats/cannot-exec: Authentication error
    mgd: FIPS Self-tests Passed
    mgd: commit complete
    Setting initial options:  debugger_on_panic=NO debugger_on_break=NO.
    Starting optional daemons: .
    Doing initial network setup:
    .
    Initial interface configuration:
    additional daemons:.
    Additional routing options:kern.module_path: /boot//kernel;/boot/modules -> /boot/modules;/modules/peertypeLoading the EX-series platform NETPFE module
    ;/modules/ifpfe_drv;/modules/platform;/modules;
    kld netpfe drv: ifpfed_eth ifpfed_ml_cmnkld platform: ex_ifpfe if_vcpkld peertype: peertype_hcm peertype_pfem peertype_sfi peertype_slavere grat_arp_on_ifup=YES: net.link.ether.inet.grat_arp_on_ifup: 1 -> 1
     ipsec kld.
    Doing additional network setup:.
    Starting final network daemons:.
    setting ldconfig path: /usr/lib /opt/lib
    starting standard daemons: cron.
    Local package initialization:.
    kern.securelevel: -1 -> 1
    starting local daemons:.
    Sat Jan 26 03:58:22 UTC 2013
    Boot media /dev/da0 has dual root support
    ** /dev/da0s1a
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 27778 free (10 frags, 3471 blocks, 0.0% fragmentation)
    
    Amnesiac (ttyu0)
    
    login: Waiting (max 60 seconds) for system process `vnlru_mem' to stop...done
    Waiting (max 60 seconds) for system process `vnlru' to stop...done
    Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
    Waiting (max 60 seconds) for system process `syncer' to stop...
    Syncing disks, vnodes remaining...22 19 6 6 6 6 6 4 4 4 1 2 2 2 2 2 2 3 3 3 3 3 2 2 2 1 2 2 2 2 2 2 3 2 3 3 3 2 2 2 1 2 2 2 2 2 2 3 3 3 3 3 2 2 2 1 2 2 2 1 timed out
    
    syncing disks... Syncing disks, buffers remaining... 4 4 4 4 3 3 3 1 1 0 1 1
    Final sync complete
    2 0 Uptime: 3m11s
    recorded reboot as normal shutdown
    Rebooting...
    ​


    15.1:

    syncing disks... All buffers synced.
    Uptime: 2m49s
    recorded reboot as normal shutdown
    Rebooting...
    
    
    U-Boot 1.1.6 (Jun  5 2012 - 02:24:53)
    
    Board: EX4200-48PX 4.31
    EPLD:  Version 10.0 (0x82)
    DRAM:  Initializing (1024 MB)
    FLASH: 8 MB
    
    Firmware Version: --- 01.00.00 ---
    USB:   scanning bus for devices... 2 USB Device(s) found
           scanning bus for storage devices... 1 Storage Device(s) found
    
    ELF file is 32 bit
    Consoles: U-Boot console  
    
    
    
    
    
    FreeBSD/PowerPC U-Boot bootstrap loader, Revision 2.4
    
    
    (builder@greteth, Tue Jun  5 01:50:12 UTC 2012)
    
    
    Memory: 1024MB
    
    
    bootsequencing is enabled
    bootsuccess is set
    new boot device = disk0s2:
    |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\Loading /boot/defaults/loader.conf 
    
    
    |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-/kernel text=0xaefd60 \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-data=0x84ed0+0xd12bc \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-syms=[0x4+0x9def0\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+0x4+0xec6ec-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|]
    
    
    
    
    
    
    
    
    Hit [Enter] to boot immediately, or space bar for command prompt.
    
    
    
    Booting [/kernel] in 1 second... 
    Booting [/kernel]...               
    
    
    Kernel entry at 0x800000e0 ...
    
    
    GDB: no debug ports present
    KDB: debugger backends: ddb
    KDB: current backend: ddb
    Copyright (c) 1996-2020, Juniper Networks, Inc.
    All rights reserved.
    Copyright (c) 1992-2007 The FreeBSD Project.
    Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    	The Regents of the University of California. All rights reserved.
    FreeBSD is a registered trademark of The FreeBSD Foundation.
    JUNOS 15.1R7-S6.3 #0: 2020-01-03 07:08:15 UTC
        builder@monarth:/volume/build/junos/15.1/release/15.1R7-S6.3/obj/powerpc/junos/bsd/kernels/JUNIPER-EX/kernel
    can't re-use a leaf (all_slot_serialid)!
    Timecounter "decrementer" frequency 50000000 Hz quality 0
    cpu0: Freescale e500v2 core revision 2.3
    cpu0: HID0 80004080<EMCP,TBEN,EN_MAS7_UPDATE>
    real memory  = 1044381696 (996 MB)
    avail memory = 1022398464 (975 MB)
    Security policy loaded: JUNOS MAC/pcap (mac_pcap)
    Security policy loaded: JUNOS MAC/runasnonroot (mac_runasnonroot)
    Security policy loaded: Junos MAC/veriexec (mac_veriexec)
    MAC/veriexec fingerprint module loaded: SHA1
    MAC/veriexec fingerprint module loaded: SHA256
    ETHERNET SOCKET BRIDGE initialising
    Initializing EXSERIES properties ...
    nexus0: <Powerpc Nexus device>
    ocpbus0: <on-chip peripheral bus> on nexus0
    openpic0: <OpenPIC in on-chip peripheral bus> iomem 0xfef40000-0xfef600b3 on ocpbus0
    memctl0: <mpc85xx memory ECC monitor> iomem 0xfef20000-0xfef20e5b,0xfef02000-0xfef02e5b irq 32,34 on ocpbus0
    i2c0: <MPC85XX OnChip i2c Controller> iomem 0xfef03000-0xfef03014 irq 59 on ocpbus0
    poe0: <POE> on i2c0
    i2c1: <MPC85XX OnChip i2c Controller> iomem 0xfef03100-0xfef03114 irq 59 on ocpbus0
    uart0: <16550 or compatible> iomem 0xfef04500-0xfef0450f irq 58 on ocpbus0
    uart0: console (9600,n,8,1)
    uart1: <16550 or compatible> iomem 0xfef04600-0xfef0460f irq 58 on ocpbus0
    lbc0: <Freescale Local Bus Controller> iomem 0xfef05000-0xfef05fff,0xff000000-0xffffffff irq 22 on ocpbus0
    cb fpga: un-supported RE/board:113
    cfi0: <AMD/Fujitsu - 8MB> iomem 0xff800000-0xffffffff on lbc0
    cb fpga: un-supported RE/board:113
    syspld0 iomem 0xff000000-0xff00ffff on lbc0
    tsec0: <eTSEC ethernet controller> iomem 0xfef24000-0xfef24fff irq 45,46,50 on ocpbus0
    tsec0: hardware MAC address 54:4b:8c:c5:11:ff
    miibus0: <MII bus> on tsec0
    e1000phy0: <Marvell 88E1112 Gigabit PHY> on miibus0
    e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
    pcib0: <Freescale MPC8544 PCI host controller> iomem 0xfef08000-0xfef08fff,0xf0000000-0xf3ffffff on ocpbus0
    pci0: <PCI bus> on pcib0
    pci0: <serial bus, USB> at device 18.0 (no driver attached)
    ehci0: <NEC uPD 72010x USB 2.0 controller> mem 0xf0001000-0xf00010ff irq 22 at device 18.1 on pci0
    usb0: EHCI version 1.0
    usb0: <NEC uPD 72010x USB 2.0 controller> on ehci0
    usb0: USB revision 2.0
    uhub0: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
    uhub0: 3 ports with 3 removable, self powered
    umass0: STMicroelectronics ST72682  High Speed Mode, rev 2.00/2.10, addr 2
    pcib1: <Freescale MPC8544 PCI Express host controller> iomem 0xfef0a000-0xfef0afff,0xe0000000-0xe3ffffff,0xec000000-0xec0fffff irq 42 on ocpbus0
    pci1: <PCI bus> on pcib1
    pcib2: <PCI-PCI bridge> at device 0.0 on pci1
    pci2: <PCI bus> on pcib2
    mpfe0: <Juniper EX-series Packet Forwarding Engine> mem 0xa4000000-0xa40fffff,0xa0000000-0xa3ffffff irq 20 at device 0.0 on pci2
    mpfe_adcr_shadow_alloc: allocated idx: 0
    pcib3: <Freescale MPC8544 PCI Express host controller> iomem 0xfef09000-0xfef09fff,0xe4000000-0xe7ffffff,0xec100000-0xec1fffff irq 41 on ocpbus0
    pci3: <PCI bus> on pcib3
    pcib4: <PCI-PCI bridge> at device 0.0 on pci3
    pci4: <PCI bus> on pcib4
    mpfe1: <Juniper EX-series Packet Forwarding Engine> mem 0xac000000-0xac0fffff,0xa8000000-0xabffffff irq 18 at device 0.0 on pci4
    mpfe_adcr_shadow_alloc: allocated idx: 1
    pcib5: <Freescale MPC8544 PCI Express host controller> iomem 0xfef0b000-0xfef0bfff,0xe8000000-0xebffffff,0xec200000-0xec2fffff irq 43 on ocpbus0
    pci5: <PCI bus> on pcib5
    pcib6: <PCI-PCI bridge> at device 0.0 on pci5
    pci6: <PCI bus> on pcib6
    mpfe2: <Juniper EX-series Packet Forwarding Engine> mem 0xb4000000-0xb40fffff,0xb0000000-0xb3ffffff irq 19 at device 0.0 on pci6
    mpfe_adcr_shadow_alloc: allocated idx: 2
    idma0: <mp85xxx DMA Controller> iomem 0xfef21000-0xfef21300 irq 36 on ocpbus0
    Initializing product: 100 ..
     Loading Redundant LT driver
    Registered AMT tunnel Encap with UDP Tunnel!
    ###PCB Group initialized for udppcbgroup
    ###PCB Group initialized for tcppcbgroup
    da0 at umass-sim0 bus 0 target 0 lun 0
    da0: <ST ST72682 2.10> Removable Direct Access SCSI-2 device 
    da0: 40.000MB/s transfers
    da0: 1000MB (2048000 512 byte sectors: 64H 32S/T 1000C)
    Kernel thread "wkupdaemon" (pid 44) exited prematurely.
    Trying to mount root from ufs:/dev/da0s2a
    Attaching /packages/junos via /dev/mdctl...
    Mounted junos-ex package on /dev/md0...
    Verified manifest signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified jboot signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified junos-ex-15.1R7-S6.3 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Mounted fips-mode-powerpc package on /dev/md2...
    Verified manifest signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified fips-mode-powerpc-15.1R7-S6.3 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Mounted jdocs-ex package on /dev/md4...
    Verified manifest signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified jdocs-ex-15.1R7-S6.3 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Mounted junos-ex-4200 package on /dev/md6...
    Verified manifest signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified junos-ex-4200-15.1R7-S6.3 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Mounted jweb-ex package on /dev/md8...
    Verified manifest signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified jweb-ex-15.1R7-S6.3 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Executing /packages/mnt/jweb-ex-15.1R7-S6.3/mount.post..
    Error execution /packages/mnt/jweb-ex-15.1R7-S6.3/mount.post: path /var/jail does not exist
    Automatic reboot in progress...
    Media check on da0 on ex platforms
    ** /dev/da0s2a
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 11937 free (25 frags, 1489 blocks, 0.0% fragmentation)
    Soft-updates on / is disabled
    ** Last Mounted on /var
    ** Phase 1 - Check Blocks and Sizes
    ** Phase 2 - Check Pathnames
    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts
    ** Phase 5 - Check Cyl groups
    317 files, 501 used, 61377 free (129 frags, 7656 blocks, 0.2% fragmentation)
    Soft-updates on /var is disabled
    Computing slice and partition sizes for /dev/da0 ...
    checking for core dump...
    savecore: Router rebooting after a normal shutdown...
    No dump exists
    ** Last Mounted on /var/tmp
    ** Phase 1 - Check Blocks and Sizes
    ** Phase 2 - Check Pathnames
    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts
    ** Phase 5 - Check Cyl groups
    10 files, 8467 used, 177347 free (35 frags, 22164 blocks, 0.0% fragmentation)
    Soft-updates on /var/tmp is disabled
    ** Last Mounted on /config
    ** Phase 1 - Check Blocks and Sizes
    ** Phase 2 - Check Pathnames
    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts
    ** Phase 5 - Check Cyl groups
    20 files, 19 used, 31043 free (27 frags, 3877 blocks, 0.1% fragmentation)
    Soft-updates on /config is disabled
    rm: /var/etc/pam.conf: Operation not permitted
    mkdir: /mfs/var/sdb: No such file or directory
    mkdir: /mfs/var/sdb: No such file or directory
    ln: /var/db/dcd.snmp_ix: File exists
    ln: /var/db/snmp_engine.db: File exists
    Creating initial configuration...mgd: Running FIPS Self-tests
    veriexec: no signatures for device. file='/sbin/kats/cannot-exec' fsid=75 fileid=51404 gen=1 uid=0 pid=524
    mgd: FIPS Self-tests Skipped
    mgd: commit complete
    Setting initial options:  debugger_on_panic=NO debugger_on_break=NO.
    Starting optional daemons: .
    Doing initial network setup:
    .
    Initial interface configuration:
    additional daemons:.
    Additional routing options:kern.module_path: /boot//kernel;Loading the CHMIC module
    /boot/modules -> /boot/modules;/modules/peertype;/modules/ifpfe_drv;/modules/platform;/modules;
    Loading the EX-series platform NETPFE module
    
    kld netpfe drv: ifpfed_chmic ifpfed_ml_cmn ifpfed_svcskld platform: ex_ifpfe if_vcpkld peertype: peertype_hcm peertype_pfem peertype_sfi peertycryptosoft0: <software crypto> on nexus0
    pe_slavere grat_arp_on_ifup=YES: net.link.ether.inet.grat_arp_onIPsec: Initialized Security Association Processing.
    _ifup: 1 -> 1
     ipsec kld kats kldkldload: can't load kats.ko: File exists
    .
    Doing additional network setup:.
    Starting final network daemons:.
    starting local daemons:set cores for group access
    .
    Boot media /dev/da0 has dual root support
    ** /dev/da0s1a
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 11457 free (25 frags, 1429 blocks, 0.0% fragmentation)
    setting ldconfig path: /usr/lib /opt/lib
    starting standard daemons: cron.
    Local package initialization:.
    Initialize /var subdirs
    Fri Jan  3 08:11:36 UTC 2020
    
    
    Amnesiac (ttyu0)
    
    
    
    login: Waiting (max 60 seconds) for system process `vnlru' to stop...done
    Waiting (max 60 seconds) for system process `vnlru_mem' to stop...done
    Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
    Waiting (max 60 seconds) for system process `syncer' to stop...
    Syncing disks, vnodes remaining...9 8 3 4 4 3 4 2 2 0 1 1 1 1 0 0 0 0 done
    
    syncing disks... All buffers synced.
    pid 1210 (sfid), uid (0):  Path `/var/tmp/sfid.core.0.gz' failed on initial open test, error = 2
    Uptime: 2m54s
    recorded reboot as normal shutdown
    Rebooting...


  • 2.  RE: EX4200 Boot Loop

    Posted 12-05-2021 12:44
    Hi,

    U can try refresh install the junos in that switch first. Thats is common issue junos corrupt due to power trip.

    Thanks


  • 3.  RE: EX4200 Boot Loop

    Posted 12-06-2021 05:52
    Hi, I have actually already performed that multiple times using USB and FTP the following syntax:
    install --format file:///firmware_package.tgz


  • 4.  RE: EX4200 Boot Loop

    Posted 12-06-2021 14:24
    This is why they have the dual boot partitions. With power fail reboots, often at least one member boots from its backup partition, and that can break the vc stack if you haven't previously after a system update done "req sys snap slice alt" to get the  new OS copied onto the backup partition.

    Or, when you do have a boot problem, you can at the bootloader tell it to reboot from the other partition, or "slice". (But I don't remember the exact command for that, and don't have any 4200s online anymore. But ? at boot loader prompt should point you to it.)

    Steve Bohrer  (hehimhis)
    IT Infrastructure, Emerson College
    617-824-8523