Re: [Xen-users] pci.backhide

Pasi Kärkkäinen
Wed, 21 Jul 2010 10:11:16 -0000

On Tue, Jul 20, 2010 at 04:53:12PM +0200, Tron Loki
wrote:
>
> -------- Original-Nachricht --------
> > Datum: Tue, 20 Jul 2010 15:32:21 +0300
> > Von: "Pasi Kärkkäinen" <pasik@iki.fi>
> > An: Tron Loki <Tron02@gmx.de>
> > CC: xen-users@lists.xensource.com
> > Betreff: Re: [Xen-users] pci.backhide
>
> > On Tue, Jul 20, 2010 at 10:31:12AM +0200, Tron Loki wrote:
> > > Hello List
> > >
> > > If i have a PCI=[08:00.0](example) in any DomU config file
> > > the xm shutdown <ID> shuts down this DomU and the Dom0!
> > > Otherwise i shutdown this DomU from inside the DomU with halt or
> > shutdown -r now, the Dom0 shuts down to.
> > > This happend on Xen 3.4.2  and Xen 4.0 (Kernel 2.6.18.8-xen,
> > 2.6.18.8-xen0)
> > > The Operating System to Compile xen was Debian Lenny and the Dom0
os.
> > >
> > >
> > > Without passing Hardware in a DomU, the Domu shuts down clean and
the
> > Dom0 keeps running.
> > >
> > > This is the Xen part of my config, and i can''t find the
mistake to solve
> > my problem.
> > >
> >
> > Does dom0 crash, or does it shutdown cleanly?
> If i command in the DomU "reboot" the Dom0 reboots, so i think it
shutdown correct.
>
> >
> > You might want to enable serial console for capturing the full
> > Xen+dom0kernel messages:
> > http://wiki.xensource.com/xenwiki/XenSerialConsole
> I will try to, if it helps.
>
> > Also:
> > 	- are you running the latest linux-2.6.18-xen from
> > http://xenbits.xen.org/linux-2.6.18-xen.hg ?
> No i didn''t I wget the 3.4.2 yesterday unpack an make world and
make install, this delivers the 2.6.8.18-xen i think its last stable version
from 2.6.18.8, isnt''t it? correct me if im on the wrong way of
thinking.
>
> > 	- Did you try updating to Xen 4.0.1-rc4 from
> > http://xenbits.xen.org/xen-4.0-testing.hg
> No i prefered the last stable version 4.0.
>

I''m pretty sure 4.0.1-rc4 is more stable than 4.0.0 :)

> If i pass through a real nic, the shutdown works fine with pci pass options
and the dom0 keeps running after shuting down a DomU.
> The Dom0 shutdown only happend with onboard nic''s.
>

Hmm.. Are you sharing the onboard nic ports between domains?
ie. using other port in dom0, and other port in domU?

-- Pasi

> Robert
>
> >
> > -- Pasi
> >
> > >
> > >
> > > #
> > > # XEN
> > > #
> > > CONFIG_XEN_PRIVILEGED_GUEST=y
> > > # CONFIG_XEN_UNPRIVILEGED_GUEST is not set
> > > CONFIG_XEN_PRIVCMD=y
> > > CONFIG_XEN_XENBUS_DEV=y
> > > CONFIG_XEN_BACKEND=y
> > > CONFIG_XEN_BLKDEV_BACKEND=y
> > > CONFIG_XEN_BLKDEV_TAP=y
> > > CONFIG_XEN_BLKDEV_TAP2=y
> > > CONFIG_XEN_BLKBACK_PAGEMAP=y
> > > CONFIG_XEN_NETDEV_BACKEND=y
> > > # CONFIG_XEN_NETDEV_PIPELINED_TRANSMITTER is not set
> > > # CONFIG_XEN_NETDEV_LOOPBACK is not set
> > > CONFIG_XEN_PCIDEV_BACKEND=y
> > > # CONFIG_XEN_PCIDEV_BACKEND_VPCI is not set
> > > CONFIG_XEN_PCIDEV_BACKEND_PASS=y
> > > # CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set
> > > # CONFIG_XEN_PCIDEV_BACKEND_CONTROLLER is not set
> > > # CONFIG_XEN_PCIDEV_BE_DEBUG is not set
> > > CONFIG_XEN_TPMDEV_BACKEND=m
> > > CONFIG_XEN_SCSI_BACKEND=m
> > > CONFIG_XEN_USB_BACKEND=m
> > > CONFIG_XEN_BLKDEV_FRONTEND=y
> > > CONFIG_XEN_NETDEV_FRONTEND=y
> > > # CONFIG_XEN_NETDEV_ACCEL_SFC_FRONTEND is not set
> > > CONFIG_XEN_SCSI_FRONTEND=m
> > > CONFIG_XEN_USB_FRONTEND=m
> > > CONFIG_XEN_USB_FRONTEND_HCD_STATS=y
> > > # CONFIG_XEN_USB_FRONTEND_HCD_PM is not set
> > > CONFIG_XEN_GRANT_DEV=y
> > > CONFIG_XEN_FRAMEBUFFER=y
> > > CONFIG_XEN_KEYBOARD=y
> > > CONFIG_XEN_SCRUB_PAGES=y
> > > CONFIG_XEN_DISABLE_SERIAL=y
> > > CONFIG_XEN_SYSFS=y
> > > CONFIG_XEN_COMPAT_030002_AND_LATER=y
> > > # CONFIG_XEN_COMPAT_030004_AND_LATER is not set
> > > # CONFIG_XEN_COMPAT_030100_AND_LATER is not set
> > > # CONFIG_XEN_COMPAT_LATEST_ONLY is not set
> > > CONFIG_XEN_COMPAT=0x030002
> > > CONFIG_HAVE_IRQ_IGNORE_UNHANDLED=y
> > > CONFIG_NO_IDLE_HZ=y
> > > CONFIG_XEN_SMPBOOT=y
> > > CONFIG_XEN_BALLOON=y
> > > CONFIG_XEN_DEVMEM=y
> > >
> > > --
> > > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> > > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@lists.xensource.com
> > > http://lists.xensource.com/xen-users
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@lists.xensource.com
> > http://lists.xensource.com/xen-users
>
> --
> Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
> Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail