Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IPW2200
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
frobie
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2005
Posts: 96

PostPosted: Wed Sep 28, 2005 5:43 pm    Post subject: IPW2200 Reply with quote

Has anyone had problems using the IPW2200 drivers, when I say problems I mean getting "modprob: Warning: Error inserting ieee80211_crypt Invalid module format
I get that for ieee80211 and ipw2200. the ipw2200 says fatal however. I had some older drivers for this on the machine before but I did an update world and I had to put the new ones on because the older ones were blocking some packages. Any idea of how I can get teh wireless card to work again?
Back to top
View user's profile Send private message
frobie
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2005
Posts: 96

PostPosted: Wed Sep 28, 2005 6:23 pm    Post subject: Reply with quote

Could I use the ndiswrapper and then use the windows driver?
Back to top
View user's profile Send private message
frobie
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2005
Posts: 96

PostPosted: Thu Sep 29, 2005 4:36 pm    Post subject: Reply with quote

If this helps here is the code.

Code:

# modprobe ipw2200
WARNING: Error inserting ieee80211_crypt
(/lib/modules/2.6.12-gentoo-r10/net/ieee80211/ieee80211_crypt.ko):
Invalid module format
WARNING: Error inserting ieee80211
(/lib/modules/2.6.12-gentoo-r10/net/ieee80211/ieee80211.ko): Invalid
module format
FATAL: Error inserting ipw2200
(/lib/modules/2.6.12-gentoo-r10/net/wireless/ipw2200.ko): Invalid
module format
Back to top
View user's profile Send private message
koshia
n00b
n00b


Joined: 22 Sep 2005
Posts: 38

PostPosted: Mon Oct 10, 2005 4:52 am    Post subject: Reply with quote

I am also getting this error, would any veteran please help us?
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Mon Oct 10, 2005 5:43 am    Post subject: some thougts Reply with quote

well i have the ipw2200 module working on my machine. ive got an ibm r51. one thing i noticed which i doubt is the issue is im running a 2.6.13 kernel, but should mention the module worked on an older kernels well. however should also mention it hung one day and i had to reboot because of it, ive not noticed the problem with the newer kernel.
the only other thing i might suggest is compiling the cryptography stuff into the kernel, that is what ive done and that is whats suggested on the wiki page, which i would take a look at too.
http://gentoo-wiki.com/HARDWARE_ipw2200
Back to top
View user's profile Send private message
koshia
n00b
n00b


Joined: 22 Sep 2005
Posts: 38

PostPosted: Mon Oct 10, 2005 6:20 am    Post subject: Re: some thougts Reply with quote

quickshiftin wrote:

the only other thing i might suggest is compiling the cryptography stuff into the kernel, that is what ive done and that is whats suggested on the wiki page, which i would take a look at too.
http://gentoo-wiki.com/HARDWARE_ipw2200


I loaded basically the essentials and what wiki had recommended as well, but i still get that error. I tried module-rebuild and that didn't help. Tried rebuilding kernel and that didn't do any good as well. I am at the finish line, yet have crossed it. Totolly frustrating me.
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Mon Oct 10, 2005 6:50 am    Post subject: Reply with quote

koshia,

i realize you did not post output, but said you are having the same problem as frobie. would you mide running
$modprobe ipw2200
then giving me the last few lines of dmesg?
seems like the problem might not have to do with ipw2200, might be the crypt stuff... have you tried something like
$modprobe ieee80211_crypt
if that deosnt work then i think there is a good chance the problem isnt ipw2200
again i should mention i have all my crpyt stuff compiled into the kernel
Back to top
View user's profile Send private message
koshia
n00b
n00b


Joined: 22 Sep 2005
Posts: 38

PostPosted: Mon Oct 10, 2005 7:05 am    Post subject: Reply with quote

quickshiftin wrote:
koshia,

i realize you did not post output, but said you are having the same problem as frobie. would you mide running
$modprobe ipw2200
then giving me the last few lines of dmesg
seems like the problem might not have to do with ipw2200, might be the crypt stuff... have you tried something like
$modprobe ieee80211_crypt
if that deosnt work then i think there is a good chance the problem isnt ipw2200
again i should mention i have all my crpyt stuff compiled into the kernel


Code:
localhost koshia # modprobe ipw2200
WARNING: Error inserting ieee80211_crypt (/lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211_crypt.ko): Invalid module format
WARNING: Error inserting ieee80211 (/lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211.ko): Invalid module format
FATAL: Error inserting ipw2200 (/lib/modules/2.6.13-gentoo-r3/net/wireless/ipw2200.ko): Invalid module format


Code:
localhost koshia # modprobe ieee80211_crypt
FATAL: Error inserting ieee80211_crypt (/lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211_crypt.ko): Invalid module format


that's what I get, and I know its not ipw2200 it is something with ieee80211 mod.


When I merged ieee80211 mod it seems there wasn't anything wrong though that's the problem. I have loaded all the necessary modules in the menuconfig. AES, MICHAEL, CRC, ARC

Code:
localhost koshia # emerge ieee80211
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ieee80211-1.0.3 to /
>>> md5 files   ;-) ieee80211-1.0.3.ebuild
>>> md5 files   ;-) ieee80211-1.0.3-r1.ebuild
>>> md5 files   ;-) ieee80211-1.0.2.ebuild
>>> md5 files   ;-) ieee80211-1.0.3-r2.ebuild
>>> md5 files   ;-) ieee80211-1.0.1.ebuild
>>> md5 files   ;-) files/ieee80211-1.0.3-broadcast.patch
>>> md5 files   ;-) files/digest-ieee80211-1.0.1
>>> md5 files   ;-) files/digest-ieee80211-1.0.2
>>> md5 files   ;-) files/digest-ieee80211-1.0.3
>>> md5 files   ;-) files/digest-ieee80211-1.0.3-r1
>>> md5 files   ;-) files/digest-ieee80211-1.0.3-r2
>>> md5 files   ;-) files/ieee80211-1.0.3-keep_restricted_bit.patch
>>> md5 files   ;-) files/ieee80211-1.0.3-open_frag.patch
>>> md5 src_uri ;-) ieee80211-1.0.3.tgz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.13-gentoo-r3
 * Checking for suitable kernel configuration options:
>>> Unpacking source...
>>> Unpacking ieee80211-1.0.3.tgz to /var/tmp/portage/ieee80211-1.0.3/work
>>> Source unpacked.
 * Preparing ieee80211 module
Checking in /usr/src/linux/ for ieee80211 components...

make -C /usr/src/linux M=/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3 MODVERDIR=/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3 modules
make[1]: Entering directory `/usr/src/linux-2.6.13-gentoo-r3'
  CC [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.o
  CC [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_tx.o
  CC [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_rx.o
  CC [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_wx.o
  CC [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_geo.o
  LD [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211.o
  CC [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_crypt.o
  CC [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_crypt_wep.o
  CC [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_crypt_ccmp.o
  CC [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_crypt_tkip.o
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211.mod.o
  LD [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211.ko
  CC      /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_crypt.mod.o
  LD [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_crypt.ko
  CC      /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_crypt_ccmp.mod.o
  LD [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_crypt_ccmp.ko
  CC      /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_crypt_tkip.mod.o
  LD [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_crypt_tkip.ko
  CC      /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_crypt_wep.mod.o
  LD [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_crypt_wep.ko
make[1]: Leaving directory `/usr/src/linux-2.6.13-gentoo-r3'
>>> Test phase [not enabled]: net-wireless/ieee80211-1.0.3

