Re: Size of kernel modules

2007-06-10 Thread Sergey Vlasov
On Sat, 9 Jun 2007 15:59:55 +0200 (CEST) Jan Engelhardt wrote: > On Jun 9 2007 08:08, Jon Masters wrote: > > > >So I missed half of this conversation - you're saying that on a > >CONFIG_DEBUG_KERNEL, you have such large .ko module files that depmod > >segfaults? Can I get a core dump or any

Re: Size of kernel modules

2007-06-10 Thread Sergey Vlasov
On Sat, 9 Jun 2007 15:59:55 +0200 (CEST) Jan Engelhardt wrote: On Jun 9 2007 08:08, Jon Masters wrote: So I missed half of this conversation - you're saying that on a CONFIG_DEBUG_KERNEL, you have such large .ko module files that depmod segfaults? Can I get a core dump or any further

Re: Size of kernel modules

2007-06-09 Thread Satyam Sharma
On 6/9/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: On Jun 9 2007 08:08, Jon Masters wrote: > >So I missed half of this conversation - you're saying that on a >CONFIG_DEBUG_KERNEL, you have such large .ko module files that depmod >segfaults? Can I get a core dump or any further information?

Re: Size of kernel modules

2007-06-09 Thread Jon Masters
On Sat, 2007-06-09 at 15:59 +0200, Jan Engelhardt wrote: > On Jun 9 2007 08:08, Jon Masters wrote: > > > >So I missed half of this conversation - you're saying that on a > >CONFIG_DEBUG_KERNEL, you have such large .ko module files that depmod > >segfaults? Can I get a core dump or any further

Re: Size of kernel modules

2007-06-09 Thread Jan Engelhardt
On Jun 9 2007 08:08, Jon Masters wrote: > >So I missed half of this conversation - you're saying that on a >CONFIG_DEBUG_KERNEL, you have such large .ko module files that depmod >segfaults? Can I get a core dump or any further information? :-) Just make sure your /lib/modules/ is like 300

Re: Size of kernel modules

2007-06-09 Thread Jon Masters
On Sat, 2007-06-09 at 09:55 +0200, Jan Engelhardt wrote: > On Jun 8 2007 08:40, Robert P. J. Day wrote: > >> > >> If you disable CONFIG_DEBUG_KERNEL, things should go back to normal > >> sizes for you. > > > >grow so much compared to *which other modules*? the ones that came > >with your distro?

Re: Size of kernel modules

2007-06-09 Thread Jan Engelhardt
On Jun 8 2007 08:40, Robert P. J. Day wrote: >> >> If you disable CONFIG_DEBUG_KERNEL, things should go back to normal >> sizes for you. > >grow so much compared to *which other modules*? the ones that came >with your distro? if that's the case, try installing your new modules >with > > # make

Re: Size of kernel modules

2007-06-09 Thread Jan Engelhardt
On Jun 8 2007 08:40, Robert P. J. Day wrote: If you disable CONFIG_DEBUG_KERNEL, things should go back to normal sizes for you. grow so much compared to *which other modules*? the ones that came with your distro? if that's the case, try installing your new modules with # make

Re: Size of kernel modules

2007-06-09 Thread Jon Masters
On Sat, 2007-06-09 at 09:55 +0200, Jan Engelhardt wrote: On Jun 8 2007 08:40, Robert P. J. Day wrote: If you disable CONFIG_DEBUG_KERNEL, things should go back to normal sizes for you. grow so much compared to *which other modules*? the ones that came with your distro? if that's the

Re: Size of kernel modules

2007-06-09 Thread Jan Engelhardt
On Jun 9 2007 08:08, Jon Masters wrote: So I missed half of this conversation - you're saying that on a CONFIG_DEBUG_KERNEL, you have such large .ko module files that depmod segfaults? Can I get a core dump or any further information? :-) Just make sure your /lib/modules/kernel is like 300

Re: Size of kernel modules

