Skip to content

Instantly share code, notes, and snippets.

@routelastresort
Created August 23, 2013 07:41
Show Gist options
  • Save routelastresort/6316560 to your computer and use it in GitHub Desktop.
Save routelastresort/6316560 to your computer and use it in GitHub Desktop.
vSRX in KVM! VirtualBox and OpenStack soon #hacktheplanet
emu-system-x86_64 -m 2048 -smp 2 -drive file=junos-vsrx-12.1X44-D10.4-domestic-disk1.qcow2 -nographic
Consoles: serial port
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS 639kB/2096120kB available memory
FreeBSD/i386 bootstrap loader, Revision 1.2
([email protected], Tue Jan 8 04:04:34 UTC 2013)
Loading /boot/defaults/loader.conf
/kernel text=0x894aa0 data=0x4d050+0x100b2c syms=[0x4+0x92cf0+0x4+0xd1487]
/boot/modules/libmbpool.ko text=0xd9c data=0x100
/boot/modules/if_em_vjx.ko text=0xb794 data=0x5ec+0x204 /
Hit [Enter] to boot immediately, or space bar for command prompt.
Booting [/kernel]...
platform_early_bootinit: Early Boot Initialization
GDB: debug ports: sio
GDB: current port: sio
KDB: debugger backends: ddb gdb
KDB: current backend: ddb
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.1X44-D10.4 #0: 2013-01-08 05:52:29 UTC
[email protected]:/volume/build/junos/12.1/service/12.1X44-D10.4/obj-i386/junos/bsd/kernels/VSRX/kernel
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: QEMU Virtual CPU version 1.4.0 (2294.94-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x623 Stepping = 3
Features=0x78bfbf9<FPU,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
Features2=0x80802001<SSE3,CX16,POPCNT,<b31>>
AMD Features=0x20100800<SYSCALL,NX,LM>
AMD Features2=0x65<LAHF,SVM,ABM,SSE4A>
real memory = 2147475456 (2047 MB)
avail memory = 1488924672 (1419 MB)
MPTable: <BOCHSCPU 0.1 >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0: Assuming intbase of 0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
netisr_init: !debug_mpsafenet, forcing maxthreads from 2 to 1
Initializing VSRX platform properties ..
cpu0 on motherboard
cpu1 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 6 Entries> on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 WDMA2 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc040-0xc04f at device 1.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
Timecounter "PIIX" frequency 3579545 Hz quality 0
smb0: <Intel 82371AB SMB controller> irq 9 at device 1.3 on pci0
pci0: <display, VGA> at device 2.0 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection - VJX stub Version - 3.2.18> port 0xc000-0xc03f mem 0xfeba0000-0xfebbffff irq 11 at device 3.0 on pci0
orm0: <ISA Option ROM> at iomem 0xee800-0xeffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x90 on isa0
sio0: type 16550A, console
sio1: configured irq 5 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio2: configured irq 3 not in bitmap of probed irqs 0
sio2: port may not be enabled
sio3: configured irq 7 not in bitmap of probed irqs 0
sio3: port may not be enabled
Initializing product: 131 ..
###PCB Group initialized for udppcbgroup
###PCB Group initialized for tcppcbgroup
ad0: Device does not support APM
ad0: 2048MB <QEMU HARDDISK 1.4.0> at ata0-master WDMA2
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
Attaching /cf/packages/junos via /dev/mdctl...
Mounted junos package on /dev/md0...
Automatic reboot in progress...
** /dev/ad0s1a
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
LINK COUNT DIR I=119 OWNER=root MODE=40755
SIZE=512 MTIME=Jan 8 07:56 2013 COUNT 2 SHOULD BE 5
ADJUST? yes
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? yes
SUMMARY INFORMATION BAD
SALVAGE? yes
BLK(S) MISSING IN BIT MAPS
SALVAGE? yes
192 files, 111409 used, 713626 free (2 frags, 178406 blocks, 0.0% fragmentation)
***** FILE SYSTEM MARKED CLEAN *****
***** FILE SYSTEM WAS MODIFIED *****
** /dev/ad0s1e
** Last Mounted on /config
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? yes
SUMMARY INFORMATION BAD
SALVAGE? yes
BLK(S) MISSING IN BIT MAPS
SALVAGE? yes
2 files, 1 used, 102782 free (2 frags, 25695 blocks, 0.0% fragmentation)
***** FILE SYSTEM MARKED CLEAN *****
***** FILE SYSTEM WAS MODIFIED *****
Verified junos signed by PackageProduction_12_1_0
Verified jboot signed by PackageProduction_12_1_0
Verified junos-vsrx-12.1X44-D10.4-domestic signed by PackageProduction_12_1_0
Loading configuration ...
mgd: error: Cannot open configuration file: /config/juniper.conf
mgd: warning: activating factory configuration
Generating RSA key /etc/ssh/ssh_host_key
Generating public/private rsa1 key pair.
Your identification has been saved in /etc/ssh/ssh_host_key.
Your public key has been saved in /etc/ssh/ssh_host_key.pub.
The key fingerprint is:
ed:ec:4c:00:40:19:fa:09:30:66:7b:f0:3a:c4:09:83 root@
The key's randomart image is:
+--[RSA1 2048]----+
|*+ .+o |
|E+=... |
| =oo . |
|. oo . . . |
| o o S . |
| . + |
| + |
| + |
| o |
+-----------------+
Generating DSA key /etc/ssh/ssh_host_dsa_key
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
75:ea:1e:01:4f:fd:96:c5:60:2a:76:04:b0:f5:89:af root@
The key's randomart image is:
+--[ DSA 1024]----+
| ..o.. o |
| o = + o |
| o * B o|
| * * . o |
| S + . + |
| . o . |
| E |
| . . |
| . |
+-----------------+
Generating RSA2 key /etc/ssh/ssh_host_rsa_key
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
d7:e7:53:c0:6f:94:c2:3c:72:9b:98:59:c8:00:08:14 root@
The key's randomart image is:
+--[ RSA 2048]----+
| .Eo .... |
| . o +. .|
| + Bo..|
| .B =+ |
| S .+.o. +|
| . o o |
| o |
| . |
| |
+-----------------+
Generating ECDSA key /etc/ssh/ssh_host_ecdsa_key
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
81:26:04:81:dd:0a:6b:6f:8a:74:79:94:14:56:6d:09 root@
The key's randomart image is:
+--[ECDSA 256]---+
| oo+.ooEo . |
|o ..o. . + |
| o .o + o |
|... = . |
|. . o S |
| . = . |
|o + . |
|.. |
| |
+-----------------+
mgd: commit complete
Setting initial options: .
Starting optional daemons: .
Doing initial network setup:
.
Initial interface configuration:
additional daemons: eventd.
Additional routing options:kern.module_path: /boot//kernel;/boot/modules -> /boot/modules;/modules/peertype;/modules/ifpfe_drv;/modules/ifpfe_media;/modules/platform;/modules;
kld netpfe media: ifpfem_bri ifpfem_ds0 ifpfem_ds1e1 ifpfem_ds3e3kld netpfe drv: ifpfed_atm ifpfed_controller ifpfed_dialer ifpfed_ds0 ifpfed_ds1e1 ifpfed_ds3e3 ifpfed_eia530 ifpfed_eth ifpfed_irb ifpfed_isdn ifpfed_ism ifpfed_lt ifpfed_ml_cmn ifpfed_ml_ha ifpfed_modemKLD ifpfed_modem.ko: depends on ucom - not available
kldload: can't load /modules/ifpfe_drv/ifpfed_modem.ko: No such file or directory
ifpfed_ppeer ifpfed_pppoe ifpfed_st ifpfed_svcs ifpfed_vp ifpfed_vtkld platform: fileassoc if_em_vjx ifpfem_xdsl ixp j_ifpfekld peertype: peertype_fwdd peertype_pfpc peertype_slavere ipsec kld resrsv.
Doing additional network setup:.
Starting final network daemons:.
setting ldconfig path: /usr/lib /opt/lib
ldconfig: warning: /opt/lib: No such file or directory
starting standard daemons: cron.
Initial rc.i386 initialization:.
Lock Manager
RDM Embedded 7 [04-Aug-2006] http://www.birdstep.com
Copyright (c) 1992-2006 Birdstep Technology, Inc. All Rights Reserved.
Unix Domain sockets Lock manager
Lock manager 'lockmgr' started successfully.
Error: Profile database dictionary file missing.
Profile database initialized
Local package initialization:.
starting local daemons:.
kern.securelevel: -1 -> 1
The inital provisioning tool works for VMware only.
Fri Aug 23 07:38:41 UTC 2013
Amnesiac (ttyd0)
login:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment