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] Xen4.1.0 and Fedora15 Block device bug?

To: "Fajar A. Nugraha" <list@xxxxxxxxx>
Subject: Re: [Xen-devel] Xen4.1.0 and Fedora15 Block device bug?
From: Travis <corasian@xxxxxxxxx>
Date: Sat, 2 Jul 2011 01:32:39 -0400
Cc: xen@xxxxxxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Fri, 01 Jul 2011 22:33:26 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QhlQMZIixp/Zfmf/48T8KCa/B80+VZq1YbDetpGpqd4=; b=b0eOp2TNejPC87R0WJ7SXLAmx24AzdasXk3Cq0BLlMGrx7JDPpYPPxtdLPtEvOOufN TBkqVbR7JTWf5lpNQlpx+xSsPn0EDRHkPnHBn6jvi6w3oItRRM+oIg3EUAWky+jWEY+H p826ndXqTuhu0AKYxw80k9I1iHzzu3nL5YWoc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTimGOj5o1VDd+FnQ2Z_fr+8mm-QkDQ@xxxxxxxxxxxxxx>
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: <BANLkTi=g+u_DCZxk7HVY7Q9ricpz752pjg@xxxxxxxxxxxxxx> <20110630220554.GD18218@xxxxxxxxxxxx> <BANLkTi=j8Oimr1NzwPXzwL_a29fGSc3GZA@xxxxxxxxxxxxxx> <BANLkTikDN7kWjCzvJeaDQW56WF7Weojubw@xxxxxxxxxxxxxx> <BANLkTikp0Lv_mEeDz+E6rBw9Du=D=FUZCg@xxxxxxxxxxxxxx> <BANLkTimGOj5o1VDd+FnQ2Z_fr+8mm-QkDQ@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


On Sat, Jul 2, 2011 at 12:15 AM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:
On Sat, Jul 2, 2011 at 10:50 AM, Travis <corasian@xxxxxxxxx> wrote:
> I'm using HVM, and I've attached screenshots from the requested output
> (+lspci). No other OS is giving me this problem, and i'm consistently able
> to reproduce it. What's your take?

So no block device detected, and no xen-related module loaded. That's weird.

Two parts of this problem.

The first part is why would the emulated block device be missing. It
should still be there if PV drivers was not loaded.
Are you using the same dom0 (xen and dom0 kernel) and domU config file
for both the working F14 and F15? If yes, try:
- "xen_emul_unplug=never" on kernel command line. See
http://www.kernel.org/doc/Documentation/kernel-parameters.txt
- make sure you use "hda" on domU config file

Awesome, the "xen_emul_unplug=never" arg fixed it. I tossed it in and it booted up and installed just fine. Thanks!!! And the doc you linked is definitely going in my sysadmin toolbox. Sweet!

 
Second part, F15's boot/config-2.6.38.6-26.rc1.fc15.x86_64 has these entries:
CONFIG_XEN_PLATFORM_PCI=m
CONFIG_XEN_BLKDEV_FRONTEND=m

So if you could add xen-platform-pci.ko and xen-blkfront.ko to the
install initrd, you should be able to use PV drivers directly. Not
sure what's the easiest way to do it though (maybe unpack initrd, add
some files, and repack it).

I had tried the fed15 rawhide version from fedora's virtualization-xendomu test day (april) last night, and it includes the support (it reads the v disk as a xen device, even) so hopefully it will be polished up (it was quite a bit rough looking still) and pushed out in the next release/update. 
 

--
Fajar



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