Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://kb.juniper.net/InfoCenter/index?page=content&id=KB30944&act=login




Issue at boot time

can't load '/kernel' can't load '/kernel.old'

Press any key or space bar to enter into the loader prompt. < After pressing space bar or any key you would be directed to the below prompt >

Loader >

SRX300 upgrade with USB:

1- format: FAT32

2- copy the .tgz file

3- install it into the USB port of the SRX300

4- reboot the SRX



Code Block
titlelogs from reboot
collapsetrue
Resetting...

SPI stage 1 bootloader (Build time: May  3 2016 - 23:48:30)
early_board_init: Board type: SRX_300

U-Boot 2013.07-JNPR-3.1 (Build time: May 03 2016 - 23:48:31)

SRX_300 board revision major:1, minor:8, serial #: CV3216AF0758
OCTEON CN7020-AAP pass 1.2, Core clock: 1200 MHz, IO clock: 600 MHz, DDR clock: 667 MHz (1334 Mhz DDR)
Base DRAM address used by u-boot: 0x10fc00000, size: 0x400000
DRAM: 4 GiB
Clearing DRAM...... done
Using default environment

SF: Detected MX25L6405D with page size 256 Bytes, erase size 64 KiB, total 8 MiB
Found valid SPI bootloader at offset: 0x90000, size: 1481840 bytes


U-Boot 2013.07-JNPR-3.1 (Build time: May 03 2016 - 23:50:19)

Using DRAM size from environment: 4096 MBytes
checkboard siege
SATA0: not available
SATA1: not available
SATA BIST STATUS = 0x0
SRX_300 board revision major:1, minor:8, serial #: CV3216AF0758
OCTEON CN7020-AAP pass 1.2, Core clock: 1200 MHz, IO clock: 600 MHz, DDR clock: 667 MHz (1334 Mhz DDR)
Base DRAM address used by u-boot: 0x10f000000, size: 0x1000000
DRAM: 4 GiB
Clearing DRAM...... done
SF: Detected MX25L6405D with page size 256 Bytes, erase size 64 KiB, total 8 MiB
PCIe: Port 0 link active, 1 lanes, speed gen2
PCIe: Link timeout on port 1, probably the slot is empty
PCIe: Port 2 not in PCIe mode, skipping
Net:   octeth0
Interface 0 has 1 ports (SGMII)
Type the command 'usb start' to scan for USB storage devices.

Boot Media: eUSB usb
Found TPM SLB9660 TT 1.2 by Infineon
TPM initialized
Hit any key to stop autoboot:  0
SF: Detected MX25L6405D with page size 256 Bytes, erase size 64 KiB, total 8 MiB
SF: 1048576 bytes @ 0x200000 Read: OK
## Starting application at 0x8f0000a0 ...
Consoles: U-Boot console
Found compatible API, ver. 3.1
USB1:
Starting the controller
USB XHCI 1.00
scanning bus 1 for devices... 2 USB Device(s) found
USB0:
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 2 Storage Device(s) found

FreeBSD/MIPS U-Boot bootstrap loader, Revision 2.10
(slt-builder@svl-junos-pool87.juniper.net, Sun Mar  4 10:30:52 PST 2018)
Memory: 4096MB
SF: Detected MX25L6405D with page size 256 Bytes, erase size 64 KiB, total 8 MiB
[8]Booting from eUSB slice 2
/boot/init.4th loaded.
Loading /boot/defaults/loader.conf
/kernel data=0x123914c+0x1bf3cc syms=[0x4+0xb83f0+0x4+0x11a2f4]


