From: Andreas Hartmann <andihartmann@01019freenet.de>
To: linux-wireless@vger.kernel.org
Cc: users@rt2x00.serialmonkey.com
Subject: compat_wireless rt2x00 broken with 2.6.34.9: Invalid module format
Date: Sun, 01 May 2011 09:51:04 +0200 [thread overview]
Message-ID: <4DBD10E8.2010308@01019freenet.de> (raw)
Hello,
the drivers rt2x00 can be compiled under linux 2.6.34.9 (OpenSuSE
kernel-desktop-2.6.34.9-4.1.x86_64) only with these warnings:
CC [M] /raid/home/andreas/compat-wireless-2011-04-29/net/wireless/core.o
/raid/home/andreas/compat-wireless-2011-04-29/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-04-29/include/linux/compat-2.6.29.h:5,
from
/raid/home/andreas/compat-wireless-2011-04-29/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-04-29/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-04-29/include/linux/compat-2.6.29.h:5,
from
/raid/home/andreas/compat-wireless-2011-04-29/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-04-29/net/wireless/sysfs.o
CC [M] /raid/home/andreas/compat-wireless-2011-04-29/net/mac80211/work.o
CC [M]
/raid/home/andreas/compat-wireless-2011-04-29/net/wireless/radiotap.o
CC [M] /raid/home/andreas/compat-wireless-2011-04-29/net/mac80211/iface.o
CC [M] /raid/home/andreas/compat-wireless-2011-04-29/net/wireless/util.o
CC [M] /raid/home/andreas/compat-wireless-2011-04-29/net/mac80211/rate.o
CC [M] /raid/home/andreas/compat-wireless-2011-04-29/net/wireless/reg.o
CC [M]
/raid/home/andreas/compat-wireless-2011-04-29/net/mac80211/michael.o
/raid/home/andreas/compat-wireless-2011-04-29/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-04-29/include/linux/compat-2.6.29.h:5,
from
/raid/home/andreas/compat-wireless-2011-04-29/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-04-29/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-04-29/include/linux/compat-2.6.29.h:5,
from
/raid/home/andreas/compat-wireless-2011-04-29/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
Afterwards, the modules can't be loaded at all:
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
I tested version compat-wireless-2011-04-22 and compat-wireless-2011-04-30.
compat-wireless-2.6.39-rc1-3 modules can be loaded fine!
Regards,
Andreas
reply other threads:[~2011-05-01 7:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DBD10E8.2010308@01019freenet.de \
--to=andihartmann@01019freenet.de \
--cc=linux-wireless@vger.kernel.org \
--cc=users@rt2x00.serialmonkey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.