[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] I have a question about Xen-ARM



On 21/01/15 14:11, ììì wrote:
> Hi
> 
>  

Hello,

Can you please CC the xen-devel/xen-user mailing list for any question
related to Xen.

> I Installed Xen 4.4.1 and Run Domain0, DomainU_01, DomainU_02 on Arndale
> board.
> 
> I made DomU.cfg file and set Each DomainU has 1 vcpu. It works well.
> 
>  
> 
> But  I want to each domain has more than 2 vcpu. So I changed 'vcpus =
> 1' to 'vcpus = 2' in DomU.cfg file
> 
> and run the DomU but Each DomU still have only 1 vcpu. The number of
> vcpu is only 1 regardless cfg file.
> 
>  
> 
> * My Environment
> 
> Xen 4.4.1
> 
> Dom0 Kernel
> 
>  - git clone -b arndale
> http://xenbits.xen.org/git-http/people/julieng/linux-arm.git

The Arndale wiki page [1] doesn't point to this tree for more than 6
months. And, this branch doesn't exist anymore. It was containing an
early development.
Nowadays the Arndale is fully supported in Linux upstream (3.16 and
onwards).

Please follow the instructions on the wiki page [1]. Although it's still
using the linaro kernel. But upstream should work.

Regards,

[1]
http://wiki.xen.org/wiki?title=Xen_ARM_with_Virtualization_Extensions/Arndale

>  - make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- arndale_ubuntu_defconfig
> 
> DomU Kernel
> 
>  - git clone -b arndale
> http://xenbits.xen.org/git-http/people/julieng/linux-arm.git
> 
>  - make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- xen_domU_defconfig 
> 
>  
> 
> I change DomU Version like this
> 
> DomU Kernel 
> 
>  - git clone -b
>  arndale-domU-3.9 http://xenbits.xen.org/git-http/people/julieng/linux-arm.git
> 
>  - make ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- xen_domU_arndale_defconfig
> 
>  
> 
> After change and run DomU Kernel, Each DomU has 2 vcpu. I can confirm by
> using xl list command.
> 
> But when booting, occur kernel panic like this
> 
>  
> 
> [    0.123508] Synopsys Designware Multimedia Card Interface Driver
> [    0.123559] sdhci-pltfm: SDHCI platform and OF driver helper
> [    0.142614] TCP: cubic registered
> [    0.142643] NET: Registered protocol family 17
> [    6.166576] kjournald starting.  Commit interval 5 seconds
> [    6.167331] EXT3-fs (xvda): using internal journal
> [    6.179941] EXT3-fs (xvda): recovery complete
> [    6.179969] EXT3-fs (xvda): mounted filesystem with ordered data mode
> [    6.180025] VFS: Mounted root (ext3 filesystem) on device 202:0.
> [    6.180185] Freeing init memory: 176K
> [    6.235543] Kernel panic - not syncing: Attempted to kill init!
> exitcode=0x00000004
> [    6.235543] 
> [    6.235605] [<c000e83c>] (unwind_backtrace+0x0/0xdc) from
> [<c02dab30>] (panic+0x84/0x1cc)
> [    6.235639] [<c02dab30>] (panic+0x84/0x1cc) from [<c001ad48>]
> (do_exit+0x420/0x878)
> [    6.235666] [<c001ad48>] (do_exit+0x420/0x878) from [<c001b218>]
> (do_group_exit+0x4c/0xc4)
> [    6.235695] [<c001b218>] (do_group_exit+0x4c/0xc4) from [<c0024fe8>]
> (get_signal_to_deliver+0x4c0/0x524)
> [    6.235725] [<c0024fe8>] (get_signal_to_deliver+0x4c0/0x524) from
> [<c000bb38>] (do_signal+0xa8/0x38c)
> [    6.235756] [<c000bb38>] (do_signal+0xa8/0x38c) from [<c000bf64>]
> (do_work_pending+0x54/0x9c)
> [    6.235786] [<c000bf64>] (do_work_pending+0x54/0x9c) from
> [<c00092a0>] (work_pending+0xc/0x20)
> [    6.251799] CPU1: stopping
> [    6.251841] [<c000e83c>] (unwind_backtrace+0x0/0xdc) from
> [<c000d058>] (handle_IPI+0xc0/0x12c)
> [    6.251874] [<c000d058>] (handle_IPI+0xc0/0x12c) from [<c000850c>]
> (gic_handle_irq+0x58/0x60)
> [    6.251904] [<c000850c>] (gic_handle_irq+0x58/0x60) from [<c0008f20>]
> (__irq_svc+0x40/0x50)
> [    6.251927] Exception stack(0xcf869fa0 to 0xcf869fe8)
> [    6.251947] 9fa0: c06196a0 00000000 00000000 00000000 cf868028
> cf868000 c02e0868 c03e76fc
> [    6.251972] 9fc0: 8000406a 410fc0f4 00000000 00000000 00000000
> cf869fe8 c000a4b8 c000a4bc
> [    6.251994] 9fe0: 60000113 ffffffff
> [    6.252014] [<c0008f20>] (__irq_svc+0x40/0x50) from [<c000a4bc>]
> (cpu_idle+0xa4/0xe4)
> [    6.252041] [<c000a4bc>] (cpu_idle+0xa4/0xe4) from [<802d7824>]
> (0x802d7824)
> [   72.755410] xenbr0: port 3(vif2.0) entered forwarding state
> 
> 
> I Think the number of vcpu is affected by DomU Kernel.
> I want to change previous DomU kernel to set more than 2 vcpu but i have
> no Idea
> where i modify kernel.
> 
> please give me hint about this problem
> thanks.
> 
> 
> * I logged my Install process in my wiki
> - http://ssup2.iptime.org/wiki/Xen_on_Arndale
> 
>  
> 
>  
> 
>  
> 
>  
> 


-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.