Skip to content

failed with vif = ['ip=192.168.1.130,mac=00:15:17:15:5d:74,bridge=vale0,script=/etc/xen/scripts/vif-vale'] #6

@wj92

Description

@wj92

this is my click configuration files:
FromDevice->Print(ok)->ToDevice;

and I have inserted netmap_lin.ko and xen-netback.ko.

when I try with
name = 'clickos1'
kernel = '/root/xen/clickos/minios/build/clickos_x86_64'
vcpus = '1'
memory = '16'
vif=['ip=192.168.1.130,mac=00:15:17:15:5d:74,bridge=vale0']
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'preserve'
click = 'print.click'

then I use xl consloe and get the output about package。

but when I try with
name = 'clickos1'
kernel = '/root/xen/clickos/minios/build/clickos_x86_64'
vcpus = '1'
memory = '16'
vif = ['ip=192.168.1.130,mac=00:15:17:15:5d:74,bridge=vale0,script=/etc/xen/scripts/vif-vale']
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'preserve'
click = 'print.click'

then I use xl consloe ,but there is nothing output about package,just get the follow output:
Xen Minimal OS!
start_info: 0x2ea000(VA)
nr_pages: 0x1000
shared_inf: 0xa95ef000(MA)
pt_base: 0x2ed000(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: 2f5
max_pfn: 1000
Mapping memory range 0x400000 - 0x1000000
setting 0x0-0x163000 readonly
skipped 0x1000
MM: Initialise page allocator for 2fb000(2fb000)-1000000(1000000)
MM: done
Demand map pfns at 1001000-2001001000.
Heap resides at 2001002000-4001002000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x1001000.
Initialising scheduler
Thread "Idle": pointer: 0x2001002050, stack: 0x310000
Thread "xenstore": pointer: 0x2001002800, stack: 0x320000
xenbus initialised on irq 1 mfn 0xa96de
Thread "shutdown": pointer: 0x2001002fb0, stack: 0x330000
Dummy main: start_info=0x25af40
Thread "main": pointer: 0x2001003760, stack: 0x340000
sparsing 0MB at 177000
"main"
[on_status:205] router id 0
[on_status:206] status change to Running
Thread "click": pointer: 0x2001010a00, stack: 0x360000
************************ NETFRONT for device/vif/0 **********

net TX ring size 256
net RX ring size 256
backend at /local/domain/0/backend/vif/1/0
mac is 00:15:17:15:5d:74
[on_status:205] router id 1
[on_status:206] status change to Running
Thread "click": pointer: 0x2001018ce0, stack: 0x570000
************************ NETFRONT for device/vif/0 **********

net TX ring size 256
net RX ring size 256
backend at /local/domain/0/backend/vif/1/0
mac is 00:15:17:15:5d:74
[app_shutdown:365] Requested shutdown reason=poweroff
[router_stop:172] Stopping all routers...

[router_stop:179] Stopping instance = 1...

who can help me? I have tried it for two days.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions