-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Console with modified backend #11
Comments
Hi, Does it get stuck there on: "Mapping TX rings It doesn't show anything else? Could you tell me your hardware specifications? and the output of these commands:
I indeed have heard of cases where it gets stuck on mapping phase being unable to map the RX rings. But I was unable to reproduce it in my hardware. Thanks, |
Hi Joao, Thanks for your prompt reply. It does get stuck at: "Mapping TX rings and shows nothing else. The hardware specs are as follows: CPU: Intel(R) Xeon(R) CPU E5-1607 v2 @ 3.00 GHz (4-core) (3 assigned to Dom-0) Let me know if you require any other hardware specification. The output to "xl vcpu-list" is: Name ID VCPU CPU State Time(s) CPU Affinity The output to "xl info" is: Name ID VCPU CPU State Time(s) CPU Affinity The output of "xl dmesg" is: (XEN) Xen version 4.4.0 (Ubuntu 4.4.0-0ubuntu5.2) (stefan.bader@canonical.com) (gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2) debug=n Tue Sep 30 19:19:31 UTC 2014 The output of "dmesg" is: [65497.038538] xen_netback/xen_netback:xenvif_netmap_unmap: vif6.0: revoking 1034 pages Best wishes, |
Hey Hassan, Everything looks ok on the backend side and configurations. Could you try booting the VM in one of the cores of Domain-0 ? For example in core 2 instead of core 3, then pinning it back to core 3. Thanks, |
HI Joao, Great, it worked. I specified the cpu in the .cfg file and booted the VM. The console this time didn't get stuck. After that I pinned it back to core 3 by: xl vcpu-pin clickos 0 3 Thanks a lot! Any reason why this worked? |
Not sure yet but will let you know when I fix the issue, in mini-os. Thanks a lot! |
Hi,
I am trying to try the ponger example using your modified netback. I cannot seem to make it work. The console output for the ClickOS VM says:
Xen Minimal OS!
start_info: 0x1be000(VA)
nr_pages: 0x800
shared_inf: 0x8ce6b000(MA)
pt_base: 0x1c1000(VA)
nr_pt_frames: 0x5
mfn_list: 0x1ba000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line:
stack: 0x177040-0x197040
MM: Init
_text: 0x0(VA)
_etext: 0xe1e1d(VA)
_erodata: 0x15d000(VA)
_edata: 0x15ebb8(VA)
stack start: 0x177040(VA)
_end: 0x1b9010(VA)
start_pfn: 1c9
max_pfn: 800
Mapping memory range 0x400000 - 0x800000
setting 0x0-0x15d000 readonly
skipped 0x1000
MM: Initialise page allocator for 1cb000(1cb000)-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: 0x1e0000
Thread "xenstore": pointer: 0x2000802800, stack: 0x1f0000
xenbus initialised on irq 1 mfn 0x2222b0
Thread "shutdown": pointer: 0x2000802fb0, stack: 0x200000
Dummy main: start_info=0x197040
Thread "main": pointer: 0x2000803760, stack: 0x210000
sparsing 0MB at 176000
"main"
[on_status:205] router id 0
[on_status:206] status change to Running
Thread "click": pointer: 0x2000810c50, stack: 0x230000
backend dom 0
Mapping TX rings
0 map errors
Am I doing it right? The example.config file that I am using is as follows:
name = 'clickos'
kernel = '/home/nfv1/click/clickos/minios/build/clickos_x86_64'
vcpus = '1'
pinning your VCPU helps performance
cpus = '3'
memory = '8'
uncoment this line if you wish to use our backend
vif = ['bridge=vale0,script=vif-vale']
vif = ['mac=68:05:ca:29:2e:be,bridge=vale0']
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'preserve'
click = 'ponger.click'
uncomment this line to enable PVH mode for ClickOS
pvh=1
Best wishes,
Hassan
The text was updated successfully, but these errors were encountered: