question about building a custom kernel

Roland Smith rsmith at xs4all.nl
Sat Dec 19 19:23:17 UTC 2009


On Sat, Dec 19, 2009 at 04:13:09PM +0000, Jamie Griffin wrote:
> The handbook suggests the command:
> 
> # pciconf -lv 
> 
> On my system, this command does print out information for quite a few
> components, I just wondered if this information is all I need to work
> from or is it not an accurate or detailed enough representation of the
> hardware I have in my computer. I'd really appreciate any advice on how
> others go about this.  

It should provide most of the information that you need. But it shows only for
devices that are connected to the PCI bus! Devices connected to the USB bus
will not show up here (except from the USB controllers). 

If you look at the first line for every device, the one with the @ in it, you
can see if a driver has attached to that device in question. Devices whose
name start with 'none' followed by a number followed by @ do not have a driver
installed.

Another thing you should look for is which modules are loaded, use the command
'kldstat' for that.  

Also have a look at the output of the 'dmesg' command. That will show you
which devices are being detected and initialized. This will also show you what
kind of CPU you have.


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: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091219/d4bc4a11/attachment.pgp


More information about the freebsd-questions mailing list