WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Please help, I get a kernel panic on all DomUs when set

To: Pierre CHAUSSEE <silversens@xxxxxxxxx>
Subject: Re: [Xen-users] Please help, I get a kernel panic on all DomUs when setting vif in VM config file
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Tue, 18 May 2010 10:33:05 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 17 May 2010 20:35:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimzoA9L8IWdsXwNtMUkU-YiJ0IkMjJ_gIlzztL3@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimzoA9L8IWdsXwNtMUkU-YiJ0IkMjJ_gIlzztL3@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, May 17, 2010 at 11:43 PM, Pierre CHAUSSEE <silversens@xxxxxxxxx> wrote:
> I just don't get it.
> I've been using Xen for quite a long time, never had any trouble on x86, so
> I'm trying to move on an x86_64 platform.
>
> Everything went well (building, booting on Dom0, ...) except that I can only
> start my VMs when vif parameter is not filled !
> When I remove the comment on my "vif  = [ 'type=ioemu, bridge=xenbr0' ]"
> then I get a kernel panic.
>
> Here's my VM config :
>
> kernel = "/usr/lib/xen/boot/hvmloader"

Usually I put this as well:
device_model = '/usr/lib64/xen/bin/qemu-dm'

>
> builder='hvm'
>
> name="test"
> boot='c'
> vnc = 1
> sdl = 0
> memory = 1024   # Memory size
> swap   = 128    # Swap size

where did you get instruction to use "swap" from?

> disk = [ 'phy:vg00/win2008_x64,ioemu:hda,w' ]

for x64 windows, I think you also need to specify
acpi=1
apic=1
pae=1

>
> vif = [ 'type=ioemu, bridge=xenbr0' ]

try removing "type=ioemu"

> keyboard='fr'
>
> And here's the kernel panic output :
>
> $ xm create /etc/xen/first_vm
>
> [  123.729203] BUG: unable to handle kernel NULL pointer dereference at
> 0000000000000008
> [  123.729569] IP: [<ffffffff81321416>] netback_uevent+0x1e/0xb6
> [  123.729771] PGD 72afb067 PUD 72aa3067 PMD 0
> [  123.730003] Oops: 0000 [#1] SMP

What dom0 kernel are you using? It's often best to start with
known-good setup first. Centos or Opensuse with their bundled Xen
version is a good start.

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users