>>> Install ieee80211-1.0.3 into /var/tmp/portage/ieee80211-1.0.3/image/ category net-wireless
 * Installing ieee80211 module
 * Installing ieee80211_crypt module
 * Installing ieee80211_crypt_wep module
 * Installing ieee80211_crypt_ccmp module
 * Installing ieee80211_crypt_tkip module
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
>>> Completed installing ieee80211-1.0.3 into /var/tmp/portage/ieee80211-1.0.3/image/

>>> Merging net-wireless/ieee80211-1.0.3 to /
--- /lib/
--- /lib/modules/
--- /lib/modules/2.6.13-gentoo-r3/
--- /lib/modules/2.6.13-gentoo-r3/net/
--- /lib/modules/2.6.13-gentoo-r3/net/ieee80211/
>>> /lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211.ko
>>> /lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211_crypt.ko
>>> /lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211_crypt_wep.ko
>>> /lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211_crypt_ccmp.ko
>>> /lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211_crypt_tkip.ko
--- /usr/
--- /usr/include/
--- /usr/include/net/
>>> /usr/include/net/ieee80211.h
>>> /usr/include/net/ieee80211.h.orig
>>> /usr/include/net/ieee80211_crypt.h
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/ieee80211-1.0.3/
>>> /usr/share/doc/ieee80211-1.0.3/CHANGES.gz
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/share/doc/ieee80211-1.0.3/CHANGES.gz
--- !mtime obj /usr/include/net/ieee80211_crypt.h
--- !mtime obj /usr/include/net/ieee80211.h.orig
--- !mtime obj /usr/include/net/ieee80211.h
--- cfgpro obj /lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211_crypt_wep.ko
--- cfgpro obj /lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211_crypt_tkip.ko
--- cfgpro obj /lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211_crypt_ccmp.ko
--- cfgpro obj /lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211_crypt.ko
--- cfgpro obj /lib/modules/2.6.13-gentoo-r3/net/ieee80211/ieee80211.ko
--- cfgpro dir /lib/modules/2.6.13-gentoo-r3/net/ieee80211
--- cfgpro dir /lib/modules/2.6.13-gentoo-r3/net
--- cfgpro dir /lib/modules/2.6.13-gentoo-r3
--- !empty dir /usr/share/doc/ieee80211-1.0.3
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/include/net
--- !empty dir /usr/include
--- !empty dir /usr
--- !empty dir /lib/modules
--- !empty dir /lib
>>> original instance of package unmerged safely.
 * Updating module dependencies for 2.6.13-gentoo-r3 ...                  [ ok ] * Adding module to moduledb.
>>> Regenerating /etc/ld.so.cache...
>>> net-wireless/ieee80211-1.0.3 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Mon Oct 10, 2005 4:31 pm    Post subject: Reply with quote

i tried to reproduce the output you are getting by copiling all the crypt stuff in as modules and i have not had any problems.
im kind of stumpped at this point, dont know if this will help, but its worth a shot, have you tried cmpiling an older version of ieee80211
i noticed there are three of them in portage and you are using the latest one. i am using the latest one on my working system, but sometimes older verions work when newer ones dont
Back to top
View user's profile Send private message
koshia
n00b
n00b


Joined: 22 Sep 2005
Posts: 38

PostPosted: Tue Oct 11, 2005 1:44 pm    Post subject: Reply with quote

This is still no go, I tried rebuilding kernel and reupgrading my gcc 3.4 again and still having same errors. I've even tried reinstalling an older version of each thing and that did no good.
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Tue Oct 11, 2005 1:59 pm    Post subject: Reply with quote

alright, ill keep looking around. right now im trying to find some type of general reason for the module format error...
EDIT:
actually, one more question. are other modules getting added to your running kernel without problems? that is, are you only having a problem with the ieee80211 module?
one more thing... the code you posted before when you try to insert the module. that is code from the command prompt, yes. what i think will have more detailed info is the last few lines of you dmesg. try to insert the module again and then post the last, say 15 lines of dmesg:
#modprobe ieee80211
then post the output from this command
#dmesg | tail -n 15

ps.
sorry about all the edits to this post


Last edited by quickshiftin on Tue Oct 11, 2005 2:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
Aonoa
Guru
Guru


Joined: 23 May 2002
Posts: 589

PostPosted: Tue Oct 11, 2005 2:04 pm    Post subject: Reply with quote

Both ipw2200 and ieee80211 works perfectly for me, on 2.6.12.5 and 2.6.12.6. You're certain your /usr/src/linux symlink is pointing to the current kernel source? Have you tried unemerging both, deleting all ipw2200.ko and ieee80211.ko in /lib and then re-emerge?
Back to top
View user's profile Send private message
koshia
n00b
n00b


Joined: 22 Sep 2005
Posts: 38

PostPosted: Tue Oct 11, 2005 2:12 pm    Post subject: Reply with quote

yes i have done that (deleting all .ko files etc..) and i have tried reemerging it. My kernel's 2.6.13-gentoo-r3 and i'm quite positive my symlink is pointing in the right direction, but just in case what's the command to find out?
Back to top
View user's profile Send private message
koshia
n00b
n00b


Joined: 22 Sep 2005
Posts: 38

PostPosted: Tue Oct 11, 2005 2:15 pm    Post subject: Reply with quote

koshia wrote:
yes i have done that (deleting all .ko files etc..) and i have tried reemerging it. My kernel's 2.6.13-gentoo-r3 and i'm quite positive my symlink is pointing in the right direction, but just in case what's the command to find out?


Okay upon typing this i also typed out dmesg and found that it saids

ieee80211: version magic '2.6.13-gentoo-r3 SMP premept PENTIUMM gcc-3.4' should be '2.6.13-gentoo-r3 SMP preempt PENTIUMM gcc-3.3'

it lists a bunch of those for some other ones as well like ieee80211_crypt, ipw2200. Any clue? BTW i did emerge and upgraded my gcc-3.3.6 to 3.4 using Gentoo Wiki's guide.
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Tue Oct 11, 2005 2:17 pm    Post subject: Reply with quote

koshia wrote:
but just in case what's the command to find out?

typically the information on the command line is not as robust as the information in dmesg a program that logs kernel information. i think theres a chance we will get some insight if you try to insert the module and then show us the info appended to dmesg
Back to top
View user's profile Send private message
koshia
n00b
n00b


Joined: 22 Sep 2005
Posts: 38

PostPosted: Tue Oct 11, 2005 2:19 pm    Post subject: Reply with quote

quickshiftin wrote:
koshia wrote:
but just in case what's the command to find out?

typically the information on the command line is not as robust as the information in dmesg a program that logs kernel information. i think theres a chance we will get some insight if you try to insert the module and then show us the info appended to dmesg


I'll give you guys the information on the dmesg as soon as i get gnome running, and it's taking a while.
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Tue Oct 11, 2005 2:22 pm    Post subject: Reply with quote

what is the output from
gcc-config -c
Back to top
View user's profile Send private message
koshia
n00b
n00b


Joined: 22 Sep 2005
Posts: 38

PostPosted: Tue Oct 11, 2005 2:29 pm    Post subject: Reply with quote

quickshiftin wrote:
what is the output from
gcc-config -c

i686-pc-linux-gnu-3.4.4

Using a Centrino laptop.
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Tue Oct 11, 2005 2:48 pm    Post subject: Reply with quote

i think i found some info that points us in the right direction, but i still have one more question. are you using lilo? if so have you run
#lilo
since you recompiled your kernel w/ the gcc-3.4compiler?
also give me the output of

#less /proc/version | tail -n 1
Back to top
View user's profile Send private message
koshia
n00b
n00b


Joined: 22 Sep 2005
Posts: 38

PostPosted: Tue Oct 11, 2005 5:15 pm    Post subject: Reply with quote

