From: Luca Berra Subject: Re: add devname module aliases to allow module on-demand auto-loading Date: Tue, 25 May 2010 07:33:41 +0200 Message-ID: <20100525053341.GB31345@maude.comedia.it> References: <1274371640.302.5.camel@yio.site> <201005211909.29326.knikanth@suse.de> <20100521182325.GO3991@agk-dp.fab.redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Kay Sievers Cc: Greg Kroah-Hartman , Miklos Szeredi , Nikanth Karthikesan , Peter Rajnoha , linux-kernel , dm-devel@redhat.com, Chris Mason , Tigran Aivazian , "David S. Miller" , Alasdair G Kergon , Milan Broz List-Id: dm-devel.ids On Fri, May 21, 2010 at 08:51:49PM +0200, Kay Sievers wrote: >On Fri, May 21, 2010 at 20:23, Alasdair G Kergon wrote: >> On Fri, May 21, 2010 at 03:55:21PM +0200, Kay Sievers wrote: >>> >> On my box without this patch: >>> >> =A0 dmsetup version >>> >> =A0 Library version: =A0 1.02.42 (2010-01-14) >>> >> =A0 /proc/misc: No entry for device-mapper found >>> >> =A0 Is device-mapper driver missing from kernel? >>> >> =A0 Failure to communicate with kernel device-mapper driver. >> >> (Curiously this is not an issue I remember anyone raising with me as a p= roblem >> before.) I am fairly sure i did report that, i even tried moving the module loading framework from lvm2 to device mapper, but the resulting code sucked too much to submit, the idea was to load device-mapper module, and all target modules on first use. >Because distros go the easy and stupid way and just load everything >they configured as a module. :) That is something to solve, or at >least avoid and hide a bit. In this case we were forced to preload dm-mod to work around the issue ;) > >I think its all covered with this patch. :) But if yo have any better >idea, let us know. what patch? L. -- = Luca Berra -- bluca@comedia.it Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \