Junos OS

last person joined: 4 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  M5 hard disk missing, emergency boot disk recovery failed

    Posted 04-26-2010 19:45

    I created a JUNOS 8.1 emergency boot disk using the install-media image and allowed it to erase the hard disk contents.

     

    Part way through the process the recovery failed and stopped. I suspect the install-media image had not been written to the pcmcia memory card correctly using dd.

     

    Now I am using a working JUNOS 9.3 emergency boot disk. But the M5 router hard disk is not detected.

     

    I have tried using dd to erase the boot record and various combinations of disk partitioning with fdisk (no partition, 1 bsd partion etc) but nothing works. The hard disk itself does seem to be fine as fdisk can read it.

     

    Here is the emergency boot disk output.

     

    PhoenixBIOS 4.0 Release 6.0
    Copyright 1985-2000 Phoenix Technologies Ltd.
    All Rights Reserved

    CPCI-765 BIOS Revision 1.0.17

    Build Time: 10/01/02 19:15:07

    CPU = Intel


                                                    Consoles: serial port
    BIOS drive C: is disk0SDCFH-002G
    BIOS drive 😧 is disk1SDCFH-002G
    BIOS 638kB/2096128kB available memory

    FreeBSD/i386 bootstrap loader, Revision 1.1
    (builder@elliath.juniper.net, Wed Aug 12 04:23:15 UTC 2009)
    Loading /boot/defaults/loader.conf
    /kernel text=0x4ef890 data=0x3e6e8+0x3da00 syms=[0x4+0x63320+0x4+0x7a87d]
    -
    Hit [Enter] to boot immediately, or space bar for command prompt.
    Booting [/kernel]...
    GDB: debug ports: sioSETUP
    GDB: current port: sio
    KDB: debugger backends: ddb gdb
    KDB: current backend: ddb
    Copyright (c) 1996-2009, 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 9.3R4.4 #0: 2009-08-12 04:40:06 UTC
        builder@elliath.juniper.net:/volume/build/junos/9.3/release/9.3R4.4/obj-i386/sys/compile/MFS
    Timecounter "i8254" frequency 1193182 Hz quality 0
    CPU: Intel Pentium III (601.37-MHz 686-class CPU)
      Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
      Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
    real memory  = 2147483648 (2048 MB)
    avail memory = 2093932544 (1996 MB)
    cpu0 on motherboard
    DRAM Data Integrity Mode: ECC Mode with h/w scrubbing
    pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> pcibus 0 on motherboard
    pir0: <PCI Interrupt Routing Table: 13 Entries> on motherboard
    $PIR: Using invalid BIOS IRQ 15 from 0.1.INTA for link 0x13
    pci0: <PCI bus> on pcib0
    sfccb_probe has checked device id 0x31 and got rc = 0x06
    sfccb_probe has checked device id 0x31 and got rc = 0x06
    sfccb_probe has checked device id 0x31 and got rc = 0x06
    cbb0: <TI1410 PCI-CardBus Bridge> irq 15 at device 1.0 on pci0
    cardbus0: <CardBus bus> on cbb0
    pccard0: <16-bit PCCard bus> on cbb0
    cbb: BIOS allocated IRQ is not correct
    cbb: Setting IRQ to 15
    sfccb_probe has checked device id 0x31 and got rc = 0x06
    fxp0: <Intel 82559ER Embedded 10/100 Ethernet> port 0x1000-0x103f mem 0xfbc20000-0xfbc20fff,0xfbc00000-0xfbc1ffff irq 9 at device 3.0 on pci0
    sfccb_probe has checked device id 0x31 and got rc = 0x06
    fxp1: <Intel 82559ER Embedded 10/100 Ethernet> port 0x1040-0x107f mem 0xfbc21000-0xfbc21fff,0xfbc40000-0xfbc5ffff irq 11 at device 4.0 on pci0
    sfccb_probe has checked device id 0x31 and got rc = 0x06
    isab0: <PCI-ISA bridge> port 0x580-0x58f at device 15.0 on pci0
    isa0: <ISA bus> on isab0
    sfccb_probe has checked device id 0x31 and got rc = 0x06
    atapci0: <ServerWorks ROSB4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0xffe0-0xffe7,0xffe8-0xffeb,0x1080-0x108f at device 15.1 on pci0
    ata0: <ATA channel 0> on atapci0
    ata2: <ATA channel 1> on atapci0
    sfccb_probe has checked device id 0x31 and got rc = 0x06
    smb0: <Intel 82371AB Compatible SMB controller> mem 0xfbc22000-0xfbc22fff irq 11 at device 15.0 on pci0
    pcib1: <ServerWorks NB6635 3.0LE host to PCI bridge> pcibus 1 on motherboard
    pci1: <PCI bus> on pcib1
    orm0: <ISA Option ROMs> at iomem 0xc0800-0xc17ff,0xdc000-0xdffff on isa0
    ata1 at port 0x170-0x177,0x376 irq 15 on isa0
    vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
    sc0: <System console> at flags 0x100 on isa0
    sc0: EGA <16 virtual consoles, flags=0x100>
    sio0 at port 0x3f8-0x3ff irq 4 flags 0x90 on isa0
    sio0: type 16550A, console
    sio1 at port 0x2f8-0x2ff irq 3 on isa0
    sio1: type 16550A
    sio2 at port 0x3e8-0x3ef irq 5 on isa0
    sio2: type 16550A
    sio3: configured irq 9 not in bitmap of probed irqs 0x80
    sio3: port may not be enabled
    sio3 at port 0x2e8-0x2ef irq 9 on isa0
    sio3: type 16550A
    platform_mastership_init: Unknown product_type 0x00000002
    fxp0: Ethernet address 00:80:42:11:e4:a7
    Timecounter "TSC" frequency 601367436 Hz quality 800
    Timecounters tick every 1.000 msec
    mata3: <SanDisk SDP> at port 0x200-0x20f irq 15 function 0 config 1 on pccard0
    d0:ad0: FAILURE - SET_MULTI status=51<READY,DSC,ERROR> error=4<ABORTED>
     ad0: FAILURE - SETFEATURES ENABLE APM status=51<READY,DSC,ERROR> error=4<ABORTED>
    ad0: Changing APM level failed
    Pad0: 1918MB <SanDisk SDCFH-002G HDX 5.04> at ata0-master PIO4
    relad3: FAILURE - SET_MULTI status=51<READY,DSC,ERROR> error=4<ABORTED>
    oad3: FAILURE - SETFEATURES ENABLE APM status=51<READY,DSC,ERROR> error=4<ABORTED>
    ad3: Changing APM level failed
    aad3: 1918MB <SanDisk SDCFH-002G HDX 5.04> at ata3-master PIO4
    ded image </mdimg> 5912576 bytes at 0xc0a4a530
    Trying to mount root from cd9660:/dev/md0
    Disabling watchdog
    =================== Bootstrap installer starting ===================
    Initialized the environment
    Routing engine model is RE-3.0
    Discovered that flash disk = ad0 , hard disk = ad1
    ad1: atacontrol: device not found: No such file or directory
    Changed ad1 atacontrol: device not found: No such file or directory
    WARNING: Hard disk missing, installing only on compact-flash
    Disk to install is ad0
    mfs: available=4024096
    Reserving 270336 for mfs /var
    Using 2097152 for /tmp
    WARNING: The installation will erase the contents of your disks.
    Do you wish to continue (y/n)?

     

    If I choose Y and continue the compact flash on the RE-3 is not large enough for the JUNOS 9.3 install to complete.

     

    How do I get the hard disk to be detected?



  • 2.  RE: M5 hard disk missing, emergency boot disk recovery failed
    Best Answer

    Posted 04-27-2010 04:19

    Hello there,

    I can see You have 2Gb CF in this RE

     

     

    aad3: 1918MB <SanDisk SDCFH-002G HDX 5.04> at ata3-master PIO4

    AFAIK, RE-3 for M5/M10 does not officially support 2Gb CF, and this most likely causes You a problem when installing image on CF.

    HTH

    Regards

    Alex

     

     

     

     



  • 3.  RE: M5 hard disk missing, emergency boot disk recovery failed

    Posted 04-28-2010 16:34

    Thanks, you were right. A 2Gb compact flash in a RE-3.0 stops the routing engine from seeing the hard disk for some reason. I installed 1Gb compact flash to solve the problem. What an unusual limitation. Thanks!