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/
Home Products Support Community News


Re: [Xen-users] Linux PV Drivers - VBD device not loading - Cannot get M

To: Robert Dunkley <Robert@xxxxxxxxx>
Subject: Re: [Xen-users] Linux PV Drivers - VBD device not loading - Cannot get Major 3/22 for ide
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Wed, 01 Apr 2009 14:58:14 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 01 Apr 2009 00:59:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C1EAC9C5E752D24C968FF091D446D82331F7F6@ALTERNATEREALIT>
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: <C1EAC9C5E752D24C968FF091D446D82331F7F6@ALTERNATEREALIT>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20090105)
Robert Dunkley wrote:
> I am trying to get PV drivers running on both Centos 5.1 and Centos 5.3
> HVMs, my DomU is Centos 5.2 with Xen 3.31. For 5.1 I install the
> kmod-xenpv RPM but for 5.3 the drivers seem to be built-in. 
> For the network drivers to work I had to unload the Realtek NIC driver
> and renamed its .ko files to stop it loading. Adding the Xen-Vnif alias
> to modprobe.conf then got the PV NICs working nicely (Much faster).

Since realtek and xen-vnif each create an eth (with the same MAC), you
could simply set ifcfg-eth*'s "ONBOOT=no" on realtek's NICs. Do a "dmesg
| grep eth" to find which NIC uses which driver.

Problem is I can't get xen-vnif driver to work correctly on RHEL 5.3
(kernel 2.6.18-128.1.1.el5), not sure why.

> The problem is I can't seem to get the PV disk drivers running, I'm
> using a standard partition for the VM (phy:), part of the problem may be
> that the QEMU emulated disks are loading first but I'm unsure. Below is
> what I think are the relevant extracts from the Centos 5.3 HVM log,
> anyone have any idea on how to fix this?

On /etc/modprobe.conf :
#alias scsi_hostadapter ata_piix
alias scsi_hostadapter xen-vbd

On grub.conf:
title Red Hat Enterprise Linux Server (2.6.18-128.1.1.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-128.1.1.el5 ro root=/dev/VolGroup00/LogVol00
console=vga console=ttyS0 ide0=noprobe noapic
    initrd /initrd-2.6.18-128.1.1.el5.img

The "ide0=noprobe" should allow xen-vbd to handle hda, and modprobe.conf
ensures it's included on initrd.



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Xen-users mailing list