Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Mar 2009 15:46:18 +0400
From:      Dmitry Smal <mialinx@gmail.com>
To:        freebsd-mobile@freebsd.org
Subject:   FreeBSD 7.1 RELEASE looses wi-fi connection on Thinkpad R61i (Intel 3945ABG) or even crashes
Message-ID:  <49CF5F8A.5010700@rambler.ru>

next in thread | raw e-mail | index | archive | help
Hi all,

I have Thinkpad R61i (with Intel(R) PRO/Wireless 3945ABG wi-fi adapter) 
running FreeBSD 7.1 RELEASE.

Access point is ASUS WiFi-AP Solo (embeded in ASUS P5B-MX motherboard)

Sometimes (2 - 3 time in hour) FreeBSD loses wifi connection to AP.
In some cases connections appears again after 2-3 minutes,
in some cases i need to /etc/rc.d/wpa_supplicant restart wpi0 to restart 
connection,
in rare cases system crashes, leaving dump.

I had similar problem running Ubuntu 8.10 on the same notebook (exept 
for crashes),
and no problem running windows xp.

Could you help me to fix at least crashes of system ?

System:
FreeBSD nuftop.zunet.ru 7.1-RELEASE FreeBSD 7.1-RELEASE #5: Thu Feb 26 
02:06:03 MSK 2009     root@nuftop.zunet.ru:/usr/obj/usr/src/sys/NUF  i386

Dmesg:
[nuf@nuftop /usr/home/nuf]$ dmesg | grep Intel | grep wpi
wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xdf6ff000-0xdf6fffff irq 17 
at device 0.0 on pci3

Loaded modules:
[nuf@nuftop /usr/home/nuf]$ uname -a[nuf@nuftop /usr/home/nuf]$ kldstat  
Id Refs Address    Size     Name
 1   25 0xc0400000 689f30   kernel
 2    1 0xc0a8a000 155e4    snd_hda.ko
 3    2 0xc0aa0000 4a64c    sound.ko
 4    1 0xc0aeb000 55d0     acpi_video.ko
 5    3 0xc0af1000 6a2c4    acpi.ko
 6    1 0xc0b5c000 25f60    wpifw.ko
 7    1 0xc0b82000 de14     if_wpi.ko
 8    1 0xc0b90000 4f54     acpi_ibm.ko
 9    1 0xc435a000 22000    linux.ko
10    1 0xc43da000 4000     logo_saver.ko
11    1 0xc4436000 6000     i915.ko
12    1 0xc4448000 f000     drm.ko

Wlan kernel conf:
# Wireless NIC cards
device          wlan            # 802.11 support
device          wlan_wep        # 802.11 WEP support
device          wlan_ccmp       # 802.11 CCMP support
device          wlan_tkip       # 802.11 TKIP support
device          wlan_amrr       # AMRR transmit rate control algorithm
device          wlan_scan_ap    # 802.11 AP mode scanning
device          wlan_scan_sta   # 802.11 STA mode scanning

Wpa_supplicant.conf:
[nuf@nuftop /usr/home/nuf]$ cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=1
fast_reauth=0
network={
        ssid="TASHA"
        scan_ssid=1
        proto=WPA2
        key_mgmt=WPA-PSK
        pairwise=CCMP
        group=CCMP
        psk="nobodyknows"
}

Stack trace form coredump  after crash (dump itself is too big..):
(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc06394b7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc0639789 in panic (fmt=Variable "fmt" is not available.) at 
/usr/src/sys/kern/kern_shutdown.c:574
#3  0xc089beac in trap_fatal (frame=0xe4059ba0, eva=65535) at 
/usr/src/sys/i386/i386/trap.c:939
#4  0xc089c130 in trap_pfault (frame=0xe4059ba0, usermode=0, eva=65535) 
at /usr/src/sys/i386/i386/trap.c:852
#5  0xc089caec in trap (frame=0xe4059ba0) at 
/usr/src/sys/i386/i386/trap.c:530
#6  0xc088295b in calltrap () at /usr/src/sys/i386/i386/exception.s:159
#7  0xc0b8bdfc in wpi_ops (arg0=0xc3c62000, pending=1) at 
/usr/src/sys/modules/wpi/../../dev/wpi/if_wpi.c:2411
#8  0xc066c8c5 in taskqueue_run (queue=0xc3c1e900) at 
/usr/src/sys/kern/subr_taskqueue.c:282
#9  0xc066cacb in taskqueue_thread_loop (arg=0xc3c639b4) at 
/usr/src/sys/kern/subr_taskqueue.c:401
#10 0xc0615029 in fork_exit (callout=0xc066ca10 <taskqueue_thread_loop>, 
arg=0xc3c639b4, frame=0xe4059d38) at /usr/src/sys/kern/kern_fork.c:804
#11 0xc08829d0 in fork_trampoline () at 
/usr/src/sys/i386/i386/exception.s:264


Typical ifconfig output when connection is up:
[nuf@nuftop /usr/home/nuf]$ ifconfig wpi0
wpi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:1c:bf:85:cd:3a
        inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps)
        status: associated
        ssid TASHA channel 1 (2412 Mhz 11g) bssid 00:15:af:19:85:32
        authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit
        AES-CCM 3:128-bit txpower 50 bmiss 7 scanvalid 60 protmode CTS
        roaming MANUAL


Thanks!

P.S. Sorry for my poor english =(



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49CF5F8A.5010700>