linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Please fix compat-wireless for 2.6.34.9
@ 2011-05-02 16:01 Andreas Hartmann
  2011-05-02 18:01 ` Walter Goldens
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Hartmann @ 2011-05-02 16:01 UTC (permalink / raw)
  To: linux-wireless

Hello!


compat-wireless doesn't work anymore with kernel 2.6.34.9. The modules
can be build, but not loaded afterwards:

modprobe rt2800pci
WARNING: Error inserting rfkill
(/lib/modules/2.6.34.9-4-desktop/kernel/net/rfkill/rfkill.ko): Invalid
module format
WARNING: Error inserting cfg80211
(/lib/modules/2.6.34.9-4-desktop/updates/net/wireless/cfg80211.ko):
Invalid module format
WARNING: Error inserting mac80211
(/lib/modules/2.6.34.9-4-desktop/updates/net/mac80211/mac80211.ko):
Invalid module format
WARNING: Error inserting rt2x00lib
(/lib/modules/2.6.34.9-4-desktop/updates/drivers/net/wireless/rt2x00/rt2x00lib.ko):
Invalid module format
WARNING: Error inserting rt2x00pci
(/lib/modules/2.6.34.9-4-desktop/updates/drivers/net/wireless/rt2x00/rt2x00pci.ko):
Invalid module format
WARNING: Error inserting crc_ccitt
(/lib/modules/2.6.34.9-4-desktop/kernel/lib/crc-ccitt.ko): Invalid
module format
WARNING: Error inserting rt2800lib
(/lib/modules/2.6.34.9-4-desktop/updates/drivers/net/wireless/rt2x00/rt2800lib.ko):
Invalid module format
FATAL: Error inserting rt2800pci
(/lib/modules/2.6.34.9-4-desktop/updates/drivers/net/wireless/rt2x00/rt2800pci.ko):
Invalid module format


During compile, the following warnings are coming up:

  CC [M]  /raid/home/andreas/compat-wireless-2011-05-01/net/wireless/core.o
/raid/home/andreas/compat-wireless-2011-05-01/net/wireless/core.c:7:1:
warning: "pr_fmt" redefined
In file included from /usr/src/linux-2.6.34.9-4/include/linux/skbuff.h:17,
                 from
/usr/src/linux-2.6.34.9-4/include/linux/if_ether.h:124,
                 from
/usr/src/linux-2.6.34.9-4/include/linux/netdevice.h:29,
                 from
/raid/home/andreas/compat-wireless-2011-05-01/include/linux/compat-2.6.29.h:5,
                 from
/raid/home/andreas/compat-wireless-2011-05-01/include/linux/compat-2.6.h:24,
                 from <command-line>:0:
/usr/src/linux-2.6.34.9-4/include/linux/kernel.h:387:1: warning: this is
the location of the previous definition
/raid/home/andreas/compat-wireless-2011-05-01/net/wireless/core.c:7:1:
warning: "pr_fmt" redefined
In file included from /usr/src/linux-2.6.34.9-4/include/linux/skbuff.h:17,
                 from
/usr/src/linux-2.6.34.9-4/include/linux/if_ether.h:124,
                 from
/usr/src/linux-2.6.34.9-4/include/linux/netdevice.h:29,
                 from
/raid/home/andreas/compat-wireless-2011-05-01/include/linux/compat-2.6.29.h:5,
                 from
/raid/home/andreas/compat-wireless-2011-05-01/include/linux/compat-2.6.h:24,
                 from <command-line>:0:
/usr/src/linux-2.6.34.9-4/include/linux/kernel.h:387:1: warning: this is
the location of the previous definition
  CC [M]  /raid/home/andreas/compat-wireless-2011-05-01/net/wireless/sysfs.o
  CC [M]
/raid/home/andreas/compat-wireless-2011-05-01/net/wireless/radiotap.o
  CC [M]  /raid/home/andreas/compat-wireless-2011-05-01/net/wireless/util.o
  LD
/raid/home/andreas/compat-wireless-2011-05-01/net/mac80211/built-in.o
  CC [M]  /raid/home/andreas/compat-wireless-2011-05-01/net/mac80211/main.o
  CC [M]  /raid/home/andreas/compat-wireless-2011-05-01/net/wireless/reg.o
/raid/home/andreas/compat-wireless-2011-05-01/net/wireless/reg.c:36:1:
warning: "pr_fmt" redefined
In file included from /usr/src/linux-2.6.34.9-4/include/linux/skbuff.h:17,
                 from
/usr/src/linux-2.6.34.9-4/include/linux/if_ether.h:124,
                 from
/usr/src/linux-2.6.34.9-4/include/linux/netdevice.h:29,
                 from
/raid/home/andreas/compat-wireless-2011-05-01/include/linux/compat-2.6.29.h:5,
                 from
/raid/home/andreas/compat-wireless-2011-05-01/include/linux/compat-2.6.h:24,
                 from <command-line>:0:
/usr/src/linux-2.6.34.9-4/include/linux/kernel.h:387:1: warning: this is
the location of the previous definition
/raid/home/andreas/compat-wireless-2011-05-01/net/wireless/reg.c:36:1:
warning: "pr_fmt" redefined
In file included from /usr/src/linux-2.6.34.9-4/include/linux/skbuff.h:17,
                 from
/usr/src/linux-2.6.34.9-4/include/linux/if_ether.h:124,
                 from
/usr/src/linux-2.6.34.9-4/include/linux/netdevice.h:29,
                 from
/raid/home/andreas/compat-wireless-2011-05-01/include/linux/compat-2.6.29.h:5,
                 from
/raid/home/andreas/compat-wireless-2011-05-01/include/linux/compat-2.6.h:24,
                 from <command-line>:0:
/usr/src/linux-2.6.34.9-4/include/linux/kernel.h:387:1: warning: this is
the location of the previous definition



Thank you,
Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Please fix compat-wireless for 2.6.34.9
  2011-05-02 16:01 Please fix compat-wireless for 2.6.34.9 Andreas Hartmann
@ 2011-05-02 18:01 ` Walter Goldens
  2011-05-02 20:58   ` Andreas Hartmann
  0 siblings, 1 reply; 3+ messages in thread
From: Walter Goldens @ 2011-05-02 18:01 UTC (permalink / raw)
  To: linux-wireless, Andreas Hartmann



--- On Mon, 5/2/11, Andreas Hartmann <andihartmann@01019freenet.de> wrote:

> modprobe rt2800pci
> WARNING: Error inserting rfkill
> (/lib/modules/2.6.34.9-4-desktop/kernel/net/rfkill/rfkill.ko):
> Invalid
> module format
> WARNING: Error inserting cfg80211
> (/lib/modules/2.6.34.9-4-desktop/updates/net/wireless/cfg80211.ko):
> Invalid module format
> WARNING: Error inserting mac80211
> (/lib/modules/2.6.34.9-4-desktop/updates/net/mac80211/mac80211.ko):
> Invalid module format
> WARNING: Error inserting rt2x00lib
> (/lib/modules/2.6.34.9-4-desktop/updates/drivers/net/wireless/rt2x00/rt2x00lib.ko):
> Invalid module format
> WARNING: Error inserting rt2x00pci
> (/lib/modules/2.6.34.9-4-desktop/updates/drivers/net/wireless/rt2x00/rt2x00pci.ko):
> Invalid module format
> WARNING: Error inserting crc_ccitt
> (/lib/modules/2.6.34.9-4-desktop/kernel/lib/crc-ccitt.ko):
> Invalid
> module format
> WARNING: Error inserting rt2800lib
> (/lib/modules/2.6.34.9-4-desktop/updates/drivers/net/wireless/rt2x00/rt2800lib.ko):
> Invalid module format
> FATAL: Error inserting rt2800pci
> (/lib/modules/2.6.34.9-4-desktop/updates/drivers/net/wireless/rt2x00/rt2800pci.ko):

Hi,

Did you unload (all) the wireless modules before modprobe-ing rt2800pci?

Walter


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Please fix compat-wireless for 2.6.34.9
  2011-05-02 18:01 ` Walter Goldens
