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

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



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


 


Rackspace

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