Juniper vSRX 12 Boot Issue
Moderator: mike
-
- Posts: 15
- Joined: Thu Sep 07, 2017 11:15 am
Juniper vSRX 12 Boot Issue
Hi Guys
Not sure if this was posted before but I cannot boot using the vSRX image. I've followed the instructions and using that exact version: junos-vsrx-12.1X44-D10.4-domestic.ova.
It gets to the below prompt:
###PCB Group initialized for udppcbgroup
###PCB Group initialized for tcppcbgroup
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
Trying to mount root from ufs:/dev/ad0s1a
Manual root filesystem specification:
<fstype>:<device> Mount <device> using filesystem <fstype>
eg. ufs:ad0s1a
? List valid disk boot devices
<empty line> Abort manual input
mountroot>
When I hit enter this is what I get:
panic: Root mount failed, startup aborted.
cpuid = 0
db_log_stack_trace_cmd(c0d02ea0,0,c0c1f32c,f8ff3c90,2) at db_log_stack_trace_cmd+0x36
panic(c0c1f32c,20) at panic+0x2dc
vfs_mountroot(0,0,0,0,0) at vfs_mountroot+0x15f
start_init(0,f8ff3d38,0,0,0) at start_init+0x62
fork_exit(c0584cab,0,f8ff3d38) at fork_exit+0x85
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xf8ff3d70, ebp = 0 ---
###Entering boot mastership relinquish phase
KDB: enter: panic
[thread pid 1 tid 100006 ]
Stopped at kdb_enter+0x162: movl $0xc0c77125,0(%esp)
db>
Please help.
Not sure if this was posted before but I cannot boot using the vSRX image. I've followed the instructions and using that exact version: junos-vsrx-12.1X44-D10.4-domestic.ova.
It gets to the below prompt:
###PCB Group initialized for udppcbgroup
###PCB Group initialized for tcppcbgroup
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
Trying to mount root from ufs:/dev/ad0s1a
Manual root filesystem specification:
<fstype>:<device> Mount <device> using filesystem <fstype>
eg. ufs:ad0s1a
? List valid disk boot devices
<empty line> Abort manual input
mountroot>
When I hit enter this is what I get:
panic: Root mount failed, startup aborted.
cpuid = 0
db_log_stack_trace_cmd(c0d02ea0,0,c0c1f32c,f8ff3c90,2) at db_log_stack_trace_cmd+0x36
panic(c0c1f32c,20) at panic+0x2dc
vfs_mountroot(0,0,0,0,0) at vfs_mountroot+0x15f
start_init(0,f8ff3d38,0,0,0) at start_init+0x62
fork_exit(c0584cab,0,f8ff3d38) at fork_exit+0x85
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xf8ff3d70, ebp = 0 ---
###Entering boot mastership relinquish phase
KDB: enter: panic
[thread pid 1 tid 100006 ]
Stopped at kdb_enter+0x162: movl $0xc0c77125,0(%esp)
db>
Please help.
-
- Posts: 1
- Joined: Fri Jan 12, 2018 1:56 pm
Re: Juniper vSRX 12 Boot Issue
I've got the same issue on 12.1X44-D15... I think it's related to the KVM disk settings ("-drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none"). "if=virtio" should be "if=ide" I think... Not sure yet how to change it though..
EDIT: Well that was easy, I just added "-drive file=virtioa.qcow2,if=ide,bus=0,unit=0,cache=none" to the end of the QEMU custom options (when you add or edit a node) and it booted
EDIT 2: You can change the template in the file "/opt/unetlab/html/templates/vsrx.php". This way you don't have to add the extra options every time.
EDIT: Well that was easy, I just added "-drive file=virtioa.qcow2,if=ide,bus=0,unit=0,cache=none" to the end of the QEMU custom options (when you add or edit a node) and it booted
EDIT 2: You can change the template in the file "/opt/unetlab/html/templates/vsrx.php". This way you don't have to add the extra options every time.
-
- Posts: 7
- Joined: Wed Jun 07, 2017 1:06 pm
Re: Juniper vSRX 12 Boot Issue
Thanks JVijsma, worked for me.JVijsma wrote: ↑Fri Jan 12, 2018 2:06 pmI've got the same issue on 12.1X44-D15... I think it's related to the KVM disk settings ("-drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none"). "if=virtio" should be "if=ide" I think... Not sure yet how to change it though..
EDIT: Well that was easy, I just added "-drive file=virtioa.qcow2,if=ide,bus=0,unit=0,cache=none" to the end of the QEMU custom options (when you add or edit a node) and it booted
EDIT 2: You can change the template in the file "/opt/unetlab/html/templates/vsrx.php". This way you don't have to add the extra options every time.
-
- Posts: 15
- Joined: Thu Sep 07, 2017 11:15 am
Re: Juniper vSRX 12 Boot Issue
Thanks. JVijsmaJVijsma wrote: ↑Fri Jan 12, 2018 2:06 pmI've got the same issue on 12.1X44-D15... I think it's related to the KVM disk settings ("-drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none"). "if=virtio" should be "if=ide" I think... Not sure yet how to change it though..
EDIT: Well that was easy, I just added "-drive file=virtioa.qcow2,if=ide,bus=0,unit=0,cache=none" to the end of the QEMU custom options (when you add or edit a node) and it booted
EDIT 2: You can change the template in the file "/opt/unetlab/html/templates/vsrx.php". This way you don't have to add the extra options every time.
-
- Posts: 12
- Joined: Sat Feb 24, 2018 7:43 pm
Re: Juniper vSRX 12 Boot Issue
Can you guys copy paste the whole QEMU custom options? Cannot get it to work
Mine looks like this with the "-drive file=virtioa.qcow2,if=ide,bus=0,unit=0,cache=none" added in the end.
-machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc,-drive file=virtioa.qcow2,if=ide,bus=0,unit=0,cache=none
Thanks for your support
Mine looks like this with the "-drive file=virtioa.qcow2,if=ide,bus=0,unit=0,cache=none" added in the end.
-machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc,-drive file=virtioa.qcow2,if=ide,bus=0,unit=0,cache=none
Thanks for your support
-
- Posts: 5080
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Juniper vSRX 12 Boot Issue
best is to setup ssh and ssh to the node
-
- Posts: 12
- Joined: Sat Feb 24, 2018 7:43 pm
Re: Juniper vSRX 12 Boot Issue
But for that, i need my node to be running, that's the problem as i see it starting for a sec but then it's shut down again.
Something is wrong as i cannot get it up and running.
How can i troubleshoot this further?
-
- Posts: 4
- Joined: Mon Feb 26, 2018 1:00 pm
Re: Juniper vSRX 12 Boot Issue
Hi, I have the exact same issue. I see the vSRX start for a second or two, then it stops. I dont see any error message or anything that indicate what the problem is. I need help on this.
I did what was offered in above posts, my QEMU custom options is as below
"-machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -drive file=virtioa.qcow2,if=ide,bus=0,unit=0,cache=none"
but the node still stops after 1 or 2 seconds once I start the ndoe
Please help
Edit: I am using this image "junos-vsrx-12.1X47-D15.4-domestic-disk1.vmdk"
CPU i7-7700HQ CPU @2.80GHz
RAM: 48GB
Windows 10 - 64bit
VMware® Workstation 12 Pro - allocated 32G ram with 8 processors 1 Cores per each
12.5.7 build-5813279
-
- Posts: 4
- Joined: Mon Feb 26, 2018 1:00 pm
Re: Juniper vSRX 12 Boot Issue
Hello all,
I just tried the image "media-vsrx-vmdisk-17.3R1.10.qcow2" for the vsrxng and I see the same exact results. vsrx starts and stops after a second or two.
can someone please assist in troubleshooting this ?
I just tried the image "media-vsrx-vmdisk-17.3R1.10.qcow2" for the vsrxng and I see the same exact results. vsrx starts and stops after a second or two.
can someone please assist in troubleshooting this ?
-
- Posts: 4
- Joined: Mon Feb 26, 2018 1:00 pm
Re: Juniper vSRX 12 Boot Issue
I was working with UD yesterday and I managed to find the issue. for some reason (which UD explained why) the "Virtualize Intel VT -x/EPT or AMD-V/RVI" under vmware processor was unchecked. checked it and loaded the VM, works like a charm now. give it a try