@ 2011-05-02 20:58   ` Andreas Hartmann
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Hartmann @ 2011-05-02 20:58 UTC (permalink / raw)
  To: linux-wireless

Walter Goldens wrote:
> 
> 
> --- On Mon, 5/2/11, Andreas Hartmann <andihartmann@01019freenet.de> wrote:
> 
>> modprobe rt2800pci
>> WARNING: Error inserting rfkill
>> (/lib/modules/2.6.34.9-4-desktop/kernel/net/rfkill/rfkill.ko):
>> Invalid
>> module format
>> WARNING: Error inserting cfg80211
>> (/lib/modules/2.6.34.9-4-desktop/updates/net/wireless/cfg80211.ko):
>> Invalid module format
>> WARNING: Error inserting mac80211
>> (/lib/modules/2.6.34.9-4-desktop/updates/net/mac80211/mac80211.ko):
>> Invalid module format
>> WARNING: Error inserting rt2x00lib
>> (/lib/modules/2.6.34.9-4-desktop/updates/drivers/net/wireless/rt2x00/rt2x00lib.ko):
>> Invalid module format
>> WARNING: Error inserting rt2x00pci
>> (/lib/modules/2.6.34.9-4-desktop/updates/drivers/net/wireless/rt2x00/rt2x00pci.ko):
>> Invalid module format
>> WARNING: Error inserting crc_ccitt
>> (/lib/modules/2.6.34.9-4-desktop/kernel/lib/crc-ccitt.ko):
>> Invalid
>> module format
>> WARNING: Error inserting rt2800lib
>> (/lib/modules/2.6.34.9-4-desktop/updates/drivers/net/wireless/rt2x00/rt2800lib.ko):
>> Invalid module format
>> FATAL: Error inserting rt2800pci
>> (/lib/modules/2.6.34.9-4-desktop/updates/drivers/net/wireless/rt2x00/rt2800pci.ko):
> 
> Hi,
> 
> Did you unload (all) the wireless modules before modprobe-ing rt2800pci?

yes - compat-wireless-2.6.39-rc1-3 works fine. It worked with kernel
2.6.34.8, too. But not with 2.6.34.9 (2.6.34.9-4-desktop from OpenSuSE).



Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-02 20:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-02 16:01 Please fix compat-wireless for 2.6.34.9 Andreas Hartmann
2011-05-02 18:01 ` Walter Goldens
2011-05-02 20:58   ` Andreas Hartmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).