On Sun, Feb 15, 2009 at 5:38 AM, SZABO Zsolt <szazs@xxxxxxxxx> wrote:
>> I have an xen-3.2.1 source under amd64 arch:
>> # uname -a
>> Linux xenserver 188.8.131.52-xen #1 SMP Thu Jul 31 23:51:53 CEST 2008 x86_64
>> I would like to compile a 32bit kernel for my domU, so I did the
What distro are you using? Any particular reason to compile your own xen kernel?
both 32 and 64 bit domU kernel can load just fine on 64-bit
hypervisor. dom0 kernel can be 32 or 64 bit, as long as the hypervisor
is 64 bit. IMHO, the easiest, failproof method to achive that is :
- Install 64bit RHEL/Centos dom0 with Virtualization option selected.
If you use Centos 5.2, this will get you RH's version of Xen 3.1 which
is already capable of runnig 32 and 64 bit domU
- Install xen-related packages from http://www.gitco.de/repo/ if you
want to use newer version of Xen. I'd recommend going straight to
- Use a working existing 32bit (pae) or 64bit domU, or create a new
one (with virt-install or whatever method you're familiar with)
> Now, I booted the domU with the older 32bit kernel, and I have issued
> # mkinitramfs -o /boot/initrd.img-184.108.40.206-xenU 220.127.116.11-xenU
> in the domU. Then shutdown the domU copy the initrd.img to dom0-s /boot,
This can be simplified by using pygrub. When you use
virt-install/virt-manager, the kernel will be in domU. This will
greatly simplify your setup as you don't need to copy it to dom0 on
every kernel update. domU will manage it's own kernel, just like any
normal Linux installation.
> and trying again. Now, it boots, however I get no console prompt using
> xm console domU... I just see the kernel messages of the domU.
> I can ssh to the domU and it seems that every other things are working.
> # uname -a
> Linux linserver 18.104.22.168-xenU #2 SMP Sat Feb 14 15:44:35 CET 2009 i686
Have you ever run a xen domU succesfully before?
This seems like the classical case of xen console listening on ttyS0
or xvc0, but your inittab does not spawn a login prompt on it.
Look for inittab and securetty. Depending on your setup, you might
also need to add entry for ttyS0.
Xen-users mailing list