[I am not very familiar this 32bit vs 64bit stuff...] There is an xen server with four AMD Dual-Core Opteron(tm) 8220 CPUs, I installed debian lenny on it and uname shows: Linux xenserver 2.6.26-2-xen-amd64 #1 SMP Sun Jun 21 08:09:04 UTC 2009 x86_64 GNU/Linux Then I create a domU with xen-tools with "arch=i386" option, however, this domU still uses 2.6.26-2-xen-amd64 kernel (I guess it is a kind of compatible mode...?): Linux linserver 2.6.26-2-xen-amd64 #1 SMP Sun Jun 21 08:09:04 UTC 2009 x86_64 GNU/Linux The problem is that I installed matlab in the domU and starting the license server failed with "Error: No FLEXnet License Manager binaries for glnxa64" Then I made a symlink glnx86 -> glnxa64, and flexnet started without any problem, however, there is a lot of glnx86 directory in the installed tree... So the question is, that must I really create such symlinks (because the faulty detection of the arch) or is there an other way that makes such auxiliary programs to detect i386 "arch" in the domU...? (One more thing: the installed tree is rsync-ed from an other i386 machine, but I guess that if I made a fresh install the installer would create glnxa64 dirs with 64bit files which would be wrong, wouldn''t it?) -- Zsolt _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You can run a 32-bit kernel in the domU, it''s just that xen-tools doesn''t have any support to set it up for you automatically. Probably the easiest way is to login to your domU and install the 32bit xen kernel package. Then you need to copy the /boot/vmlinuz-* and /boot/initrd* up to your dom0 and give them a unique name (that is, don''t overwrite your dom0 kernel). Then just edit the config file to point at the 32bit vmlinuz and initrd, and restart the domU -- Tony Lill, Tony.Lill@AJLC.Waterloo.ON.CA President, A. J. Lill Consultants (519) 650 0660 539 Grand Valley Dr., Cambridge, Ont. N3H 2S2 (519) 241 2461 --------------- http://www.ajlc.waterloo.on.ca/ ---------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Aug 21, 2009 at 6:56 AM, Tony Lill<ajlill@ajlc.waterloo.on.ca> wrote:> You can run a 32-bit kernel in the domU, it''s just that xen-tools > doesn''t have any support to set it up for you automatically. > > Probably the easiest way is to login to your domU and install the 32bit > xen kernel package. Then you need to copy the /boot/vmlinuz-* > and /boot/initrd* > up to your dom0 and give them a unique name (that is, don''t > overwrite your dom0 kernel). Then just edit the config file to point > at the 32bit vmlinuz and initrd, and restart the domUWhat I usually do is create an initial template for 32bit and 64bit domU, in the form of tar.gz (for domU filesystem) and domU config. Kernel is located within domU, loaded with pygrub. Whenever I need a 32bit domU I simply extract the template and modify domU config. It''s easier to manage that way as you don''t have to care whether dom0 is 64bit or 32bit when using 32bit domU, plus you don''t have to synchronize kernel/initrd and modules between dom0 and domU. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users