SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  SRX 210: Upgrading to 12.1, ran out of space, stuck at db> prompt

    Posted 10-16-2013 17:36

    Hi

     

    My SRX 210's compact flash ran out of space while upgrading and is stuck at the db> prompt. The image is used is: junos-srxsme-12.1X45-D15.5-domestic.tgz. I am not able to get to the command prompt, just the db>  and loader> prompt. Any suggestions on how to resolve this issue? 



  • 2.  RE: SRX 210: Upgrading to 12.1, ran out of space, stuck at db> prompt

     
    Posted 10-16-2013 18:32

    To recover, you will have to install from boot loader prompt:

     

    Please refer:

     

    http://www.juniper.net/techpubs/software/junos-security/junos-security10.2/junos-security-admin-guide/topic-installing-software-boot-loader-usb.html

     

    JTAC recommended software version for SRX-210 is 11.4R9 unless hardware type is SRX-210H2.

    Is there any specific reason for you moving to 12.1X45?

     

    Regards,

    Raveen

     

    Note: If I have answered your quesitons, you could mark this post as accepted solution, that way it helps others as well.

    Kudos will be cool if I earned it!

     

     



  • 3.  RE: SRX 210: Upgrading to 12.1, ran out of space, stuck at db> prompt

    Posted 10-16-2013 18:37

    Hi

     

    I tried that but it fails. It reboots to debug prompt. I forgot to delete the previous junos images. I can boot to the loader prompt. 



  • 4.  RE: SRX 210: Upgrading to 12.1, ran out of space, stuck at db> prompt

    Posted 10-16-2013 18:39

    No reason to move to the last image. It is just the one I downloaded.

     

    d



  • 5.  RE: SRX 210: Upgrading to 12.1, ran out of space, stuck at db> prompt

     
    Posted 10-16-2013 18:56

    You can use the Reset Config button on the front panel of the SRX device to reset the device to its factory default configuration.

    On doing this you would lose all configuration and log files. Can you try this?

     

    Regards,

    Raveen



  • 6.  RE: SRX 210: Upgrading to 12.1, ran out of space, stuck at db> prompt

    Posted 10-16-2013 19:03

    yes.



  • 7.  RE: SRX 210: Upgrading to 12.1, ran out of space, stuck at db> prompt

     
    Posted 10-16-2013 19:12

    Loading OS from boot loader using USB would usually work well!



  • 8.  RE: SRX 210: Upgrading to 12.1, ran out of space, stuck at db> prompt

    Posted 10-16-2013 19:13

    Tried but no luck. Status light is amber, not yellow. Boots to debug prompt.

     

    d



  • 9.  RE: SRX 210: Upgrading to 12.1, ran out of space, stuck at db> prompt
    Best Answer

     
    Posted 10-16-2013 20:12

    Very strange that neither install via USB from loader not factory reset did help!

    LAst possible option to try is to install at u-boot via tftp method:

     

    http://www.juniper.net/techpubs/software/junos-security/junos-security10.2/junos-security-admin-guide/section-srx-series-tftp-loader.html#topic-accessing-uboot-prompt

     

    If installation from u-boot does not work, then open up a ticket with JTAC for further torubleshooting/RMA.

     

    Regards,

    Raveen

     

    Note: If this answers your question, you could mark this post as accepted solution, that way it helps others as well. Kudos will be bonus if I earned it!



  • 10.  RE: SRX 210: Upgrading to 12.1, ran out of space, stuck at db> prompt

    Posted 10-17-2013 10:36

    Hi

     

    Up and running after using the TFTP solution. Thanks for all your help!

     

     

    d



  • 11.  RE: SRX 210: Upgrading to 12.1, ran out of space, stuck at db> prompt

    Posted 10-16-2013 18:53

    Here is a copy of the output from the install source command at the loader> prompt:

     

     

    Hit [Enter] to boot immediately, or space bar for command prompt.
    Booting [/kernel]...               
    Kernel entry at 0x801000e0 ...
    init regular console
    Primary ICache: Sets 64 Size 128 Asso 4
    Primary DCache: Sets 1 Size 128 Asso 64
    Secondary DCache: Sets 128 Size 128 Asso 8
    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
    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.1X45-D15.5 #0: 2013-09-19 07:42:15 UTC
        builder@svl-junos-pool92.juniper.net:/volume/build/junos/12.1/service/12.1X45-D15.5/obj-octeon/junos/bsd/kernels/JSRXNLE/kernel
    JUNOS 12.1X45-D15.5 #0: 2013-09-19 07:42:15 UTC
        builder@svl-junos-pool92.juniper.net:/volume/build/junos/12.1/service/12.1X45-D15.5/obj-octeon/junos/bsd/kernels/JSRXNLE/kernel
    real memory  = 1073741824 (1024MB)
    avail memory = 509661184 (486MB)
    FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
    Security policy loaded: JUNOS MAC/pcap (mac_pcap)
    Security policy loaded: JUNOS MAC/runasnonroot (mac_runasnonroot)
    netisr_init: !debug_mpsafenet, forcing maxthreads from 2 to 1
    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: 3 ports with 2 removable, self powered
    umass0: STMicroelectronics ST72682  High Speed Mode, rev 2.00/2.10, addr 3
    umass1: Generic Mass Storage, rev 2.00/1.03, addr 4
    cpld0 on obio0
    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: <simple comms> at device 1.0 (no driver attached)
    pci0: <serial bus, USB> at device 2.0 (no driver attached)
    pci0: <serial bus, USB> at device 2.2 (no driver attached)
    gblmem0 on obio0
    octpkt0: <Octeon RGMII> on obio0
    cfi0: <AMD/Fujitsu - 4MB> on obio0
    Timecounter "mips" frequency 400000000 Hz quality 0
    ###PCB Group initialized for udppcbgroup
    ###PCB Group initialized for tcppcbgroup
    da1 at umass-sim1 bus 1 target 0 lun 0
    da1: <Generic Flash Disk 8.07> Removable Direct Access SCSI-4 device 
    da1: 40.000MB/s transfers
    da1: 1920MB (3932160 512 byte sectors: 255H 63S/T 244C)
    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/da0s1a
    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...
    cp: /cf/var/jail/run/mgd_gk: Operation not supported
    cp: /cf/var/jail/run/breakout: Operation not supported
    cp: /cf/var/jail/run/eventd_events: Operation not supported
    pid 68 (cp), uid 0 inumber 1989 on /junos: filesystem full

    /junos: write failed, filesystem is full
    cp: /junos/cf/var/sw/pkg/junos-11.2R1.10.tgz: No space left on device
    cp: /junos/cf/var/sw/pkg/junos-11.1R1.10.tgz: No space left on device
    cp: /junos/cf/var/sw/pkg/junos-11.4R1.6.tgz: No space left on device
    cp: /junos/cf/var/sw/pkg/junos-boot-srxsme-12.1X44-D10.4.tgz: No space left on device
    cp: /junos/cf/var/sw/pkg/junos-boot-srxsme-12.1X45-D15.5.tgz: No space left on device
    pid 68 (cp), uid 0 inumber 703 on /junos: filesystem full

    /junos: write failed, filesystem is full
    cp: /junos/cf/var/tmp/install: No space left on device
    mkdir: /junos/cf/packages: No space left on device
    mkdir: /junos/cf/dev: No space left on device
    mkdir: /junos/junos: No space left on device
    Creating syminit died (signal 0, exit 20)
    panic: Going nowhere without my init!
    cpuid = 0
    KDB: stack backtrace:
    0x419890+0x14 (0x14,0x3ffed898,0x1a,0) ra 0x41756c sz 0
    0x417508+0x64 (0x14,0x3ffed898,0x1a,0) ra 0x405528 sz 32
    0x4052f4+0x234 (0x14,0x3ffed898,0x1a,0) ra 0 sz 48
    pid 1, process: preinit-main
    ###Entering boot mastership relinquish phase
    KDB: enter: panic
    [thread pid 1 tid 100005 ]
    Stopped at      breakpoint+0x4: jr      ra
    db>

     

    Thanks in advance for your help.

     

    d