2007-06-09 Thread Jon Masters
On Sat, 2007-06-09 at 15:59 +0200, Jan Engelhardt wrote: On Jun 9 2007 08:08, Jon Masters wrote: So I missed half of this conversation - you're saying that on a CONFIG_DEBUG_KERNEL, you have such large .ko module files that depmod segfaults? Can I get a core dump or any further information?

Re: Size of kernel modules

2007-06-09 Thread Satyam Sharma
On 6/9/07, Jan Engelhardt [EMAIL PROTECTED] wrote: On Jun 9 2007 08:08, Jon Masters wrote: So I missed half of this conversation - you're saying that on a CONFIG_DEBUG_KERNEL, you have such large .ko module files that depmod segfaults? Can I get a core dump or any further information? :-)

Re: Size of kernel modules

2007-06-08 Thread Chuck Ebbert
On 06/08/2007 08:40 AM, Robert P. J. Day wrote: > > # make INSTALL_MOD_STRIP=1 modules_install > > that makes a *huge* difference in the size of the installed modules, > as i learned when i first ran across this on my fedora core system. > learn how to use rpmbuild:

Re: Size of kernel modules

2007-06-08 Thread Robert P. J. Day
On Thu, 7 Jun 2007, Kyle McMartin wrote: > On Wed, Jun 06, 2007 at 05:05:34PM +0200, Christoph Pleger wrote: > > So, my question is the follwing: Is it an expected feature that the file > > sizes of modules grow so much only because of a different cpu type and a > > different localversion, or is

Re: Size of kernel modules

2007-06-08 Thread Kyle McMartin
On Wed, Jun 06, 2007 at 05:05:34PM +0200, Christoph Pleger wrote: > So, my question is the follwing: Is it an expected feature that the file > sizes of modules grow so much only because of a different cpu type and a > different localversion, or is there probably a bug in my build tools? > The

Re: Size of kernel modules

2007-06-08 Thread Kyle McMartin
On Wed, Jun 06, 2007 at 05:05:34PM +0200, Christoph Pleger wrote: So, my question is the follwing: Is it an expected feature that the file sizes of modules grow so much only because of a different cpu type and a different localversion, or is there probably a bug in my build tools? The kernel

Re: Size of kernel modules

2007-06-08 Thread Robert P. J. Day
On Thu, 7 Jun 2007, Kyle McMartin wrote: On Wed, Jun 06, 2007 at 05:05:34PM +0200, Christoph Pleger wrote: So, my question is the follwing: Is it an expected feature that the file sizes of modules grow so much only because of a different cpu type and a different localversion, or is there

Re: Size of kernel modules

2007-06-08 Thread Chuck Ebbert
On 06/08/2007 08:40 AM, Robert P. J. Day wrote: # make INSTALL_MOD_STRIP=1 modules_install that makes a *huge* difference in the size of the installed modules, as i learned when i first ran across this on my fedora core system. learn how to use rpmbuild:

Re: Size of kernel modules

2007-06-06 Thread Joseph Fannin
On Wed, Jun 06, 2007 at 05:05:34PM +0200, Christoph Pleger wrote: > I found out that the filenames are the same, but the size of the files > differs very much. I found a module file in the new directory that was > almost five times as large as the file with the same name in the old > directory.

Re: Size of kernel modules

2007-06-06 Thread Sam Ravnborg
On Wed, Jun 06, 2007 at 05:51:24PM +0200, Jesper Juhl wrote: > On 06/06/07, Christoph Pleger <[EMAIL PROTECTED]> wrote: > >Hello, > > > >I have a machine here which I installed with Ubuntu 7.04. Immediately > >after the installation had been finished, I installed the Ubuntu package > >which

Re: Size of kernel modules

2007-06-06 Thread Sam Ravnborg
On Wed, Jun 06, 2007 at 05:05:34PM +0200, Christoph Pleger wrote: > Hello, > > I have a machine here which I installed with Ubuntu 7.04. Immediately > after the installation had been finished, I installed the Ubuntu package > which contains the Ubuntu-modified sources of the linux kernel. I >

