prosolutions@gmx.net
2005-May-17 22:00 UTC
[Xen-users] Confusion about dist/install/boot/ and Xen kernels
I have run "make xen" "make tools" and "make kernels" on Xen testing source and see the result in dist/install/boot/: config-2.6.11.9-xen0 config-2.6.11.9-xenU config-2.6.11-xen0 System.map-2.6.11.9-xen0 System.map-2.6.11.9-xenU vmlinux-syms-2.6.11.9-xen0 vmlinux-syms-2.6.11.9-xenU vmlinuz-2.6.11.9-xen0 vmlinuz-2.6.11.9-xenU vmlinuz-2.6.11-xen0 -> vmlinuz-2.6.11.9-xen0 vmlinuz-2.6.11-xenU -> vmlinuz-2.6.11.9-xenU vmlinuz-2.6-xen0 -> vmlinuz-2.6.11.9-xen0 vmlinuz-2.6-xenU -> vmlinuz-2.6.11.9-xenU xen-2.0.gz -> xen-2.0-testing.gz xen-2.0-testing.gz xen-2.0-testing-syms xen-2.gz -> xen-2.0-testing.gz xen.gz -> xen-2.0-testing.gz According to the User''s Guide, the kernel for domain 0 is xen-2.0-testing.gz. My question is: What are the other kernel images? Why are there symlinks for them? And is there a System.map for the xen-2.0-testing.gz kernel? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fernando Maior
2005-May-17 22:49 UTC
Re: [Xen-users] Confusion about dist/install/boot/ and Xen kernels
On 5/17/05, prosolutions@gmx.net <prosolutions@gmx.net> wrote:> > I have run "make xen" "make tools" and "make kernels" on Xen testing source and > see the result in dist/install/boot/: > > config-2.6.11.9-xen0 > config-2.6.11.9-xenU > config-2.6.11-xen0 > System.map-2.6.11.9-xen0 > System.map-2.6.11.9-xenU > vmlinux-syms-2.6.11.9-xen0 > vmlinux-syms-2.6.11.9-xenU > vmlinuz-2.6.11.9-xen0 > vmlinuz-2.6.11.9-xenU > vmlinuz-2.6.11-xen0 -> vmlinuz-2.6.11.9-xen0 > vmlinuz-2.6.11-xenU -> vmlinuz-2.6.11.9-xenU > vmlinuz-2.6-xen0 -> vmlinuz-2.6.11.9-xen0 > vmlinuz-2.6-xenU -> vmlinuz-2.6.11.9-xenU > xen-2.0.gz -> xen-2.0-testing.gz > xen-2.0-testing.gz > xen-2.0-testing-syms > xen-2.gz -> xen-2.0-testing.gz > xen.gz -> xen-2.0-testing.gz > > According to the User''s Guide, the kernel for domain 0 is xen-2.0-testing.gz. My question is: What are the other kernel images? Why are there symlinks for them? And is there a System.map for the xen-2.0-testing.gz kernel?AFAIK, 1) xen-2.0-testing.gz is the Xen hypervisor. It is the one that boots the machine in grub config file with label "kernel". 2) vmlinuz-2.6.11-9-xen0 is the kernel for domain 0, and should be called by xen-2.0.gz for starting domain0, with label "module" in the grub config. 3) vmlinuz-2.6.11-9-xenU is the kernel that should be used to boot the other domains, the guests. Usually, it is in the /etc/xen/domU config file as "kernel" parameter. -- Bye, Fernando Maior LPIC/1 31908 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2005-May-17 23:10 UTC
Re: [Xen-users] Confusion about dist/install/boot/ and Xen kernels
> > According to the User''s Guide, the kernel for domain 0 is > > xen-2.0-testing.gz. My question is: What are the other kernel images? > > Why are there symlinks for them? And is there a System.map for the > > xen-2.0-testing.gz kernel? > > AFAIK, > > 1) xen-2.0-testing.gz is the Xen hypervisor. It is the one that boots the > machine in grub config file with label "kernel".Yup. This file is Xen itself. It''s the lowest layer of software in the system. You need it but it''s not much use on its own - you also need a kernel for domain 0 (usually Linux).> 2) vmlinuz-2.6.11-9-xen0 is the kernel for domain 0, and should be called > by xen-2.0.gz for starting domain0, with label "module" in the grub config.This is a xen0 Linux kernel. The xen0 suffix means it can run in domain 0 or in a domU. You''ll need to pass this to Xen at startup (as Fernando says).> 3) vmlinuz-2.6.11-9-xenU is the kernel that should be used to boot the > other domains, the guests. Usually, it is in the /etc/xen/domU config > file as "kernel" parameter.This kernel is a bit smaller than the xen0 kernel but can only run in domUs. You may want to use it in your guests, or you can just use the xen0 kernel everywhere. The symlinks are just there to give a stable name when the version numbers change. There''s no System.map file for xen-2.0-testing.gz because that''s Xen, not Linux and Xen doesn''t have a System.map file. HTH, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users