[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Linux PV Drivers - VBD device not loading - Cannot get Major 3/22 for ide



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.

Regards,

Fajar

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

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.