Hi, I''m running Debian squeeze with a 2.6.31 kernel which I would like to use as dom0 in xen. The kernel is configured with CONFIG_PARAVIRT_GUEST=y CONFIG_PARAVIRT=y CONFIG_PARAVIRT_CLOCK=y CONFIG_XEN=y CONFIG_XEN_MAX_DOMAIN_MEMORY=32 CONFIG_XEN_SAVE_RESTORE=y CONFIG_XEN_BLKDEV_FRONTEND=m CONFIG_NETXEN_NIC=m CONFIG_XEN_NETDEV_FRONTEND=m CONFIG_XEN_KBDDEV_FRONTEND=y CONFIG_HVC_DRIVER=y CONFIG_HVC_IRQ=y CONFIG_HVC_XEN=y CONFIG_XEN_FBDEV_FRONTEND=y CONFIG_XEN_BALLOON=y CONFIG_XEN_SCRUB_PAGES=y CONFIG_XEN_DEV_EVTCHN=y CONFIG_XENFS=m CONFIG_XEN_COMPAT_XENFS=y CONFIG_XEN_SYS_HYPERVISOR=y I''ve built xen.gz and xen-tools from current xen-unstable git version. Important part of grub entry looks like this: multiboot /boot/xen.gz module /boot/vmlinuz-2.6.31.6 root=UUID=64f4bee7-01c8-4db2-949e-1728524f35aa ro quiet console=tty0 module /boot/initrd.img-2.6.31.6 The problem: Xen starts up without problems but when dom0 should appear there''s nothing but a black screen. I''m not sure, but it doesn''t seem like the machine is working. Also it''s not reachable via network. Since the motherboard hasn''t got a serial port, I cannot use Xen''s debugging. Well, I got a USB -> Serial adapter, but I wouldn''t expect to get it running on Xen. Is it possible to not show the dom0 but keep getting Xen''s output? Or am I missing something? Is my setup broken by design? Thanks for any hints Christopher Schramm _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Dec 03, 2009 at 04:41:12PM +0100, Christopher Schramm wrote:> Hi, > > I''m running Debian squeeze with a 2.6.31 kernel which I would like to > use as dom0 in xen. > > The kernel is configured with > > > I''ve built xen.gz and xen-tools from current xen-unstable git version. > > Important part of grub entry looks like this: > > multiboot /boot/xen.gz > module /boot/vmlinuz-2.6.31.6 > root=UUID=64f4bee7-01c8-4db2-949e-1728524f35aa ro quiet console=tty0 > module /boot/initrd.img-2.6.31.6 >You should have console=hvc0. See this wiki page for more information: http://wiki.xensource.com/xenwiki/XenParavirtOps -- Pasi> The problem: Xen starts up without problems but when dom0 should appear > there''s nothing but a black screen. I''m not sure, but it doesn''t seem > like the machine is working. Also it''s not reachable via network. > > Since the motherboard hasn''t got a serial port, I cannot use Xen''s > debugging. Well, I got a USB -> Serial adapter, but I wouldn''t expect to > get it running on Xen. Is it possible to not show the dom0 but keep > getting Xen''s output? > > Or am I missing something? Is my setup broken by design? > > > Thanks for any hints > > Christopher Schramm > > > > _______________________________________________ > 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
Pasi Kärkkäinen wrote:> On Thu, Dec 03, 2009 at 04:41:12PM +0100, Christopher Schramm wrote: >> multiboot /boot/xen.gz >> module /boot/vmlinuz-2.6.31.6 >> root=UUID=64f4bee7-01c8-4db2-949e-1728524f35aa ro quiet console=tty0 >> module /boot/initrd.img-2.6.31.6 >> > > You should have console=hvc0. > > See this wiki page for more information: > http://wiki.xensource.com/xenwiki/XenParavirtOpsUnfortunately that didn''t help. I''ve already had a look at that wiki page and looking at the "working example grub.conf" you see that there''s no console param at all. tty0 was the result of my latest try to get it running. Also if the console is set up wrong, I would expect to keep getting the Xen output instead of nothing - shouldn''t I? I also tried vga=ask and removing the quiet param - no change. Oh, and /var/log/xen remains empty, so I assume the dom0 does not boot. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Dec 04, 2009 at 09:51:59AM +0100, Christopher Schramm wrote:> Pasi Kärkkäinen wrote: > >On Thu, Dec 03, 2009 at 04:41:12PM +0100, Christopher Schramm wrote: > >>multiboot /boot/xen.gz > >>module /boot/vmlinuz-2.6.31.6 > >>root=UUID=64f4bee7-01c8-4db2-949e-1728524f35aa ro quiet console=tty0 > >>module /boot/initrd.img-2.6.31.6 > >> > > > >You should have console=hvc0. > > > >See this wiki page for more information: > >http://wiki.xensource.com/xenwiki/XenParavirtOps > > Unfortunately that didn''t help. I''ve already had a look at that wiki > page and looking at the "working example grub.conf" you see that there''s > no console param at all. tty0 was the result of my latest try to get > it running. > > Also if the console is set up wrong, I would expect to keep getting the > Xen output instead of nothing - shouldn''t I? > > I also tried vga=ask and removing the quiet param - no change. > > Oh, and /var/log/xen remains empty, so I assume the dom0 does not boot.Then you should enable/configure a serial console.. that''s the best way to debug issues like this. Then you _can_ get the full output. There''s an example about using serial console on that wiki page. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen wrote:> Then you _can_ get the full output. There''s an example about using > serial console on that wiki page.As I said, my motherboard is lacking a serial port. Do you think there''s a chance to get it running via USB? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Dec 04, 2009 at 10:46:19AM +0100, Christopher Schramm wrote:> Pasi Kärkkäinen wrote: > >Then you _can_ get the full output. There''s an example about using > >serial console on that wiki page. > > As I said, my motherboard is lacking a serial port. Do you think there''s > a chance to get it running via USB?No, USB doesn''t work, because the serial port has to be seen as IO port so Xen can output/write to it. PCI serial card works though. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Would try remove "quit" and switch ( if grub2) to root=/dev/sda(X). Boris. ________________________________ From: Christopher Schramm <xen@shakaweb.org> To: Pasi Kärkkäinen <pasik@iki.fi> Cc: xen-users@lists.xensource.com Sent: Fri, December 4, 2009 11:51:59 AM Subject: Re: [Xen-users] Black screen with 2.6.31 pv_ops Pasi Kärkkäinen wrote:> On Thu, Dec 03, 2009 at 04:41:12PM +0100, Christopher Schramm wrote: >> multiboot /boot/xen.gz >> module /boot/vmlinuz-2.6.31.6 >> root=UUID=64f4bee7-01c8-4db2-949e-1728524f35aa ro quiet console=tty0 >> module /boot/initrd.img-2.6.31.6 >> > > You should have console=hvc0. > > See this wiki page for more information: > http://wiki.xensource.com/xenwiki/XenParavirtOpsUnfortunately that didn''t help. I''ve already had a look at that wiki page and looking at the "working example grub.conf" you see that there''s no console param at all. tty0 was the result of my latest try to get it running. Also if the console is set up wrong, I would expect to keep getting the Xen output instead of nothing - shouldn''t I? I also tried vga=ask and removing the quiet param - no change. Oh, and /var/log/xen remains empty, so I assume the dom0 does not boot. _______________________________________________ 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
Christopher Schramm írta:> Hi, > > I''m running Debian squeeze with a 2.6.31 kernel which I would like to > use as dom0 in xen. >Have you got your kernel sources from git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git ? The kernel.org sources don''t work yet as Dom0. (I do run 2.6.31 from Jeremy''s git tree with xen-3.4.1 on a lenny test machine) Geza> The kernel is configured with > > CONFIG_PARAVIRT_GUEST=y > CONFIG_PARAVIRT=y > CONFIG_PARAVIRT_CLOCK=y > CONFIG_XEN=y > CONFIG_XEN_MAX_DOMAIN_MEMORY=32 > CONFIG_XEN_SAVE_RESTORE=y > CONFIG_XEN_BLKDEV_FRONTEND=m > CONFIG_NETXEN_NIC=m > CONFIG_XEN_NETDEV_FRONTEND=m > CONFIG_XEN_KBDDEV_FRONTEND=y > CONFIG_HVC_DRIVER=y > CONFIG_HVC_IRQ=y > CONFIG_HVC_XEN=y > CONFIG_XEN_FBDEV_FRONTEND=y > CONFIG_XEN_BALLOON=y > CONFIG_XEN_SCRUB_PAGES=y > CONFIG_XEN_DEV_EVTCHN=y > CONFIG_XENFS=m > CONFIG_XEN_COMPAT_XENFS=y > CONFIG_XEN_SYS_HYPERVISOR=y > > I''ve built xen.gz and xen-tools from current xen-unstable git version. > > Important part of grub entry looks like this: > > multiboot /boot/xen.gz > module /boot/vmlinuz-2.6.31.6 > root=UUID=64f4bee7-01c8-4db2-949e-1728524f35aa ro quiet console=tty0 > module /boot/initrd.img-2.6.31.6 > > The problem: Xen starts up without problems but when dom0 should appear > there''s nothing but a black screen. I''m not sure, but it doesn''t seem > like the machine is working. Also it''s not reachable via network. > > Since the motherboard hasn''t got a serial port, I cannot use Xen''s > debugging. Well, I got a USB -> Serial adapter, but I wouldn''t expect to > get it running on Xen. Is it possible to not show the dom0 but keep > getting Xen''s output? > > Or am I missing something? Is my setup broken by design? > > > Thanks for any hints > > Christopher Schramm > > > > _______________________________________________ > 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