Let junos run on qemu-0.12.x

Source: Internet
Author: User

After upgrading the following qemu, we found that the original JunOS Olive image cannot be started and stayed at the following locations:

Dog: ERROR-reset of uninitialized watchdog <br/> panic: unknown/reserved trap <br/> (null) (c037dbc0, c037dbc0, c032d5c4, c07f9df0, 5) at0 <br/> (null) (c032d5c4, 1e, c07f9f34, 0, 0) at0 <br/> (null) (c07f9e9c, 0, c07f9ef4, c01951ed) at0 <br/> (null) (10, 10, 10, 0, c) at0 <br/> (null) (10, 10, 10, 0, 7fe000) at0 <br/> (null) (2) at0 <br/> (null) (c07f9ff4, c02e0000c, 7fe000) at0 <br/> (null) (c07f9fd4, f, 0) at0 <br/> (null) (7fe000, 0, 0, 0) at0 <br/> (null) () at0 <br/> dog: ERROR-reset of uninitialized watchdog <br/> dog: ERROR-reset of uninitialized watchdog <br/> Uptime: 1 s

It can be seen that there is a problem with watchdog. Since the problem occurs in watchdog, it is probably a BIOS problem. After Google, we found the following description:

The problem is that JunOS does not like the new BIOS that qemu started using since version 0.12 call SeaBIOS. You will need to use an older pc-bios or a modified SeaBIOS to run junipolier.

The specific solution is also provided on the same page. The following is a simple solution:

1. Download The seabios source file

$ Git clone git: // git.linuxtogo.org/home/kevin/seabios.git seabios

2. Go to the seabios directory and modify the src/config. h file as follows:

// Support generation of sm bios tables (for Emulators) <br/> # define config_smbios 0

3. Compile seabios

Make

4. Copy the bios. binfile to the corresponding directory.

CP out/bios. bin/usr/local/share/qemu/bios-nosmbios.bin

After that, you can use JunOS Olive ~

 

Refer:

1. http://inetpro.org/wiki/Using_QEMU_with_Olive_to_emulate_Juniper_Routers

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.