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