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

[Xen-users] Fedora 8 and pciback not showing in guest

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Fedora 8 and pciback not showing in guest
From: Simon Dean <sjdean@xxxxxxxxxxxxxxxx>
Date: Sat, 07 Jun 2008 16:13:21 +0100
Delivery-date: Sat, 07 Jun 2008 08:14:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
Howdy,

Apologies if this comes up twice, I subscribed to Nabble before subscribing to the list and I think I may have broken something. Well here goes.

Im looking to virtualise three servers into one. Save space, power and heat.

I still havent decided which route Im going down.

I started off with Fed 9 x64 and wanting to use OpenVZ but that failed at every opportunity. I tried KVM/Qemu but that failed with reading the ISO.

I downgraded the host to Fed 8 i386 and everything started to work again. OpenVZ was installable and bootable, *Xen* kernel became bootable, and Qemu would read my ISO.

With further problems with OpenVZ basically almost being unable to do anything unless you're using really dated software, I decided to go with *Xen*.

Got my *Smoothwall* guest installed and virtually configured. Get my main server installed. Note, Im using all image files because I didn't think ahead and make any partitions for this.

So then to my Asterisk system.

Installed using the same Fedora 8 disk. But it can't see my *pci* card. So after a bit of googling and frustration getting *pciback* settings recognised by grub and the boot process, so I resort to modifying rc.local which sure enough captures the *PCI* device by the *pciback* driver:

modprobe *pciback*
sleep 2
SLOT=0000:01:08.0

# Add a new slot to the *PCI* Backend's list
echo -n $SLOT > /sys/bus/*pci*/drivers/*pciback*/new_slot
# Now that the backend is watching for the slot, bind to it
echo -n $SLOT > /sys/bus/*pci*/drivers/*pciback*/bind
#
/etc/init.d/*xendomains* start
/etc/init.d/*xend* start


But on booting my vanilla Fedora Core 8 i386 guest, it doesn't see the *pci* device through lspci.

I even added the following in to my /var/lib/*xend*/devices/xxxxx/config.sxp:

   (device
       ((uuid 04940a29-37fa-5441-2dd3-d824bc56f24d)
           (dev (slot 0x08) (bus 0x01) (domain 0x0000) (func 0x0))
       )
   )

I even wondered about what I read elsewhere about needing a frontend driver, so I thought I'd install kernel-*xen* via yum and it completely kills my image! I can't even restore with virsh. I can't remember the exact error, but just the generic error about failed to restore.

Im about ready to throw in the towel on virtualisation, I really need someone to go through this with me.

Please?

Cheers
Simon

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

<Prev in Thread] Current Thread [Next in Thread>