Hit [Enter] to boot immediately, or space bar for command prompt.
Booting [/kernel]...
Kernel entry at 0x801000c0 ...
init regular console
Primary ICache: Sets 16 Size 128 Asso 39
Primary DCache: Sets 8 Size 128 Asso 32
Secondary DCache: Sets 1024 Size 128 Asso 4
CIU_FUSE 0x3/0x3
GDB: debug ports: uart
GDB: current port: uart
KDB: debugger backends: ddb gdb
KDB: current backend: ddb
kld_map_v: 0x8ff80000, kld_map_p: 0x0
Running in PARTITIONED TLB MODE
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 19.4R2.6 #0: 2020-04-29 16:22:28 UTC
    builder@qnc-jre-emake1t:/volume/build/junos/19.4/release/19.4R2.6/obj/octeon/junos/bsd/kernels/JSRXNLE/kernel
can't re-use a leaf (perf_mon)!
can't re-use a leaf (threshold)!
can't re-use a leaf (debug)!
JUNOS 19.4R2.6 #0: 2020-04-29 16:22:28 UTC
    builder@qnc-jre-emake1t:/volume/build/junos/19.4/release/19.4R2.6/obj/octeon/junos/bsd/kernels/JSRXNLE/kernel
real memory  = 4294967296 (4194304K bytes)
avail memory = 2303053824 (2196MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
Security policy loaded: JUNOS MAC/runasnonroot (mac_runasnonroot)
Security policy loaded: Junos MAC/veriexec (mac_veriexec)
Security policy loaded: JUNOS MAC/pcap (mac_pcap)
MAC/veriexec fingerprint module loaded: SHA1
MAC/veriexec fingerprint module loaded: SHA256
netisr_init: forcing maxthreads from 4 to 2
random: <Software, Yarrow> initialized
cpu0 on motherboard
: CAVIUM's OCTEON 70XX/71XX CPU Rev. 0.2 with no FPU implemented
        L1 Cache: I size 78kb(128 line), D size 32kb(128 line), thirty two way.
        L2 Cache: Size 512kb, 4 way
obio0 on motherboard
uart0: <Octeon-16550 channel 0> on obio0
uart0: console (9600,n,8,1)
twsi0 on obio0
set clock 0x49
xhci0: <Cavium Octeon 7xxx xHCI Host Driver> on obio0
usb0: <USB bus for xHCI Controller> on xhci0
usb0: USB revision 3.0
uhub0: vendor 0x0000 XHCI root hub, class 9/0, rev 3.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
xhci1: <Cavium Octeon 7xxx xHCI Host Driver> on obio0
usb1: <USB bus for xHCI Controller> on xhci1
usb1: USB revision 3.0
uhub1: vendor 0x0000 XHCI root hub, class 9/0, rev 3.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
cpld0 on obio0
pcib0: <Cavium on-chip PCIe HOST bridge> on obio0
Disabling Octeon big bar support
pcib0: Initialized controller
pci0: <PCI bus> on pcib0
pci0: <network, ethernet> at device 0.0 (no driver attached)
pci0: <network, ethernet> at device 0.1 (no driver attached)
gblmem0 on obio0
octpkt0: <Octeon RGMII> on obio0
cfi0: <Macronix MX25L64 - 8MB> on obio0
cfi1: <Macronix MX25L64 - 8MB> on obio0
umass0: ATP Electronics ATP CG eUSB, rev 2.00/11.00, addr 2
umass1: Kingston DataTraveler 2.0, rev 2.00/1.10, addr 2
Timecounter "mips" frequency 1200000000 Hz quality 0
da1 at umass-sim1 bus 1 target 0 lun 0
da1: <Kingston DataTraveler 2.0 PMAP> Removable Direct Access SCSI-6 device
da1: 40.000MB/s transfers
da1: 14784MB (30277632 512 byte sectors: 255H 63S/T 1884C)
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <ATP ATP CG eUSB 1100> Fixed Direct Access SCSI-4 device
da0: 40.000MB/s transfers
da0: 7672MB (15712256 512 byte sectors: 255H 63S/T 978C)
random: unblocking device.
Kernel thread "wkupdaemon" (pid 64) exited prematurely.
Trying to mount root from ufs:/dev/da0s2a
WARNING: / was not properly dismounted
MFSINIT: Initialising MFSROOT
WARNING: / was not properly dismounted
Process-1 beginning MFSROOT initialization...
Creating MFSROOT...
/dev/md0: 20.0MB (40956 sectors) block size 16384, fragment size 2048
        using 4 cylinder groups of 5.00MB, 320 blks, 640 inodes.
super-block backups (for fsck -b #) at:
 32, 10272, 20512, 30752
Populating MFSROOT...
Creating symlinks...
Setting up mounts...
Continuing boot from MFSROOT...
Attaching /cf/packages/junos via /dev/mdctl...
Mounted junos package on /dev/md1...
J
mount: /dev/bo0s3f : No such file or directory
fsck: cannot open `/dev/bo0s3f': No such file or directory
mount: /dev/bo0s3f : No such file or directory
chflags: /var/packages/*: No such file or directory
umount: /dev/bo0s3f: statfs: No such file or directory
umount: /dev/bo0s3f: unknown file system
Automatic reboot in progress...
Verified jboot signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Verified junos signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Verified junos-19.4R2.6 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Checking integrity of BSD labels:
  s1: Passed
  s2: Passed
  s3: Failed
  s3: Performing recovery
  s3: Recovered
Time and ticks drifted too much, resetting synchronization...
Ignoring watchdog timeout during boot/reboot
  s4: Passed
** /dev/bo0s3e
FILE SYSTEM CLEAN; SKIPPING CHECKS
clean, 94774 free (22 frags, 11844 blocks, 0.0% fragmentation)
** /dev/bo0s3f
FILE SYSTEM CLEAN; SKIPPING CHECKS
clean, 1109211 free (27 frags, 138648 blocks, 0.0% fragmentation)
cp: /var/db: File exists
ln: /cf/var/etc/master.passwd: No such file or directory
Checking integrity of licenses:
  EmergencyJUNOS231322371.lic: Failed
  EmergencyJUNOS231322371.lic: Performing recovery
  EmergencyJUNOS231322371.lic: Recovered
  EmergencyJUNOS288651704.lic: Failed
  EmergencyJUNOS288651704.lic: Performing recovery
  EmergencyJUNOS288651704.lic: Recovered
  EmergencyJUNOS358968019.lic: Failed
  EmergencyJUNOS358968019.lic: Performing recovery
  EmergencyJUNOS358968019.lic: Recovered
  EmergencyJUNOS445570461.lic: Failed
  EmergencyJUNOS445570461.lic: Performing recovery
  EmergencyJUNOS445570461.lic: Recovered
  EmergencyJUNOS619130026.lic: Failed
  EmergencyJUNOS619130026.lic: Performing recovery
  EmergencyJUNOS619130026.lic: Recovered
  EmergencyJUNOS749146727.lic: Failed
  EmergencyJUNOS749146727.lic: Performing recovery
  EmergencyJUNOS749146727.lic: Recovered
  EmergencyJUNOS767881280.lic: Failed
  EmergencyJUNOS767881280.lic: Performing recovery
  EmergencyJUNOS767881280.lic: Recovered
  EmergencyJUNOS868056749.lic: Failed
  EmergencyJUNOS868056749.lic: Performing recovery
  EmergencyJUNOS868056749.lic: Recovered
  JUNOS987432.lic: Failed
  JUNOS987432.lic: Performing recovery
  JUNOS987432.lic: Recovered
  JUNOS987433.lic: Failed
  JUNOS987433.lic: Performing recovery
  JUNOS987433.lic: Recovered
  JUNOS987434.lic: Failed
  JUNOS987434.lic: Performing recovery
  JUNOS987434.lic: Recovered
  JUNOS987435.lic: Failed
  JUNOS987435.lic: Performing recovery
  JUNOS987435.lic: Recovered
Checking integrity of configuration:
  rescue.conf.gz: Failed
  rescue.conf.gz: Performing recovery
  rescue.conf.gz: Recovered
Ignoring watchdog timeout during boot/reboot
Ignoring watchdog timeout during boot/reboot

LPC bus driver
lpcbus0 on cpld0
tpm0: <Trusted Platform Module> on lpcbus0
tpm: IFX SLB 9660 TT 1.2 rev 0x10
Ignoring watchdog timeout during boot/reboot
Loading configuration ...
mgd: error: Cannot open configuration file: /config/juniper.conf
mgd: warning: loading configuration from /config/rescue.conf.gz
mgd: Running FIPS Self-tests
veriexec: no fingerprint for file='/sbin/kats/cannot-exec' fsid=72 fileid=4999372 gen=1 uid=0 pid=1186
mgd: FIPS Self-tests Passed
mkdir: /etc/ssh: No such file or directory
<output>Cannot create /etc/ssh</output>
mgd: commit complete
Setup /jail/var/cache dir only for srx300
[: 0: unexpected operator
Setting initial options: .
Starting optional daemons: mkdir: /opt: No such file or directory
mkdir: /opt: No such file or directory
ln: /opt/telemetry/na-grpcd/na-ocpaths.json: No such file or directory
ln: /opt/telemetry/na-grpcd/na-agent.json: No such file or directory
ln: /opt/telemetry/na-grpcd/na-grpc-server.ini: No such file or directory
ln: /opt/telemetry/na-mqttd/na-mqtt.conf: No such file or directory
 usbd.
Doing initial network setup:
.
Initial interface configuration:
additional daemons: eventd.
ls: /tmp/mnt_usb_dev.1825: No such file or directory
umount: /tmp/mnt_usb_dev.1825: statfs: No such file or directory
umount: /tmp/mnt_usb_dev.1825: unknown file system
mkdir: /etc/ssh: No such file or directory
Cannot create /etc/ssh
Enhanced arp scale is disabled
Additional routing options:kern.module_path: /boot//kernel;/boot/modules -> /boot/modules;/cryptosoft0: <software crypto> on motherboard
IPsec: Initialized Security Association Processing.
modules/ifpfdb kld ipsec kld kats kldkldload: can't load kats.ko: File exists
.
Doing additional network setup:.
Starting final network daemons:.
setting ldconfig path: /usr/lib /opt/lib
ldconfig: warning: /opt/lib: No such file or directory
starting standard daemons: cron.
Initial rc.mips initialization:.
Local package initialization:.
starting local daemons:set cores for group access
.
kern.securelevel: -1 -> 1
Creating JAIL MFS partition...
JAIL MFS partition created
Boot media /dev/da0 has dual root support
WARNING: JUNOS versions running on dual partitions are not same
** /dev/da0s1a
FILE SYSTEM CLEAN; SKIPPING CHECKS
clean, 1075701 free (77 frags, 134453 blocks, 0.0% fragmentation)
creating dir /var/db/appid/bins
creating dir /var/db/appid/sec-download
 chassis.ko loaded Loading JUNOS chassis module
chassis_init_hw_chassis_startup_time: chassis startup time 0.000000
root@%   6 09:43:49 UTC 2020
root@%
root@% c (ttyu0)
root@%
root@% root
root@%
root@% OS 19.4R2.6 built 2020-04-29 16:22:28 UTC
root@%

root@%
root@% cli
root> show system snapshot media
                                 ^
syntax error, expecting <data>.

root> show system snapshot media ?
Possible completions:
  internal             Show snapshot information from internal flash
  usb                  Show snapshot information from device connected to USB port
root> show system snapshot media internal
Information for snapshot on       internal (/dev/da0s1a) (backup)
Creation date: Mar 28 12:38:51 2020
JUNOS version on snapshot:
  junos  : 19.3R2.9
Information for snapshot on       internal (/dev/da0s2a) (primary)
Creation date: Jun 6 09:38:10 2020