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

[Xen-devel] what needs to be config'd to fix "Unknown boot option `pciba

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] what needs to be config'd to fix "Unknown boot option `pciback.permissive'"?
From: "snowcrash+xen@xxxxxxxxx" <schneecrash+xen@xxxxxxxxx>
Date: Fri, 23 May 2008 09:15:29 -0700
Delivery-date: Fri, 23 May 2008 09:16:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=9ate8maMwXts3oSQD6YQExgqs/qir5jseLWILwbclaM=; b=wHrfahBnbK4JZFbVp8nciPodgSQll+D1rpisaEzyxeS2lzB54XRCZMBhykjJO04h4DiFeImQZCPnJi+lUu0FNPxKVkAuUc51aOJz8m3NpNOh4gi30D1ttWlj5P2KJirH9BlzfiklGvSrphKPf+X/vR86ruQj+LM4bBBnQG0Omnc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=COFIzq7eO+REWFdoWyQ9pwJ5hoanhXqGrgngNhYcopSehbaJfbrByOfPe89IoQqppYvhW7eD36NnuM8IB3HaF7YIH+KjkIJS5FZW4pFDwEhWrn4eDTdKJX9Q6Vs1YcWWXK6XjezhE6BxKubG37okga38dM+Dlzp0DeP//vUR2sA=
Envelope-to: www-data@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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi,

on opensuse 11beta3plus w/ latest repo-available xen,

        rpm -qa | grep -i xen
                xen-doc-pdf-3.2.1_16881_01-11
                kernel-xen-2.6.25.4-2
                xen-3.2.1_16881_01-11
                xen-libs-3.2.1_16881_01-11
                xen-tools-3.2.1_16881_01-11
                xen-doc-html-3.2.1_16881_01-11
                xen-devel-3.2.1_16881_01-11

enabling PCI-passthrough "as usual", @ /boot/grub/menu.lst,

        ...
        physdev_dom0_hide=(##:##.#)(##:##.#) \
        pciback.permissive \
        pciback.hide=(##:##.#)(##:##.#) \
        ...

dmesg 'complains',

        Unknown boot option `pciback.permissive': ignoring
        Unknown boot option `pciback.hide=(00:14.0)(04:06.0)': ignoring

reading,

"5.3 Driver Domain Configuration"
        "5.3.1 PCI"
                "5.3.1.1 Compile-Time Setup"
                 http://www.cl.cam.ac.uk/research/srg/netos/xen/readmes/user/
                        To use this functionality, ensure that the PCI Backend 
is compiled
in to a privileged domain (e.g. domain 0) and that the domains which
will be assigned PCI devices have the PCI Frontend compiled in. In
XenLinux, the PCI Backend is available under the Xen configuration
section while the PCI Frontend is under the architecture-specific "Bus
Options" section. You may compile both the backend and the frontend
into the same kernel; they will not affect each other.

and checking,

        grep XEN_PCIDEV /usr/src/linux-2.6.25.3-2-obj/x86_64/xen/.config
                CONFIG_XEN_PCIDEV_FRONTEND=y
                # CONFIG_XEN_PCIDEV_FE_DEBUG is not set
-->             CONFIG_XEN_PCIDEV_BACKEND=m
                CONFIG_XEN_PCIDEV_BACKEND_VPCI=y
                # CONFIG_XEN_PCIDEV_BACKEND_PASS is not set
                # CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set
                # CONFIG_XEN_PCIDEV_BACKEND_CONTROLLER is not set
                # CONFIG_XEN_PCIDEV_BE_DEBUG is not set

note,

        CONFIG_XEN_PCIDEV_BACKEND=m

is a module.
(fwiw, this has been reported as a bug @opensuse,
https://bugzilla.novell.com/show_bug.cgi?id=393379)

so, next, i rebuild kernel-xen from src, with "de-modularized" xen,
i.e @ 'menuconfig' setting,

# SECTION XEN
------------------------------------------
[*] Privileged Guest (domain 0)
<*> Backend driver support
<*>   Block-device backend driver
<*>   Block-device tap backend driver
<*>   Network-device backend driver
[ ]     Pipelined transmitter (DANGEROUS)
<*>     Network-device loopback driver
<*>   PCI-device backend driver
        PCI Backend Mode (Virtual PCI)  --->
[*]     PCI Backend Debugging
<*>   TPM-device backend driver
<*> Block-device frontend driver
<*> Network-device frontend driver
<*>   Network-device frontend driver acceleration for Solarflare NICs
<*> User-space granted page access driver
<*> Framebuffer-device frontend driver
<*>   Keyboard-device frontend driver
[*] Xen virtual console
[*] Scrub memory before freeing it to Xen
[ ] Disable serial port drivers
<*> Export Xen attributes in sysfs
    Xen version compatibility (3.0.4 and later)  --->
------------------------------------------

so as to compile-in xen 'stuff'.

build seems OK,

        ls -alt /boot/*CUSTOM*
                -rw-r--r-- 1 root root 5254725 2008-05-23 07:51
/boot/initrd-2.6.25.4-2-xenCUSTOM
                -rw-r--r-- 1 root root   81915 2008-05-23 07:42
/boot/config-2.6.25.4-2-xenCUSTOM
                -rw-r--r-- 1 root root 1123251 2008-05-23 07:42
/boot/System.map-2.6.25.4-2-xenCUSTOM
                -rw-r--r-- 1 root root 2012154 2008-05-23 07:42
/boot/vmlinuz-2.6.25.4-2-xenCUSTOM


after reboot to "vmlinuz-2.6.25.4-2-xenCUSTOM",

        Linux server 2.6.25.4-2-xenCUSTOM #1 SMP Wed May 21 16:33:54 PDT 2008
x86_64 x86_64 x86_64 GNU/Linux

the "pciback.hide ..." is, apparently now OK, as

        dmesg

now shows only,

        Unknown boot option `pciback.permissive': ignoring

so, what needs to be done to recognize "pciback.permissive"? or, has
it gone away when i wan't looking?

thanks!

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] what needs to be config'd to fix "Unknown boot option `pciback.permissive'"?, snowcrash+xen@xxxxxxxxx <=