[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New version of kernel-package to create image packages using debconf



On Thu, 2005-11-10 at 22:36 +0900, Junichi Uekawa wrote:
> Hi,
> 
> > > it would be convenient if 'vmlinux' is included 
> > > somewhere like /usr/lib/debug/lib/modules/`uname -r`/vmlinux 
> > > (which seems to be the case with RedHat[2]).
> > 
> > in a separate linux-image-dbg package?
> > 
> > $ du -h vmlinux arch/i386/boot/bzImage
> > 19M     vmlinux
> > 884K    arch/i386/boot/bzImage
> 
> I've looked at it; on my system it doesn't 
> make much difference.
> 
> $ ls -lh vmlinux /boot/vmlinuz-2.6.14
> -rw-r--r--  1 root   root   1.8M 2005-11-08 17:37 /boot/vmlinuz-2.6.14
> -rwxr-xr-x  1 dancer dancer 7.4M 2005-11-08 17:32 vmlinux

It think it is because my kernels have CONFIG_DEBUG_INFO turned on.

CONFIG_DEBUG_INFO=y
884K    ../build-sbc-gx533/arch/i386/boot/bzImage
20M     ../build-sbc-gx533/vmlinux

CONFIG_DEBUG_INFO=n
884K    ../build-sbc-gx533/arch/i386/boot/bzImage
2.2M    ../build-sbc-gx533/vmlinux

I don't know how useful all that extra debug info is but it sounds like
the sort of stuff which ought to be in a debug image...

Anyway, I'm not too fussed, just thought it was worth mentioning.

Ian.

-- 
Ian Campbell
Current Noise: Iron Maiden - Run To The Hills

The world really isn't any worse.  It's just that the news coverage
is so much better.



Reply to: