Kernel for Dual Core

Roland Smith rsmith at xs4all.nl
Mon May 26 21:40:02 UTC 2008


On Mon, May 26, 2008 at 07:41:13PM +0100, Andrew Brampton wrote:
> From: "Mark Ovens" <parish at magichamster.com>
> 
>> The advantage of building a custom kernel is that you remove anything your 
>> system doesn't have which saves time when booting as the kernel won't be 
>> probing for devices that it will never find - for example. mine is an 
>> all-SCSI system so my kernel doesn't have any IDE or floppy devices in it 
>> - and it makes the kernel smaller (although that isn't really an issue 
>> these days).
> 
> 
> With FreeBSD and Linux I don't spend much time customising my kernel incase 
> I remove a module that I actually need. Does anyone know of a tool which 
> can probe for your devices and then suggest which modules can safely be 
> 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
-- 
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080526/074e013f/attachment.pgp


More information about the freebsd-questions mailing list