From owner-freebsd-questions@FreeBSD.ORG Sun Jul 11 23:00:02 2004 Return-Path: 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 0004216A4CE for ; Sun, 11 Jul 2004 23:00:01 +0000 (GMT) Received: from drifthost.com (drifthost.com [66.90.65.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6D8143D31 for ; Sun, 11 Jul 2004 23:00:01 +0000 (GMT) (envelope-from steve@drifthost.com) Received: from Steve (dsl-203-142-133-217.syd.directcorp.net.au [203.142.133.217]) by drifthost.com (Postfix) with ESMTP id 3114BFE9A; Mon, 12 Jul 2004 08:56:55 +1000 (EST) From: "Steven Adams" To: "'Matthew Seaman'" Date: Mon, 12 Jul 2004 09:00:00 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20040711134942.GA82763@happy-idiot-talk.infracaninophile.co.uk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcRnTY2oxBT8Dx6ERcevycUabTLWMwATQdxw Message-Id: <20040711225655.3114BFE9A@drifthost.com> cc: 'Arjan Van Leeuwen' cc: freebsd-questions@freebsd.org Subject: RE: FreeBSD Kernel Recompile, Does not exclude modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 23:00:02 -0000 I already made a custom kernel and disabled usb in /etc/rc.conf I guess they aren't causing me any harm ill just leave them alone for now.. :) Thanks tho -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Matthew Seaman Sent: Sunday, 11 July 2004 11:50 PM To: Steven Adams Cc: 'Arjan Van Leeuwen'; freebsd-questions@freebsd.org Subject: Re: FreeBSD Kernel Recompile, Does not exclude modules On Sun, Jul 11, 2004 at 10:09:54PM +1000, Steven Adams wrote: > Ive already disabled usbd_enable=no in /etc/rc.conf > > But still I get theses > > root 399 0.0 0.0 0 12 ?? DL Sat04PM 0:00.03 (usb0) > root 400 0.0 0.0 0 12 ?? DL Sat04PM 0:00.00 (usbtask) > > And yes I ran make install, I know it worked because I also compiled in > quota support which is now working and wasn't previously. > > I am a 5year slackware linux user just moved over to FreeBSD so im used to > the linux kernel, that's why its confused me a little. FreeBSD is looking > great tho.. :) > > But yeh wondering how I get rid of them 2 processes. Those are not ordinary processes. Rather they are kernel threads (or some such description) -- along the same lines as the vmdaemon, swapper or syncer threads. In order to get rid of them, you'ld have to compile a custom kernel with all of the usb support ripped out *and* you'ld have to take steps to prevent the kernel autoloading a usb.ko kernel module on boot up. If you have inadvertently loaded a usb kld module -- use kldstat(8) to see if that is the case -- then you should be able to unload it with kldunload(8), so long as it's not actually busy doing stuff. On the whole though, I wouldn't bother too much about those usb kernel thread things. They're generally harmless and they don't have any impact on the rest of the system if there are no USB peripherals in use. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK