Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ipw3945 alternative: Intel's iwlwifi
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 10, 11, 12, 13, 14, 15  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu Apr 10, 2008 11:31 am    Post subject: Reply with quote

By the way, I was using a WEP key and I had a speed of 200-300kb/s, and now with a WPA2/CCMP key, I download at least 500kb/s.

Is the Iwl3945 driver is more effective with WPA2 encryption ?
Back to top
View user's profile Send private message
profox
n00b
n00b


Joined: 05 Apr 2007
Posts: 18
Location: Netherlands

PostPosted: Fri Apr 11, 2008 2:01 pm    Post subject: iwlwifi not working on 2.6.24-gentoo-r4 Reply with quote

I'm having troubles with installing the iwlwifi drivers for my ipw3945. I'm currently running the 2.6.24-gentoo-r4 amd64 kernel, and followed every step in the ip3945 gentoo wiki.

Code:

#: lspci | grep Wireless
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)


my kernel config:
Code:

Networking-->
    Wireless-->
        {M} Improved wireless configuration API
        [*] nl80211 new netlink interface support
        -*- Wireless extensions
        <M> Generic IEEE 802.11 Networking Stack (mac80211)

Device Drivers-->
    Wireless LAN-->
        [*] Wireless LAN (IEEE 802.11)
        [*] Intel Wireless WiFi Link Driver
            [*] Enable full debugging output in iwlwifi drivers
            [*] Enable Sensitivity Calibration in iwlwifi drivers
            [*] Enable Sprectrum Measurement in iwlwifi drivers
            [*] Enable Wireless QoS in iwlwifi drivers
        <M> Intel PRO/Wireless 3945ABG/BG Network Connection


I added mac80211 and iwl3945 to my /etc/modules.autoload.d/kernel-2.6 file. After this I emerged the iwl3945-ucode (I never emerged iwlwifi or ipw3945 on this installation). My problem is that the driver only doesn't seem to load. At boottime I get the following error message:

Code:

 * Starting eth1
 *   Bringing up eth1
 *     dhcp
 *       network interface eth1 does not exist
 *       Please verify hardware or kernel module (driver)                 [ !!


So I edited the file /etc/udev/rules.d/70-persistent-net.rules and added the folowing line, but without success:
Code:

SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:xx:xx:xx:xx:xx", NAME="eth1"


Why is my wireless card not working?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Fri Apr 11, 2008 2:05 pm    Post subject: Re: iwlwifi not working on 2.6.24-gentoo-r4 Reply with quote

profox wrote:
I'm having troubles with installing the iwlwifi drivers for my ipw3945. I'm currently running the 2.6.24-gentoo-r4 amd64 kernel, and followed every step in the ip3945 gentoo wiki.
[...]
Why is my wireless card not working?

Try ls -l /sys/classes/net/ and lsmod | grep 3945, then post the results here.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
profox
n00b
n00b


Joined: 05 Apr 2007
Posts: 18
Location: Netherlands

PostPosted: Fri Apr 11, 2008 2:36 pm    Post subject: Reply with quote

ls -l /sys/class/net
Code:

#: ls -l /sys/class/net/
total 0
drwxr-xr-x 4 root root 0 Apr 11 16:34 eth0
drwxr-xr-x 4 root root 0 Apr 11 16:34 lo
drwxr-xr-x 4 root root 0 Apr 11 16:34 sit0


and lsmod |grep 3945
Code:

#: lsmod |grep 3945
iwl3945               166504  0
mac80211              110348  1 iwl3945


hope this helps
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Fri Apr 11, 2008 2:55 pm    Post subject: Reply with quote

profox wrote:
Code:
 * Starting eth1
 *   Bringing up eth1
 *     dhcp
 *       network interface eth1 does not exist
 *       Please verify hardware or kernel module (driver)                 [ !! ]

ls -l /sys/class/net/ :
total 0
drwxr-xr-x 4 root root 0 Apr 11 16:34 eth0
drwxr-xr-x 4 root root 0 Apr 11 16:34 lo
drwxr-xr-x 4 root root 0 Apr 11 16:34 sit0

This is indeed the truth: you have no eth1. So please post the results of dmesg | egrep -A2 '3945|wlan|eth[[:digit:]]+'. Normally iwl3945 brings up a /sys/class/net/wlan0 directory, wlan0 being your wireless card.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Apr 11, 2008 3:49 pm    Post subject: Re: iwlwifi not working on 2.6.24-gentoo-r4 Reply with quote

profox wrote:
I'm having troubles with installing the iwlwifi drivers for my ipw3945. I'm currently running the 2.6.24-gentoo-r4 amd64 kernel, and followed every step in the ip3945 gentoo wiki.


Hi profox, can you post this after booting your box plz

Code:

# ifconfig -a
# lsmod | grep -i ilw3945
# lsmod | grep -i ipw3945
# iwlist scan


With that, we can help you.

Also, the net.eth1 is wrong, because the Iwl3945 driver need to have a wlan0 interface.
Back to top
View user's profile Send private message
profox
n00b
n00b


Joined: 05 Apr 2007
Posts: 18
Location: Netherlands

PostPosted: Fri Apr 11, 2008 5:52 pm    Post subject: Reply with quote

I tried to add a wlan0 device but it give's me the same error as eth1 does.

Code:

#: dmesg | egrep -A2 '3945|wlan|eth[[:digit:]]+'
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
--
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.1.17kds
iwl3945: Copyright(c) 2003-2007 Intel Corporation
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:03:00.0 to 64
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
Non-volatile memory driver v1.2
thinkpad_acpi: ThinkPad ACPI Extras v0.17
--
iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
phy0: Selected rate control algorithm 'iwl-3945-rs'
phy0: Failed to initialize wep
iwl3945: Failed to register network device (error -12)
ReiserFS: sda6: found reiserfs format "3.6" with standard journal
ReiserFS: sda6: using ordered data mode
--
e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
e1000: eth0: e1000_watchdog: 10/100 speed: disabling TSO
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[fglrx] Reserve Block - 0 offset =  0X7ffb000 length = 0X5000
--
eth0: no IPv6 routers present

#: ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:15:58:7C:B9:06 
          inet addr:172.21.8.46  Bcast:172.21.8.255  Mask:255.255.255.0
          inet6 addr: fe80::215:58ff:fe7c:b906/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1869 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1559 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1706895 (1.6 Mb)  TX bytes:388680 (379.5 Kb)
          Base address:0x3000 Memory:ee000000-ee020000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)

sit0      Link encap:IPv6-in-IPv4 
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

#: lsmod | grep -i ipw3945

#: lsmod | grep -i ilw3945

#: iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

sit0      Interface doesn't support scanning.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Apr 12, 2008 12:19 am    Post subject: Reply with quote

Hi, first you have something wrong

Code:

sylvain@gentootux ~ $ lsmod | grep -i iwl3945
iwl3945               154856  0
mac80211               99596  1 iwl3945


So your Iwl3945 doesn't load in your kernel.

Also, did you emerge iwl3945-ucode ?
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Apr 12, 2008 12:20 am    Post subject: Reply with quote

Can you post this :

Code:

# cd /usr/src
# ls -la
# emerge --info
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Sat Apr 12, 2008 1:59 am    Post subject: Reply with quote

d2_racing wrote:
Hi, first you have something wrong

Code:

sylvain@gentootux ~ $ lsmod | grep -i iwl3945
iwl3945               154856  0
mac80211               99596  1 iwl3945


So your Iwl3945 doesn't load in your kernel.

Also, did you emerge iwl3945-ucode ?

I'm pretty sure that his iwl3945 is loaded since he grepped for 'ilw3945' ;-)

HTH
swimmer
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Apr 12, 2008 2:01 am    Post subject: Reply with quote

Can you post this :

Code:

# cat /etc/udev/rules.d/70-persistent-net.rules


I have this inside mine :

Code:

# PCI device 0x8086:0x4227 (iwl3945)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:1b:77:4f:4b:1a", ATTR{type}=                                                                                                                                                           ="1", NAME="wlan0"
Back to top
View user's profile Send private message
profox
n00b
n00b


Joined: 05 Apr 2007
Posts: 18
Location: Netherlands

PostPosted: Sat Apr 12, 2008 6:29 am    Post subject: Reply with quote

Here is the output of all command you gave me:

Code:

#: ls -la /usr/src/
total 4
drwxr-xr-x  6 root root  240 Apr  8 17:37 .
drwxr-xr-x 17 root root  512 Apr  7 22:31 ..
-rw-r--r--  1 root root    0 Apr 17  2007 .keep
lrwxrwxrwx  1 root root   23 Mar 31 17:20 linux -> linux-2.6.24-gentoo-r4/
drwxr-xr-x 20 root root 1440 Mar 25 12:24 linux-2.6.23-gentoo-r9
drwxr-xr-x 21 root root 1448 Mar 25 17:39 linux-2.6.24-gentoo-r3
drwxr-xr-x 21 root root 1472 Apr  8 23:25 linux-2.6.24-gentoo-r4
drwxr-xr-x  7 root root  168 Apr  8 17:37 rpm

#: emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Fri, 11 Apr 2008 17:15:03 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -mtune=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -fomit-frame-pointer -mtune=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ "
LANG="C"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/ftd4linux /usr/portage/local/layman/desktop-effects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 battery berkdb cdr cli cpufreq cracklib crypt cups dbus dhcp dri dvd dvdr fortran gdbm gif gnome gpm gtk hal ibmacpi iconv ipv6 isdnlog jpeg laptop midi mmx mp3 mudflap ncurses nfs nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python readline reflection reiserfs samba session spl sse sse2 ssl ssse3 tcpd unicode usb vim wifi xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

#: cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:15:58:7c:b9:06", NAME="eth0"
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:18:de:9d:25:e8", NAME="wlan0"


I added the ATTR{type}=1 but with no success
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sat Apr 12, 2008 11:35 am    Post subject: Re: iwlwifi not working on 2.6.24-gentoo-r4 Reply with quote

swimmer wrote:
I'm pretty sure that his iwl3945 is loaded since he grepped for 'ilw3945' ;-)

Yup...
VinzC wrote:
[...] lsmod | grep 3945, then post the results here.

profox wrote:
and lsmod |grep 3945
Code:
#: lsmod |grep 3945
iwl3945               166504  0
mac80211              110348  1 iwl3945

@profox, could you make sure you installed iwl3945-ucode, as suggested by d2_racing? You don't need to change anything to your UDEV rules. Module iwl3945 will naturally create a device wlan0, as I mentionned earlier.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Apr 12, 2008 4:55 pm    Post subject: Reply with quote

In fact, a good start is to have wlan0 when you lunch ifconfig -a.

If your udev rule are mess up, you will have an -12 error, about udev that rename the wlan0 to eth1.

So, for now you don't have this problem...at least for now.
Back to top
View user's profile Send private message
profox
n00b
n00b


Joined: 05 Apr 2007
Posts: 18
Location: Netherlands

PostPosted: Sun Apr 13, 2008 10:22 pm    Post subject: Reply with quote

d2_racing wrote:

If your udev rule are mess up, you will have an -12 error, about udev that rename the wlan0 to eth1.


My dmesg does give me the following error:

Code:

iwl3945: Failed to register network device (error -12)


Is this the -12 error you are talking about? I removed the line I added in /etc/udev/rules.d/70-persistent-net.rules and rebooted but with no success.

Anybody has any idea why my wlan0 isn't showing up?
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Mon Apr 14, 2008 11:58 am    Post subject: Reply with quote

Can you check for this plz :

Code:

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_MANAGER=y
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_PCBC=y
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_XTS is not set
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_X86_64 is not set
# CONFIG_CRYPTO_SERPENT is not set
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_X86_64=y
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_DEFLATE is not set
CONFIG_CRYPTO_MICHAEL_MIC=y
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_TEST is not set
# CONFIG_CRYPTO_AUTHENC is not set
CONFIG_CRYPTO_HW=y


Code:

(*) Wireless LAN
        (*) Wireless LAN (IEEE 802.11)
        (*) Intel Wireless WiFi Link Drivers
        (*) Enable full debugging output in iwlwifi drivers
        (*) Enable Sensitivity Calibration in iwlwifi drivers
        (*) Enable Spectrum Measurement in iwlwifi drivers
        (*) Enable Wireless QoS in iwlwifi drivers
        (M) Intel PRO/Wireless 3945ABG/BG Network Connection


Code:

(*) Wireless
    (M) Improved wireless configuration API
    (M) Generic IEEE 802.11 Networking Stack (mac80211)
    (M) Generic IEEE 802.11 Networking Stack
    (M) IEEE 802.11 WEP encryption (802.1x)
    (M) IEEE 802.11i CCMP support
    (M) IEEE 802.11i TKIP encryption
Back to top
View user's profile Send private message
profox
n00b
n00b


Joined: 05 Apr 2007
Posts: 18
Location: Netherlands

PostPosted: Mon Apr 14, 2008 6:26 pm    Post subject: Reply with quote

d2_racing wrote:
Can you check for this plz :
...


Yeah!! its working :D I will look if I can make a contribution to the Gentoo Wiki. Thanks
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Mon Apr 14, 2008 7:06 pm    Post subject: Reply with quote

So your kernel was mess up :)
Back to top
View user's profile Send private message
dannypoo
n00b
n00b


Joined: 24 Nov 2002
Posts: 25
Location: london

PostPosted: Mon Apr 21, 2008 11:23 pm    Post subject: Reply with quote

hi i also have a problem

using kernel drivers in tuxonice-2.6.24-r5, i have the weird situation whereby my iwl4965 only comes up on a warm boot.

if i boot the laptop from cold, the module loads fine:

/var/log/messages
Code:

iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
phy0: Selected rate control algorithm 'iwl-4965-rs'

