You are not logged in.

#1 2008-02-12 14:09:57

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

iwl4965 kernel 2.6.24 [SOLVED]

How do you get wireless working with the 2.6.24 kernel?

in dmesg I have these errors:

iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: iwlwifi-4965-1.ucode firmware file req failed: Reason -2
iwl4965: Could not read microcode: -2
iwl4965: probe of 0000:0c:00.0 failed with error -2

Not sure of the proper way to set it up.

Thanks

Last edited by cu3edweb (2008-02-18 15:04:00)

Offline

#2 2008-02-12 14:29:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: iwl4965 kernel 2.6.24 [SOLVED]

Have you installed the iwlwifi-4965-ucode package?

Offline

#3 2008-02-12 14:29:53

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

Re: iwl4965 kernel 2.6.24 [SOLVED]

Im having the same issue. Same wireless board.

Does the firmware package need an upgrade?

If i go back to .23 +  iwlwifi, everything works just fine.

Regards


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

#4 2008-02-12 14:33:32

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: iwl4965 kernel 2.6.24 [SOLVED]

tomk wrote:

Have you installed the iwlwifi-4965-ucode package?

Yes I have the latest one installed:

core/iwlwifi-4965-ucode 4.44.1.20-1 [installed]
    Intel wireless firmware for IPW4965 (iwlwifi driver)

Should I have changed anything in my rc.conf?

Last edited by cu3edweb (2008-02-12 14:37:11)

Offline

#5 2008-02-12 15:09:01

Bapman
Member
From: Ottawa, Canada
Registered: 2007-09-02
Posts: 140

Re: iwl4965 kernel 2.6.24 [SOLVED]

Same problem here sad ! I think we will have to wait a fix in 2.6.24.2...

Offline

#6 2008-02-12 18:41:38

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: iwl4965 kernel 2.6.24 [SOLVED]

Last night i had problems with my wireless too. I set the essid and key like normal and then running dhcpcd. I got it working after issuing 'iwlist wlan0 scan' and 'rm /var/run/dhcpcd-wlan0.pid' and then rerunning 'dhcpcd wlan0'. This morning, I tried that, and 'ifconfig wlan0 up' and neither worked, and I didn't update anything. I'm using the ethernet port at the moment.

[zack@boxx ~]$ pacman -Q | grep kernel26
kernel26 2.6.24.1-2
....
[zack@boxx ~]$ pacman -Q | grep iwl
iwlwifi-4965-ucode 4.44.1.20-1
.....
[zack@boxx ~]$ dmesg | grep 4965
iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.1.17ks
iwl4965: Copyright(c) 2003-2007 Intel Corporation
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 11 802.11bg, 13 802.11a channels
phy0: Selected rate control algorithm 'iwl-4965-rs'
....
[zack@boxx ~]$ cat /etc/rc.conf
INTERFACES=(eth0)

I thought that I should see 'lo' in the interfaces array as well, but I don't. Should wlan0 be added there as well? Hope my information helped...

Last edited by Sjoden (2008-02-12 18:42:47)

Offline

#7 2008-02-12 19:30:34

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: iwl4965 kernel 2.6.24 [SOLVED]

The loopback interface is now enabled by default, and is therefore no longer required in the interfaces array. If you want the network init script to handle wlan0, you should add it to the interfaces array.

Offline

#8 2008-02-12 21:01:22

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: iwl4965 kernel 2.6.24 [SOLVED]

tomk wrote:

The loopback interface is now enabled by default, and is therefore no longer required in the interfaces array. If you want the network init script to handle wlan0, you should add it to the interfaces array.

Do I need to rebuild the ucode against the new kernel because I don't think that I did that?

Offline

#9 2008-02-12 23:34:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: iwl4965 kernel 2.6.24 [SOLVED]

No you don't.

Offline

#10 2008-02-13 01:08:47

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: iwl4965 kernel 2.6.24 [SOLVED]

Sjoden wrote:

Last night i had problems with my wireless too. I set the essid and key like normal and then running dhcpcd. I got it working after issuing 'iwlist wlan0 scan' and 'rm /var/run/dhcpcd-wlan0.pid' and then rerunning 'dhcpcd wlan0'. This morning, I tried that, and 'ifconfig wlan0 up' and neither worked, and I didn't update anything. I'm using the ethernet port at the moment.

