Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2008 23:39:59 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Andrew Brampton <andrew@bramp.freeserve.co.uk>
Cc:        Mark Ovens <parish@magichamster.com>, freebsd-questions@freebsd.org
Subject:   Re: Kernel for Dual Core
Message-ID:  <20080526213959.GA5952@slackbox.xs4all.nl>
In-Reply-To: <045c01c8bf60$13f50710$0a00a8c0@Andrew>
References:  <483ADEA1.40206@webrz.net> <483AF28F.1080102@magichamster.com> <045c01c8bf60$13f50710$0a00a8c0@Andrew>

next in thread | previous in thread | raw e-mail | index | archive | help

--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 26, 2008 at 07:41:13PM +0100, Andrew Brampton wrote:
> From: "Mark Ovens" <parish@magichamster.com>
>=20
>> The advantage of building a custom kernel is that you remove anything yo=
ur=20
>> system doesn't have which saves time when booting as the kernel won't be=
=20
>> probing for devices that it will never find - for example. mine is an=20
>> all-SCSI system so my kernel doesn't have any IDE or floppy devices in i=
t=20
>> - and it makes the kernel smaller (although that isn't really an issue=
=20
>> these days).
>=20
>=20
> With FreeBSD and Linux I don't spend much time customising my kernel inca=
se=20
> I remove a module that I actually need. Does anyone know of a tool which=
=20
> can probe for your devices and then suggest which modules can safely be=
=20
> disabled?

Either 'dmesg|less' or 'pciconf -lv|less' or 'ls /dev' will show you
which drivers are in use. If you see in the pciconf output a line
starting with 'none', you have found a device without a driver.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--azLHFNyN32YCQGCU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkg7Li8ACgkQEnfvsMMhpyWsUQCgneTupyVUkI3TK21WnaJlPWV/
MI8An22/heVHXi3H5rs9fcXJFZOdGpgd
=XNrQ
-----END PGP SIGNATURE-----

--azLHFNyN32YCQGCU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080526213959.GA5952>