Mailing List Archive

xen newbie: source install hangs, bin install lacks SMP?
A few newbie questions:

- the binary install works fine, except the xen0 kernel fails to detect
my second CPU (Tyan S2460 mainboard). The debian 2.6.9-1-k7-smp
kernel image detects the second CPU fine.

- when I install Xen 2.0 from source and boot, my machine hangs at:
(XEN) Scrubbing DOM0 RAM: ..done.
Why? I'm using the same grub config:

title Xen 2.0 / XenLinux 2.6.9
root (hd2,0)
kernel /boot/xen.gz dom0_mem=131072 console=vga
module /boot/vmlinuz-2.6.9-xen0 root=/dev/sdb1 ro console=tty0

Thanks!

--
Robert Edmonds


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel
RE: xen newbie: source install hangs, bin install lacks SMP? [ In reply to ]
> -----Original Message-----
> From: xen-devel-admin@lists.sourceforge.net [mailto:xen-devel-
> admin@lists.sourceforge.net] On Behalf Of Robert Edmonds
> Sent: 07 November 2004 21:51
> To: xen-devel@lists.sourceforge.net
> Subject: [Xen-devel] xen newbie: source install hangs, bin install
lacks
> SMP?
>
> A few newbie questions:
>
> - the binary install works fine, except the xen0 kernel fails to
detect
> my second CPU (Tyan S2460 mainboard). The debian 2.6.9-1-k7-smp
> kernel image detects the second CPU fine.

Xen only supports uniprocessor guest operating systems. Xen itself is
SMP capable and should detect both CPUs and use them if you have more
than one guest running

Rolf

> - when I install Xen 2.0 from source and boot, my machine hangs at:
> (XEN) Scrubbing DOM0 RAM: ..done.
> Why? I'm using the same grub config:
>
> title Xen 2.0 / XenLinux 2.6.9
> root (hd2,0)
> kernel /boot/xen.gz dom0_mem=131072 console=vga
> module /boot/vmlinuz-2.6.9-xen0 root=/dev/sdb1 ro console=tty0
>
> Thanks!
>
> --
> Robert Edmonds
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel
Re: xen newbie: source install hangs, bin install lacks SMP? [ In reply to ]
> A few newbie questions:
>
> - the binary install works fine, except the xen0 kernel fails to detect
> my second CPU (Tyan S2460 mainboard). The debian 2.6.9-1-k7-smp
> kernel image detects the second CPU fine.

Xen does not yet support multi-processor guests. xen0 boots onto CPU0
-- to use your other CPUs you then must start other VMs on
them. You'll be pleased to know that multi-processor guests are a high
priority for us now.

> - when I install Xen 2.0 from source and boot, my machine hangs at:
> (XEN) Scrubbing DOM0 RAM: ..done.
> Why? I'm using the same grub config:
>
> title Xen 2.0 / XenLinux 2.6.9
> root (hd2,0)
> kernel /boot/xen.gz dom0_mem=131072 console=vga
> module /boot/vmlinuz-2.6.9-xen0 root=/dev/sdb1 ro console=tty0
>
> Thanks!

This is quite worrying -- it indicates that your vmlinuz image is not
bootstrapping properly. Did you rebuild Linux when you rebuilt Xen, or
are you using the vmlinuz image from the binary distribution? Of
course it should not matter, as the 2.0 interfaces aren't
changing....

My guess is that you are trying to use your own build of Linux-xen0
and have missed something important out of the config. :-)
Providing the .config file and the steps you took to build the image
would be useful.

-- Keir


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel
Re: xen newbie: source install hangs, bin install lacks SMP? [ In reply to ]
> - the binary install works fine, except the xen0 kernel fails to detect
> my second CPU (Tyan S2460 mainboard). The debian 2.6.9-1-k7-smp
> kernel image detects the second CPU fine.

That's nothing to worry about - Xen guests are uniprocessor at the moment, so
domain 0 will only see one of your CPUs. Xen is SMP aware, so it'll allow
you to run other virtual machines on other processors.

If you run
# xm info
you should see that it reports both CPUs...

HTH,
Mark


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel
RE: xen newbie: source install hangs, bin install lacks SMP? [ In reply to ]
> - the binary install works fine, except the xen0 kernel
> fails to detect
> my second CPU (Tyan S2460 mainboard). The debian 2.6.9-1-k7-smp
> kernel image detects the second CPU fine.

Dom 0 will only see one processor, but Xen should hopefully see two.
What does 'xm info' show?
Does 'xm dmesg' show Xen finding two CPUs?

> - when I install Xen 2.0 from source and boot, my machine hangs at:
> (XEN) Scrubbing DOM0 RAM: ..done.
> Why? I'm using the same grub config:

Have you changed the kernel config from the default?
What compiler are you using?

Ian


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel