Unable to Load Nexus 9K Image
Posted: Wed Dec 20, 2017 7:49 pm
I am running VMware player on a laptop with 12GB of RAM and an i5 proc.
I was able to get the 9K image loaded and can Telnet to it, but I am going straight to loader. When I attempt to manually boot the image it fails. Below is an output of what I get when I attempt this, any ideas on what is wrong?
loader > boot nxos.7.0.3.I5.1.bin
Booting nxos.7.0.3.I5.1.bin
Trying diskboot
dev_str: bootflash: partition_str: 3 filename_str /nxos.7.0.3.I5.1.bin
command = root (hd0,3)
Filesystem type is ext2fs, partition type 0x83
Formed cmdline console=ttyS0,115200n8nn loader_ver="5.00.9" quiet debug
Formed cmdline console=ttyS0,115200n8nn loader_ver="5.00.9" quiet debug ksimg=nxos.7.0.3.I5.1.bin card_index=21099 dummy_sprom
Booting kickstart image: bootflash::3:/nxos.7.0.3.I5.1.bin....
Number of devices detected by BIOS is 1
NBI header
magic: 1b031336, len: 54, location: 94400000 (bx=0, ds=9440), exec addr: 92800000 16 16
segment header
length: 4, vendor: 11 flags: 0, loadaddr: 94000, image len: 200, memory length: 400
Reading data for kernel param. Len 512
Cmd line: console=ttyS0,115200n8nn loader_ver="5.00.9" quiet debug ksimg=nxos.7.0.3.I5.1.bin card_index=21099 dummy_sprom rw root=/dev/ram0 rdbase=0x8000000 ip=off ramdisk_size=131072 panic=5 quiet coredump_filter=0xb mtdparts=physmap-flash.0:256k(RR_LOG),512k(mtdoops),16M(plog),16M(trace) intel_idle.max_cstate=2 pcie_ports=native nopat slub_debug=- cpuidle.off=1
segment header
length: 4, vendor: 14 flags: 0, loadaddr: 100000, image len: 511a00, memory length: 800000
Loading kernel length 5315072
file_size 5315072 real_size 4456 prot_kernel_size 5299200 setupsects 30
x86_64/loader/linux.c:102: real_size = 2000, prot_size = 50e000, mmap_size = 720
x86_64/loader/linux.c:133: physical_start = 1000, physical_end = 9f000
x86_64/loader/linux.c:146: trying to allocate 2 pages at 9d000
Trying to allocate 1294 pages for VMLINUZ
Allocated prot_mode_mem 0xbd2e2000 real_mode_mem 0x0009d000
[Linux-EFI, setup=0x1168, size=0x50dc00]
segment header
length: 14, vendor: 15 flags: 0, loadaddr: a12000, image len: 2cd4a000, memory length: 10000000
Loading intird 752132096
x86_64/loader/linux.c:573: initrd_pages: 183626
x86_64/loader/linux.c:584: addr_min: 0x0 addr_max: 0x7ffff000 mmap_size: 1872
x86_64/loader/linux.c:603: desc = {type=7,ps=0x1000,vs=0x0,sz=156,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0x100000,vs=0x0,sz=1792,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0x808000,vs=0x0,sz=8,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0x818000,vs=0x0,sz=8,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0x1300000,vs=0x0,sz=518141,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0x80000000,vs=0x0,sz=245054,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0xbbd5e000,vs=0x0,sz=5508,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0xbd86d000,vs=0x0,sz=121,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0xbf8d5000,vs=0x0,sz=2,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0xbfd70000,vs=0x0,sz=16,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0x100000000,vs=0x0,sz=262144,attr=15}
Loading [0M/717M]
**removed to shorten post**
Loading [717M/717M]
[Initrd, addr=0x52db3000, size=0x2cd4a000]
segment header
length: 4, vendor: 16 flags: 4, loadaddr: 2500000, image len: 800, memory length: 800
Reading data for vendor seg. Length 2048
Leaving grub land
image length read 757450240
image hash: de200cea c02ac831 486c33bd 6fa50242
[ 5.146011] [1513797086] Error: Could not find mtd devices
INIT: version 2.88 booting
Installing ata_piix module ... done.
Unsquashing rootfs ...
Installing isan procfs ... done.
Installing SSE module with card index 21099 ... done.
Creating SSE device node 248 ... done.
Loading I2C driver ... done.
Installing CCTRL driver for card_type 29 on a VM without NEED_GEM ... done.
16.94: Interrupt throttling disabled. No cctrl irq detected.
Loading IGB driver ... done.
Not Micron SSD...
Checking all filesystems.Warning: switch is starting up with default configuration
Installing SPROM driver ... IS_N9K done.
IS_SUP:; IS_SC:; IS_FC:; IS_LC:; IS_TOR:y done.
Installing pfmsvcs module with SPROM card index 21099 ... done.
Installing nvram module ... done.
Installing if_index module with port mode 6 ... done.
Installing RNI lcnd ... done
Installing LC netdev ... done
Installing psdev module ... done.
Installing veobc module ... done.
Inserting OBFL module ... done.
Making OBFL character devices
mounting plog for N9k!
Mounting OBFL pstore
Trying to mount cdrom...
Starting OpenBSD Secure Shell server: sshd ... done.
tune2fs 1.42.1 (17-Feb-2012)
Setting reserved blocks percentage to 0% (0 blocks)
Starting portmap daemon...
creating NFS state directory: done
starting 8 nfsd kernel threads: done
starting mountd: done
starting statd: done
Saving image for img-sync ...
Loading system software
Installing local RPMS
Patch Repository Setup completed successfully
Uncompressing system image: Wed Dec 20 19:11:56 UTC 2017
blogger: nothing to do.
Creating /dev/mcelog
Starting mcelog daemon
Overwriting dme stub lib
dme asap backend not explicitly enabled in platform.inf, removing it...
File /etc/shared/localtime does not exist.
INIT: Entering runlevel: 3
Running S93thirdparty-script...
Populating conf files for hybrid sysmgr ...
Starting hybrid sysmgr ...
All gzip files are: /var/sysmgr/core_restore/0x101_policyelem_core.25262.gz
Unzipping /var/sysmgr/core_restore/0x101_policyelem_core.25262.gz
Moving /var/sysmgr/core_restore/0x101_policyelem_core.25262 to /var/sysmgr/tmp_logs
Moving /var/sysmgr/core_restore/0x101_policyelem_log.25262 to /var/sysmgr/tmp_logs
inserting /isan/lib/modules/klm_cisco_nb.o ... done
Dec 20 19:12:18 %SYSMGR-2-LAST_CORE_BASIC_TRACE : PID 23683 with message sharedmemmgr(non-sysmgr) crashed, core will be saved .
Dec 20 19:12:26 %SYSMGR-3-CORE_OP_FAILED Core operation failed: send_msg_to_ccdmon: Could not send to CORE_DMON return -1 errno 32
Dec 20 19:12:37 %SYSMGR-2-HAP_FAILURE_SUP_RESET Service "policyelem" in vdc 1 has had a hap failure
[ 80.614883] [1513797162] Restarting system.
[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[0m[35m[40m[2J[01;01H[=3h[2J[01;01H[0m[37m[40m[2J[01;01H[=3h[2J[01;01H/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(1,800,8000,3ff9057e-e931-40a4-4584-699cecf01024)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(2,8800,5147a,2e0a36f7-721d-4179-309f-e94b9e859790)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(3,5a000,a28f4,22a3a5ea-48a0-4521-f589-145002c2a32e)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(4,fd000,355712,662fab65-a470-4a5d-70b5-0d1f79ca70ed)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(5,452800,a28f4,5a07289e-1cb1-48b7-a687-d24fe98513b4)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(6,4f5800,a28f4,3391772f-460b-4a4b-5f8d-d122b01ec587)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(7,598800,261998,1ce2ee04-a294-47cf-7280-fc25766bcb63)/EndEntire
/ACPI(a0341d0,0)/PCI(0,1)/ACPI(60441d0,0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,1)/ACPI(60441d0,1)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(1,800,8000,3ff9057e-e931-40a4-4584-699cecf01024)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(2,8800,5147a,2e0a36f7-721d-4179-309f-e94b9e859790)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(3,5a000,a28f4,22a3a5ea-48a0-4521-f589-145002c2a32e)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(4,fd000,355712,662fab65-a470-4a5d-70b5-0d1f79ca70ed)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(5,452800,a28f4,5a07289e-1cb1-48b7-a687-d24fe98513b4)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(6,4f5800,a28f4,3391772f-460b-4a4b-5f8d-d122b01ec587)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(7,598800,261998,1ce2ee04-a294-47cf-7280-fc25766bcb63)/EndEntire
/ACPI(a0341d0,0)/PCI(0,1)/ACPI(60441d0,0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,1)/ACPI(60441d0,1)/EndEntire
Total memory is 0x9f000
Total memory is 0x800000
Sysconf checksum failed. Using default values
WARNING: No BIOS Info found
Sysconf checksum failed. Using default values
serial --speed=115200 --word=8 --stop=1 --parity=no
success
Sysconf checksum failed. Using default values
Strlen bootflash: is 10
Device bootflash: is Drive 0x80 Partition 3
ATE0Q1&D2&C1S0=1
Trying to read config file /boot/grub/menu.lst.local from (hd0,4)
Filesystem type is ext2fs, partition type 0x83
Number of devices detected by BIOS is 1
Failed. Trying to read config file from (hd0,5)
Filesystem type is ext2fs, partition type 0x83
Number of devices detected by BIOS is 1
Failed.
Loader Version 5.00.9
Entering interactive mode
loader >
I was able to get the 9K image loaded and can Telnet to it, but I am going straight to loader. When I attempt to manually boot the image it fails. Below is an output of what I get when I attempt this, any ideas on what is wrong?
loader > boot nxos.7.0.3.I5.1.bin
Booting nxos.7.0.3.I5.1.bin
Trying diskboot
dev_str: bootflash: partition_str: 3 filename_str /nxos.7.0.3.I5.1.bin
command = root (hd0,3)
Filesystem type is ext2fs, partition type 0x83
Formed cmdline console=ttyS0,115200n8nn loader_ver="5.00.9" quiet debug
Formed cmdline console=ttyS0,115200n8nn loader_ver="5.00.9" quiet debug ksimg=nxos.7.0.3.I5.1.bin card_index=21099 dummy_sprom
Booting kickstart image: bootflash::3:/nxos.7.0.3.I5.1.bin....
Number of devices detected by BIOS is 1
NBI header
magic: 1b031336, len: 54, location: 94400000 (bx=0, ds=9440), exec addr: 92800000 16 16
segment header
length: 4, vendor: 11 flags: 0, loadaddr: 94000, image len: 200, memory length: 400
Reading data for kernel param. Len 512
Cmd line: console=ttyS0,115200n8nn loader_ver="5.00.9" quiet debug ksimg=nxos.7.0.3.I5.1.bin card_index=21099 dummy_sprom rw root=/dev/ram0 rdbase=0x8000000 ip=off ramdisk_size=131072 panic=5 quiet coredump_filter=0xb mtdparts=physmap-flash.0:256k(RR_LOG),512k(mtdoops),16M(plog),16M(trace) intel_idle.max_cstate=2 pcie_ports=native nopat slub_debug=- cpuidle.off=1
segment header
length: 4, vendor: 14 flags: 0, loadaddr: 100000, image len: 511a00, memory length: 800000
Loading kernel length 5315072
file_size 5315072 real_size 4456 prot_kernel_size 5299200 setupsects 30
x86_64/loader/linux.c:102: real_size = 2000, prot_size = 50e000, mmap_size = 720
x86_64/loader/linux.c:133: physical_start = 1000, physical_end = 9f000
x86_64/loader/linux.c:146: trying to allocate 2 pages at 9d000
Trying to allocate 1294 pages for VMLINUZ
Allocated prot_mode_mem 0xbd2e2000 real_mode_mem 0x0009d000
[Linux-EFI, setup=0x1168, size=0x50dc00]
segment header
length: 14, vendor: 15 flags: 0, loadaddr: a12000, image len: 2cd4a000, memory length: 10000000
Loading intird 752132096
x86_64/loader/linux.c:573: initrd_pages: 183626
x86_64/loader/linux.c:584: addr_min: 0x0 addr_max: 0x7ffff000 mmap_size: 1872
x86_64/loader/linux.c:603: desc = {type=7,ps=0x1000,vs=0x0,sz=156,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0x100000,vs=0x0,sz=1792,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0x808000,vs=0x0,sz=8,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0x818000,vs=0x0,sz=8,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0x1300000,vs=0x0,sz=518141,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0x80000000,vs=0x0,sz=245054,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0xbbd5e000,vs=0x0,sz=5508,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0xbd86d000,vs=0x0,sz=121,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0xbf8d5000,vs=0x0,sz=2,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0xbfd70000,vs=0x0,sz=16,attr=15}
x86_64/loader/linux.c:603: desc = {type=7,ps=0x100000000,vs=0x0,sz=262144,attr=15}
Loading [0M/717M]
**removed to shorten post**
Loading [717M/717M]
[Initrd, addr=0x52db3000, size=0x2cd4a000]
segment header
length: 4, vendor: 16 flags: 4, loadaddr: 2500000, image len: 800, memory length: 800
Reading data for vendor seg. Length 2048
Leaving grub land
image length read 757450240
image hash: de200cea c02ac831 486c33bd 6fa50242
[ 5.146011] [1513797086] Error: Could not find mtd devices
INIT: version 2.88 booting
Installing ata_piix module ... done.
Unsquashing rootfs ...
Installing isan procfs ... done.
Installing SSE module with card index 21099 ... done.
Creating SSE device node 248 ... done.
Loading I2C driver ... done.
Installing CCTRL driver for card_type 29 on a VM without NEED_GEM ... done.
16.94: Interrupt throttling disabled. No cctrl irq detected.
Loading IGB driver ... done.
Not Micron SSD...
Checking all filesystems.Warning: switch is starting up with default configuration
Installing SPROM driver ... IS_N9K done.
IS_SUP:; IS_SC:; IS_FC:; IS_LC:; IS_TOR:y done.
Installing pfmsvcs module with SPROM card index 21099 ... done.
Installing nvram module ... done.
Installing if_index module with port mode 6 ... done.
Installing RNI lcnd ... done
Installing LC netdev ... done
Installing psdev module ... done.
Installing veobc module ... done.
Inserting OBFL module ... done.
Making OBFL character devices
mounting plog for N9k!
Mounting OBFL pstore
Trying to mount cdrom...
Starting OpenBSD Secure Shell server: sshd ... done.
tune2fs 1.42.1 (17-Feb-2012)
Setting reserved blocks percentage to 0% (0 blocks)
Starting portmap daemon...
creating NFS state directory: done
starting 8 nfsd kernel threads: done
starting mountd: done
starting statd: done
Saving image for img-sync ...
Loading system software
Installing local RPMS
Patch Repository Setup completed successfully
Uncompressing system image: Wed Dec 20 19:11:56 UTC 2017
blogger: nothing to do.
Creating /dev/mcelog
Starting mcelog daemon
Overwriting dme stub lib
dme asap backend not explicitly enabled in platform.inf, removing it...
File /etc/shared/localtime does not exist.
INIT: Entering runlevel: 3
Running S93thirdparty-script...
Populating conf files for hybrid sysmgr ...
Starting hybrid sysmgr ...
All gzip files are: /var/sysmgr/core_restore/0x101_policyelem_core.25262.gz
Unzipping /var/sysmgr/core_restore/0x101_policyelem_core.25262.gz
Moving /var/sysmgr/core_restore/0x101_policyelem_core.25262 to /var/sysmgr/tmp_logs
Moving /var/sysmgr/core_restore/0x101_policyelem_log.25262 to /var/sysmgr/tmp_logs
inserting /isan/lib/modules/klm_cisco_nb.o ... done
Dec 20 19:12:18 %SYSMGR-2-LAST_CORE_BASIC_TRACE : PID 23683 with message sharedmemmgr(non-sysmgr) crashed, core will be saved .
Dec 20 19:12:26 %SYSMGR-3-CORE_OP_FAILED Core operation failed: send_msg_to_ccdmon: Could not send to CORE_DMON return -1 errno 32
Dec 20 19:12:37 %SYSMGR-2-HAP_FAILURE_SUP_RESET Service "policyelem" in vdc 1 has had a hap failure
[ 80.614883] [1513797162] Restarting system.
[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[0m[35m[40m[2J[01;01H[=3h[2J[01;01H[0m[37m[40m[2J[01;01H[=3h[2J[01;01H/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(1,800,8000,3ff9057e-e931-40a4-4584-699cecf01024)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(2,8800,5147a,2e0a36f7-721d-4179-309f-e94b9e859790)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(3,5a000,a28f4,22a3a5ea-48a0-4521-f589-145002c2a32e)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(4,fd000,355712,662fab65-a470-4a5d-70b5-0d1f79ca70ed)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(5,452800,a28f4,5a07289e-1cb1-48b7-a687-d24fe98513b4)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(6,4f5800,a28f4,3391772f-460b-4a4b-5f8d-d122b01ec587)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(7,598800,261998,1ce2ee04-a294-47cf-7280-fc25766bcb63)/EndEntire
/ACPI(a0341d0,0)/PCI(0,1)/ACPI(60441d0,0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,1)/ACPI(60441d0,1)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(1,800,8000,3ff9057e-e931-40a4-4584-699cecf01024)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(2,8800,5147a,2e0a36f7-721d-4179-309f-e94b9e859790)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(3,5a000,a28f4,22a3a5ea-48a0-4521-f589-145002c2a32e)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(4,fd000,355712,662fab65-a470-4a5d-70b5-0d1f79ca70ed)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(5,452800,a28f4,5a07289e-1cb1-48b7-a687-d24fe98513b4)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(6,4f5800,a28f4,3391772f-460b-4a4b-5f8d-d122b01ec587)/EndEntire
/ACPI(a0341d0,0)/PCI(0,5)/SATA(0,ffff,0)/HD(7,598800,261998,1ce2ee04-a294-47cf-7280-fc25766bcb63)/EndEntire
/ACPI(a0341d0,0)/PCI(0,1)/ACPI(60441d0,0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,1)/ACPI(60441d0,1)/EndEntire
Total memory is 0x9f000
Total memory is 0x800000
Sysconf checksum failed. Using default values
WARNING: No BIOS Info found
Sysconf checksum failed. Using default values
serial --speed=115200 --word=8 --stop=1 --parity=no
success
Sysconf checksum failed. Using default values
Strlen bootflash: is 10
Device bootflash: is Drive 0x80 Partition 3
ATE0Q1&D2&C1S0=1
Trying to read config file /boot/grub/menu.lst.local from (hd0,4)
Filesystem type is ext2fs, partition type 0x83
Number of devices detected by BIOS is 1
Failed. Trying to read config file from (hd0,5)
Filesystem type is ext2fs, partition type 0x83
Number of devices detected by BIOS is 1
Failed.
Loader Version 5.00.9
Entering interactive mode
loader >