From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Bartha Date: Sun, 15 Feb 2009 00:06:18 +0100 Subject: [ath9k-devel] ath9k WMP300nv2 (AR5416) In-Reply-To: <20090206211804.GG5031@tesla> References: <20090203173228.GB9713@tesla> <20090203180007.137530@gmx.net> <20090203182537.GA15591@tesla> <20090203184632.137560@gmx.net> <20090203190955.GB15591@tesla> <20090203201941.242400@gmx.net> <20090203212317.GA25036@tesla> <20090204194544.158460@gmx.net> <20090204214334.GF5581@tesla> <20090206202205.218710@gmx.net> <20090206211804.GG5031@tesla> Message-ID: <20090214230618.203560@gmx.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org hello Luis, Hardware: Wireless Card: LinksysWMP300Nv2 Wireless Router: LinksysWRT160 Router Wireless Config: 802.11N, Channel 12 (because there are many routers in the neighborhood using the lower channels) SecurityMode: WPA2-Personal, Encryption: TKIP or AES Packages: Kernel: gentoo-sources-2.6.28-r1 linux-headers-2.6.28-r1 wpa_supplicant-0.6.4 compat-wireless-2009-02-14 iw-0.9.9 wireless-tools-29 my wpa_supplicant.conf: update_config=1 ctrl_interface=/var/run/wpa_supplicant eapol_version=2 fast_reauth=1 # Ensure that only root can read the WPA configuration #ctrl_interface_group=0 # # Let wpa_supplicant take care of scanning and AP selection ap_scan=1 #country=AT network={ ssid="MySSid" # scan_ssid=1 proto=RSN key_mgmt=WPA-PSK pairwise=TKIP CCMP group=TKIP CCMP psk="MyPsk" priority=2 } (END) My Network-Konfiguration-File:/etc/init.d/net modules=( "wpa_supplicant" ) wpa_supplicant_wlan0="-Dwext" config_wlan0=( "dhcp" ) dhcpcd_wlan0="-t 10" dhcp_wlan0="nonis" channel_wlan0="12" dns_domain_lo="localdnsdomain" Error description: When i boot my System i have to rmmod cfg80211 mac80211 ath9k + modprobe ath9k otherwise my Wlan Card (LinksysWMP300Nv2) does not work --the leds on my WlanCard will be turned off when wpa_supplicant is starting! After the reload the WlanCard work fine. The goal at this problem is that in var/log/messages i have the same output as my problem with crda-0.9.5 (the second part of the frequences of crda isnt there). Output: [ 6.422739] cfg80211: Using static regulatory domain info [ 6.422743] cfg80211: Regulatory domain: US [ 6.422746] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 6.422751] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) [ 6.422756] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 6.422760] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 6.422765] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 6.422770] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 6.422774] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) [ 6.422779] cfg80211: Calling CRDA for country: US [ 6.491245] ath9k 0000:04:00.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 [ 6.507775] dib0700: loaded with support for 8 different device-types [ 6.507803] dvb_usb_dib0700 1-6:1.0: usb_probe_interface [ 6.507809] dvb_usb_dib0700 1-6:1.0: usb_probe_interface - got id [ 6.508112] dvb-usb: found a 'Terratec Cinergy DT USB XS Diversity' in cold state, will try to load a firmware [ 6.508118] usb 1-6: firmware: requesting dvb-usb-dib0700-1.20.fw [ 6.704575] hub 4-0:1.0: hub_suspend [ 6.704587] usb usb4: bus auto-suspend [ 6.704590] usb usb4: suspend_rh [ 6.919213] phy0: Selected rate control algorithm 'ath9k_rate_control' [ 6.924986] cfg80211: Calling CRDA for country: AT [ 6.925034] Registered led device: ath9k-phy0::radio [ 6.925058] Registered led device: ath9k-phy0::assoc [ 6.925083] Registered led device: ath9k-phy0::tx [ 6.925110] Registered led device: ath9k-phy0::rx [ 6.925138] phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81: mem=0xf9140000, irq=20 [ 6.925200] EMU10K1_Audigy 0000:04:01.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 [ 6.930218] Installing spdif_bug patch: Audigy 2 ZS [SB0350] [ 6.947297] modprobe used greatest stack depth: 5956 bytes left [ 7.510643] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw' [ 7.713502] dib0700: firmware started successfully. [ 8.214020] dvb-usb: found a 'Terratec Cinergy DT USB XS Diversity' in warm state. [ 8.214077] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 8.214313] DVB: registering new adapter (Terratec Cinergy DT USB XS Diversity) [ 8.410142] DVB: registering adapter 0 frontend 0 (DiBcom 7000PC)... [ 8.569765] DiB0070: successfully identified [ 8.569771] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 8.570046] DVB: registering new adapter (Terratec Cinergy DT USB XS Diversity) [ 8.703395] DVB: registering adapter 1 frontend 0 (DiBcom 7000PC)... [ 8.862768] DiB0070: successfully identified [ 8.862776] dvb-usb: Terratec Cinergy DT USB XS Diversity successfully initialized and connected. [ 8.862934] usbcore: registered new interface driver dvb_usb_dib0700 [ 8.863139] modprobe used greatest stack depth: 4828 bytes left [ 11.888046] EXT3 FS on sda3, internal journal [ 12.362694] fuse init (API version 7.10) [ 12.384776] NTFS driver 2.1.29 [Flags: R/O MODULE]. [ 12.398131] DLM (built Feb 10 2009 21:16:48) installed [ 12.429838] rtc_cmos 00:03: RTC can wake from S4 [ 12.430015] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0 [ 12.430049] rtc0: alarms up to one month, 242 bytes nvram, hpet irqs [ 12.891170] XFS mounting filesystem sda6 [ 12.949000] Ending clean XFS mount for filesystem: sda6 [ 12.984465] kjournald starting. Commit interval 5 seconds [ 12.984713] EXT3 FS on sda11, internal journal [ 12.984721] EXT3-fs: mounted filesystem with journal data mode. [ 13.004941] kjournald starting. Commit interval 5 seconds [ 13.005191] EXT3 FS on sda12, internal journal [ 13.005198] EXT3-fs: mounted filesystem with journal data mode. [ 13.055841] XFS mounting filesystem sda5 [ 13.111428] Ending clean XFS mount for filesystem: sda5 [ 13.158084] XFS mounting filesystem sda7 [ 13.204406] Ending clean XFS mount for filesystem: sda7 [ 13.246122] XFS mounting filesystem sda8 [ 13.303238] Ending clean XFS mount for filesystem: sda8 [ 13.341860] XFS mounting filesystem sda13 [ 13.670415] Ending clean XFS mount for filesystem: sda13 [ 13.842149] Adding 1004052k swap on /dev/sda2. Priority:-1 extents:1 across:1004052k [ 17.638040] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings. [ 19.733463] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings. [ 21.684544] ADDRCONF(NETDEV_UP): wlan0: link is not ready if i dont reload the modules "ADDRCONF(NETDEV_UP): wlan0: link is not ready" is the last relevant message in /var/log/messages! if i only stop and start my /etc/init.d/net.wlan0 init script it also fails with the same output in var log message "link is not ready". After boot when i dont relaod cfg, mac, ath9k "iwlist channel" knows only channel 1-11. But when i am reloading cfg, mac and ath9k "iwlist channel" knows Channel 1-13. My Ap is working on Channel 12! Clear if he dont knows channel 12 and channel 13 he could not connect to my AP. Is there any posibility to get it work without the relaod of cfg80211 mac80211 ath9k??? PS: I have tried the kernel from linux-wireless (wireless-testing.git 2.6.29-rc4 wow thats new!!!) but the problem was the same. Maybe my partition layout is relevant to that problem (mounting some partition to late???) but i dont think so. fstab: /dev/sda1 /boot ext2 noatime 1 2 /dev/sda3 / ext3 noatime 0 1 /dev/sda6 /usr xfs noatime 0 1 /dev/sda11 /usr/bin ext3 noatime 0 1 /dev/sda12 /usr/sbin ext3 noatime 0 1 /dev/sda2 none swap sw 0 0 /dev/sda5 /home xfs noatime 0 1 /dev/sda7 /opt xfs noatime 0 1 /dev/sda8 /var xfs noatime 0 1 /dev/sda13 /archiv xfs noatime 0 1 tmpfs /dev/shm tmpfs defaults 0 0 tmpfs /tmp tmpfs defaults 0 0 /dev/hda /mnt/dvd auto noauto,user,users,ro 0 0 /dev/fd0 /mnt/floppy auto noauto 0 0 Well evening from Vienna -- Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL f?r nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a