Re: What is /boot/kernel/*.symbols?

2009-07-08 Thread Ruben de Groot
On Tue, Jul 07, 2009 at 07:29:24PM +0300, Dan Naumov typed: On Tue, Jul 7, 2009 at 7:09 PM, Rick C. Pettyrick-freebsd2...@kiwi-computer.com wrote: On Tue, Jul 07, 2009 at 11:24:51AM +0200, Ruben de Groot wrote: On Mon, Jul 06, 2009 at 04:20:45PM -0500, Rick C. Petty typed: On Mon, Jul 06,

Re: What is /boot/kernel/*.symbols?

2009-07-07 Thread Ruben de Groot
On Mon, Jul 06, 2009 at 04:20:45PM -0500, Rick C. Petty typed: On Mon, Jul 06, 2009 at 11:39:04AM +0200, Ruben de Groot wrote: On Mon, Jul 06, 2009 at 10:46:50AM +0200, Dimitry Andric typed: Right, so it's a lot bigger on amd64. I guess those 64-bit pointers aren't entirely free. :)

Re: What is /boot/kernel/*.symbols?

2009-07-07 Thread Rick C. Petty
On Tue, Jul 07, 2009 at 11:24:51AM +0200, Ruben de Groot wrote: On Mon, Jul 06, 2009 at 04:20:45PM -0500, Rick C. Petty typed: On Mon, Jul 06, 2009 at 11:39:04AM +0200, Ruben de Groot wrote: On Mon, Jul 06, 2009 at 10:46:50AM +0200, Dimitry Andric typed: Right, so it's a lot bigger

Re: What is /boot/kernel/*.symbols?

2009-07-07 Thread Dan Naumov
On Tue, Jul 7, 2009 at 7:09 PM, Rick C. Pettyrick-freebsd2...@kiwi-computer.com wrote: On Tue, Jul 07, 2009 at 11:24:51AM +0200, Ruben de Groot wrote: On Mon, Jul 06, 2009 at 04:20:45PM -0500, Rick C. Petty typed: On Mon, Jul 06, 2009 at 11:39:04AM +0200, Ruben de Groot wrote: On Mon, Jul

Re: What is /boot/kernel/*.symbols?

2009-07-06 Thread Ruben de Groot
On Sun, Jul 05, 2009 at 12:38:34AM +0100, Ian J Hart typed: I just had an installworld fail due to this (/rescue). Given that many people will have chosen the default root size offered by sysinstall a different build default would seem prudent. In any case sysinstall needs to be

Re: What is /boot/kernel/*.symbols?

2009-07-06 Thread Patrick M. Hausen
Hello, On Mon, Jul 06, 2009 at 09:39:41AM +0200, Ruben de Groot wrote: On Sun, Jul 05, 2009 at 12:38:34AM +0100, Ian J Hart typed: I just had an installworld fail due to this (/rescue). Given that many people will have chosen the default root size offered by sysinstall a different

Re: What is /boot/kernel/*.symbols?

2009-07-06 Thread Dimitry Andric
On 2009-07-06 09:42, Patrick M. Hausen wrote: #define ROOT_DEFAULT_SIZE 512 IMHO it is not. If you install a kernel with *.symbols present twice (i.e. kernel and kernel.old contain symbol files), your root partition will be 95% full. I'm not sure how you arrive at this

Re: What is /boot/kernel/*.symbols?

2009-07-06 Thread Dan Naumov
On Mon, Jul 6, 2009 at 11:34 AM, Dimitry Andricdimi...@andric.com wrote: On 2009-07-06 09:42, Patrick M. Hausen wrote: #define ROOT_DEFAULT_SIZE               512 IMHO it is not. If you install a kernel with *.symbols present twice (i.e. kernel and kernel.old contain symbol files), your root

Re: What is /boot/kernel/*.symbols?

2009-07-06 Thread Emil Mikulic
On Mon, Jul 06, 2009 at 10:34:41AM +0200, Dimitry Andric wrote: I'm not sure how you arrive at this number; even with -CURRENT (on i386, with all debug symbols), I could store about 4 complete kernels on such a filesystem: $ du -hs /boot/kernel* 122M/boot/kernel I get about the same on

Re: What is /boot/kernel/*.symbols?

2009-07-06 Thread Dimitry Andric
On 2009-07-06 10:41, Dan Naumov wrote: atom# uname -a FreeBSD atom.localdomain 7.2-RELEASE-p1 FreeBSD 7.2-RELEASE-p1 #0: Tue Jun 9 18:02:21 UTC 2009 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 atom# du -hs /boot/kernel* 205M/boot/kernel Right, so it's a lot

Re: What is /boot/kernel/*.symbols?

2009-07-06 Thread Pete French
I'm not sure how you arrive at this number; even with -CURRENT (on i386, with all debug symbols), I could store about 4 complete kernels on such a filesystem: $ du -hs /boot/kernel* 122M  /boot/kernel atom# du -hs /boot/kernel* 205M/boot/kernel i386: 127 meg amd64: 208 meg

Re: What is /boot/kernel/*.symbols?

2009-07-06 Thread Dmitry Morozovsky
Hi there Patrick, On Fri, 3 Jul 2009, Patrick M. Hausen wrote: PMH 7.2-System: PMH --- PMH makeoptions DEBUG=-g PMH PMH $ du -sk /boot/kernel PMH 214778 /boot/kernel PMH PMH Lots of those files filling /boot/kernel. PMH PMH PMH On a current server with 512 MB /, the

Re: What is /boot/kernel/*.symbols?

2009-07-06 Thread Ruben de Groot
On Mon, Jul 06, 2009 at 10:46:50AM +0200, Dimitry Andric typed: On 2009-07-06 10:41, Dan Naumov wrote: atom# uname -a FreeBSD atom.localdomain 7.2-RELEASE-p1 FreeBSD 7.2-RELEASE-p1 #0: Tue Jun 9 18:02:21 UTC 2009 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

Re: What is /boot/kernel/*.symbols?

2009-07-06 Thread Dimitry Andric
On 2009-07-06 11:39, Ruben de Groot wrote: r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 atom# du -hs /boot/kernel* 205M/boot/kernel Right, so it's a lot bigger on amd64. I guess those 64-bit pointers aren't entirely free. :) I'm not sure where the size

Re: What is /boot/kernel/*.symbols?

2009-07-06 Thread Rick C. Petty
On Mon, Jul 06, 2009 at 11:39:04AM +0200, Ruben de Groot wrote: On Mon, Jul 06, 2009 at 10:46:50AM +0200, Dimitry Andric typed: Right, so it's a lot bigger on amd64. I guess those 64-bit pointers aren't entirely free. :) I'm not sure where the size difference comes from. I have some

Re: What is /boot/kernel/*.symbols?

2009-07-04 Thread Ian J Hart
Quoting Patrick M. Hausen hau...@punkt.de: Hi! On Fri, Jul 03, 2009 at 05:05:08PM +0200, Dimitry Andric wrote: E.g. the debug stuff is put into the .symbols files. The kernel itself still contains the function and data names, though: Understood. Thanks. No, I don't want the kernel to be

What is /boot/kernel/*.symbols?

2009-07-03 Thread Patrick M. Hausen
Hi, all, When I upgraded some of our machines from 6.x to 7.2 I noticed that the root filesystems seemed to fill up. I thought this might come from makeoptions DEBUG=-g in the kernel config, but somehow that doesn't make sense, since our older systems have the same option present.

Re: What is /boot/kernel/*.symbols?

2009-07-03 Thread Dimitry Andric
On 2009-07-03 16:25, Patrick M. Hausen wrote: On a current server with 512 MB /, the filesystem is at 97% after installing a new kernel twice. Can I get rid of these files somehow or are they necessary, in which case I will need way bigger root filesystems? I mean, get rid automatically and

Re: What is /boot/kernel/*.symbols?

2009-07-03 Thread Patrick M. Hausen
Hello, On Fri, Jul 03, 2009 at 04:35:54PM +0200, Dimitry Andric wrote: You can find this in /usr/src/UPDATING: 20060118: This actually occured some time ago, but installing the kernel now also installs a bunch of symbol files for the kernel modules. This increases

Re: What is /boot/kernel/*.symbols?

2009-07-03 Thread Dimitry Andric
On 2009-07-03 16:41, Patrick M. Hausen wrote: But I thought, they were in the kernel itself? %file /boot/kernel/kernel /boot/kernel/kernel: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), not stripped not stripped - i.e. with debug symbols.

Re: What is /boot/kernel/*.symbols?

2009-07-03 Thread Patrick M. Hausen
Hi! On Fri, Jul 03, 2009 at 05:05:08PM +0200, Dimitry Andric wrote: E.g. the debug stuff is put into the .symbols files. The kernel itself still contains the function and data names, though: Understood. Thanks. No, I don't want the kernel to be void of any information ;-) Kind regards,