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

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


  • To: sjdean <sjdean@xxxxxxxxxxxxxxxx>
  • From: "Christopher Isip" <cmisip@xxxxxxxxx>
  • Date: Mon, 23 Jun 2008 19:16:52 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 23 Jun 2008 16:17:24 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=HphBpAyL6/D7PHszMsSYc9maYNwkh/Jfb/DmTnUFNqhAmXPQvtGZLr0keFFA87fpZ/ KdoMdxvjuRVdTSgiUf5m/qMJipoEgAijOVYe8AFYNM/lu6uUZOL8X17f7+3w2wMd9Kzt u+pZIPVE82XmoBg+WWcq1G1Gk4jTjROaBvYIc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



On Sat, Jun 7, 2008 at 8:39 AM, sjdean <sjdean@xxxxxxxxxxxxxxxx> wrote:

Howdy,

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
--
View this message in context: http://www.nabble.com/Fedora-8-and-pciback-not-showing-in-guest-tp17708520p17708520.html
Sent from the Xen - User mailing list archive at Nabble.com.


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

I had the same issue with FC8 domU not seeing pcibacked devices.  Centos as a dom0 and domU works though.

Chris
 
_______________________________________________
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®.