quickshiftin wrote:
i think i found some info that points us in the right direction, but i still have one more question. are you using lilo? if so have you run
#lilo
since you recompiled your kernel w/ the gcc-3.4compiler?
also give me the output of

#less /proc/version | tail -n 1


I using Grub,

less /proc/version | tail -n 1

Linux version 2.6.13-gentoo-r3 (root@livecd) (gcc version 3.3.6 (gentoo 3.3.6, sp-3.3.6-1.0, pie-8.7.8)) #1 SMP Mon Oct 10 16:55:04 CDT 2005
Back to top
View user's profile Send private message
koshia
n00b
n00b


Joined: 22 Sep 2005
Posts: 38

PostPosted: Tue Oct 11, 2005 5:20 pm    Post subject: Reply with quote

I will be reloading Gentoo Again because everything's heywire now... i emerged grub and there's several errors with files being there but not on the Manifest... etc. etc .etc... i'm just gonna reload once again, but I know i'll have the same situation, so please if you could continue on with what you were trying to help me and i'll try to get gentoo loaded asap again. Thanks.
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Tue Oct 11, 2005 5:33 pm    Post subject: Reply with quote

i dont know if you need to reload yet. do you have another system you could get by with for a while? getting this one to work will help you out a lot i think...
anyway, the output from /proc/version indicates your kernel was compiled with the 3.3.6 version of gcc... i know you said youve recompiled and everything, but i can garuntee thats not the kernel you are currently running.
did you just add grub or have you been using lilo and recently switched to grub?
Back to top
View user's profile Send private message
koshia
n00b
n00b


Joined: 22 Sep 2005
Posts: 38

PostPosted: Tue Oct 11, 2005 5:43 pm    Post subject: Reply with quote

quickshiftin wrote:
i dont know if you need to reload yet. do you have another system you could get by with for a while? getting this one to work will help you out a lot i think...
anyway, the output from /proc/version indicates your kernel was compiled with the 3.3.6 version of gcc... i know you said youve recompiled and everything, but i can garuntee thats not the kernel you are currently running.
did you just add grub or have you been using lilo and recently switched to grub?


I've never used lilo, and Grub was loaded when I did a fresh install of Gentoo about 2 days ago. After doing Grub, I booted into Gentoo and su root and then do the wiki GCC-3.4 upgrade.


And oh yeah, i'm currently using my PC desktop to communicate as Gnome failed to load on Gentoo.
Back to top
View user's profile Send private message
Aonoa
Guru
Guru


Joined: 23 May 2002
Posts: 589

PostPosted: Tue Oct 11, 2005 6:42 pm    Post subject: Reply with quote

"ls -l /usr/src" will tell you where the linux symlink points to. If it's not pointing to the proper directory, just remove it "rm -rf /usr/src/linux" and do a new symlink with "ln -sf /usr/src/kernel-source-direcory /usr/src/linux".

EDIT: In the case you need to do this, you will also need to re-emerge the modules.
Back to top
View user's profile Send private message
koshia
n00b
n00b


Joined: 22 Sep 2005
Posts: 38

PostPosted: Tue Oct 11, 2005 9:35 pm    Post subject: Reply with quote

eonic wrote:
"ls -l /usr/src" will tell you where the linux symlink points to. If it's not pointing to the proper directory, just remove it "rm -rf /usr/src/linux" and do a new symlink with "ln -sf /usr/src/kernel-source-direcory /usr/src/linux".

EDIT: In the case you need to do this, you will also need to re-emerge the modules.


ls -l /usr/src gets me:

total 4
lrwxrwxrwx 1 root root 22 oct 10 22:01 linux -> linux-2.6.13-gentoo-r3
drwxr-xr-x 19 root root 4096 oct 11 08:12 linux-2.6.13-gentoo-r3

I removed the pointer and replaced with a new one. I re-emerged the ipw2200 and did modprobe ieee80211 w/o any problem, but the ipw2200 mod still gives me the same error.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum