From owner-freebsd-questions@FreeBSD.ORG Fri Mar 24 04:08:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4BD216A401 for ; Fri, 24 Mar 2006 04:08:04 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from mx1.highperformance.net (ip30.gte215.dsl-acs2.sea.iinet.com [209.20.215.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A6F343D48 for ; Fri, 24 Mar 2006 04:08:01 +0000 (GMT) (envelope-from jcw@highperformance.net) Received: from [192.168.1.16] (w16.stradamotorsports.com [192.168.1.16]) by mx1.highperformance.net (8.13.4/8.13.4) with ESMTP id k2O47t5Q020643; Thu, 23 Mar 2006 20:07:55 -0800 (PST) (envelope-from jcw@highperformance.net) Message-ID: <4423709E.5030706@highperformance.net> Date: Thu, 23 Mar 2006 20:07:58 -0800 From: "Jason C. Wells" User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: Perica Veljanovski , freebsd general questions References: <44228CBA.2050105@akton.com.mk> In-Reply-To: <44228CBA.2050105@akton.com.mk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.9 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on s4.stradamotorsports.com Cc: Subject: Re: which controllers(devices) to disable in 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: Fri, 24 Mar 2006 04:08:04 -0000 Perica Veljanovski wrote: > Hi, > > I bought a new pc with GIGABYTE GA-K8VT800 VIA K8T800 mother board (has > ata, sata, raid) and a SATA IBM HDD and installed FreeBSD 6.0. > > I'm building a custom kernel and I was wondering which > controllers(devices) I need for my new kernel to support my motherboard > properly? > Is there a way to see which devices my pc uses from the GENERIC kernel? Don't forget to read NOTES. Some devices are not intuitively obvious. You need SCSI to run a USB mass storage device even if you don't have a SCSI host adapter. dmesg like the other fellow said. There is one caveat. If you have some obscure hardware it may not show in dmesg output because it was never built into GENERIC. For this hardware you might look at the chips on the mainboard or in the hardware manual. You the take the chip's identifier (for lack of a better word) and grep the kernel config files to find the right driver. And oh yeah, you could use these docs: http://www.freebsd.org/releases/6.0R/hardware-i386.html But that's less adventurous. Later, Jason