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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx, Simon Dean <sjdean@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Fedora 8 and pciback not showing in guest
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Sat, 7 Jun 2008 09:50:58 -0700 (PDT)
Delivery-date: Sat, 07 Jun 2008 09:51:33 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=jUYBdKX7ZEUjVDLvrwFbCq+DHf39HKdxQEEohIguXmvm5iuJwf3vYUZAboyLTROU06bhFCxS+zSRCwO5CyxRS2kwn3IezsN2qHPME25jMSBnpfSHp+B0MP//8xAkGDlC7XlKqbm162AQUEdel6F3W81dfG5rl+9TeEhx/OmKy8Q=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <484AA591.8020608@xxxxxxxxxxxxxxxx>
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>
Reply-to: bderzhavets@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
--- On Sat, 6/7/08, Simon Dean <sjdean@xxxxxxxxxxxxxxxx> wrote:
From: Simon Dean <sjdean@xxxxxxxxxxxxxxxx>
Subject: [Xen-users] Fedora 8 and pciback not showing in guest
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Saturday, June 7, 2008, 11:13 AM

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've installed F9 (64-bit) with virtualization
package as it was.
First attempt to create SNV89 KVM failed to read
ISO and i just retried (back,forward) and succeeded
with SNV89 KVM as well as QEMU installs
Next attempt OpenSolaris 2008/05 KVM successful
with no retries.
*************************************************

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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>