What is /boot/kernel/*.symbols?

Ruben de Groot mail25 at bzerk.org
Wed Jul 8 06:54:59 UTC 2009


On Tue, Jul 07, 2009 at 07:29:24PM +0300, Dan Naumov typed:
> On Tue, Jul 7, 2009 at 7:09 PM, Rick C.
> Petty<rick-freebsd2008 at 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 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 sparc64
> >> > > systems running -current with symbols and the size of /boot/kernel is
> >> > > more comparable to i386, even with the 8-byte pointer size:
> >> >
> >> > Um, probably there are a lot of devices on amd64 that aren't available for
> >> > sparc64?
> >>
> >> Yes, That's probably it.
> >
> > It was just a theory; I don't have sparc64. ?What's your output of
> > "ls -1 /boot/kernel | wc"?
> >
> > -- Rick C. Petty
> 
> atom# uname -a
> FreeBSD atom.localdomain 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed
> Jun 24 00:14:35 UTC 2009
> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> atom# ls -1 /boot/kernel | wc
>     1011    1011   15243

On sparc:

morninglightmountain# uname -pr
8.0-CURRENT sparc64
morninglightmountain# ls /boot/kernel | wc
     853     853   13045
morninglightmountain# wc -l /usr/src/sys/sparc64/conf/GENERIC /usr/src/sys/amd64/conf/GENERIC
     247 /usr/src/sys/sparc64/conf/GENERIC
     322 /usr/src/sys/amd64/conf/GENERIC
     569 total

So, fewer drivers and also less devices in GENERIC, as might be expected.

regards,
Ruben



More information about the freebsd-stable mailing list