[zack@boxx ~]$ pacman -Q | grep kernel26
kernel26 2.6.24.1-2
....
[zack@boxx ~]$ pacman -Q | grep iwl
iwlwifi-4965-ucode 4.44.1.20-1
.....
[zack@boxx ~]$ dmesg | grep 4965
iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.1.17ks
iwl4965: Copyright(c) 2003-2007 Intel Corporation
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 11 802.11bg, 13 802.11a channels
phy0: Selected rate control algorithm 'iwl-4965-rs'
....
[zack@boxx ~]$ cat /etc/rc.conf
INTERFACES=(eth0)

I thought that I should see 'lo' in the interfaces array as well, but I don't. Should wlan0 be added there as well? Hope my information helped...

How did you intially get it working?

Offline

#11 2008-02-14 12:54:17

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: iwl4965 kernel 2.6.24 [SOLVED]

Did we ever find a solution for this or I am just staying away from the newest kernel for a little bit?

Thanks

Last edited by cu3edweb (2008-02-14 12:54:34)

Offline

#12 2008-02-14 20:07:41

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: iwl4965 kernel 2.6.24 [SOLVED]

I got it to work this morning, the same way I did a few nights ago. The only things updated since i had problems were licenses, openbox, and firefox, none of which should effect my wireless.

This is exactly what I did.

[root@boxx zack]# iwconfig wlan0 essid APNAME
[root@boxx zack]# iwconfig wlan0 key 10DIGWPKEY
[root@boxx zack]# dhcpcd wlan0
err, wlan0: timed out
warn, wlan0: using IPV4LL address 169.254.96.149
[root@boxx zack]# iwlist wlan0 scan
wlan0     Scan completed :

...results omitted, was successful...

[root@boxx zack]# rm /var/run/dhcpcd-wlan0.pid
[root@boxx zack]# dhcpcd wlan0
[root@boxx zack]# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.5.26  Bcast:192.168.5.255  Mask:255.255.255.0
          inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/xx Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:381 errors:0 dropped:0 overruns:0 frame:0
          TX packets:327 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:133808 (130.6 Kb)  TX bytes:97046 (94.7 Kb)

[root@boxx zack]#

I'm pasting right now from my laptop with this card.(VAIO CR120E). To me at least, it seems that whatever iwlist scan does to the card, activating/bringing it up, is what fixes it. I remember having this problem before, and trying 'ifconfig wlan0 up' but that never worked....


tomk wrote:

The loopback interface is now enabled by default, and is therefore no longer required in the interfaces array. If you want the network init script to handle wlan0, you should add it to the interfaces array.

I don't want the init scripts to do anything to wlan0, I like it coming up and not looking for an AP to connect to. Maybe thats the price I have to pay..


Hope this helps.

ps - yes i know wep is horrible i've talked to the other net admin here and they insist on it for other devices(palm). at least its an external line. curse that seniority.

Last edited by Sjoden (2008-02-14 20:11:34)

Offline

#13 2008-02-14 22:11:29

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

Re: iwl4965 kernel 2.6.24 [SOLVED]

Im using the previous kernel.

Also, as im using Knetworkmanger (kde interface for NetworkManager) and WPA2, i dont want to fiddle with the console everytime i have to go wifi... so that last solution is not an option for me, at least for now.


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

#14 2008-02-18 04:16:27

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: iwl4965 kernel 2.6.24 [SOLVED]

Sjoden wrote:
[root@boxx zack]# iwconfig wlan0 essid APNAME
[root@boxx zack]# iwconfig wlan0 key 10DIGWPKEY
[root@boxx zack]# dhcpcd wlan0
err, wlan0: timed out
warn, wlan0: using IPV4LL address 169.254.96.149
[root@boxx zack]# iwlist wlan0 scan
wlan0     Scan completed :

...results omitted, was successful...

[root@boxx zack]# rm /var/run/dhcpcd-wlan0.pid
[root@boxx zack]# dhcpcd wlan0
[root@boxx zack]# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.5.26  Bcast:192.168.5.255  Mask:255.255.255.0
          inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/xx Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:381 errors:0 dropped:0 overruns:0 frame:0
          TX packets:327 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:133808 (130.6 Kb)  TX bytes:97046 (94.7 Kb)

[root@boxx zack]#

I get


wlan0: no such device

so that can't work

Offline

#15 2008-02-18 15:03:42

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: iwl4965 kernel 2.6.24 [SOLVED]

I solved my problem if anyone else can use this great. I found a bug that was filed for a previous kernel and it is more of a configuration problem then a bug. There are one of two things you need to do.

1. If you don't boot from a network then you can remove the 'net' hook and rebuild the initramfs

2. If you do boot from a network you need to add the 'firmware' hook and rebuild the initramfs.

This worked great for me. I have the new kernel with iwl4965 wireless

Hope it helps

Last edited by cu3edweb (2008-02-18 18:22:16)

Offline

#16 2008-02-18 19:26:41

pavouk1
Member
Registered: 2008-02-18
Posts: 3

Re: iwl4965 kernel 2.6.24 [SOLVED]

I've got same problem with 3945. It sucks, when I have to use the ethernet cable.
But I haven't got the net hook:

==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.24-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [usb]
:: Parsing hook [usbinput]
:: Parsing hook [keymap]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS
[root@petr-laptop petr]# pacman -Q | grep kernel26
kernel26 2.6.24.1-2
[root@petr-laptop petr]# pacman -Q | grep iwl
iwlwifi-3945-ucode 2.14.1.5-2

KNetworkManager sais, that there aren't any wifi sites here (I'm sure, there is minimally one )

[petr@petr-laptop ~]$ dmesg | grep iwl
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.1.17ks
iwl3945: Copyright(c) 2003-2007 Intel Corporation
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
phy0: Selected rate control algorithm 'iwl-3945-rs'
iwl3945: Microcode SW error detected.  Restarting 0x82000008.
iwl3945: Error Reply type 0x00000005 cmd REPLY_TX (0x1C) seq 0x0000 ser 0x0000004B
iwl3945: Can't stop Rx DMA.
[petr@petr-laptop ~]$ dmesg | grep wlan
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready

I hope, the problem will be resolved soon, I need wireless as soon as possible smile

I'm non-user-friendly linux newbie, so be pacific, if I've said somethink stupid big_smile My already isn't so good, so sorry for that smile

Last edited by pavouk1 (2008-02-18 19:53:24)

Offline

#17 2008-02-18 19:49:24

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: iwl4965 kernel 2.6.24 [SOLVED]

pavouk1: are you getting the same type of dmesg error that I was?

dmesg | grep 3945

Offline

#18 2008-02-18 19:55:08

pavouk1
Member
Registered: 2008-02-18
Posts: 3

Re: iwl4965 kernel 2.6.24 [SOLVED]

I've updated previous post right now (maybe this is useless post big_smile )

Offline

#19 2008-02-18 20:09:24

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: iwl4965 kernel 2.6.24 [SOLVED]

I don't know if I can be of much help. I had a different error then yours.

Sorry. I will see if I can come up with anything though.

Offline

#20 2008-02-18 20:17:11

pavouk1
Member
Registered: 2008-02-18
Posts: 3

Re: iwl4965 kernel 2.6.24 [SOLVED]

ok, thanks a lot big_smile with old kernel, wireless it was working... now, iwlwifi should be  part of the kernel, am I right? smile

Offline

#21 2008-02-18 20:18:24

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: iwl4965 kernel 2.6.24 [SOLVED]

Yes you are right.

Offline

#22 2008-02-19 11:18:05

Bapman
Member
From: Ottawa, Canada
Registered: 2007-09-02
Posts: 140

Re: iwl4965 kernel 2.6.24 [SOLVED]

cu3edweb wrote:

1. If you don't boot from a network then you can remove the 'net' hook and rebuild the initramfs

I am sorry but I don't know how to do this, could you tell me what I have to write in my bash please ? big_smile

Offline

#23 2008-02-19 13:32:39

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: iwl4965 kernel 2.6.24 [SOLVED]

You need to edit the mkinitcpio.conf file. It is located at /etc/mkinitcpio.conf the bottom line on that on mine was:

HOOKS="base udev autodetect pata scsi sata usb fw pcmcia usbinput keymap net filesystems"

just remove the net save the file so it looks like this:

HOOKS="base udev autodetect pata scsi sata usb fw pcmcia usbinput keymap filesystems"

and then rebuild the kernel image with:

mkinitcpio -p kernel26

Reboot

Hope that helps.

Offline

#24 2008-02-19 14:02:43

Bapman
Member
From: Ottawa, Canada
Registered: 2007-09-02
Posts: 140

Re: iwl4965 kernel 2.6.24 [SOLVED]

Yes it worked ! Thanks for help smile !

Offline

#25 2008-03-07 20:54:02

Kardell
Member
From: London a new Babylon
Registered: 2007-02-20
Posts: 228

Re: iwl4965 kernel 2.6.24 [SOLVED]

I revealed a weird behaviour of ipw3945 and iwl3945 drivers after kernel uprade around 2.6.24. ipw is randomly disconnecting and iwl is going insane. Actually I`m using iwl, but I cannot understand, why all looks good, but sometimes I still don`t have a connection. Like in Windows I have to click several times - Connect, Disconnect to catch te Internet.


"Those who don't know history are doomed to repeat it." Edmund Burke

Offline

Board footer

Powered by FluxBB