Nexus N9K loader > prompt and boot release software from loader
07.08 2020 | by massimilianoSe vi trovate nella situazione in cui all’accensione di uno switch Nexus N9K (nel mio caso รจ un C93180YC-FX) non […]
Se vi trovate nella situazione in cui all’accensione di uno switch Nexus N9K (nel mio caso รจ un C93180YC-FX) non dovesse partire (status led arancione lampeggiante eppoi tutto spento…) e quando ci colleghiamo in consolle lo switch si presenta cosi:
loader >
per farlo partire basta digitare i seguenti comandi:
loader > boot aci-n9000-dk9.14.2.4i.bin
Security Lock
Booting aci-n9000-dk9.14.2.4i.bin
Trying diskboot
ย Filesystem type is ext2fs, partition type 0x83
Image valid
Image Signature verification was Successful.
Boot Time: 8/5/2020ย 12:35:21
Security Lock
[ย ย ย 0.000000] Reserving ebda at 0x9f000 Len 0x61000
[ย ย ย 5.180351] swapper/0 (1) Ran 4641 msecs in last 5000 msecs
qโvโโvrโโโโpโ{โโโswitching root to tmpfs
switch_root: faiUsage: grep [OPTION]… PATTERN [FILE]…
Try `grep –help’ for more information.
Found card_index=21134
*** Running INXO[ย ย 10.606684] @@@@@@FPGA reg val is: 1564687 @@@@@@@@@
S PE IFC imageย ***
*** Running INXOS PE IFC imageย ***
Skip /var/sysmgr setup to S26 script HW: 1, IFC: 1
*** Running INXOS PE IFC imageย ***
Starting udev
e2fsck 1.42.1 (17-Feb-2012)
/dev/hd-cfg0: recovering journal
Setting free inodes count to 78199 (was 78229)
Setting free blocks count to 298971 (was 299000)
/dev/hd-cfg0: clean, 41/78240 files, 13605/312576 blocks
e2fsck 1.42.1 (17-Feb-2012)
/dev/hd-cfg1: recovering journal
Setting free inodes count to 78201 (was 78229)
Setting free blocks count to 298973 (was 299000)
/dev/hd-cfg1: clean, 39/78240 files, 13603/312576 blocks
e2fsck 1.42.1 (17-Feb-2012)
/dev/hd-pss: recovering journal
Setting free inodes count to 78184 (was 78229)
Setting free blocks count to 298875 (was 299000)
/dev/hd-pss: clean, 56/78240 files, 13701/312576 blocks
e2fsck 1.42.1 (17-Feb-2012)
/dev/hd-bootflash: recovering journal
Setting free inodes count to 774412 (was 781813)
Setting free blocks count to 2121857 (was 3036280)
/dev/hd-bootflash: clean, 7412/781824 files, 1003903/3125760 blocks
e2fsck 1.42.1 (17-Feb-2012)
/dev/hd-logflash: recovering journal
Setting free inodes count to 2580224 (was 2580469)
Setting free blocks count to 9831659 (was 10108024)
/dev/hd-logflash: clean, 256/2580480 files, 483349/10315008 blocks
e2fsck 1.42.1 (17-Feb-2012)
/dev/hd-recovery: recovering journal
/dev/hd-recovery: clean, 11/625856 files, 77552/2500608 blocks
e2fsck 1.42.1 (17-Feb-2012)
/dev/hd-ifc-log: recovering journal
Setting free inodes count to 781760 (was 781813)
Setting free blocks count to 3030809 (was 3036024)
/dev/hd-ifc-log: clean, 64/781824 files, 94695/3125504 blocks
Early mount of filesystems
@@@ Check if sda9 is encrypted
@@@ sda9 is encrypted
@@@ Mounting /dev/sda9 with crypto support
@@@ PRE initialize crypto partition
@@@ Found crypto key. Just open the mapper device
@@@ Open mapper device successfully!!!!
@@@ Mounting map-sda9 to /mnt/ifc/cfg
*** Running INXOS PE IFC imageย ***
Starting Bootlog daemon: bootlogd.
Total disk size (MB)128030
dumpe2fs 1.42.1 (17-Feb-2012)
dumpe2fs 1.42.1 (17-Feb-2012)
Starting mcelog daemon
dumpe2fs 1.42.1 (17-Feb-2012)
dumpe2fs 1.42.1 (17-Feb-2012)
dumpe2fs 1.42.1 (17-Feb-2012)
dumpe2fs 1.42.1 (17-Feb-2012)
dumpe2fs 1.42.1 (17-Feb-2012)
fs_cmd for sda9 is dumpe2fs -h /dev/map-sda9
dumpe2fs 1.42.1 (17-Feb-2012)
mount: /dev/sda5 already mounted or /mnt/cfg/0 busy
mount: according to mtab, /dev/sda5 is already mounted on /mnt/cfg/0
*** Running INXOS PE IFC imageย ***
fs_cmd for sda9 is dumpe2fs -h /dev/map-sda9
Total free space (MB)19206
Total partitions found 9
Start early extraction of system image
mount: /dev/sda4 already mounted or /bootflash busy
mount: according to mtab, /dev/sda4 is already mounted on /bootflash
*** Running INXOS PE IFC imageย ***
Enter system maintenance mode? (y/n) [n]: ### For now falling back to system mode always ###
Checking partition structure
Total disk size (MB)128030
dumpe2fs 1.42.1 (17-Feb-2012)
dumpe2fs 1.42.1 (17-Feb-2012)
dumpe2fs 1.42.1 (17-Feb-2012)
dumpe2fs 1.42.1 (17-Feb-2012)
dumpe2fs 1.42.1 (17-Feb-2012)
dumpe2fs 1.42.1 (17-Feb-2012)
dumpe2fs 1.42.1 (17-Feb-2012)
fs_cmd for sda9 is dumpe2fs -h /dev/map-sda9
dumpe2fs 1.42.1 (17-Feb-2012)
fs_cmd for sda9 is dumpe2fs -h /dev/map-sda9
Total free space (MB)19206
Total partitions found 9
Checking all filesystems………4
[S26check-flash] logflash cleanup finised.
ย done.
mount: /dev/sda5 already mounted or /mnt/cfg/0 busy
mount: according to mtab, /dev/sda5 is already mounted on /mnt/cfg/0
mount: /dev/sda6 already mounted or /mnt/cfg/1 busy
mount: according to mtab, /dev/sda6 is already mounted on /mnt/cfg/1
Setup sysmgr directories HW: 1, IFC:
Creating disk sysmgr directory
Checking Consistency Checker capability.
Card index is 21135
Supporting Consistency Checker.
Mounting ccheck tmpfs
Creating /var/sysmgr/tmp_logs/ccheck
Creating boot config file /mnt/cfg/0/boot/grub/menu.lst.local …
Creating boot config file /mnt/cfg/1/boot/grub/menu.lst.local …
Starting kdump:started up
*** Running INXOS PE IFC imageย ***
Cannot create link over existing -/var/lock-.
Cannot create link over existing -/var/log-.
Cannot create link over existing -/var/run-.
Cannot create link over existing -/var/tmp-.
Cannot create link over existing -/etc/resolv.conf-.
Undefined users:
> bind
Skipping /etc/default/volatiles/98_bind
Undefined users:
> bind
Skipping /etc/default/volatiles/99_bind_chroot
ALSA: Restoring mixer settings…
hostname: getline
hostname: getline
Starting rpcbind daemon…done.
*** Running INXOS PE IFC imageย ***
card index: 21135, is_hw: 1, supervisor: 0, tor: 0, CORTINA1: 0
Simulation is set to 0
MPA_ID not set or -1: 0
chassis_model ;
slot_id ;
card_index 21135;
card_type ;
base mac ;
Main image
1 bin bin_ro boot bootflash bootflash-remote cfg0 cfg1 debug debugfs dev etc extract_start home init isan isanboot lib lib64 log
logflash logflash-remote m[ย ย 36.495175] nvram_platform_tor_init Found IOFPGA device ID for nvram
edia mnt modflash nfsroot nginx nxos proc rd recovery root sbin securedata slot0 sys tmp usb usr usr_ro var vdc_2 vdc_3 vdc_4
volatile Removing /bootflash/policy_mgr_abort_dns /mnt/ifc/log 1 bin bin_ro boot bootflash bootflash-remote cfg0 cfg1 debug debugfs
dev etc extract_start home init isan isanboot lib lib64 log logflash logflash-remote media mnt modflash nfsroot nginx nxos proc rd
recovery root sbin securedata slot0 sys tmp usb usr usr_ro var vdc_2 vdc_3 vdc_4 volatile
Installing KLMs
Installing sse
Installing SSE module … done
Creating the sse device node … done
Setting up pss state
installing kpps
Installing klm_if_index
Installing KLM istack trace
Installing KIC
! 1 bin bin_ro boot bootflash bootflash-remote cfg0 cfg1 data_store debug debugfs dev etc extract_start home init isan isanboot lib
lib64 log logflash logflash-remote media mnt modflash nfsroot nginx nxos proc rd recovery root sbin securedata slot0 sys tmp usb usr
usr_ro var vdc_2 vdc_3 vdc_4 volatile Load non simulation KLMS ! 1 bin bin_ro boot bootflash bootflash-remote cfg0 cfg1 data_store
debug debugfs dev etc extract_start home init isan isanboot lib lib64[ย ย 37.783484] imghdr (1549) Ran 5417 msecs in last 5424 msecs
ย log logflash logflash-remote media mnt modflash nfsroot nginx nxos proc rd recovery root sbin securedata slot0 sys tmp usb usr
usr_ro var vdc_2 vdc_3 vdc_4 volatile
Before proceeding further scan for all fpgas
*** Running INXOS PE IFC imageย ***
Installing nvram
Installing emmc
blogger: nothing to do.
Check/Create MMC parition
[ย ย 45.972986] gzip (2027) Ran 4968 msecs in last 5004 msecs
[ย ย 46.808355] imghdr (2029) Ran 5829 msecs in last 5836 msecs
Installing obfl emmc
Installing ins_gpl
Installing cctrl
Installing sprom[ย ย 48.235047] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
Installing zc
Run the act2 sprom utility for tor
[ย ย 51.784837] gzip (2027) Ran 5547 msecs in last 5748 msecs
[ย ย 52.256882] imghdr (2029) Ran 5377 msecs in last 5384 msecs
SPROM setup successfully
Installing pfmcmn
Installing igb on TOR HW
Installing NF modules
net.ipv4.ip_nonlocal_bind = 1
net.core.wmem_max = 655355
net.core.rmem_max = 4194304
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.all.secure_redirects = 0
net.ipv4.conf.default.secure_redirects = 0
Chain PREROUTING (policy ACCEPT)
targetย ย ย ย prot opt sourceย ย ย ย ย ย ย ย ย ย ย ย ย ย destination
Chain INPUT (policy ACCEPT)
targetย ย ย ย prot opt sourceย ย ย ย ย ย ย ย ย ย ย ย ย ย destination
prefixย ย ย ย allย ย ย ย ย anywhereย ย ย ย ย ย ย ย ย ย ย ย anywhereย ย ย ย ย ย ย ย ย ย ย vrfย 2
Chain FORWARD (policy ACCEPT)
targetย ย ย ย prot opt sourceย ย ย ย ย ย ย ย ย ย ย ย ย ย destination
Chain OUTPUT (policy ACCEPT)
targetย ย ย ย prot opt sourceย ย ย ย ย ย ย ย ย ย ย ย ย ย destination
Chain POSTROUTING (policy ACCEPT)
targetย ย ย ย prot opt sourceย ย ย ย ย ย ย ย ย ย ย ย ย ย destination
IP: 10.177.12.242 MASK:255.255.0.0 GW:10.177.0.1 UP/DOWN:
eth0
Program the interface(eth0)/route
6
# This file is automatically generated don’t change it
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
ย ย ย ย ย address 10.177.12.242
ย ย ย ย ย netmask 255.255.0.0
ย ย ย ย ย gateway 10.177.0.1
ifdown: interface eth0 not configured
Creating CGROUPS SS, BFD, IFC
cat: /sys.fs.cgroup/SS/memory.move_charge_at_immigrate: No such file or directory
Loading system software
/etc/rcS.d/S98microcode_ctl: microcode device /dev/cpu/microcode doesn’t exist?
*** Running INXOS PE IFC imageย ***
/etc/rcS.d/S98mount_obfl_supdc3: line 153: [: -o: integer expression expected
eMMC FLASH Device found…
e2fsck 1.42.1 (17-Feb-2012)
/dev/mmcblk0p2: recovering journal
[ย ย 57.737413] imghdr (2029) Ran 5408 msecs in last 5416 msecs
[ย ย 57.833422] gzip (2027) Ran 4633 msecs in last 5984 msecs
/dev/mmcblk0p2 has gone 198 days without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
..done Wed Aug 5 12:36:21 UTC 2020
*** uncpmpressย done ***
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (498821, counted=498817).
Fix? yes
/dev/mmcblk0p2: ***** FILE SYSTEM WAS MODIFIED *****
/dev/mmcblk0p2: 26/131072 files (30.8% non-contiguous), 25471/524288 blocks
nohup: redirecting stderr to stdout
*** Running INXOS PE IFC imageย ***
Starting system_stats daemon
Starting atd: OK
*** Running INXOS PE IFC imageย ***
System image extracted and uncompressed in background
In /etc/rcS.d/S99load-isan System image extractedย 60.16
*** Loading system image from bootflash ***
In /etc/rcS.d/S99load-isan System image extraction done 60.17
Load plugins that defined in image conf: /isan/plugin_img/img.conf
Loading plugin 0: core_plugin…
[ย ย 63.737992] imghdr (2029) Ran 5928 msecs in last 5936 msecs
[ย ย 65.822195] gzip (2869) Ran 5579 msecs in last 5584 msecs
[ย ย 69.738572] imghdr (2029) Ran 5928 msecs in last 5936 msecs
[ย ย 71.111035] gzip (2869) Ran 5219 msecs in last 5224 msecs
[ย ย 75.739153] imghdr (2029) Ran 5928 msecs in last 5936 msecs
[ย ย 76.247201] gzip (2869) Ran 5064 msecs in last 5072 msecs
[ย ย 81.739734] imghdr (2029) Ran 5928 msecs in last 5936 msecs
[ย ย 81.803740] gzip (2869) Ran 5487 msecs in last 5488 msecs
[ย ย 86.800226] gzip (2869) Ran 4985 msecs in last 5000 msecs
[ย ย 87.740313] imghdr (2029) Ran 5863 msecs in last 5872 msecs
[ย ย 92.276753] gzip (2869) Ran 5406 msecs in last 5412 msecs
*****************************************
Digital signature verification succesful for system image: “auto-s”
*****************************************
handle_platform_specific_conf_files: Pruning package specific files
card index from cmdline 21135
*** Running INXOS PE IFC imageย ***
card index from cmdline 21135
Pruning out MOCK specific files
Keep TOR/SDK. Remove SPINE,C1,ML specific conf files
Remove SIM specific conf files
Removing Dcimgr conf and cli file
Drop disk caches once plugins are loaded
[ย ย 97.725287] imghdr (4504) Ran 5106 msecs in last 5116 msecs
chmod: cannot access `/usr/bin/ping6′: No such file or directory
card_index 21135;
[ย 116.815129] gzip (5772) Ran 4953 msecs in last 5136 msecs
[ย 122.815707] gzip (5772) Ran 5929 msecs in last 5936 msecs
[ย 136.805059] gzip (6865) Ran 5123 msecs in last 5304 msecs
[ย 142.805639] gzip (6865) Ran 5930 msecs in last 5936 msecs
/lc/isan/bin/inst_cmn: line 135: /lc/isan/bin/card_set_seq: No such file or directory
/lc/isan/bin/inst_cmn: line 135: /lc/isan/bin/card_set_seq: No such file or directory
Now copying the hom emu.out
Port profile not found, catalog unchanged
[ย 164.654991] gzip (9289) Ran 4617 msecs in last 5032 msecs
Now copying the hom emu.out
Port profile not found, catalog unchanged
[ย 164.654991] gzip (9289) Ran 4617 msecs in last 5032 msecs
Unzipping pytz (in /usr/lib/python2.7/site-packages/pytz-2014.10-py2.7.egg)
INIT: Entering runlevel: 3
*** Running INXOS PE IFC imageย ***
======S99setup_lxc setup lxc for CentOS7 rootfs======
Starting system message bus: dbus.
*** Running INXOS PE IFC imageย ***
ย Restoring saved ssh keys
Starting OpenBSD Secure Shell server: sshd external
Fips mode enable 0
Starting OpenBSD Secure Shell server: sshd local
Fips mode enable 0
/etc/ssh/sshd_config_local line 98: Deprecated option UsePrivilegeSeparation
done.
Starting irqbalance: done
creating NFS state directory: done
Setting nlm_tcpport to $NLM_TCPPORTdone
starting 8 nfsd kernel threads: done
starting mountd: done
starting statd: done
Starting crond: OK
Stopping Bootlog daemon: bootlogd.
*** Running INXOS PE IFC imageย ***
Starting crond: OK
Stopping crond: OK
Skip updating lxc aci script
Starting libvirtd
crond stopped OK before restart
Starting crond: OK
Sending test message to kernel
Sending filter to KPM
Sending message to kernel to register the pid
Launching getty with console speed:9600
*** Running [ย 184.710102] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
[ย 184.863991] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
[ย 184.958229] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
[ย 185.076840] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
User Access Verification
(none) login: *** Running INXO[ย 185.348727] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
S PE IFC imageย ***
[ย 185.478509] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
*** Running INXO[ย 185.589216] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
S PE IFC imageย ***
Installing FCOE [ย 185.691964] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
module using inb[ย 185.790346] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
andย vegasย … [ย 185.863852] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
done
Installing FC2 module usin[ย 185.973729] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
g inband kpm_inb[ย 186.053506] sdwrap_event_hist_dbg_init_helper: Using GFP_ATOMIC for kmalloc!
ย vegas 9 … done
[ย 186.179020] sdwrap_dbg_mod_init: Using GFP_ATOMIC for kmalloc!
[ย 186.248959] sdwrap_event_hist_dbg_init_helper: Using GFP_ATOMIC for kmalloc!
*** Running INXOS PE IFC imageย ***
Augย 5 12:38:32 %CRDCFG-3-CRDCFG_ERR crdcfg_find_swcardid: own card previously not found. Searching.
Certificate verification passed
[ย 212.701221] nvram_klm overwrote prev_rr[3]=140 prev_rr_str[3]=Power Cycle to nvram[ย 212.828440] obfl_modify_last_rr:obfl_klm writing reset reason 140, Power Cycle
[ย 212.924477] obfl_modify_last_rr : return value 88
Current SSD: TYPE=Micron_1100_MTFDDAV256TBN FW_VER=M0MUCW1
SSD firmware update is not required.
[ย 323.936565] Hal (26973) Ran 5456 msecs in last 5852 msecs
[ย 330.166545] Hal (26973) Ran 6137 msecs in last 6164 msecs
User Access Verification
(none) login:ย
Password: