UB 下JunOS 模擬器

1. 創建virtualbox named-pipe

* First create a Serial Port in your guest, and then fire up it:
Port Number: COM1
IRQ: 4
I/O Port: 0x3F8
Port Mode: Pipe Host
Create Pipe: (enable)
Port Path: /tmp/vboxpipe-pe1

2. sudo apt-get install socat

3. 運行
socat UNIX-CONNECT:/tmp/vboxpipe-pe1 TCP-LISTEN:2001

4. 連接
telnet localhost 2001

5. 運行VirtualBox

~$ telnet localhost 2001
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Console: serial port
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS 639kB/195520kB available memory

FreeBSD/i386 bootstrap loader, Revision 0.8
([email protected], Thu Nov 2 00:00:16 GMT 2006)
tel PIIX4 ATA33 controller> port 0xc000-0xc00f at device 1.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <VGA-compatible display device> at 2.0
em0: <Intel(R) PRO/1000 Network Connection Version - 3.1.10> port 0xc010-0xc017 mem 0xf0000000-0xf001ffff irq 11 at device 3.0 on pci0
em0: Speed:1000 Mbps Duplex:Full
pci0: <unknown card> (vendor=0x80ee, dev=0xcafe) at 4.0 irq 10
smb0: <Intel 82371AB SMB controller> at device 7.0 on pci0
orm0: <Option ROMs> at iomem 0xc0000-0xc8fff,0xe2000-0xe2fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
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 16450, console
sio1: configured irq 5 not in bitmap of probed irqs 0
sio2: configured irq 3 not in bitmap of probed irqs 0
sio3: configured irq 7 not in bitmap of probed irqs 0
em0: bus=0, device=3, func=0, Ethernet address 08:00:27:24:54:b9
DEVFS: ready to run
if_pfe_ls_attach: Initializing bundle control block list.
ad0: 2047MB <VBOX HARDDISK> [4161/16/63] at ata0-master UDMA33
ata1-master: <VBOX CD-ROM/1.0> CDROM device - NO DRIVER!
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
if_pfe_open: listener socket opened, listening...
Mounted jbase package on /dev/vn0...
Verified manifest signed by PackageProduction_8_1_0
Verified jboot signed by PackageProduction_8_1_0
Mounted jkernel package on /dev/vn1...
Verified manifest signed by PackageProduction_8_1_0
Mounted jpfe package on /dev/vn2...
Mounted jdocs package on /dev/vn3...
Verified manifest signed by PackageProduction_8_1_0
Mounted jroute package on /dev/vn4...
Verified manifest signed by PackageProduction_8_1_0
Mounted jpfe-common package on /dev/vn5...
swapon: adding /dev/ad0s1b as swap device
Automatic reboot in progress...
/dev/ad0s1a: 1220 files, 25117 used, 30419 free /dev/ad0s1e: 5 files, 5 used, 6137 free (19 frags, 3800 blocks, 0.0% fragmentation)
(17 frags, 765 blocks, 0.3% fragmentation)
(19 frags, 3800 blocks, 0.0% fragmentation)
/dev/ad0s1f: 208 files, 248598 used, 463834 free (138 frags, 57962 blocks, 0.0% fragmentation)
tunefs: soft updates set
Creating initial configuration...mgd: error: schema: dbs_remap_daemon_index: could not find daemon name 'kmd'
mgd: error: schema: dbs_remap_daemon_index: could not find daemon name 'kmd'
rpd pid 2639 syscall 59 ran for 551.267 ms
chassisd pid 2641 syscall 5 ran for 634.721 ms
mgd: commit complete
Setting initial options: debugger_on_panic=NO debugger_on_break=NO.
Doing initial network setup:.
Initial interface configuration:
pid 2856 (dcd), uid 0: exited on signal 6 (core dumped)
additional daemons:.
checking for core dump...
savecore: could not be determined
Additional routing options:.
Doing additional network setup:.
Starting final network daemons:.
setting ldconfig path: /usr/lib /opt/lib
starting standard daemons: cron.
Initial rc.i386 initialization: microcode kld.
Local package initialization:.
kern.securelevel: -1 -> 1
starting local daemons:.
Fri Feb 6 21:17:18 CST 2009
Feb 6 21:17:19 init: product mask 0x200000, model 1

Feb 6 21:17:19 init: lr_lrmuxd (PID 2978) started
Feb 6 21:17:19 init: lr_J2001 (PID 2979) started
Feb 6 21:17:19 init: lr_r1 (PID 2980) started
Feb 6 21:17:20 init: lr_r2 (PID 2981) started
Feb 6 21:17:20 init: lr_r3 (PID 2982) started

PE1 (ttyd0)

login:
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章