...
but then fails to associate...
Code:

iwl4965: Error sending REPLY_TX_PWR_TABLE_CMD: time out after 500ms.
iwl4965: Error sending REPLY_RXON: time out after 500ms.
iwl4965: Error setting new configuration (-110).
iwl4965: Error sending REPLY_ADD_STA: time out after 500ms.
iwl4965: Error sending REPLY_TX_LINK_QUALITY_CMD: time out after 500ms.
iwl4965: Error sending REPLY_RXON: time out after 500ms.
iwl4965: Error setting new configuration (-110).
wlan0: Initial auth_alg=0
wlan0: authenticate with AP xx:xx:xx:xx:xx:xx
iwl4965: Error sending REPLY_RXON: time out after 500ms.
iwl4965: Error setting new configuration (-110).


Once i restart, the thing works perfectly and comes up...

Anyone else seen this??? Or have any ideas??? This is getting really annoying since I don't want to revert back to 2.6.23 and lose the dynticks amd64 benefits...

TIA
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue Apr 22, 2008 3:11 am    Post subject: Reply with quote

Are you using WPA ? If so, can you post your /etc/conf.d/net and also your /etc/wpa/wpa_supplicant.conf plz :)
Back to top
View user's profile Send private message
dannypoo
n00b
n00b


Joined: 24 Nov 2002
Posts: 25
Location: london

PostPosted: Tue Apr 22, 2008 9:33 am    Post subject: Reply with quote

Hi,

I am using wpa_supplicant but I have switched WPA off to test this issue. so key_mgmt is NONE in this case

I will post the configs when i get home tonight.

cheers

danny
Back to top
View user's profile Send private message
oc666
Guru
Guru


Joined: 15 May 2006
Posts: 330
Location: Israel

PostPosted: Tue Apr 22, 2008 10:40 pm    Post subject: IWL3945 on 2.6.25 kernel Reply with quote

Hello
I'm trying 2.6.25 kernel with iwl3945 driver.
I get it work, but suddenly I can't get it work. Here is the output of dmesg:
Code:
 # dmesg | grep iwl
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23kds
iwl3945: Copyright(c) 2003-2007 Intel Corporation
iwl3945: Detected Intel PRO/Wireless 3945BG Network Connection
iwl3945: Tunable channels: 13 802.11bg, 0 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_SCAN_CMD (0x80) seq 0x4418 ser 0x0000004B
iwl3945: Can't stop Rx DMA.
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23kds
iwl3945: Copyright(c) 2003-2007 Intel Corporation
iwl3945: Detected Intel PRO/Wireless 3945BG Network Connection
iwl3945: Tunable channels: 13 802.11bg, 0 802.11a channels
phy1: Selected rate control algorithm 'iwl-3945-rs'
iwl3945: Microcode SW error detected.  Restarting 0x82000008.
iwl3945: Error Reply type 0x00000005 cmd REPLY_SCAN_CMD (0x80) seq 0x4418 ser 0x0000004B
iwl3945: Can't stop Rx DMA.

/etc/udev/rules.d/70-persistent-net.rules
Code:

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="$$:$$:$$:$$:$$:$$", ATTR{type}=="1", NAME="wlan0"

($$ replace my original mac address)
Kernel config:
Code:

 # cat /usr/src/linux/.config | grep IWL
# CONFIG_IWL4965 is not set
CONFIG_IWL3945=m
CONFIG_IWL3945_QOS=y
CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
CONFIG_IWL3945_DEBUG=y

_________________
embAD-new way to insert ads to your website
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Apr 23, 2008 1:17 am    Post subject: Reply with quote

Kernel 2.6.25 is brand new... Maybe you should open a bugzilla for that :)
Back to top
View user's profile Send private message
dannypoo
n00b
n00b


Joined: 24 Nov 2002
Posts: 25
Location: london

PostPosted: Sun Apr 27, 2008 3:17 pm    Post subject: Reply with quote

right a few days late but here are the configs

/etc/conf.d/net
Code:
modules_wlan0="wpa_supplicant"
dhcpcd_wlan0="-t 10 -Y


/etc/wpa_supplicant/wpa_supplicant.conf
Code:
network={
    key_mgmt=NONE
    priority=-9999999
}
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel


any ideas? interestingly enough it does not fail on every cold boot - just some...

cheers
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Apr 27, 2008 3:28 pm    Post subject: Reply with quote

Your /etc/conf.d/net is mess up

Try this one :

Code:

modules=( "wpa_supplicant" )
wpa_supplicant_wlan0_="-Dwext"
config_wlan0=( "dhcp" )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3 ... 10, 11, 12, 13, 14, 15  Next
Page 11 of 15

 
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