From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([66.187.233.31]:40203 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752139AbYGUOXn (ORCPT ); Mon, 21 Jul 2008 10:23:43 -0400 Subject: Re: [PATCH 0/3] Introducing IWLAGN From: Dan Williams To: Tomas Winkler Cc: drago01 , Henrique de Moraes Holschuh , linville@tuxdriver.com, johannes@sipsolutions.net, yi.zhu@intel.com, linux-wireless@vger.kernel.org In-Reply-To: <1ba2fa240807210629x56ed2f33o7c0a45daddfbc6bf@mail.gmail.com> References: <1216597215-19708-1-git-send-email-tomas.winkler@intel.com> <20080721012528.GA6623@khazad-dum.debian.net> <1ba2fa240807210018gbd31c18g59fc08f4a8b2a3ce@mail.gmail.com> <1ba2fa240807210537p66e55407l33662a43e39c106e@mail.gmail.com> <1ba2fa240807210629x56ed2f33o7c0a45daddfbc6bf@mail.gmail.com> Content-Type: text/plain Date: Mon, 21 Jul 2008 10:21:27 -0400 Message-Id: <1216650087.22055.5.camel@localhost.localdomain> (sfid-20080721_162347_236988_8CC80C6E) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, 2008-07-21 at 16:29 +0300, Tomas Winkler wrote: > On Mon, Jul 21, 2008 at 4:04 PM, drago01 wrote: > > On Mon, Jul 21, 2008 at 2:37 PM, Tomas Winkler wrote: > >> On Mon, Jul 21, 2008 at 10:18 AM, Tomas Winkler wrote: > >>> On Mon, Jul 21, 2008 at 4:25 AM, Henrique de Moraes Holschuh > >>> wrote: > >>>> On Mon, 21 Jul 2008, Tomas Winkler wrote: > >>>>> This series of patches renames iwl4965 driver to iwlagn driver > >>>> > >>>> Maybe MODULE_ALIAS with the old name would be a good idea? > >>> > >>> I wasn't aware of this one I'll give it a try. Thanks > >> > >> It doesn't work much > >> if I rename the module name to iwlagn.ko and just add > >> MODULE_ALIAS("iwl4965") or alias line in /etc/modprobe.conf. I've > >> checked modules.alias it's updated. > >> Still modprobe iwl4965 cannot catch it. > >> So it's still will create mess when switching between to version of the kernel. > > > > thats odd ... just tested it with a webcam driver (m5602 added > > MODULE_ALIAS("bisoncam") and it worked) > > does modinfo iwlagn list the alias? > > yes it does show the alias but modprobe fails with Module iwl4965 not > found. I did strace it's really reads the modules.alias but found > nothing > Hope I'm wasting my time on some stupid typo...just cannot find it :) You did re-run depmod, right? Just a quick thought. Dan