cnplab / cosmos

ClickOS toolstack
BSD 3-Clause "New" or "Revised" License
18 stars 16 forks source link

error with xl console #19

Closed wj92 closed 9 years ago

wj92 commented 9 years ago

when I use xl list: Name ID Mem VCPUs State Time(s) Domain-0 0 5876 4 r----- 235.9 clickos 1 8 1 -b---- 0.0

then I use cosmos start $DOMID mirror.click: Domain ID for 1: -22 Location of click script: mirror.click

but when I input xl console clickos,however it blocked Xen Minimal OS! start_info: 0x2e6000(VA) nr_pages: 0x800 shared_inf: 0x845cf000(MA) pt_base: 0x2e9000(VA) nr_pt_frames: 0x5 mfn_list: 0x2e2000(VA) mod_start: 0x0(VA) mod_len: 0 flags: 0x0 cmd_line: stack: 0x23af40-0x25af40 MM: Init _text: 0x0(VA) _etext: 0xe8826(VA) _erodata: 0x163000(VA) _edata: 0x164bb8(VA) stack start: 0x23af40(VA) _end: 0x2e1010(VA) start_pfn: 2f1 max_pfn: 800 Mapping memory range 0x400000 - 0x800000 setting 0x0-0x163000 readonly skipped 0x1000 MM: Initialise page allocator for 2f3000(2f3000)-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: 0x300000 Thread "xenstore": pointer: 0x2000802800, stack: 0x310000 xenbus initialised on irq 1 mfn 0x1ba64c Thread "shutdown": pointer: 0x2000802fb0, stack: 0x320000 Dummy main: start_info=0x25af40 Thread "main": pointer: 0x2000803760, stack: 0x330000 sparsing 0MB at 177000 "main"

could anyone help me? I have tried it for one day.

fmanco commented 9 years ago

Hi

Did you compile cosmos with DOMLIB=xcl? If so you need to use domain names, meaning cosmos start clickos mirror.click. Otherwise, did you set DOMID?

I just created #20 and will submit a fix soon.

Best -- Filipe

wj92 commented 9 years ago

Hi Filipe:

I followed your advice and got success. Thank you for helping me.

--jw.