SRX

 View Only

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



  • 1.  JunOS not booting + weird behavior

    Posted 08-29-2013 06:18

    Hello community,

     

    I currently have a SRX100h appliance which is unable to boot from primary JunOS partition and showing unexpected behavior while trying to bring it back to life (I feel myself like a necromancer already). I am uncertain what actions have caused such state of things, but as far as I know - the last person that messed around with it (it was still in fully-operational state) tried to restore factory-default settings with "request system zeroize media" which resulted in current state of things.

     

    Please observe the following log. It begins after manually booting from second partition and initiating a "request system snapshot slice alternate" command, hoping to get JunOS image on primary partition up and running again, followed by "request system reboot".

     

    I have marked questionable places with bold, so If you can - please explain to me why the unit is behaving that way. Any suggestions/thoughts/solutions are greatly appreciated!

     

    Edit: it does not seems to let use bold inside a "code" tag, so I've separated reboots by a bunch of blank lines.

    Edit2: For the sake of simplicity I've marked questionable rows with blank lines and a bunch of space preceeding the message.

    Edit3: Added "fdisk /dev/da0" command output.

    U-Boot 1.1.6-JNPR-2.0 (Build time: Nov 17 2010 - 07:04:52)
    
    SRX_100_HIGHMEM board revision major:0, minor:0, serial #: AT4312AF0083
    OCTEON CN5020-SCP pass 1.1, Core clock: 500 MHz, DDR clock: 266 MHz (532 Mhz data rate)
    DRAM:  1024 MB
    Starting Memory POST...
    Checking datalines... OK
    Checking address lines... OK
    Checking 512K memory for U-Boot... OK.
    Running U-Boot CRC Test... OK.
    Flash:  4 MB
    USB:   scanning bus for devices... 3 USB Device(s) found
           scanning bus for storage devices... 1 Storage Device(s) found
    Clearing DRAM........ done
    BIST check passed.
    Boot Media: nand-flash usb
    Net:   pic init done (err = 0)octeth0
    POST Passed
    Press SPACE to abort autoboot in 1 seconds
    ELF file is 32 bit
    Loading .text @ 0x8f000078 (244960 bytes)
    Loading .rodata @ 0x8f03bd58 (13940 bytes)
    Loading .rodata.str1.4 @ 0x8f03f3cc (16648 bytes)
    Loading set_Xcommand_set @ 0x8f0434d4 (100 bytes)
    Loading .rodata.cst4 @ 0x8f043538 (20 bytes)
    Loading .data @ 0x8f044000 (5608 bytes)
    Loading .data.rel.ro @ 0x8f0455e8 (120 bytes)
    Loading .data.rel @ 0x8f045660 (136 bytes)
    Clearing .bss @ 0x8f0456e8 (11656 bytes)
    ## Starting application at 0x8f000078 ...
    Consoles: U-Boot console
    Found compatible API, ver. 2.0
    
    FreeBSD/MIPS U-Boot bootstrap loader, Revision 2.0
    (builder@warth.juniper.net, Wed Nov 17 07:07:32 UTC 2010)
    Memory: 1024MB
    [0]Booting from nand-flash slice 1
    Un-Protected 1 sectors
    writing to flash...
    Protected 1 sectors
    Loading /boot/defaults/loader.conf
    /kernel data=0xa78f68+0xddf50 syms=[0x4+0x83830+0x4+0xbdbbf]
    \
    
    Hit [Enter] to boot immediately, or space bar for command prompt.
    Booting [/kernel]...
    Kernel entry at 0x801000d8 ...
    init regular console
    GDB: debug ports: uart
    GDB: current port: uart
    KDB: debugger backends: ddb gdb
    KDB: current backend: ddb
    Copyright (c) 1996-2011, 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 11.2R4.3 #0: 2011-11-24 08:11:51 UTC
        builder@chamuth.juniper.net:/volume/build/junos/11.2/release/11.2R4.3/obj-octeon/bsd/kernels/JSRNLE/kernel
    JUNOS 11.2R4.3 #0: 2011-11-24 08:11:51 UTC
        builder@chamuth.juniper.net:/volume/build/junos/11.2/release/11.2R4.3/obj-octeon/bsd/kernels/JSRNLE/kernel
    real memory  = 1073741824 (1024MB)
    avail memory = 509714432 (486MB)
    FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
    cpu0 on motherboard
    : CAVIUM's OCTEON 5020 CPU Rev. 0.1 with no FPU implemented
            L1 Cache: I size 32kb(128 line), D size 8kb(128 line), sixty four way.
            L2 Cache: Size 128kb, 8 way
    obio0 on motherboard
    uart0: <Octeon-16550 channel 0> on obio0
    uart0: console (9600,n,8,1)
    twsi0 on obio0
    dwc0: <Synopsis DWC OTG Controller Driver> on obio0
    usb0: <USB Bus for DWC OTG Controller> on dwc0
    usb0: USB revision 2.0
    uhub0: vendor 0x0000 DWC OTG root hub, class 9/0, rev 2.00/1.00, addr 1
    uhub0: 1 port with 1 removable, self powered
    uhub1: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 2
    uhub1: single transaction translator
    uhub1: 2 ports with 1 removable, self powered
    umass0: STMicroelectronics ST72682  High Speed Mode, rev 2.00/2.10, addr 3
    pcib0: <Cavium on-chip PCI bridge> on obio0
    Disabling Octeon big bar support
    PCI Status: PCI 32-bit: 0xc041b
    pcib0: Initialized controller
    pci0: <PCI bus> on pcib0
    pci0: <serial bus, USB> at device 2.0 (no driver attached)
    pci0: <serial bus, USB> at device 2.1 (no driver attached)
    pci0: <serial bus, USB> at device 2.2 (no driver attached)
    cpld0 on obio0
    gblmem0 on obio0
    octpkt0: <Octeon RGMII> on obio0
    cfi0: <AMD/Fujitsu - 4MB> on obio0
    Timecounter "mips" frequency 500000000 Hz quality 0
    md0: Preloaded image </boot/modules/mdimage> 5490688 bytes at 0x80d982b0
    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)
                              Trying to mount root from cd9660:/dev/md0                                  WARNING: preposterous time in file system                                  WARNING: clock 9554 days greater than file system time                          debug.debugger_on_panic: 1 -> 0                                  kern.sync_on_panic: 0 -> 0                                  machdep.break_to_debugger: 0 -> 0                                  sysctl: unknown oid 'machdep.enable_panic_key'                                  sysctl: unknown oid 'machdep.kdb_on_nmi'                               sysctl: unknown oid 'machdep.panic_on_nmi' vm.redzone.panic: 1 -> 0
    mfs: available=852040 @ 1377767641 [2013-08-29 09:14:01] using 852040 for /mfs @ 1377767642 [2013-08-29 09:14:02] populating mfs ... Mounted package on /dev/md2... Executing /mfs/mnt/junos/mount.post.. tar: var/tmp/install: Cannot stat: No such file or directory tar: var/db/fsad: Cannot stat: No such file or directory tar: var/crash/minfree: Cannot stat: No such file or directory tar: Error exit delayed from previous errors @ 1377767669 [2013-08-29 09:14:29] zeroizing /dev/da0... /dev/da0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0s1a: clean, 75659 free (43 frags, 9452 blocks, 0.0% fragmentation)                          ERROR: internal is 512MB, must be at least 512MB                                  Zeroizing /dev/da0s1a (296MB - this can take a few minutes) ... Running newfs (296MB) on internal media / partition (da0s1a)...                           ERROR: internal needs to be partitioned before it can be used for snapshot The following filesystems were archived: usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file target_file cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file ... target_directory WARNING: saving /tmp/da0s163/mnt/cf/boot/loader.conf cd: can't cd to /tmp/da0s163/mnt/cf/var machdep.bootsuccess: 1 -> 1 @ 1377767760 [2013-08-29 09:16:00] enabling watchdog timer... 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...rebooting ... done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...1 1 0 1 0 0 done syncing disks... All buffers synced. Uptime: 2m12s Rebooting... cpu_reset: Stopping other CPUs









    U-Boot 1.1.6-JNPR-2.0 (Build time: Nov 17 2010 - 07:04:52) SRX_100_HIGHMEM board revision major:0, minor:0, serial #: AT4312AF0083 OCTEON CN5020-SCP pass 1.1, Core clock: 500 MHz, DDR clock: 266 MHz (532 Mhz data rate) DRAM: 1024 MB Starting Memory POST... Checking datalines... OK Checking address lines... OK Checking 512K memory for U-Boot... OK. Running U-Boot CRC Test... OK. Flash: 4 MB USB: scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Clearing DRAM........ done BIST check passed. Boot Media: nand-flash usb Net: pic init done (err = 0)octeth0 POST Passed Press SPACE to abort autoboot in 1 seconds ELF file is 32 bit Loading .text @ 0x8f000078 (244960 bytes) Loading .rodata @ 0x8f03bd58 (13940 bytes) Loading .rodata.str1.4 @ 0x8f03f3cc (16648 bytes) Loading set_Xcommand_set @ 0x8f0434d4 (100 bytes) Loading .rodata.cst4 @ 0x8f043538 (20 bytes) Loading .data @ 0x8f044000 (5608 bytes) Loading .data.rel.ro @ 0x8f0455e8 (120 bytes) Loading .data.rel @ 0x8f045660 (136 bytes) Clearing .bss @ 0x8f0456e8 (11656 bytes) ## Starting application at 0x8f000078 ... Consoles: U-Boot console Found compatible API, ver. 2.0 FreeBSD/MIPS U-Boot bootstrap loader, Revision 2.0 (builder@warth.juniper.net, Wed Nov 17 07:07:32 UTC 2010) Memory: 1024MB                          [0]Booting from nand-flash slice 1 Un-Protected 1 sectors writing to flash... Protected 1 sectors \
                              can't load '/kernel'                                  can't load '/kernel.old'
    Press Enter to stop auto bootsequencing and to enter loader prompt. Type '?' for a list of commands, 'help' for more detailed help. loader> loader> reboot Resetting...










    U-Boot 1.1.6-JNPR-2.0 (Build time: Nov 17 2010 - 07:04:52) SRX_100_HIGHMEM board revision major:0, minor:0, serial #: AT4312AF0083 OCTEON CN5020-SCP pass 1.1, Core clock: 500 MHz, DDR clock: 266 MHz (532 Mhz data rate) DRAM: 1024 MB Starting Memory POST... Checking datalines... OK Checking address lines... OK Checking 512K memory for U-Boot... OK. Running U-Boot CRC Test... OK. Flash: 4 MB USB: scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Clearing DRAM........ done BIST check passed. Boot Media: nand-flash usb Net: pic init done (err = 0)octeth0 POST Passed Press SPACE to abort autoboot in 1 seconds ELF file is 32 bit Loading .text @ 0x8f000078 (244960 bytes) Loading .rodata @ 0x8f03bd58 (13940 bytes) Loading .rodata.str1.4 @ 0x8f03f3cc (16648 bytes) Loading set_Xcommand_set @ 0x8f0434d4 (100 bytes) Loading .rodata.cst4 @ 0x8f043538 (20 bytes) Loading .data @ 0x8f044000 (5608 bytes) Loading .data.rel.ro @ 0x8f0455e8 (120 bytes) Loading .data.rel @ 0x8f045660 (136 bytes) Clearing .bss @ 0x8f0456e8 (11656 bytes) ## Starting application at 0x8f000078 ... Consoles: U-Boot console Found compatible API, ver. 2.0 FreeBSD/MIPS U-Boot bootstrap loader, Revision 2.0 (builder@warth.juniper.net, Wed Nov 17 07:07:32 UTC 2010) Memory: 1024MB
                                     [1]Booting from nand-flash slice 2
    Un-Protected 1 sectors writing to flash... Protected 1 sectors Loading /boot/defaults/loader.conf /kernel data=0xa78f68+0xddf50 syms=[0x4+0x83830+0x4+0xbdbbf] \ Hit [Enter] to boot immediately, or space bar for command prompt. Booting [/kernel]... Kernel entry at 0x801000d8 ... init regular console GDB: debug ports: uart GDB: current port: uart KDB: debugger backends: ddb gdb KDB: current backend: ddb Copyright (c) 1996-2011, 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 11.2R4.3 #0: 2011-11-24 08:11:51 UTC builder@chamuth.juniper.net:/volume/build/junos/11.2/release/11.2R4.3/obj-octeon/bsd/kernels/JSRXNLE/kernel JUNOS 11.2R4.3 #0: 2011-11-24 08:11:51 UTC builder@chamuth.juniper.net:/volume/build/junos/11.2/release/11.2R4.3/obj-octeon/bsd/kernels/JSRXNLE/kernel real memory = 1073741824 (1024MB) avail memory = 509714432 (486MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 on motherboard : CAVIUM's OCTEON 5020 CPU Rev. 0.1 with no FPU implemented L1 Cache: I size 32kb(128 line), D size 8kb(128 line), sixty four way. L2 Cache: Size 128kb, 8 way obio0 on motherboard uart0: <Octeon-16550 channel 0> on obio0 uart0: console (9600,n,8,1) twsi0 on obio0 dwc0: <Synopsis DWC OTG Controller Driver> on obio0 usb0: <USB Bus for DWC OTG Controller> on dwc0 usb0: USB revision 2.0 uhub0: vendor 0x0000 DWC OTG root hub, class 9/0, rev 2.00/1.00, addr 1 uhub0: 1 port with 1 removable, self powered uhub1: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 2 uhub1: single transaction translator uhub1: 2 ports with 1 removable, self powered umass0: STMicroelectronics ST72682 High Speed Mode, rev 2.00/2.10, addr 3 pcib0: <Cavium on-chip PCI bridge> on obio0 Disabling Octeon big bar support PCI Status: PCI 32-bit: 0xc041b pcib0: Initialized controller pci0: <PCI bus> on pcib0 pci0: <serial bus, USB> at device 2.0 (no driver attached) pci0: <serial bus, USB> at device 2.1 (no driver attached) pci0: <serial bus, USB> at device 2.2 (no driver attached) cpld0 on obio0 gblmem0 on obio0 octpkt0: <Octeon RGMII> on obio0 cfi0: <AMD/Fujitsu - 4MB> on obio0 Timecounter "mips" frequency 500000000 Hz quality 0 md0: Preloaded image </boot/modules/mdimage> 5490688 bytes at 0x80d982b0 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)
                             Trying to mount root from cd9660:/dev/md0                                  WARNING: preposterous time in file system                                  WARNING: clock 9554 days greater than file system time Rebooting... 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...0 0 0 0 0 0 0 0 0 done syncing disks... All buffers synced. Uptime: 19s Rebooting... cpu_reset: Stopping other CPUs








    U-Boot 1.1.6-JNPR-2.0 (Build time: Nov 17 2010 - 07:04:52) SRX_100_HIGHMEM board revision major:0, minor:0, serial #: AT4312AF0083 OCTEON CN5020-SCP pass 1.1, Core clock: 500 MHz, DDR clock: 266 MHz (532 Mhz data rate) DRAM: 1024 MB Starting Memory POST... Checking datalines... OK Checking address lines... OK Checking 512K memory for U-Boot... OK. Running U-Boot CRC Test... OK. Flash: 4 MB USB: scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Clearing DRAM........ done BIST check passed. Boot Media: nand-flash usb Net: pic init done (err = 0)octeth0 POST Passed Press SPACE to abort autoboot in 1 seconds ELF file is 32 bit Loading .text @ 0x8f000078 (244960 bytes) Loading .rodata @ 0x8f03bd58 (13940 bytes) Loading .rodata.str1.4 @ 0x8f03f3cc (16648 bytes) Loading set_Xcommand_set @ 0x8f0434d4 (100 bytes) Loading .rodata.cst4 @ 0x8f043538 (20 bytes) Loading .data @ 0x8f044000 (5608 bytes) Loading .data.rel.ro @ 0x8f0455e8 (120 bytes) Loading .data.rel @ 0x8f045660 (136 bytes) Clearing .bss @ 0x8f0456e8 (11656 bytes) ## Starting application at 0x8f000078 ... Consoles: U-Boot console Found compatible API, ver. 2.0 FreeBSD/MIPS U-Boot bootstrap loader, Revision 2.0 (builder@warth.juniper.net, Wed Nov 17 07:07:32 UTC 2010) Memory: 1024MB [2]Booting from nand-flash slice 3 Un-Protected 1 sectors writing to flash... Protected 1 sectors \ can't load '/kernel' can't load '/kernel.old' Press Enter to stop auto bootsequencing and to enter loader prompt. Type '?' for a list of commands, 'help' for more detailed help. loader>
                                     loader> set currdev=disk0s2                                  loader> boot
    /kernel data=0xa78f68+0xddf50 syms=[0x4+0x83830+0x4+0xbdbbf] Kernel entry at 0x801000d8 ... init regular console GDB: debug ports: uart GDB: current port: uart KDB: debugger backends: ddb gdb KDB: current backend: ddb Copyright (c) 1996-2011, 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 11.2R4.3 #0: 2011-11-24 08:11:51 UTC builder@chamuth.juniper.net:/volume/build/junos/11.2/release/11.2R4.3/obj-octeon/bsd/kernels/JSRXNLE/kernel JUNOS 11.2R4.3 #0: 2011-11-24 08:11:51 UTC builder@chamuth.juniper.net:/volume/build/junos/11.2/release/11.2R4.3/obj-octeon/bsd/kernels/JSRXNLE/kernel real memory = 1073741824 (1024MB) avail memory = 526491648 (502MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 on motherboard : CAVIUM's OCTEON 5020 CPU Rev. 0.1 with no FPU implemented L1 Cache: I size 32kb(128 line), D size 8kb(128 line), sixty four way. L2 Cache: Size 128kb, 8 way obio0 on motherboard uart0: <Octeon-16550 channel 0> on obio0 uart0: console (9600,n,8,1) twsi0 on obio0 dwc0: <Synopsis DWC OTG Controller Driver> on obio0 usb0: <USB Bus for DWC OTG Controller> on dwc0 usb0: USB revision 2.0 uhub0: vendor 0x0000 DWC OTG root hub, class 9/0, rev 2.00/1.00, addr 1 uhub0: 1 port with 1 removable, self powered uhub1: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 2 uhub1: single transaction translator uhub1: 2 ports with 1 removable, self powered umass0: STMicroelectronics ST72682 High Speed Mode, rev 2.00/2.10, addr 3 pcib0: <Cavium on-chip PCI bridge> on obio0 Disabling Octeon big bar support PCI Status: PCI 32-bit: 0xc041b pcib0: Initialized controller pci0: <PCI bus> on pcib0 pci0: <serial bus, USB> at device 2.0 (no driver attached) pci0: <serial bus, USB> at device 2.1 (no driver attached) pci0: <serial bus, USB> at device 2.2 (no driver attached) cpld0 on obio0 gblmem0 on obio0 octpkt0: <Octeon RGMII> on obio0 cfi0: <AMD/Fujitsu - 4MB> on obio0 Timecounter "mips" frequency 500000000 Hz quality 0 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)
                                     Trying to mount root from ufs:/dev/da0s2a
    Attaching /cf/packages/junos via /dev/mdctl... Mounted junos package on /dev/md0... Media check on da0 Automatic reboot in progress... ** /dev/da0s2a FILE SYSTEM CLEAN; SKIPPING CHECKS clean, 76169 free (33 frags, 9517 blocks, 0.0% fragmentation) Verified junos signed by PackageProduction_11_2_0 Verified jboot signed by PackageProduction_11_2_0 Verified junos-11.2R4.3-domestic signed by PackageProduction_11_2_0 Checking integrity of BSD labels: s1: Passed s2: Passed s3: Passed s4: Passed ** /dev/bo0s3e FILE SYSTEM CLEAN; SKIPPING CHECKS clean, 12419 free (11 frags, 1551 blocks, 0.1% fragmentation) ** /dev/bo0s3f FILE SYSTEM CLEAN; SKIPPING CHECKS clean, 172197 free (77 frags, 21515 blocks, 0.0% fragmentation) Checking integrity of licenses: JUNOS153121.lic: Passed Checking integrity of configuration: rescue.conf.gz: Passed Loading configuration ... mgd: commit complete Setting initial options: . Starting optional daemons: usbd. Doing initial network setup:. Initial interface configuration: additional daemons: eventd. savecore: /dev/bo0s1b: No such file or directory savecore: Reboot reason(s): 0x200: normal shutdown savecore: no dumps found Additional routing options:kern.module_path: /boot/kernel;/boot/modules;/modules;/boot;/ -> /boot/modules;/mokldload: Unsupported file type dules/ifpfe_drv;/modules; kld netpfe drv: ifpfed_dialer. Doing additional network setup:. Starting final network daemons:. setting ldconfig path: /usr/lib /opt/lib starting standard daemons: cron. Initial rc.mips initialization:. Local package initialization:. starting local daemons:. kern.securelevel: -1 -> 1 Creating JAIL MFS partition... JAIL MFS partition created boot.upgrade.uboot="0xBFC00000" boot.upgrade.loader="0xBFE00000" Boot media /dev/da0 has dual root support ** /dev/da0s1a FILE SYSTEM CLEAN; SKIPPING CHECKS clean, 149521 free (33 frags, 18686 blocks, 0.0% fragmentation) Thu Aug 29 10:04:43 UTC 2013 labjuniper (ttyu0) login:

     

     

     

    root@labjuniper% fdisk /dev/da0
    ******* Working on device /dev/da0 *******
    parameters extracted from in-core disklabel are:
    cylinders=1000 heads=64 sectors/track=32 (2048 blks/cyl)
    
    parameters to be used for BIOS calculations are:
    cylinders=1000 heads=64 sectors/track=32 (2048 blks/cyl)
    
    Media sector size is 512
    Warning: BIOS sector numbering starts with sector 1
    Information from DOS bootblock is:
    The data for partition 1 is:
    sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
        start 256, size 610048 (297 Meg), flag 80 (active)
            beg: cyl 0/ head 8/ sector 1;
            end: cyl 297/ head 63/ sector 32
    The data for partition 2 is:
    sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
        start 610304, size 610304 (298 Meg), flag 0
            beg: cyl 298/ head 0/ sector 1;
            end: cyl 595/ head 63/ sector 32
    The data for partition 3 is:
    sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
        start 1220608, size 763904 (373 Meg), flag 0
            beg: cyl 596/ head 0/ sector 1;
            end: cyl 968/ head 63/ sector 32
    The data for partition 4 is:
    sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
        start 1984512, size 63488 (31 Meg), flag 0
            beg: cyl 969/ head 0/ sector 1;
            end: cyl 999/ head 63/ sector 32

     

     


    #preposterous
    #JUNOS
    #panic
    #Warning
    #Error
    #preloaded
    #SRX
    #srx100h
    #srx100
    #zeroize
    #media


  • 2.  RE: JunOS not booting + weird behavior

    Posted 08-30-2013 06:28

    Hi

     

    best to stop the boot process and load an image via tftp or USB.

     

     

    then use the slice command to copy to backup and you should be ok.



  • 3.  RE: JunOS not booting + weird behavior

    Posted 08-30-2013 09:19

    Thank you for your reply, WPJ74.

    I did already got to that point and have opened a case regarding getting one specific Junos OS version from Juniper Tech Support team. I will be trying reinstall when I get my hands on the correct software version.

     

    Meanwhile I would greatly appriciate If anyone could tell me what is possibly causing those weird errors I am getting. That would help me to understand the root cause, prevent such things from happening again in the future and give me a clue on how to get the unit working again with minimum efforts required (our company have most of those units located in remote areas).

     

    My questions are:

    • Why I am getting an "ERROR: internal is 512MB, must be at least 512MB" error and shortly after that the device arbitrarily zeroizing the partition with a new snapshot of a working system?
    • Why the device is unable to boot automatically from the second slice, where the backup copy of the Junos OS resides, but does boot correctly after specifying that exact partition in loader prompt with "set currdev=disk0s2" command?
    • Why the device tries to mount root from "cd9660:/dev/md0" while booting on its own from second slice and mounts root from "ufs:/dev/da0s2a" after telling it to do so with "set currdev=disk0s2" command in loader?


  • 4.  RE: JunOS not booting + weird behavior
    Best Answer

    Posted 09-03-2013 01:34

    I came out with the following sequence, that helped me:

     

    1. Boot manually from working system on second slice with "set currdev=disk0s2" and "boot" commands in loader

    2a. Disable clustering if present

    2b. Specify network options (address, mask, routes, etc)

    2c. Reboot the device

    3. Upload Junos OS image in "tgz" format via SCP to some location on the device (in my case that was "/cf/var/")

    4. Install uploaded image to the alternate slice with "request system software add no-copy /cf/var/<image_file_name>.tgz reboot"

    5. Boot manually from the slice with freshly installed image with commands similar to those specified in step 1

    6. Repeat step 4

    7. Delete uploaded image

    8. ..profit!

     

    However, the questions listed in my previous message are still bothering me, If anyone can answer them - I would be eternally grateful.