Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IPW2200 in the Vanilla-Kernel 2.6.14
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sat Nov 19, 2005 5:11 pm    Post subject: IPW2200 in the Vanilla-Kernel 2.6.14 Reply with quote

Hello,
when you have Vanilla-Kernel 2.6.14 or higher you can compile IPW2200 as module inside, you don't need longer the modul from Portage.It is also possible to built it in the kernel, but you need the firmware to use the IPW2200, which you could only load after mounting your filesystems (in germany we call it: chicken-egg problem -> no chicken, no egg or no egg, no chicken). Maybe a ramdisk can solve this, or later kernels they are changing a lot of in the wireless-zone.
The requiered ipw-firmware is release 2.2 (will change with later kernels), and die firmware must be installed in "/lib/firmware", this is the right place under Gentoo if you are using Hotplug/Coldplug and without it is the same place. Back to the kernel: you must also built in the kernel ieee80211 and the wireless-extensions (comes automatically with ipw2200) and the wireless-tools package (emerge wireless-tools). Now wlan should work ;)

In a short description:
1.
Code:

Networking --->
      [*]Networking Support
      [*]Generic IEEE802.11
      [*]IEEE802.11 ...

Device Drivers --->
   Generic Driver Options --->
      [*] Hotplug firmware loading support
   Network Device support --->
      Wireless LAN (non-hamradio) --->
        [*] Wireless LAN drivers (non-hamradio) & Wireless Extensions
        [m] IPW2200

Cryptographic options --->
   [*] Cryptographic API
     <*> AES cipher algorithms (i586)
     <*> ARC4 cipher algorithm
     <*> Michael MIC keyed digest algorithm
     <*> CRC32c CRC algorithm (this wasn't prompted in the emerge of ipw2200)


2. Install ipw2200-firmware 2.2 in /lib/firmware (maybe other place with Hotplug/Coldplug)
3. emerge wireless-tools


Troubleshouting:
Q: Wireless-Lan doesn't work, "dmesg" shows this errors:
Code:

ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.6
ipw2200: Copyright(c) 2003-2004 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: ipw-2.3-boot.fw load failed: Reason -2
ipw2200: Unable to load firmware: 0xFFFFFFFE
ipw2200: failed to register network device
ipw2200: probe of 0000:01:03.0 failed with error -5

A: Install the newest udev-release, this should fix it. If it not fix it, stay at this release and add this udev-rule: "/etc/udev/rules/999-firmware.rules"
Code:
ACTION=="add", SUBSYSTEM=="firmware", RUN+="/sbin/firmware_helper"

Source: http://www.openthought.org/blosxom.cgi/Blog/Computers/Organizations/Home/firmware_and_udev.writeback

I hope this helps and you unterstand me (running out of time) ;)
_________________
Just you and me strogg!


Last edited by hoschi on Sat Nov 19, 2005 5:27 pm; edited 3 times in total
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Sat Nov 19, 2005 5:21 pm    Post subject: Reply with quote

Thanks for the info. Just some more.

Versions of ipw2200 and ieee80211 in 2.6.14 (of course they are present in gentoo sources 2.6.14 besides of vanilla) are respectively 1.0.0 and 1.0.3. They've been upgraded to 1.0.8 (needs firmware 2.4) and 1.1.7 in vanilla 2.6.15-rc1. So be aware, for example, that WPA could not work with 2.6.14.

Emerging ipw2200-firmware will install in /lib/firmware, which is where it's searched by hot/coldplug.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject


Last edited by dgaffuri on Sat Nov 19, 2005 5:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sat Nov 19, 2005 5:21 pm    Post subject: Reply with quote

Thanks
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
PRC
Apprentice
Apprentice


Joined: 15 Aug 2005
Posts: 191

PostPosted: Wed Nov 30, 2005 2:23 am    Post subject: Re: IPW2200 in the Vanilla-Kernel 2.6.14 Reply with quote

A: Install the newest udev-release, this should fix it. If it not fix it, stay at this release and add this udev-rule: "/etc/udev/rules/999-firmware.rules"
Code:
ACTION=="add", SUBSYSTEM=="firmware", RUN+="/sbin/firmware_helper"


The correct path is
Code:

/etc/udev/rules.d/...

_________________
Mayhem G4 (Asus z71v)
Back to top
View user's profile Send private message
Der P@te
Apprentice
Apprentice


Joined: 17 Nov 2004
Posts: 190
Location: Germany

PostPosted: Sat Dec 03, 2005 7:05 pm    Post subject: Reply with quote

Hello there,

seems to be not working with udev 073.

- Created
/etc/udev/rules.d/999-firmware.rules
--> ACTION=="add", SUBSYSTEM=="firmware", RUN+="/sbin/firmware_helper"

but nothing happend
Code:

ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.6
ipw2200: Copyright(c) 2003-2004 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: ipw-2.3-boot.fw load failed: Reason -2
ipw2200: Unable to load firmware: 0xFFFFFFFE
ipw2200: failed to register network device
ipw2200: probe of 0000:01:0d.0 failed with error -5


:roll:

Any hints?
_________________
emerge -pv life
Back to top
View user's profile Send private message
Taglia
Apprentice
Apprentice


Joined: 05 Nov 2004
Posts: 244

PostPosted: Sun Dec 04, 2005 12:32 pm    Post subject: Reply with quote

Try emerging the correct version of the firmware (2.2)

I've did it, but still have an error message, maybe for you it will work.

Here is the error msg I still get (with 2.2 firmware in /lib/firmware)
Quote:

ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, 1.1.6
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.0
ipw2200: Copyright(c) 2003-2004 Intel Corporation
ACPI: PCI Interrupt 0000:02:03.0[A] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Unable to load ucode
ipw2200: Unable to load firmware: 0xFFFFFFC2
ipw2200: failed to register network device
ACPI: PCI interrupt for device 0000:02:03.0 disabled
ipw2200: probe of 0000:02:03.0 failed with error -5

_________________
Taglia
./ do NOT click ...
./ Mentecritica: Non esistono questioni di principio
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Sun Dec 04, 2005 3:31 pm    Post subject: Reply with quote

Der P@te wrote:
Code:
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.6

1.0.6 is not the in kernel 2.6.14 version, so you've emerged ipw2200 (why not 1.0.8?). In this case you need firmware 2.3 or2.4 with 1.0.8.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
indrek
n00b
n00b


Joined: 17 Apr 2005
Posts: 6

PostPosted: Sat Dec 10, 2005 8:03 pm    Post subject: Reply with quote

I had the same problem with firmware not loading and found help from this post:
https://bugs.gentoo.org/show_bug.cgi?id=104470
the relevant part being at the beginning:
"commenting the echo "/sbin/udevsend" > /proc/sys/kernel/hotplug line in /sbin/rc
or putting /sbin/hotplug in /proc/sys/kernel/hotplug makes the module loading."

I commented out the /sbin/udevsend... part and it works now.
Back to top
View user's profile Send private message
Taglia
Apprentice
Apprentice


Joined: 05 Nov 2004
Posts: 244

PostPosted: Sat Dec 10, 2005 9:40 pm    Post subject: Reply with quote

Thanks indrek, your tip partially resolved my problem.
I did the two changes.

On boot up I still get the error message
Code:

ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.0
ipw2200: Copyright(c) 2003-2004 Intel Corporation
ACPI: PCI Interrupt 0000:02:03.0[A] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: ipw-2.2-bss_ucode.fw load failed: Reason -2
ipw2200: Unable to load firmware: 0xFFFFFFFE
ipw2200: failed to register network device

But after trying to remove and reinsert manually the modules (rmmod & modprobe) I get this message
Code:

ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.0
ipw2200: Copyright(c) 2003-2004 Intel Corporation
ACPI: PCI Interrupt 0000:02:03.0[A] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
eth1 (WE) : Driver using old /proc/net/wireless support, please fix driver !

But it works (as I'm writing this post over my wireless connection)
_________________
Taglia
./ do NOT click ...
./ Mentecritica: Non esistono questioni di principio
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
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