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

Re: [Xen-devel] kernel BUG at drivers/xen/balloon.c:528!

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] kernel BUG at drivers/xen/balloon.c:528!
From: Łukasz Oleś <lukaszoles@xxxxxxxxx>
Date: Mon, 19 Jul 2010 15:12:07 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 19 Jul 2010 06:12:56 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Dx212ifW6MhGhaAFlimLaWRsshqdi0ol60ykpjtBtWI=; b=ffGyyNszpKfoyNn44Pq6Vxys/i8DUjoX7+Yl0r2HdDG6bX0i/4pAPncdsv1LbBYAW0 h3T4f+JuTmIH2Hqesb9Nji78ZSaLW4AzdpQlr0e1Md6gBRZt1h7AqMCelUntPOR51dFY 4lAPG9IDTh3O82tHdroXOz4JZJO/c8fSsT3vo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=odoW/m93uI/T33Qq1mfqcjHFfs0wwK6CYYVv/beEGDKDLa1ovuvYUvD1mXpRCbcQUM J8/vaj9w5gFC++72lXf/aFxXUX4Yn2MtqGB3ruQwebGndYCAs81XpGhK7XuMvXujU/Lv /xy6vrpWpxiCKt6V/mcwrtcIoYrJOniSdGsTA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1007161640150.21432@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimEw0zMg2rShy22t1_52f8IFe0dF4vbVZsLV436@xxxxxxxxxxxxxx> <4C3F46B3.9000702@xxxxxxxx> <alpine.DEB.2.00.1007151840070.21432@kaball-desktop> <AANLkTinA2oRdZH6e0_XVQwuC6dmZ6pbnv-MIuF21musC@xxxxxxxxxxxxxx> <alpine.DEB.2.00.1007161640150.21432@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
W dniu 16 lipca 2010 18:39 użytkownik Stefano Stabellini
<stefano.stabellini@xxxxxxxxxxxxx> napisał:
> On Fri, 16 Jul 2010, Łukasz Oleś wrote:
>> W dniu 15 lipca 2010 19:41 użytkownik Stefano Stabellini
>> <stefano.stabellini@xxxxxxxxxxxxx> napisał:
>> > On Thu, 15 Jul 2010, Jeremy Fitzhardinge wrote:
>> >> On 07/15/2010 04:07 AM, Łukasz Oleś wrote:
>> >> > Hi,
>> >> >
>> >> > I'm getting kernel panic during boot latest xen/next.
>> >> >
>> >>
>> >> Booting PV or HVM?
>> >>
>> >
>> > This bug is caused by backend drivers trying to initialize in a PV on
>> > HVM guest.
>> > The last port of my series on xen/next should have the right fix.
>> >
>>
>> Now I have problem with vbd and vifs.
>>
>> vbd vbd-51712: 28 granting access to ring page
>> vbd vbd-51712: 28 xenbus_dev_probe on device/vbd/51712
>> vbd: probe of vbd-51712 failed with error -28
>> vbd vbd-51728: 28 granting access to ring page
>> vbd vbd-51728: 28 xenbus_dev_probe on device/vbd/51728
>> vbd: probe of vbd-51728 failed with error -28
>> vbd vbd-51744: 28 granting access to ring page
>> vbd vbd-51744: 28 xenbus_dev_probe on device/vbd/51744
>> vbd: probe of vbd-51744 failed with error -28
>>
>> Initialising Xen virtual ethernet driver.
>> #### netfront can't alloc tx grant refs
>> vif vif-0: 12 creating netdev
>> vif vif-0: 12 xenbus_dev_probe on device/vif/0
>> vif: probe of vif-0 failed with error -12
>> #### netfront can't alloc tx grant refs
>> vif vif-1: 12 creating netdev
>> vif vif-1: 12 xenbus_dev_probe on device/vif/1
>> vif: probe of vif-1 failed with error -12
>> #### netfront can't alloc tx grant refs
>> vif vif-2: 12 creating netdev
>> vif vif-2: 12 xenbus_dev_probe on device/vif/2
>> vif: probe of vif-2 failed with error -12
>>
>> Full log in attachment, vm config is posted in earlier message.
>>
>
> The warnings are due to the fact that CONFIG_XEN_PLATFORM_PCI is not
> enabled in your config but the kernel tries to initialize the pv
> frontends anyway, the patch I have just sent to the list should fix this
> issue.

Yes, their gone now

>
> In any case you should enable CONFIG_XEN_PLATFORM_PCI in your kernel
> config, otherwise the pv frontends won't load properly and you are not
> going to have any benefits running a PV on HVM kernel.
>
> I am not sure why you cannot mount your root device, maybe you didn't
> specify the correct root= in your kernel command line options?

It works fine on bare metal and  ESX. It looks like in initrd system
doesn't see any disks.

When I enabled option CONFIG_XEN_PLATFORM_PCI I was finally able to
boot my sytem. Is this suposed to work in this way?

-- 
Łukasz Oleś

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