Re: Kernel symbol file alternate location

2010-08-12 Thread Adrian Chadd
On 5 August 2010 12:41, Daniel O'Connor docon...@gsoft.com.au wrote: Is it possible to tell installkernel to put the symbol files elsewhere? IMO somewhere in /usr would be good - you don't need them to boot (or crashdump, etc) and they increase the size of the kernel by a factor of 5(!),

Re: Kernel symbol file alternate location

2010-08-12 Thread Daniel O'Connor
On 13/08/2010, at 10:43, Adrian Chadd wrote: [cain 14:07] /tmp rm -f kernel/*.symbols [cain 14:07] /tmp du -sh kernel 50Mkernel Why not add support to the relevant libraries/code to support reading compressed symbol files? Hmm, it does make a rather massive difference.. 206Mb - 55Mb

Re: Kernel symbol file alternate location

2010-08-07 Thread jhell
On 08/06/2010 06:19, Oliver Fromme wrote: Kostik Belousov kostik...@gmail.com wrote: If you keep /usr/obj around, you do not need symbol files at all, and INSTALL_NODEBUG?=true in make.conf is enough. You can always use kernel.debug and modules with debugging symbols from build

Re: Kernel symbol file alternate location

2010-08-06 Thread Oliver Fromme
Daniel O'Connor wrote: On 06/08/2010, at 2:38, Oliver Fromme wrote: I think this is the main reason / has had to grow - the actual kernel is relatively small so even a 256Mb / could hold several, but with the symbol files it is not possible. I think a very simple solution

Re: Kernel symbol file alternate location

2010-08-06 Thread Daniel O'Connor
On 06/08/2010, at 16:59, Oliver Fromme wrote: Yeah, I don't think it's hard to move them, however I'm worried what it will break :) The only thing I can see that would have to change would be kgdb so it tells gdb where to find the symbols. That's why I suggested to place symlinks in the

Re: Kernel symbol file alternate location

2010-08-06 Thread Oliver Fromme
Daniel O'Connor wrote: On 06/08/2010, at 16:59, Oliver Fromme wrote: Yeah, I don't think it's hard to move them, however I'm worried what it will break :) The only thing I can see that would have to change would be kgdb so it tells gdb where to find the symbols.

Re: Kernel symbol file alternate location

2010-08-06 Thread Kostik Belousov
On Fri, Aug 06, 2010 at 09:29:31AM +0200, Oliver Fromme wrote: Daniel O'Connor wrote: On 06/08/2010, at 2:38, Oliver Fromme wrote: I think this is the main reason / has had to grow - the actual kernel is relatively small so even a 256Mb / could hold several, but with the symbol

Re: Kernel symbol file alternate location

2010-08-06 Thread Oliver Fromme
Kostik Belousov kostik...@gmail.com wrote: If you keep /usr/obj around, you do not need symbol files at all, and INSTALL_NODEBUG?=true in make.conf is enough. You can always use kernel.debug and modules with debugging symbols from build directory for kgdb. OK ... But that won't work for

Re: Kernel symbol file alternate location

2010-08-06 Thread Daniel O'Connor
On 06/08/2010, at 17:45, Oliver Fromme wrote: Daniel O'Connor wrote: On 06/08/2010, at 16:59, Oliver Fromme wrote: Yeah, I don't think it's hard to move them, however I'm worried what it will break :) The only thing I can see that would have to change would be kgdb so it tells gdb where

Re: Kernel symbol file alternate location

2010-08-05 Thread Chip Camden
Quoth Daniel O'Connor on Thursday, 05 August 2010: Is it possible to tell installkernel to put the symbol files elsewhere? IMO somewhere in /usr would be good - you don't need them to boot (or crashdump, etc) and they increase the size of the kernel by a factor of 5(!), eg.. [cain 14:07]

Re: Kernel symbol file alternate location

2010-08-05 Thread Oliver Fromme
Daniel O'Connor wrote: Is it possible to tell installkernel to put the symbol files elsewhere? I wondered the same. IMO somewhere in /usr would be good - you don't need them to boot (or crashdump, etc) and they increase the size of the kernel by a factor of 5(!), eg.. [cain 14:07] /tmp

Re: Kernel symbol file alternate location

2010-08-05 Thread Daniel O'Connor
On 06/08/2010, at 2:38, Oliver Fromme wrote: I think this is the main reason / has had to grow - the actual kernel is relatively small so even a 256Mb / could hold several, but with the symbol files it is not possible. I think a very simple solution would be to install the symbol files

Kernel symbol file alternate location

2010-08-04 Thread Daniel O'Connor
Is it possible to tell installkernel to put the symbol files elsewhere? IMO somewhere in /usr would be good - you don't need them to boot (or crashdump, etc) and they increase the size of the kernel by a factor of 5(!), eg.. [cain 14:07] /tmp du -sh kernel 258Mkernel [cain 14:07] /tmp rm -f