Re : Re : Re : Re : Re : Which kernel may I compile ?

David TECHER
Thu, 05 Jan 2012 23:26:54 -0000

Emmanuel,

To be honest, I know it since a long time and I never tried to fix it.

Xen works...that all I need :)

David



________________________________
 De : Emmanuel COURCELLE <emmanuel.courcelle@toulouse.inra.fr>
À : David TECHER <davidtecher@yahoo.fr>
Cc : "xen-users@lists.xensource.com"
<xen-users@lists.xensource.com>
Envoyé le : Jeudi 5 Janvier 2012 17h06
Objet : Re: [Xen-users] Re : Re : Re : Re : Which kernel may I compile ?


Le 05/01/2012 16:43, David TECHER a écrit :
Try
>
>
>
>dom0_mem=2048MB
>
>
>It should be enough (do not forget ''MB'' )
>
>
>
>you need to have enough memory to handle the init process
>
>
>
OK, thanks, it boots now (at least on my test computer, I''ll only try
next week on the prod server)

But I have another question, may be related... or not: when I
    compile the kernel, I noticed that the modules directory is really
    huge, compared to the original Debian directory:

du -sh /lib/modules/2.6.32.50 /lib/modules/2.6.32-5-xen-amd64
1.3G    /lib/modules/2.6.32.50
96M    /lib/modules/2.6.32-5-xen-amd64
After some investigation, it appears that each .ko file is about 10 times bigger
after recompilation:

ls -l lib/modules/2.6.32.50/kernel/fs/ext4/ext4.ko
lib/modules/2.6.32-5-xen-amd64/kernel/fs/ext4/ext4.ko
-rw-r--r-- 1 root root  526872 Oct  3 11:21
lib/modules/2.6.32-5-xen-amd64/kernel/fs/ext4/ext4.ko
-rw-r--r-- 1 root root 6553221 Jan  4 16:31
lib/modules/2.6.32.50/kernel/fs/ext4/ext4.ko
May be this is the reason why dom0 needs so much memory in the new version: do
you have any idea of how I could fix that ?


--
Emmanuel COURCELLE emmanuel.courcelle@toulouse.inra.fr L.I.P.M. (UMR CNRS-INRA
2594/441) tel (33) 5-61-28-54-50