Re: Size of kernel modules

2007-06-06 Thread Jan Engelhardt
On Jun 6 2007 17:51, Jesper Juhl wrote: > On 06/06/07, Christoph Pleger <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I have a machine here which I installed with Ubuntu 7.04. Immediately >> after the installation had been finished, I installed the Ubuntu package >> which contains the

Re: Size of kernel modules

2007-06-06 Thread jimmy bahuleyan
Christoph Pleger wrote: > Hello, > [snip] > After the new kernel package had been created, I installed it. After > that, I looked into the directory /boot and was very surprised: The > initial ramdisk of the new kernel was much larger than the initrd of the > old kernel. To find out the cause for

Re: Size of kernel modules

2007-06-06 Thread Jesper Juhl
On 06/06/07, Christoph Pleger <[EMAIL PROTECTED]> wrote: Hello, I have a machine here which I installed with Ubuntu 7.04. Immediately after the installation had been finished, I installed the Ubuntu package which contains the Ubuntu-modified sources of the linux kernel. I extracted the

Size of kernel modules

2007-06-06 Thread Christoph Pleger
Hello, I have a machine here which I installed with Ubuntu 7.04. Immediately after the installation had been finished, I installed the Ubuntu package which contains the Ubuntu-modified sources of the linux kernel. I extracted the resulting tar.bz2-file, copied the configuration of the currently

Size of kernel modules

2007-06-06 Thread Christoph Pleger
Hello, I have a machine here which I installed with Ubuntu 7.04. Immediately after the installation had been finished, I installed the Ubuntu package which contains the Ubuntu-modified sources of the linux kernel. I extracted the resulting tar.bz2-file, copied the configuration of the currently

Re: Size of kernel modules

2007-06-06 Thread Jesper Juhl
On 06/06/07, Christoph Pleger [EMAIL PROTECTED] wrote: Hello, I have a machine here which I installed with Ubuntu 7.04. Immediately after the installation had been finished, I installed the Ubuntu package which contains the Ubuntu-modified sources of the linux kernel. I extracted the resulting

Re: Size of kernel modules

2007-06-06 Thread jimmy bahuleyan
Christoph Pleger wrote: Hello, [snip] After the new kernel package had been created, I installed it. After that, I looked into the directory /boot and was very surprised: The initial ramdisk of the new kernel was much larger than the initrd of the old kernel. To find out the cause for this,

Re: Size of kernel modules

2007-06-06 Thread Jan Engelhardt
On Jun 6 2007 17:51, Jesper Juhl wrote: On 06/06/07, Christoph Pleger [EMAIL PROTECTED] wrote: Hello, I have a machine here which I installed with Ubuntu 7.04. Immediately after the installation had been finished, I installed the Ubuntu package which contains the Ubuntu-modified sources of

Re: Size of kernel modules

2007-06-06 Thread Sam Ravnborg
On Wed, Jun 06, 2007 at 05:05:34PM +0200, Christoph Pleger wrote: Hello, I have a machine here which I installed with Ubuntu 7.04. Immediately after the installation had been finished, I installed the Ubuntu package which contains the Ubuntu-modified sources of the linux kernel. I extracted

Re: Size of kernel modules

2007-06-06 Thread Sam Ravnborg
On Wed, Jun 06, 2007 at 05:51:24PM +0200, Jesper Juhl wrote: On 06/06/07, Christoph Pleger [EMAIL PROTECTED] wrote: Hello, I have a machine here which I installed with Ubuntu 7.04. Immediately after the installation had been finished, I installed the Ubuntu package which contains the

Re: Size of kernel modules

2007-06-06 Thread Joseph Fannin
On Wed, Jun 06, 2007 at 05:05:34PM +0200, Christoph Pleger wrote: I found out that the filenames are the same, but the size of the files differs very much. I found a module file in the new directory that was almost five times as large as the file with the same name in the old directory.