From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 11:58:39 2012 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 4C451106566C for ; Mon, 2 Jan 2012 11:58:39 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id DA63B8FC0A for ; Mon, 2 Jan 2012 11:58:38 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so14932892wib.13 for ; Mon, 02 Jan 2012 03:58:37 -0800 (PST) Received: by 10.216.131.72 with SMTP id l50mr31910944wei.28.1325505517684; Mon, 02 Jan 2012 03:58:37 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id f19sm29608215wbo.13.2012.01.02.03.58.36 (version=SSLv3 cipher=OTHER); Mon, 02 Jan 2012 03:58:36 -0800 (PST) Message-ID: <4F019BEB.6050701@my.gd> Date: Mon, 02 Jan 2012 12:58:35 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Matt Mullins References: <4EF9F395.6030302@my.gd> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@FreeBSD.org" Subject: SOLVED - Re: KERNEL - knowing what programs use/need modules 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: Mon, 02 Jan 2012 11:58:39 -0000 On 1/1/12 9:10 AM, Matt Mullins wrote: > On Tue, Dec 27, 2011 at 8:34 AM, Damien Fleuriot wrote: >> Now, I'm wondering why in the world a server would need umass, ums and cam ? >> >> My understanding is that ums is the USB mouse, which we're never going >> to need. >> >> Umass would be USB mass storage, which again we're never going to need. > > You appear to be correct with these two. My gut tells me these types > of things would be loaded when the corresponding devices are plugged > into the system, but if that's wrong, surely someone here will speak > up. > >> Regarding CAM I have absolutely no idea why the module is loaded either. > > That's the SCSI/ATA subsystem; if this is the only of your firewalls > to have this module, perhaps it has different disk adapter hardware > than the others or another sysadmin decided to load it manually? > They use mfi, like a few others which do not have CAM loaded. The best part is, after rebooting these firewalls on their new 8.2-RELEASE-p5 kernel, they haven't loaded neither of UMS, UMASS, or CAM, although I've clearly built them: MODULES_OVERRIDE=cam geom/geom_label if_lagg linprocfs linsysfs linux mfi/mfi_linux usb/umass usb/ums I doubt another admin would have loaded them manually, they don't touch the "freebsd stuff" very often ;) Ah well, I guess I'll just leave it at that. For anyone reading this thread, Matt's suggestion of using lsof to find what files/binaries could be using the devices seems to be the best one. Ty for the input Matt.