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 sett

To: Fajar A. Nugraha <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Please help, I get a kernel panic on all DomUs when setting vif in VM config file
From: Pierre CHAUSSEE <silversens@xxxxxxxxx>
Date: Tue, 18 May 2010 07:45:21 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 17 May 2010 22:47:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:in-reply-to :mime-version:content-type:message-id:content-transfer-encoding:cc :from:subject:date:to:x-mailer; bh=RPamHoFsaOVJ972b6BlRj+Il9A/wtCmqDrYlhMCgRzg=; b=tQ1gMHw+7XsMFUL2dh7CspoHpCvXpX1AD/BFwCb8+LMqDgKFMwC96YPGqFeufTAgey 5AEpytsYVAN8w3WlZfEQByoXgYJ3K5IzSEUm0bO6rwIFEfOig3YmLfluC4mm4AWSAtVz dmJKb1fkRo7UFVOSAtsdp4lOgz6VNaNjNXoAY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-type:message-id :content-transfer-encoding:cc:from:subject:date:to:x-mailer; b=wzO/4LUQaeLjPQE79oqKUGGBx1bMy6qARkQHUMPhmCGkzpSQ+JWaI7obcjGMHfSU+H Hq3Q0rRNWF+/ismTFDe7vh+boH1ZZh68WLyQmxI1wtE5YjStKlJJG+1HMVVupRisxkn+ Z9OlHRp+qaU85kKUQC/G1X7WKIP2ZJ7+YMMjc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimvOgmoLyikfkJC_0WKvvmqjLSkPngTQ7JVq3tM@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> <AANLkTimvOgmoLyikfkJC_0WKvvmqjLSkPngTQ7JVq3tM@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>> 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"

I just tried all of those. It didn't help I still get my kernel panic.


> 
>> 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.

Well I've been trying 2.6.27, 2.6.31 and this one is 2.6.32.
Yeah thank you for the tip with known good setups, but the thing is
it's not my first Xen setup, and I'm trying to port it to Crux. 
I already did that for x86, but for x86_64 I get those problems...

Thank you very much for trying to help !

> 
> -- 
> Fajar


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