sysml / clickos

The Click modular router: fast modular packet processing and analysis
http://www.read.cs.ucla.edu/click/
Other
136 stars 35 forks source link

Unable to use simple mirror.click #19

Closed royceniu closed 8 years ago

royceniu commented 8 years ago

Dear all,

The screen shows: [on_status:206] status change to Stopped when use "sudo clickos-ctl/clickos install clickos mirror.click" Could you help me please?

Xen Minimal OS! start_info: 0x2ed000(VA) nr_pages: 0x800 shared_inf: 0xaa9e3000(MA) pt_base: 0x2f0000(VA) nr_pt_frames: 0x5 mfn_list: 0x2e9000(VA) mod_start: 0x0(VA) mod_len: 0 flags: 0x0 cmd_line: stack: 0x241f40-0x261f40 MM: Init _text: 0x0(VA) _etext: 0xecd96(VA) _erodata: 0x16a000(VA) _edata: 0x16bb98(VA) stack start: 0x241f40(VA) _end: 0x2e8010(VA) start_pfn: 2f8 max_pfn: 800 Mapping memory range 0x400000 - 0x800000 setting 0x0-0x16a000 readonly skipped 0x1000 MM: Initialise page allocator for 2fa000(2fa000)-800000(800000) MM: done Demand map pfns at 801000-2000801000. Heap resides at 2000802000-4000802000. Initialising timer interface Initialising console ... done. gnttab_table mapped at 0x801000. Initialising scheduler Thread "Idle": pointer: 0x2000802050, stack: 0x310000 Thread "xenstore": pointer: 0x2000802800, stack: 0x320000 xenbus initialised on irq 1 mfn 0x1039459 Thread "shutdown": pointer: 0x2000802fb0, stack: 0x330000 Dummy main: start_info=0x261f40 Thread "main": pointer: 0x2000803760, stack: 0x340000 sparsing 0MB at 17e000 "main" [on_status:205] router id 0 [on_status:206] status change to Stopped


mirror.click

FromDevice -> EtherMirror -> ToDevice


sudo vale-ctl bdg_ctl [98] bridge:0 port:0 vale0:eth1 bdg_ctl [98] bridge:0 port:1 vale0:vif2.0 bdg_ctl [98] bridge:1 port:0 vale1:eth2


royceniu commented 8 years ago

Sry for my careless.

It should be: sudo clickos-ctl/clickos install -s clickos mirror.click