From owner-freebsd-current@FreeBSD.ORG Sat Jan 3 11:44:29 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF548106566C for ; Sat, 3 Jan 2009 11:44:29 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) by mx1.freebsd.org (Postfix) with ESMTP id 44B998FC08 for ; Sat, 3 Jan 2009 11:44:29 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.23] (helo=13.mx.freenet.de) by mout2.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1LJ4va-0005g8-Gm; Sat, 03 Jan 2009 12:44:26 +0100 Received: from tdc35.t.pppool.de ([89.55.220.53]:59858 helo=ernst.jennejohn.org) by 13.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1LJ4va-0008PY-9W; Sat, 03 Jan 2009 12:44:26 +0100 Date: Sat, 3 Jan 2009 12:44:24 +0100 From: Gary Jennejohn To: Luigi Rizzo Message-ID: <20090103124424.2959f2ac@ernst.jennejohn.org> In-Reply-To: <20090102221719.GA61058@onelab2.iet.unipi.it> References: <20090101183026.GA15385@onelab2.iet.unipi.it> <6101e8c40901011117y3e82a226id6f9de940b0f7dcd@mail.gmail.com> <47d0403c0901011619r658fd25ct3d01bc32969bde11@mail.gmail.com> <20090102221719.GA61058@onelab2.iet.unipi.it> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, Ben Kaduk , Oliver Pinter Subject: Re: RFC: new utility, kmodpatch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2009 11:44:29 -0000 On Fri, 2 Jan 2009 23:17:19 +0100 Luigi Rizzo wrote: > On Thu, Jan 01, 2009 at 07:19:12PM -0500, Ben Kaduk wrote: > > On Thu, Jan 1, 2009 at 2:17 PM, Oliver Pinter wrote: > > > Hi! > > > > > > Do You think for this project: http://www.ksplice.com/ ? > > > > > > On 1/1/09, Luigi Rizzo wrote: > > >> I mentioned this utility a couple of months ago, and it's now working > > >> so i would like to receive feedback on whether this is good to have > > >> as part of the system, or just keep it as a port (which is what > > >> i plan to do by default). > > >> > > >> In a nutshell, the kmodpatch utility can print or alter the content > > >> of device/quirk tables in kernel modules (I think Linux has some > > >> similar tool, though i don't remember the name -- or perhaps it is > > >> a feature of insmod ?). > > >> > > > > > > Ksplice is not yet in the linux kernel tree, so it's probably not > > what Luigi was referring to. However, it is a pretty impressive > > correct, i think there is some feature (in insmod or whatever the > utility to load a module is) to configure the module so it uses > certain variables (perhaps including recognising a given USB vendor-id pair?) > These are called moduler parameters in Linux parlance and must be built into the drivers themselves. insmod merely provides a mehcanism for passing them to the drivers. --- Gary Jennejohn