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-devel

RE: [Xen-devel] mkinitrd fails to include 'pciback' module on openSUSE 1

To: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Subject: RE: [Xen-devel] mkinitrd fails to include 'pciback' module on openSUSE 11.1
From: "Phil Winterfield (winterfi)" <winterfi@xxxxxxxxx>
Date: Fri, 25 Sep 2009 09:38:18 -0700
Authentication-results: sj-dkim-2; header.From=winterfi@xxxxxxxxx; dkim=pass ( sig from cisco.com/sjdkim2002 verified; );
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users-request@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 Sep 2009 09:38:46 -0700
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; l=1643; t=1253896700; x=1254760700; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=winterfi@xxxxxxxxx; z=From:=20=22Phil=20Winterfield=20(winterfi)=22=20<winterfi@ cisco.com> |Subject:=20RE=3A=20[Xen-devel]=20mkinitrd=20fails=20to=20i nclude=20'pciback'=20module=20on=20openSUSE=2011.1 |Sender:=20; bh=wGZcXRJWFQLeaFs+/6gYh34CqJpc4S0ecZbsYz1BgSs=; b=QoL0+VxDP6f1rFLpOKxAaQE1LKfBKQjzQX7+6Umwjmjisn/xM39FpMhj7b jPYOgBw2+SPPeZUFolRh2CsGrTOMXyRlZBMZBxlA5kh/eknRNCoRdilN5wOn /rYNBkjrek;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4ABC981F0200007800016C9B@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <38AD81989214D54EB5F20C69477AF6C109788384@xxxxxxxxxxxxxxxxxxxxxxxxxx> <4ABC981F0200007800016C9B@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aco9uEVrU/zz113HQeSiOncL61XMyQARR1AA
Thread-topic: [Xen-devel] mkinitrd fails to include 'pciback' module on openSUSE 11.1
The solution, for those who need it, is this:

In /boot/grub/menu.lst:
title Xen -- openSUSE 11.1 - 2.6.27.7-9
    root (hd0,4)
    kernel /boot/xen.gz loglvl=all guest_loglvl=all vtd=1 iommu=1
    module /boot/vmlinuz-2.6.27.7-9-xen
root=/dev/disk/by-id/ata-ST31000528AS_9VP009RT-part5
resume=/dev/disk/by-id/ata-ST31000528AS_9VP009RT-part3 splash=silent
showopts vga=0x31d apic=debug maxcpus=8,
pciback.hide=(0000:03:00.0)(0000:03:00.1)
    module /boot/initrd-2.6.27.7-9-xen

In /etc/init.d/boot.local: 
modprobe pciback hide='(03:00.0)(03:01.0)'
echo -n 0000:03:00.0 > sys/bus/pci/drivers/pciback/permissive
echo -n 0000:03:01.0 > sys/bus/pci/drivers/pciback/permissive

It is important to note that you now need the '0000:' prefix to all of
the pci device addresses used for grub in openSUSE.  

Then the usual entry in your domain config file:

pci = [ '03:00.0', '03:00.1' ]

Cheers,
Phil


> -----Original Message-----
> From: Jan Beulich [mailto:JBeulich@xxxxxxxxxx]
> Sent: Friday, September 25, 2009 1:15 AM
> To: Phil Winterfield (winterfi)
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx;
xen-users-request@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] mkinitrd fails to include 'pciback' module on
> openSUSE 11.1
> 
> >>> "Phil Winterfield (winterfi)" <winterfi@xxxxxxxxx> 24.09.09 20:38
>>>
> >Except that when I reboot, no pci back module:
> >
> >greencity01:/home # lsmod | grep pciback
> 
> And there are no respective messages in /var/log/boot.msg?
> 
> Otoh I can't see why you need this done from the initrd in the first
> place...
> 
> Jan


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

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