From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from yw-out-2324.google.com ([74.125.46.29]:59946 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011AbYGUNpU (ORCPT ); Mon, 21 Jul 2008 09:45:20 -0400 Received: by yw-out-2324.google.com with SMTP id 9so509537ywe.1 for ; Mon, 21 Jul 2008 06:45:18 -0700 (PDT) Message-ID: <1ba2fa240807210645g6a18bc86p1f4323dbf7517d1f@mail.gmail.com> (sfid-20080721_154523_437914_6FE509D7) Date: Mon, 21 Jul 2008 16:45:17 +0300 From: "Tomas Winkler" To: drago01 Subject: Re: [PATCH 0/3] Introducing IWLAGN Cc: "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> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 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> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Jul 21, 2008 at 4:29 PM, 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 :) > > Tomas Okay I resolved the problem. I put iwlagn to blacklist as a little hack for development so it won't be loaded during boot. While for not aliases modprobe works even if the modules is in blacklist this is not the case for aliases. Thanks for the help. Now I can release the 3rd patch with rename. Tomas >