From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 19:23:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8786106566C for ; Sat, 19 Dec 2009 19:23:17 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4545D8FC18 for ; Sat, 19 Dec 2009 19:23:16 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id nBJJNFo4043081; Sat, 19 Dec 2009 20:23:15 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 4828BBAA7; Sat, 19 Dec 2009 20:23:15 +0100 (CET) Date: Sat, 19 Dec 2009 20:23:15 +0100 From: Roland Smith To: freebsd-questions@freebsd.org Message-ID: <20091219192315.GA91390@slackbox.xs4all.nl> References: <20091219161309.GA57855@bsdbox.koderize.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <20091219161309.GA57855@bsdbox.koderize.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Jamie Griffin Subject: Re: question about building a custom kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2009 19:23:17 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 19, 2009 at 04:13:09PM +0000, Jamie Griffin wrote: > The handbook suggests the command: >=20 > # pciconf -lv=20 >=20 > 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. =20 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).=20 If you look at the first line for every device, the one with the @ in it, y= ou 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 dri= ver installed. Another thing you should look for is which modules are loaded, use the comm= and 'kldstat' for that. =20 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 w= hat kind of CPU you have. 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) --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkstKCMACgkQEnfvsMMhpyXMoACeLwQ3ZP8SVhMhfJoAhox16/60 yIAAn1Wr3nnYXIHi3tYksRbhgCImT7yG =a8lV -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--