Mailinglist Archive: opensuse-kernel (47 mails)

< Previous Next >
Re: [opensuse-kernel] where is -factory's kernel-xen *source* ?
  • From: snowcrash+opensuse <schneecrash+opensuse@xxxxxxxxx>
  • Date: Wed, 21 May 2008 14:30:45 -0700
  • Message-id: <70f41ba20805211430s2107db56x1157dee63f717d2d@xxxxxxxxxxxxxx>
(tho' all of this could be avoided if y'all would just compile back in
-- as opposed to module -- the pciback support)

Why? What happens when you load the module?

@boot, grub-defined kernel-xen options for pci-passthrough fail,
reporting @dmesg,

Unknown boot option `pciback.permissive': ignoring
Unknown boot option `pciback.hide=(##:##.#)(##:##.#)': ignoring

to fix (fairly widely discussed in xen- and RH-lands) the pciback
(CONFIG_XEN_PCIDEV_BACKEND) module must be compiled into the dom0
kernel, & the pcifront (CONFIG_XEN_PCIDEV_FRONTEND) module must be
compiled into the domU kernel

or, if using a single/unified kernel-xen, then both must be compiled in.

and, as you can see, in release,

grep PCIDEV /boot/config-2.6.25.4-2-xen
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

that's not the case.

so as to avoid that and any add'l module-vs-compile "surprises" i'm
trying to "de-modularize" 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) --->
------------------------------------------

and also (haven't gotten there yet ...), build a dual-use kernel (Dom0
& DomU), which I think requires also,

CONFIG_XEN_PRIVILEGED_GUEST=y
--- # CONFIG_XEN_UNPRIVILEGED_GUEST is not set
+++ CONFIG_XEN_UNPRIVILEGED_GUEST=y

but 'make menuconfig' seems to not allow both.
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups