From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 5 04:56:45 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E16661F for ; Sun, 5 Jan 2014 04:56:45 +0000 (UTC) Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 36C121FCD for ; Sun, 5 Jan 2014 04:56:45 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id ii20so1873561qab.15 for ; Sat, 04 Jan 2014 20:56:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=mbA9LPqhZhiIdnHZGTKc1mPqgYMVz/q1JjsN9NfKf9o=; b=FQ0BI4qVl0kZceb9vobIX1yYnn87EK8t9+kAjCR/NV+GplGukuqDblkFM7cMab0v/1 98Y1Y6kos8ld6l+0J7Hua1NCqMfPktwDIm38Y1p6y5JH5z7t2eE8iDVGEq0ZtiGOEtIN 5En9sJ5N01RGegcAKZ+BO3mYGwjW4z6vVpQJL+5REgrJ8OefgGfrxBqSGI+I4VvWafCW /NmtZ+N/N/ika2x/AgvZ7vp/i3rW3v8cQOxhzspSQIofyAwP9abzHE7ulc5U3niMQlqE tD41lAu+EPkOFfry+314yZX5WiMsTB6O06FT1oJV7BiqstiY/Uq3sULR59yWtfBwBIVx 1abQ== MIME-Version: 1.0 X-Received: by 10.224.46.8 with SMTP id h8mr165347275qaf.49.1388897804386; Sat, 04 Jan 2014 20:56:44 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Sat, 4 Jan 2014 20:56:44 -0800 (PST) Date: Sat, 4 Jan 2014 20:56:44 -0800 X-Google-Sender-Auth: oqsYMxkIsiDNpe-AiauxDc3hc3Y Message-ID: Subject: Brightness/volume controls for the Lenovo X230 From: Adrian Chadd To: "freebsd-mobile@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2014 04:56:45 -0000 Hi, Now that the pkg.freebsd.org stuff has updated drivers and I'm running with the new xorg/dri2 code, all the basic things that irked me with suspend/resume are now fixed. The other issues (softclock panics) are something I'll chase down myself. Now for the niggling bits. What was the end result with all the digging done for handling button presses for the x230? I'd like to finish off a few things: * usb camera * brightness controls * volume controls/mute (button+led) * microphone control (on/off button+led) Thanks! -a From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 5 07:45:48 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36F62B11; Sun, 5 Jan 2014 07:45:48 +0000 (UTC) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C0ACE190B; Sun, 5 Jan 2014 07:45:47 +0000 (UTC) Received: by mail-qc0-f172.google.com with SMTP id e16so16477598qcx.3 for ; Sat, 04 Jan 2014 23:45:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=k7KVFlWV2PIwj41NzdokN9kN4Zu1zyjoH1qmQHiGWTQ=; b=Iu+zFFw4Kt0sBneXTrmBMaIDuHFepL1U0nQtO+++yldXqGmet7utquk5qVXwxTGw0+ XrqqovHgn/PLszOuF3GyYQDdevLxLOdofbnXfIJVAm2zXHGWJ42nk9tBArAhR8kMLi73 Hs8BVnp7W6eekpbiPywp8Gyhbd1p9UdvVh9VwCHiHdYvr4qEyngvNKYFmK9RUCH+BLzf MUBGX+925yigAUKgMtY1hey5CZ3NORM50LbLf6f8PH9NEvuZLhcz5iCxmrb9THd5LAoQ Oy7N2PHXJKrseIX5yzVN3sAid8fW2/V63FEp9YQRHpjDjASdzx+PJxd/883DeUJ41mxo xKvQ== MIME-Version: 1.0 X-Received: by 10.224.127.131 with SMTP id g3mr135806774qas.98.1388907946558; Sat, 04 Jan 2014 23:45:46 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Sat, 4 Jan 2014 23:45:46 -0800 (PST) In-Reply-To: References: <51C8AE67.7040801@unsane.co.uk> Date: Sat, 4 Jan 2014 23:45:46 -0800 X-Google-Sender-Auth: WCjuv9AitMuBMLUXRJdieZfukBY Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Adrian Chadd To: Lyubomir Yotov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" , Vincent Hoffman , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2014 07:45:48 -0000 Have you tried -11? -a On 30 December 2013 09:25, Lyubomir Yotov wrote: > Hi Andrian, > > Merry Christmas and all the best for the New Year! > I would like to ask if there is something on the horizon with the Atheros > time outs? Is there any chance in getting it working without restart to > Windows (in my case)? Is there anything else I can try? Currently I am with > 9.2-RELEASE #0 r255898. > > All the best, > > Lyubomir > > > On 17 July 2013 23:06, Lyubomir Yotov wrote: > >> Hi, >> No problem, I fully understand you. If you manage to find something I >> will be more than grateful. Anyway thanks for your time! I think you are >> doing quite a god job! >> >> >> >> Regards, >> >> Lyubo >> >> >> >> On 16 July 2013 11:51, Adrian Chadd wrote: >> >>> Hi, >>> >>> I'm sorry, I don't have the time to try and debug this issue. If I had a >>> T60 here that demonstrated this behaviour then I could try to fix it. But I >>> unfortunately don't; all my T60 hardware has intel wifi. :( >>> >>> I can try putting an AR5418 in a T60 in a few weeks and see if it >>> exhibits this behaviour. But don't hold your breath. >>> >>> Sorry :( >>> >>> >>> >>> -adrian >>> >>> >>> On 15 July 2013 13:30, Lyubomir Yotov wrote: >>> >>>> Hi Adrian, >>>> I tried with -HEAD liveCD as proposed by Vincent and ghostbsd live cd >>>> but the situation is the same. I feel like I am missing something. On one >>>> hand I can scan the wireless networks and the wifi card seems to be >>>> working. On the other hand I cannot attach as the ath device times out >>>> (which according to the ath man pages should not occur). I also tried to >>>> encrypt the psk phrase with pwa_passphrase but with no success either. I >>>> tested with Kali linux live cd and the wireless was working fine. I also >>>> noticed that if I shutdown Windows and then start FreeBSD then the wifi >>>> also behaves the same way - ath0: device timed out. Only restart from >>>> Windows or restart from FreeBSD with working wifi can make the wifi work >>>> again. >>>> Do you have any other proposals? >>>> >>>> Regards, >>>> >>>> Lyubomir >>>> >>>> >>>> On 24 June 2013 23:39, Vincent Hoffman wrote: >>>> >>>>> As an easy test if you arent keen on making the leap just yet I'd >>>>> suggest getting a snapshot CD and just boot it as a liveCD to test. >>>>> either a snapshot >>>>> http://www.freebsd.org/snapshots/ >>>>> or one of the daily builds from >>>>> https://pub.allbsd.org/FreeBSD-snapshots/ >>>>> (for example >>>>> >>>>> https://pub.allbsd.org/FreeBSD-snapshots/amd64-amd64/10.0-HEAD-r252115-JPSNAP/iso/FreeBSD-10.0-HEAD-r252115-JPSNAP-amd64-amd64-release.iso >>>>> ) >>>>> >>>>> That said I run -CURRENT on my server at home (for the atheros driver) >>>>> and dont have any problems with it. >>>>> >>>>> Vince >>>>> >>>>> >>>>> On 24/06/2013 21:01, Lyubomir Yotov wrote: >>>>> > Hi Adrian, >>>>> > >>>>> > I will try to get -HEAD on my T60 and will report back. >>>>> > >>>>> > Regards, >>>>> > >>>>> > Lyubomir >>>>> > >>>>> > >>>>> > On 24 June 2013 20:21, Adrian Chadd wrote: >>>>> > >>>>> >> Hi, >>>>> >> >>>>> >> Would you be willing to try a -HEAD snapshot on your laptop? >>>>> >> >>>>> >> Maybe I've fixed it as part of the other driver work that I've done >>>>> as >>>>> >> part of development in -HEAD. >>>>> >> >>>>> >> But right now I really have no idea. I don't have a T60 here that >>>>> has >>>>> >> that chip in it. If all the T60 BIOSes allow AR5418 NICs then I can >>>>> >> try it out, but all of the T60's I've played with thus far have the >>>>> >> intel hardware in it. >>>>> >> >>>>> >> >>>>> >> >>>>> >> Adrian >>>>> >> >>>>> >> >>>>> >> On 21 June 2013 02:02, Lyubomir Yotov wrote: >>>>> >>> Hello Adrian, >>>>> >>> >>>>> >>> Do you have any feedback on the matter? >>>>> >>> >>>>> >>> Regards, >>>>> >>> >>>>> >>> Lyubomir >>>>> >>> >>>>> >>> >>>>> >>> On 13 June 2013 10:09, Lyubomir Yotov wrote: >>>>> >>>> Hello Adrian, >>>>> >>>> >>>>> >>>> I enabled acpi_ibm.ko but this didn't help and after "halt" the >>>>> wifi is >>>>> >>>> not working again. >>>>> >>>> >>>>> >>>> Regards, >>>>> >>>> >>>>> >>>> Lyubomir >>>>> >>>> >>>>> >>>> >>>>> >>>> On 13 June 2013 08:03, Lyubomir Yotov wrote: >>>>> >>>>> Hello Adrian, >>>>> >>>>> I did some tests and discovered that the problem is related to >>>>> >>>>> "halt"/"shutdown" of system. If "reboot" is carried out than >>>>> there is >>>>> >> no >>>>> >>>>> problem and the wifi works properly (even if done from Gnome - >>>>> Gnome >>>>> >> seems >>>>> >>>>> to have no relation to the problem). So what could lead to >>>>> "ath0: time >>>>> >> out" >>>>> >>>>> after shutting down or halting the system? I noticed that there >>>>> are irq >>>>> >>>>> storms on irq 17 which is the wifi irq (interrupt storm detected >>>>> on >>>>> >>>>> "irq17:"; throttling interrupt source). Something else that I am >>>>> not >>>>> >> sure to >>>>> >>>>> have relevance - after shutdown during the start-up ath0 is >>>>> reported >>>>> >> to use >>>>> >>>>> autoselect mode 11g: >>>>> >>>>> (below is from dmesg) >>>>> >>>>> >>>>> >>>>> ath0: flags=8843 metric >>>>> 0 mtu >>>>> >>>>> 2290 >>>>> >>>>> >>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>> >>>>> nd6 options=29 >>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>>>> >>>>> status: associated >>>>> >>>>> >>>>> >>>>> After the boot has finished the mode changes to 11a: >>>>> >>>>> >>>>> >>>>> #ifconfig ath0 >>>>> >>>>> >>>>> >>>>> ath0: flags=8843 metric >>>>> 0 mtu >>>>> >>>>> 2290 >>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>> >>>>> nd6 options=29 >>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11a >>>>> >>>>> status: associated >>>>> >>>>> >>>>> >>>>> Do you have any idea where to look for now? >>>>> >>>>> >>>>> >>>>> Regards, >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Lyubomir >>>>> >>>>> P.S. I will try to play with acpi_ibm.ko and see if things >>>>> change if I >>>>> >>>>> make it auto-load. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On 10 June 2013 16:06, Lyubomir Yotov wrote: >>>>> >>>>>> Hello Adrian, >>>>> >>>>>> >>>>> >>>>>> Attached are files with consecutive vmstat -i when the wlan is >>>>> working >>>>> >>>>>> (vmstat-i_working.txt) and when the wlan is not working >>>>> >>>>>> (vmstat-i_not_working.txt). There is also output from ifconfig >>>>> when >>>>> >> the wlan >>>>> >>>>>> is not working (ifconfig.txt). >>>>> >>>>>> After some more deeper investigation it seems to me that the >>>>> problem >>>>> >>>>>> appears after starting X with Gnome. I will continue >>>>> investigating >>>>> >> with >>>>> >>>>>> "reboot"/"halt -p" and inform you. >>>>> >>>>>> BTW do you think that starting Gnome session (using startx, as I >>>>> >> haven't >>>>> >>>>>> set auto start of X if this is of any importance) can cause >>>>> problems >>>>> >> - in >>>>> >>>>>> Gnome I have no settings for the network in the >>>>> "System->Network" >>>>> >>>>>> application and I start it with normal user? >>>>> >>>>>> >>>>> >>>>>> Regards, >>>>> >>>>>> >>>>> >>>>>> Lyubo >>>>> >>>>>> >>>>> >>>>>> >>>>> >>>>>> On 9 June 2013 18:28, Adrian Chadd wrote: >>>>> >>>>>>> Can you please paste the vmstat -i output? >>>>> >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> adrian >>>>> >>>>>>> >>>>> >>>>>>> On 9 June 2013 06:53, Lyubomir Yotov >>>>> wrote: >>>>> >>>>>>>> Hi, >>>>> >>>>>>>> >>>>> >>>>>>>> After restart from Windows and working wireless the number of >>>>> >>>>>>>> interrupts >>>>> >>>>>>>> increases and the rate increases. After next restart (the ath0 >>>>> >> times >>>>> >>>>>>>> out) >>>>> >>>>>>>> the interrupts increase but the rate is going down. >>>>> >>>>>>>> I noticed that after restart from Windows and working wifi if >>>>> I >>>>> >>>>>>>> restart >>>>> >>>>>>>> /etc/rc.d/netif the wifi is working again. If I shutdown >>>>> wlan0 and >>>>> >>>>>>>> bring it >>>>> >>>>>>>> up again then I wlan0 doesn't get address but ath0 is not >>>>> timing >>>>> >> out. >>>>> >>>>>>>> I can >>>>> >>>>>>>> still get a list with the available APs around. >>>>> >>>>>>>> >>>>> >>>>>>>> Regards, >>>>> >>>>>>>> >>>>> >>>>>>>> Lyubo >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> On 8 June 2013 18:28, Adrian Chadd >>>>> wrote: >>>>> >>>>>>>>> Hm! >>>>> >>>>>>>>> >>>>> >>>>>>>>> Ok, this should be working. I frequently test (read: every >>>>> other >>>>> >>>>>>>>> day) >>>>> >>>>>>>>> with the AR5416. But you're not the first person to report >>>>> this >>>>> >> bug. >>>>> >>>>>>>>> >>>>> >>>>>>>>> Unfortunately when this happens, the interrupts aren't >>>>> actually >>>>> >>>>>>>>> making >>>>> >>>>>>>>> it to the OS. >>>>> >>>>>>>>> >>>>> >>>>>>>>> Can you check the output of vmstat -i whilst you're doing >>>>> it? The >>>>> >>>>>>>>> ath0 >>>>> >>>>>>>>> counter should be increasing. >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> adrian >>>>> >>>>>>>>> >>>>> >>>>>>>>> On 8 June 2013 06:49, Lyubomir Yotov >>>>> wrote: >>>>> >>>>>>>>>> Hello, >>>>> >>>>>>>>>> I have a Thinkpad T60 with dual boot between Windows XP and >>>>> >>>>>>>>>> FreeBSD >>>>> >>>>>>>>>> 9.1-Release: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> uname -a >>>>> >>>>>>>>>> FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 >>>>> >> r243826: >>>>> >>>>>>>>>> Tue >>>>> >>>>>>>>>> Dec >>>>> >>>>>>>>>> 4 06:55:39 UTC 2012 >>>>> >>>>>>>>>> root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >>>>> >>>>>>>>>> i386 >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> I am trying to use my wifi card which is: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> dmesg >>>>> >>>>>>>>>> .... >>>>> >>>>>>>>>> ath0: mem 0xedf00000-0xedf0ffff irq 17 at >>>>> device >>>>> >>>>>>>>>> 0.0 on >>>>> >>>>>>>>>> pci3 >>>>> >>>>>>>>>> ath0: AR5418 mac 12.10 RF5133 phy 8.1 >>>>> >>>>>>>>>> .... >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> pciconf -lv >>>>> >>>>>>>>>> .... >>>>> >>>>>>>>>> ath0@pci0:3:0:0: class=0x028000 card=0x0033168c >>>>> >>>>>>>>>> chip=0x0024168c >>>>> >>>>>>>>>> rev=0x01 hdr=0x00 >>>>> >>>>>>>>>> vendor = 'Atheros Communications Inc.' >>>>> >>>>>>>>>> device = 'AR5008 Wireless Network Adapter' >>>>> >>>>>>>>>> class = network >>>>> >>>>>>>>>> ..... >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> I followed several HOW-TOs in order to make it work. >>>>> >> Unfortunately >>>>> >>>>>>>>>> I it >>>>> >>>>>>>>>> is >>>>> >>>>>>>>>> working only after I reboot from my Windows installation >>>>> >>>>>>>>>> (regardless of >>>>> >>>>>>>>>> the >>>>> >>>>>>>>>> position of the wifi switch on the front panel of the >>>>> notebook). >>>>> >>>>>>>>>> After >>>>> >>>>>>>>>> restart from Windows everything is fine - the wifi >>>>> associates >>>>> >> with >>>>> >>>>>>>>>> the >>>>> >>>>>>>>>> AP >>>>> >>>>>>>>>> and I can use it. If I reboot the system during the boot and >>>>> >>>>>>>>>> afterwards >>>>> >>>>>>>>>> I >>>>> >>>>>>>>>> constantly get: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> ath0: device timeout >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> When I get the device status through ifconfig I can see that >>>>> >> ath0 >>>>> >>>>>>>>>> is >>>>> >>>>>>>>>> associated but wlan0 is not associated. >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> ifconfig ath0 >>>>> >>>>>>>>>> ath0: flags=8843 >>>>> metric >>>>> >> 0 >>>>> >>>>>>>>>> mtu >>>>> >>>>>>>>>> 2290 >>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>> >>>>>>>>>> nd6 options=29 >>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>> mode 11g >>>>> >>>>>>>>>> status: associated >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> ifconfig wlan0 >>>>> >>>>>>>>>> wlan0: flags=8843 >>>>> >> metric 0 >>>>> >>>>>>>>>> mtu >>>>> >>>>>>>>>> 1500 >>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>> >>>>>>>>>> nd6 options=29 >>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>> >>>>>>>>>> (autoselect) >>>>> >>>>>>>>>> status: no carrier >>>>> >>>>>>>>>> ssid "" channel 5 (2432 MHz 11g) >>>>> >>>>>>>>>> regdomain 98 indoor ecm authmode WPA privacy ON >>>>> deftxkey >>>>> >>>>>>>>>> UNDEF >>>>> >>>>>>>>>> txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl >>>>> 300 >>>>> >>>>>>>>>> bgscanidle >>>>> >>>>>>>>>> 250 >>>>> >>>>>>>>>> roam:rssi 7 roam:rate 5 protmode CTS wme burst >>>>> roaming >>>>> >>>>>>>>>> MANUAL >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> In /var/log/messages I get: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to associate >>>>> >> with >>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >>>>> >>>>>>>>>> Jun 8 16:39:20 PC kernel: ath0: device timeout >>>>> >>>>>>>>>> Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication with >>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx timed out. >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> If I scan for wireless networks I get a list and my ap is >>>>> in the >>>>> >>>>>>>>>> list >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> ifconfig wlan0 scan >>>>> >>>>>>>>>> SSID/MESH ID BSSID CHAN RATE S:N INT >>>>> CAPS >>>>> >>>>>>>>>> net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >>>>> >>>>>>>>>> 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 100 EP >>>>> >> WPS >>>>> >>>>>>>>>> WPA >>>>> >>>>>>>>>> WME >>>>> >>>>>>>>>> access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 EP >>>>> WPA >>>>> >>>>>>>>>> HTCAP >>>>> >>>>>>>>>> WME >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> In rc.local I have: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> wlans_ath0="wlan0" >>>>> >>>>>>>>>> ifconfig_wlan0="WPA DHCP" >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> In wpa_supplicant I have: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>> >>>>>>>>>> eapol_version=2 >>>>> >>>>>>>>>> ap_scan=1 >>>>> >>>>>>>>>> fast_reauth=1 >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> network={ >>>>> >>>>>>>>>> ssid="access1" >>>>> >>>>>>>>>> psk="secret1" >>>>> >>>>>>>>>> priority=5 >>>>> >>>>>>>>>> } >>>>> >>>>>>>>>> network={ >>>>> >>>>>>>>>> ssid="access2" >>>>> >>>>>>>>>> psk="secret2" >>>>> >>>>>>>>>> priority=5 >>>>> >>>>>>>>>> } >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> I searched the net for solution to my problem but I couldn't >>>>> >> find >>>>> >>>>>>>>>> one. >>>>> >>>>>>>>>> Can >>>>> >>>>>>>>>> you help me with this? >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> Regards, >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> Lyubomir >>>>> >>>>>>>>>> _______________________________________________ >>>>> >>>>>>>>>> freebsd-mobile@freebsd.org mailing list >>>>> >>>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >>>>> >>>>>>>>>> To unsubscribe, send any mail to >>>>> >>>>>>>>>> "freebsd-mobile-unsubscribe@freebsd.org" >>>>> >>>>>>>> >>>>> >>>>>> >>>>> > _______________________________________________ >>>>> > freebsd-wireless@freebsd.org mailing list >>>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>> > To unsubscribe, send any mail to " >>>>> freebsd-wireless-unsubscribe@freebsd.org" >>>>> > >>>>> >>>>> >>>> >>> >> > From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 5 16:53:44 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4E802F9F; Sun, 5 Jan 2014 16:53:44 +0000 (UTC) Received: from mail-qc0-x234.google.com (mail-qc0-x234.google.com [IPv6:2607:f8b0:400d:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C653C11B4; Sun, 5 Jan 2014 16:53:43 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id w7so16228634qcr.25 for ; Sun, 05 Jan 2014 08:53:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1bxqogzf3e48Exx4juAUvtYuNeYa2JNZirS1Bbwsl3Q=; b=hieXzGUbH65+A7SCCC8nu49rcd4Mxif78YRM2N/OJsNwcAxv/GtPHOWEFKfeLep916 b9dptqsRK2Rf0IoYOro3JjzMhthXo1Qojv2ZOP3npWxJ62QbaNSYaMuKyBxAVUyy6l1/ pygB74kJIobKuc/u3kRoPZRTM4wsBKrvfVV04ynp0QLr6371CCvuSICREVegjmKfD28M sJ4Z1TfHJIGZ+R82Is6i6nPTdN/hw/Y/biTM+iJbpaKMU6phMj1fpINk+tPh9D9ltDgo EGgyQ6Q6LirTDGzjkSJOMmeBL/9CT6TrqR9nqj/9jRQeoKkZp5mLV8cpfXchd+m0M6r/ y/jw== MIME-Version: 1.0 X-Received: by 10.229.126.9 with SMTP id a9mr169088208qcs.0.1388940822779; Sun, 05 Jan 2014 08:53:42 -0800 (PST) Received: by 10.224.36.196 with HTTP; Sun, 5 Jan 2014 08:53:42 -0800 (PST) In-Reply-To: References: <51C8AE67.7040801@unsane.co.uk> Date: Sun, 5 Jan 2014 18:53:42 +0200 Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Lyubomir Yotov To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" , Vincent Hoffman , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2014 16:53:44 -0000 Not yet but I will give it a go these days. Thanks, Lyubomir On 5 January 2014 09:45, Adrian Chadd wrote: > Have you tried -11? > > > -a > > > On 30 December 2013 09:25, Lyubomir Yotov wrote: > >> Hi Andrian, >> >> Merry Christmas and all the best for the New Year! >> I would like to ask if there is something on the horizon with the Atheros >> time outs? Is there any chance in getting it working without restart to >> Windows (in my case)? Is there anything else I can try? Currently I am with >> 9.2-RELEASE #0 r255898. >> >> All the best, >> >> Lyubomir >> >> >> On 17 July 2013 23:06, Lyubomir Yotov wrote: >> >>> Hi, >>> No problem, I fully understand you. If you manage to find something I >>> will be more than grateful. Anyway thanks for your time! I think you are >>> doing quite a god job! >>> >>> >>> >>> Regards, >>> >>> Lyubo >>> >>> >>> >>> On 16 July 2013 11:51, Adrian Chadd wrote: >>> >>>> Hi, >>>> >>>> I'm sorry, I don't have the time to try and debug this issue. If I had >>>> a T60 here that demonstrated this behaviour then I could try to fix it. But >>>> I unfortunately don't; all my T60 hardware has intel wifi. :( >>>> >>>> I can try putting an AR5418 in a T60 in a few weeks and see if it >>>> exhibits this behaviour. But don't hold your breath. >>>> >>>> Sorry :( >>>> >>>> >>>> >>>> -adrian >>>> >>>> >>>> On 15 July 2013 13:30, Lyubomir Yotov wrote: >>>> >>>>> Hi Adrian, >>>>> I tried with -HEAD liveCD as proposed by Vincent and ghostbsd live cd >>>>> but the situation is the same. I feel like I am missing something. On one >>>>> hand I can scan the wireless networks and the wifi card seems to be >>>>> working. On the other hand I cannot attach as the ath device times out >>>>> (which according to the ath man pages should not occur). I also tried to >>>>> encrypt the psk phrase with pwa_passphrase but with no success either. I >>>>> tested with Kali linux live cd and the wireless was working fine. I also >>>>> noticed that if I shutdown Windows and then start FreeBSD then the wifi >>>>> also behaves the same way - ath0: device timed out. Only restart from >>>>> Windows or restart from FreeBSD with working wifi can make the wifi work >>>>> again. >>>>> Do you have any other proposals? >>>>> >>>>> Regards, >>>>> >>>>> Lyubomir >>>>> >>>>> >>>>> On 24 June 2013 23:39, Vincent Hoffman wrote: >>>>> >>>>>> As an easy test if you arent keen on making the leap just yet I'd >>>>>> suggest getting a snapshot CD and just boot it as a liveCD to test. >>>>>> either a snapshot >>>>>> http://www.freebsd.org/snapshots/ >>>>>> or one of the daily builds from >>>>>> https://pub.allbsd.org/FreeBSD-snapshots/ >>>>>> (for example >>>>>> >>>>>> https://pub.allbsd.org/FreeBSD-snapshots/amd64-amd64/10.0-HEAD-r252115-JPSNAP/iso/FreeBSD-10.0-HEAD-r252115-JPSNAP-amd64-amd64-release.iso >>>>>> ) >>>>>> >>>>>> That said I run -CURRENT on my server at home (for the atheros driver) >>>>>> and dont have any problems with it. >>>>>> >>>>>> Vince >>>>>> >>>>>> >>>>>> On 24/06/2013 21:01, Lyubomir Yotov wrote: >>>>>> > Hi Adrian, >>>>>> > >>>>>> > I will try to get -HEAD on my T60 and will report back. >>>>>> > >>>>>> > Regards, >>>>>> > >>>>>> > Lyubomir >>>>>> > >>>>>> > >>>>>> > On 24 June 2013 20:21, Adrian Chadd wrote: >>>>>> > >>>>>> >> Hi, >>>>>> >> >>>>>> >> Would you be willing to try a -HEAD snapshot on your laptop? >>>>>> >> >>>>>> >> Maybe I've fixed it as part of the other driver work that I've >>>>>> done as >>>>>> >> part of development in -HEAD. >>>>>> >> >>>>>> >> But right now I really have no idea. I don't have a T60 here that >>>>>> has >>>>>> >> that chip in it. If all the T60 BIOSes allow AR5418 NICs then I can >>>>>> >> try it out, but all of the T60's I've played with thus far have the >>>>>> >> intel hardware in it. >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> >> Adrian >>>>>> >> >>>>>> >> >>>>>> >> On 21 June 2013 02:02, Lyubomir Yotov wrote: >>>>>> >>> Hello Adrian, >>>>>> >>> >>>>>> >>> Do you have any feedback on the matter? >>>>>> >>> >>>>>> >>> Regards, >>>>>> >>> >>>>>> >>> Lyubomir >>>>>> >>> >>>>>> >>> >>>>>> >>> On 13 June 2013 10:09, Lyubomir Yotov wrote: >>>>>> >>>> Hello Adrian, >>>>>> >>>> >>>>>> >>>> I enabled acpi_ibm.ko but this didn't help and after "halt" the >>>>>> wifi is >>>>>> >>>> not working again. >>>>>> >>>> >>>>>> >>>> Regards, >>>>>> >>>> >>>>>> >>>> Lyubomir >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> On 13 June 2013 08:03, Lyubomir Yotov wrote: >>>>>> >>>>> Hello Adrian, >>>>>> >>>>> I did some tests and discovered that the problem is related to >>>>>> >>>>> "halt"/"shutdown" of system. If "reboot" is carried out than >>>>>> there is >>>>>> >> no >>>>>> >>>>> problem and the wifi works properly (even if done from Gnome - >>>>>> Gnome >>>>>> >> seems >>>>>> >>>>> to have no relation to the problem). So what could lead to >>>>>> "ath0: time >>>>>> >> out" >>>>>> >>>>> after shutting down or halting the system? I noticed that there >>>>>> are irq >>>>>> >>>>> storms on irq 17 which is the wifi irq (interrupt storm >>>>>> detected on >>>>>> >>>>> "irq17:"; throttling interrupt source). Something else that I >>>>>> am not >>>>>> >> sure to >>>>>> >>>>> have relevance - after shutdown during the start-up ath0 is >>>>>> reported >>>>>> >> to use >>>>>> >>>>> autoselect mode 11g: >>>>>> >>>>> (below is from dmesg) >>>>>> >>>>> >>>>>> >>>>> ath0: flags=8843 metric >>>>>> 0 mtu >>>>>> >>>>> 2290 >>>>>> >>>>> >>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>> >>>>> nd6 options=29 >>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>>>>> >>>>> status: associated >>>>>> >>>>> >>>>>> >>>>> After the boot has finished the mode changes to 11a: >>>>>> >>>>> >>>>>> >>>>> #ifconfig ath0 >>>>>> >>>>> >>>>>> >>>>> ath0: flags=8843 metric >>>>>> 0 mtu >>>>>> >>>>> 2290 >>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>> >>>>> nd6 options=29 >>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11a >>>>>> >>>>> status: associated >>>>>> >>>>> >>>>>> >>>>> Do you have any idea where to look for now? >>>>>> >>>>> >>>>>> >>>>> Regards, >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> Lyubomir >>>>>> >>>>> P.S. I will try to play with acpi_ibm.ko and see if things >>>>>> change if I >>>>>> >>>>> make it auto-load. >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> On 10 June 2013 16:06, Lyubomir Yotov >>>>>> wrote: >>>>>> >>>>>> Hello Adrian, >>>>>> >>>>>> >>>>>> >>>>>> Attached are files with consecutive vmstat -i when the wlan is >>>>>> working >>>>>> >>>>>> (vmstat-i_working.txt) and when the wlan is not working >>>>>> >>>>>> (vmstat-i_not_working.txt). There is also output from ifconfig >>>>>> when >>>>>> >> the wlan >>>>>> >>>>>> is not working (ifconfig.txt). >>>>>> >>>>>> After some more deeper investigation it seems to me that the >>>>>> problem >>>>>> >>>>>> appears after starting X with Gnome. I will continue >>>>>> investigating >>>>>> >> with >>>>>> >>>>>> "reboot"/"halt -p" and inform you. >>>>>> >>>>>> BTW do you think that starting Gnome session (using startx, as >>>>>> I >>>>>> >> haven't >>>>>> >>>>>> set auto start of X if this is of any importance) can cause >>>>>> problems >>>>>> >> - in >>>>>> >>>>>> Gnome I have no settings for the network in the >>>>>> "System->Network" >>>>>> >>>>>> application and I start it with normal user? >>>>>> >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> >>>>>> >>>>>> Lyubo >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 9 June 2013 18:28, Adrian Chadd wrote: >>>>>> >>>>>>> Can you please paste the vmstat -i output? >>>>>> >>>>>>> >>>>>> >>>>>>> >>>>>> >>>>>>> >>>>>> >>>>>>> adrian >>>>>> >>>>>>> >>>>>> >>>>>>> On 9 June 2013 06:53, Lyubomir Yotov >>>>>> wrote: >>>>>> >>>>>>>> Hi, >>>>>> >>>>>>>> >>>>>> >>>>>>>> After restart from Windows and working wireless the number of >>>>>> >>>>>>>> interrupts >>>>>> >>>>>>>> increases and the rate increases. After next restart (the >>>>>> ath0 >>>>>> >> times >>>>>> >>>>>>>> out) >>>>>> >>>>>>>> the interrupts increase but the rate is going down. >>>>>> >>>>>>>> I noticed that after restart from Windows and working wifi >>>>>> if I >>>>>> >>>>>>>> restart >>>>>> >>>>>>>> /etc/rc.d/netif the wifi is working again. If I shutdown >>>>>> wlan0 and >>>>>> >>>>>>>> bring it >>>>>> >>>>>>>> up again then I wlan0 doesn't get address but ath0 is not >>>>>> timing >>>>>> >> out. >>>>>> >>>>>>>> I can >>>>>> >>>>>>>> still get a list with the available APs around. >>>>>> >>>>>>>> >>>>>> >>>>>>>> Regards, >>>>>> >>>>>>>> >>>>>> >>>>>>>> Lyubo >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> On 8 June 2013 18:28, Adrian Chadd >>>>>> wrote: >>>>>> >>>>>>>>> Hm! >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> Ok, this should be working. I frequently test (read: every >>>>>> other >>>>>> >>>>>>>>> day) >>>>>> >>>>>>>>> with the AR5416. But you're not the first person to report >>>>>> this >>>>>> >> bug. >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> Unfortunately when this happens, the interrupts aren't >>>>>> actually >>>>>> >>>>>>>>> making >>>>>> >>>>>>>>> it to the OS. >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> Can you check the output of vmstat -i whilst you're doing >>>>>> it? The >>>>>> >>>>>>>>> ath0 >>>>>> >>>>>>>>> counter should be increasing. >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> adrian >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> On 8 June 2013 06:49, Lyubomir Yotov >>>>>> wrote: >>>>>> >>>>>>>>>> Hello, >>>>>> >>>>>>>>>> I have a Thinkpad T60 with dual boot between Windows XP and >>>>>> >>>>>>>>>> FreeBSD >>>>>> >>>>>>>>>> 9.1-Release: >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> uname -a >>>>>> >>>>>>>>>> FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 >>>>>> >> r243826: >>>>>> >>>>>>>>>> Tue >>>>>> >>>>>>>>>> Dec >>>>>> >>>>>>>>>> 4 06:55:39 UTC 2012 >>>>>> >>>>>>>>>> root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >>>>>> >>>>>>>>>> i386 >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> I am trying to use my wifi card which is: >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> dmesg >>>>>> >>>>>>>>>> .... >>>>>> >>>>>>>>>> ath0: mem 0xedf00000-0xedf0ffff irq 17 at >>>>>> device >>>>>> >>>>>>>>>> 0.0 on >>>>>> >>>>>>>>>> pci3 >>>>>> >>>>>>>>>> ath0: AR5418 mac 12.10 RF5133 phy 8.1 >>>>>> >>>>>>>>>> .... >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> pciconf -lv >>>>>> >>>>>>>>>> .... >>>>>> >>>>>>>>>> ath0@pci0:3:0:0: class=0x028000 card=0x0033168c >>>>>> >>>>>>>>>> chip=0x0024168c >>>>>> >>>>>>>>>> rev=0x01 hdr=0x00 >>>>>> >>>>>>>>>> vendor = 'Atheros Communications Inc.' >>>>>> >>>>>>>>>> device = 'AR5008 Wireless Network Adapter' >>>>>> >>>>>>>>>> class = network >>>>>> >>>>>>>>>> ..... >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> I followed several HOW-TOs in order to make it work. >>>>>> >> Unfortunately >>>>>> >>>>>>>>>> I it >>>>>> >>>>>>>>>> is >>>>>> >>>>>>>>>> working only after I reboot from my Windows installation >>>>>> >>>>>>>>>> (regardless of >>>>>> >>>>>>>>>> the >>>>>> >>>>>>>>>> position of the wifi switch on the front panel of the >>>>>> notebook). >>>>>> >>>>>>>>>> After >>>>>> >>>>>>>>>> restart from Windows everything is fine - the wifi >>>>>> associates >>>>>> >> with >>>>>> >>>>>>>>>> the >>>>>> >>>>>>>>>> AP >>>>>> >>>>>>>>>> and I can use it. If I reboot the system during the boot >>>>>> and >>>>>> >>>>>>>>>> afterwards >>>>>> >>>>>>>>>> I >>>>>> >>>>>>>>>> constantly get: >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> ath0: device timeout >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> When I get the device status through ifconfig I can see >>>>>> that >>>>>> >> ath0 >>>>>> >>>>>>>>>> is >>>>>> >>>>>>>>>> associated but wlan0 is not associated. >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> ifconfig ath0 >>>>>> >>>>>>>>>> ath0: flags=8843 >>>>>> metric >>>>>> >> 0 >>>>>> >>>>>>>>>> mtu >>>>>> >>>>>>>>>> 2290 >>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>> >>>>>>>>>> nd6 >>>>>> options=29 >>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>> mode 11g >>>>>> >>>>>>>>>> status: associated >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> ifconfig wlan0 >>>>>> >>>>>>>>>> wlan0: flags=8843 >>>>>> >> metric 0 >>>>>> >>>>>>>>>> mtu >>>>>> >>>>>>>>>> 1500 >>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>> >>>>>>>>>> nd6 >>>>>> options=29 >>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>> >>>>>>>>>> (autoselect) >>>>>> >>>>>>>>>> status: no carrier >>>>>> >>>>>>>>>> ssid "" channel 5 (2432 MHz 11g) >>>>>> >>>>>>>>>> regdomain 98 indoor ecm authmode WPA privacy ON >>>>>> deftxkey >>>>>> >>>>>>>>>> UNDEF >>>>>> >>>>>>>>>> txpower 20 bmiss 7 scanvalid 450 bgscan >>>>>> bgscanintvl 300 >>>>>> >>>>>>>>>> bgscanidle >>>>>> >>>>>>>>>> 250 >>>>>> >>>>>>>>>> roam:rssi 7 roam:rate 5 protmode CTS wme burst >>>>>> roaming >>>>>> >>>>>>>>>> MANUAL >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> In /var/log/messages I get: >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to >>>>>> associate >>>>>> >> with >>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >>>>>> >>>>>>>>>> Jun 8 16:39:20 PC kernel: ath0: device timeout >>>>>> >>>>>>>>>> Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication >>>>>> with >>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx timed out. >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> If I scan for wireless networks I get a list and my ap is >>>>>> in the >>>>>> >>>>>>>>>> list >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> ifconfig wlan0 scan >>>>>> >>>>>>>>>> SSID/MESH ID BSSID CHAN RATE S:N INT >>>>>> CAPS >>>>>> >>>>>>>>>> net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >>>>>> >>>>>>>>>> 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 100 >>>>>> EP >>>>>> >> WPS >>>>>> >>>>>>>>>> WPA >>>>>> >>>>>>>>>> WME >>>>>> >>>>>>>>>> access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 EP >>>>>> WPA >>>>>> >>>>>>>>>> HTCAP >>>>>> >>>>>>>>>> WME >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> In rc.local I have: >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> wlans_ath0="wlan0" >>>>>> >>>>>>>>>> ifconfig_wlan0="WPA DHCP" >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> In wpa_supplicant I have: >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>>> >>>>>>>>>> eapol_version=2 >>>>>> >>>>>>>>>> ap_scan=1 >>>>>> >>>>>>>>>> fast_reauth=1 >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> network={ >>>>>> >>>>>>>>>> ssid="access1" >>>>>> >>>>>>>>>> psk="secret1" >>>>>> >>>>>>>>>> priority=5 >>>>>> >>>>>>>>>> } >>>>>> >>>>>>>>>> network={ >>>>>> >>>>>>>>>> ssid="access2" >>>>>> >>>>>>>>>> psk="secret2" >>>>>> >>>>>>>>>> priority=5 >>>>>> >>>>>>>>>> } >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> I searched the net for solution to my problem but I >>>>>> couldn't >>>>>> >> find >>>>>> >>>>>>>>>> one. >>>>>> >>>>>>>>>> Can >>>>>> >>>>>>>>>> you help me with this? >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> Regards, >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> Lyubomir >>>>>> >>>>>>>>>> _______________________________________________ >>>>>> >>>>>>>>>> freebsd-mobile@freebsd.org mailing list >>>>>> >>>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >>>>>> >>>>>>>>>> To unsubscribe, send any mail to >>>>>> >>>>>>>>>> "freebsd-mobile-unsubscribe@freebsd.org" >>>>>> >>>>>>>> >>>>>> >>>>>> >>>>>> > _______________________________________________ >>>>>> > freebsd-wireless@freebsd.org mailing list >>>>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>> > To unsubscribe, send any mail to " >>>>>> freebsd-wireless-unsubscribe@freebsd.org" >>>>>> > >>>>>> >>>>>> >>>>> >>>> >>> >> > From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 5 21:57:24 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0DA75F2; Sun, 5 Jan 2014 21:57:24 +0000 (UTC) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 96B5C1799; Sun, 5 Jan 2014 21:57:23 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id c9so16556054qcz.16 for ; Sun, 05 Jan 2014 13:57:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=FXPsXeA1mYKhivenCboIwxcw63EwZiurA0Ap+L2N+R8=; b=N0w1L9tw1e0biouTGoG37mYNGowHbw64kEIzO2/3cdBdkCd0MM6vmFAcuD4Vs5zdO7 X2UDDd4dkKGu1gWvfonZ5L74goA/3asBYDhV25ZC1VNwa/GeSK02hyImu2O3QYvfdZNj sfbBCCse6k9W9RI3ftuhrLoraj9SX6Mu7EKmwp95dKWcauWw1HVajEi5s5OJWLbDGtBr JjnADyGaXHr4EzdmLcAaWIJxAdkRzYCpTBfg7PfaoNrG0ADy6RfznBpABk/PEQlowxFt tCf/CwkDCsXMe4e+O1td1WrJI0PcC7zmZrJs1ryu6rJ1/n1I9JAMAB23JCg0xLnrmvPF 9RkA== MIME-Version: 1.0 X-Received: by 10.224.124.195 with SMTP id v3mr174225132qar.55.1388959042597; Sun, 05 Jan 2014 13:57:22 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Sun, 5 Jan 2014 13:57:22 -0800 (PST) In-Reply-To: References: <51C8AE67.7040801@unsane.co.uk> Date: Sun, 5 Jan 2014 13:57:22 -0800 X-Google-Sender-Auth: JxnuGKfbEASruZ1P06_9iy7_zXE Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Adrian Chadd To: Lyubomir Yotov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" , Vincent Hoffman , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2014 21:57:24 -0000 Ok, please do. I have a T60 with me and some AR5418 NICs, so I don't mind doing a transplant and trying to make it work! -a On 5 January 2014 08:53, Lyubomir Yotov wrote: > Not yet but I will give it a go these days. > > Thanks, > > Lyubomir > > > On 5 January 2014 09:45, Adrian Chadd wrote: > >> Have you tried -11? >> >> >> -a >> >> >> On 30 December 2013 09:25, Lyubomir Yotov wrote: >> >>> Hi Andrian, >>> >>> Merry Christmas and all the best for the New Year! >>> I would like to ask if there is something on the horizon with the >>> Atheros time outs? Is there any chance in getting it working without >>> restart to Windows (in my case)? Is there anything else I can try? >>> Currently I am with 9.2-RELEASE #0 r255898. >>> >>> All the best, >>> >>> Lyubomir >>> >>> >>> On 17 July 2013 23:06, Lyubomir Yotov wrote: >>> >>>> Hi, >>>> No problem, I fully understand you. If you manage to find something I >>>> will be more than grateful. Anyway thanks for your time! I think you are >>>> doing quite a god job! >>>> >>>> >>>> >>>> Regards, >>>> >>>> Lyubo >>>> >>>> >>>> >>>> On 16 July 2013 11:51, Adrian Chadd wrote: >>>> >>>>> Hi, >>>>> >>>>> I'm sorry, I don't have the time to try and debug this issue. If I had >>>>> a T60 here that demonstrated this behaviour then I could try to fix it. But >>>>> I unfortunately don't; all my T60 hardware has intel wifi. :( >>>>> >>>>> I can try putting an AR5418 in a T60 in a few weeks and see if it >>>>> exhibits this behaviour. But don't hold your breath. >>>>> >>>>> Sorry :( >>>>> >>>>> >>>>> >>>>> -adrian >>>>> >>>>> >>>>> On 15 July 2013 13:30, Lyubomir Yotov wrote: >>>>> >>>>>> Hi Adrian, >>>>>> I tried with -HEAD liveCD as proposed by Vincent and ghostbsd live cd >>>>>> but the situation is the same. I feel like I am missing something. On one >>>>>> hand I can scan the wireless networks and the wifi card seems to be >>>>>> working. On the other hand I cannot attach as the ath device times out >>>>>> (which according to the ath man pages should not occur). I also tried to >>>>>> encrypt the psk phrase with pwa_passphrase but with no success either. I >>>>>> tested with Kali linux live cd and the wireless was working fine. I also >>>>>> noticed that if I shutdown Windows and then start FreeBSD then the wifi >>>>>> also behaves the same way - ath0: device timed out. Only restart from >>>>>> Windows or restart from FreeBSD with working wifi can make the wifi work >>>>>> again. >>>>>> Do you have any other proposals? >>>>>> >>>>>> Regards, >>>>>> >>>>>> Lyubomir >>>>>> >>>>>> >>>>>> On 24 June 2013 23:39, Vincent Hoffman wrote: >>>>>> >>>>>>> As an easy test if you arent keen on making the leap just yet I'd >>>>>>> suggest getting a snapshot CD and just boot it as a liveCD to test. >>>>>>> either a snapshot >>>>>>> http://www.freebsd.org/snapshots/ >>>>>>> or one of the daily builds from >>>>>>> https://pub.allbsd.org/FreeBSD-snapshots/ >>>>>>> (for example >>>>>>> >>>>>>> https://pub.allbsd.org/FreeBSD-snapshots/amd64-amd64/10.0-HEAD-r252115-JPSNAP/iso/FreeBSD-10.0-HEAD-r252115-JPSNAP-amd64-amd64-release.iso >>>>>>> ) >>>>>>> >>>>>>> That said I run -CURRENT on my server at home (for the atheros >>>>>>> driver) >>>>>>> and dont have any problems with it. >>>>>>> >>>>>>> Vince >>>>>>> >>>>>>> >>>>>>> On 24/06/2013 21:01, Lyubomir Yotov wrote: >>>>>>> > Hi Adrian, >>>>>>> > >>>>>>> > I will try to get -HEAD on my T60 and will report back. >>>>>>> > >>>>>>> > Regards, >>>>>>> > >>>>>>> > Lyubomir >>>>>>> > >>>>>>> > >>>>>>> > On 24 June 2013 20:21, Adrian Chadd wrote: >>>>>>> > >>>>>>> >> Hi, >>>>>>> >> >>>>>>> >> Would you be willing to try a -HEAD snapshot on your laptop? >>>>>>> >> >>>>>>> >> Maybe I've fixed it as part of the other driver work that I've >>>>>>> done as >>>>>>> >> part of development in -HEAD. >>>>>>> >> >>>>>>> >> But right now I really have no idea. I don't have a T60 here that >>>>>>> has >>>>>>> >> that chip in it. If all the T60 BIOSes allow AR5418 NICs then I >>>>>>> can >>>>>>> >> try it out, but all of the T60's I've played with thus far have >>>>>>> the >>>>>>> >> intel hardware in it. >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> Adrian >>>>>>> >> >>>>>>> >> >>>>>>> >> On 21 June 2013 02:02, Lyubomir Yotov wrote: >>>>>>> >>> Hello Adrian, >>>>>>> >>> >>>>>>> >>> Do you have any feedback on the matter? >>>>>>> >>> >>>>>>> >>> Regards, >>>>>>> >>> >>>>>>> >>> Lyubomir >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> On 13 June 2013 10:09, Lyubomir Yotov wrote: >>>>>>> >>>> Hello Adrian, >>>>>>> >>>> >>>>>>> >>>> I enabled acpi_ibm.ko but this didn't help and after "halt" the >>>>>>> wifi is >>>>>>> >>>> not working again. >>>>>>> >>>> >>>>>>> >>>> Regards, >>>>>>> >>>> >>>>>>> >>>> Lyubomir >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> On 13 June 2013 08:03, Lyubomir Yotov >>>>>>> wrote: >>>>>>> >>>>> Hello Adrian, >>>>>>> >>>>> I did some tests and discovered that the problem is related to >>>>>>> >>>>> "halt"/"shutdown" of system. If "reboot" is carried out than >>>>>>> there is >>>>>>> >> no >>>>>>> >>>>> problem and the wifi works properly (even if done from Gnome - >>>>>>> Gnome >>>>>>> >> seems >>>>>>> >>>>> to have no relation to the problem). So what could lead to >>>>>>> "ath0: time >>>>>>> >> out" >>>>>>> >>>>> after shutting down or halting the system? I noticed that >>>>>>> there are irq >>>>>>> >>>>> storms on irq 17 which is the wifi irq (interrupt storm >>>>>>> detected on >>>>>>> >>>>> "irq17:"; throttling interrupt source). Something else that I >>>>>>> am not >>>>>>> >> sure to >>>>>>> >>>>> have relevance - after shutdown during the start-up ath0 is >>>>>>> reported >>>>>>> >> to use >>>>>>> >>>>> autoselect mode 11g: >>>>>>> >>>>> (below is from dmesg) >>>>>>> >>>>> >>>>>>> >>>>> ath0: flags=8843 >>>>>>> metric 0 mtu >>>>>>> >>>>> 2290 >>>>>>> >>>>> >>>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>>> >>>>> nd6 options=29 >>>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode >>>>>>> 11g >>>>>>> >>>>> status: associated >>>>>>> >>>>> >>>>>>> >>>>> After the boot has finished the mode changes to 11a: >>>>>>> >>>>> >>>>>>> >>>>> #ifconfig ath0 >>>>>>> >>>>> >>>>>>> >>>>> ath0: flags=8843 >>>>>>> metric 0 mtu >>>>>>> >>>>> 2290 >>>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>>> >>>>> nd6 options=29 >>>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode >>>>>>> 11a >>>>>>> >>>>> status: associated >>>>>>> >>>>> >>>>>>> >>>>> Do you have any idea where to look for now? >>>>>>> >>>>> >>>>>>> >>>>> Regards, >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> Lyubomir >>>>>>> >>>>> P.S. I will try to play with acpi_ibm.ko and see if things >>>>>>> change if I >>>>>>> >>>>> make it auto-load. >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> On 10 June 2013 16:06, Lyubomir Yotov >>>>>>> wrote: >>>>>>> >>>>>> Hello Adrian, >>>>>>> >>>>>> >>>>>>> >>>>>> Attached are files with consecutive vmstat -i when the wlan >>>>>>> is working >>>>>>> >>>>>> (vmstat-i_working.txt) and when the wlan is not working >>>>>>> >>>>>> (vmstat-i_not_working.txt). There is also output from >>>>>>> ifconfig when >>>>>>> >> the wlan >>>>>>> >>>>>> is not working (ifconfig.txt). >>>>>>> >>>>>> After some more deeper investigation it seems to me that the >>>>>>> problem >>>>>>> >>>>>> appears after starting X with Gnome. I will continue >>>>>>> investigating >>>>>>> >> with >>>>>>> >>>>>> "reboot"/"halt -p" and inform you. >>>>>>> >>>>>> BTW do you think that starting Gnome session (using startx, >>>>>>> as I >>>>>>> >> haven't >>>>>>> >>>>>> set auto start of X if this is of any importance) can cause >>>>>>> problems >>>>>>> >> - in >>>>>>> >>>>>> Gnome I have no settings for the network in the >>>>>>> "System->Network" >>>>>>> >>>>>> application and I start it with normal user? >>>>>>> >>>>>> >>>>>>> >>>>>> Regards, >>>>>>> >>>>>> >>>>>>> >>>>>> Lyubo >>>>>>> >>>>>> >>>>>>> >>>>>> >>>>>>> >>>>>> On 9 June 2013 18:28, Adrian Chadd >>>>>>> wrote: >>>>>>> >>>>>>> Can you please paste the vmstat -i output? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> adrian >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 9 June 2013 06:53, Lyubomir Yotov >>>>>>> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> After restart from Windows and working wireless the number >>>>>>> of >>>>>>> >>>>>>>> interrupts >>>>>>> >>>>>>>> increases and the rate increases. After next restart (the >>>>>>> ath0 >>>>>>> >> times >>>>>>> >>>>>>>> out) >>>>>>> >>>>>>>> the interrupts increase but the rate is going down. >>>>>>> >>>>>>>> I noticed that after restart from Windows and working wifi >>>>>>> if I >>>>>>> >>>>>>>> restart >>>>>>> >>>>>>>> /etc/rc.d/netif the wifi is working again. If I shutdown >>>>>>> wlan0 and >>>>>>> >>>>>>>> bring it >>>>>>> >>>>>>>> up again then I wlan0 doesn't get address but ath0 is not >>>>>>> timing >>>>>>> >> out. >>>>>>> >>>>>>>> I can >>>>>>> >>>>>>>> still get a list with the available APs around. >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> Regards, >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> Lyubo >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> On 8 June 2013 18:28, Adrian Chadd >>>>>>> wrote: >>>>>>> >>>>>>>>> Hm! >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> Ok, this should be working. I frequently test (read: every >>>>>>> other >>>>>>> >>>>>>>>> day) >>>>>>> >>>>>>>>> with the AR5416. But you're not the first person to report >>>>>>> this >>>>>>> >> bug. >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> Unfortunately when this happens, the interrupts aren't >>>>>>> actually >>>>>>> >>>>>>>>> making >>>>>>> >>>>>>>>> it to the OS. >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> Can you check the output of vmstat -i whilst you're doing >>>>>>> it? The >>>>>>> >>>>>>>>> ath0 >>>>>>> >>>>>>>>> counter should be increasing. >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> adrian >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> On 8 June 2013 06:49, Lyubomir Yotov >>>>>>> wrote: >>>>>>> >>>>>>>>>> Hello, >>>>>>> >>>>>>>>>> I have a Thinkpad T60 with dual boot between Windows XP >>>>>>> and >>>>>>> >>>>>>>>>> FreeBSD >>>>>>> >>>>>>>>>> 9.1-Release: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> uname -a >>>>>>> >>>>>>>>>> FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 >>>>>>> >> r243826: >>>>>>> >>>>>>>>>> Tue >>>>>>> >>>>>>>>>> Dec >>>>>>> >>>>>>>>>> 4 06:55:39 UTC 2012 >>>>>>> >>>>>>>>>> root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >>>>>>> >>>>>>>>>> i386 >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> I am trying to use my wifi card which is: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> dmesg >>>>>>> >>>>>>>>>> .... >>>>>>> >>>>>>>>>> ath0: mem 0xedf00000-0xedf0ffff irq 17 at >>>>>>> device >>>>>>> >>>>>>>>>> 0.0 on >>>>>>> >>>>>>>>>> pci3 >>>>>>> >>>>>>>>>> ath0: AR5418 mac 12.10 RF5133 phy 8.1 >>>>>>> >>>>>>>>>> .... >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> pciconf -lv >>>>>>> >>>>>>>>>> .... >>>>>>> >>>>>>>>>> ath0@pci0:3:0:0: class=0x028000 card=0x0033168c >>>>>>> >>>>>>>>>> chip=0x0024168c >>>>>>> >>>>>>>>>> rev=0x01 hdr=0x00 >>>>>>> >>>>>>>>>> vendor = 'Atheros Communications Inc.' >>>>>>> >>>>>>>>>> device = 'AR5008 Wireless Network Adapter' >>>>>>> >>>>>>>>>> class = network >>>>>>> >>>>>>>>>> ..... >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> I followed several HOW-TOs in order to make it work. >>>>>>> >> Unfortunately >>>>>>> >>>>>>>>>> I it >>>>>>> >>>>>>>>>> is >>>>>>> >>>>>>>>>> working only after I reboot from my Windows installation >>>>>>> >>>>>>>>>> (regardless of >>>>>>> >>>>>>>>>> the >>>>>>> >>>>>>>>>> position of the wifi switch on the front panel of the >>>>>>> notebook). >>>>>>> >>>>>>>>>> After >>>>>>> >>>>>>>>>> restart from Windows everything is fine - the wifi >>>>>>> associates >>>>>>> >> with >>>>>>> >>>>>>>>>> the >>>>>>> >>>>>>>>>> AP >>>>>>> >>>>>>>>>> and I can use it. If I reboot the system during the boot >>>>>>> and >>>>>>> >>>>>>>>>> afterwards >>>>>>> >>>>>>>>>> I >>>>>>> >>>>>>>>>> constantly get: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> ath0: device timeout >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> When I get the device status through ifconfig I can see >>>>>>> that >>>>>>> >> ath0 >>>>>>> >>>>>>>>>> is >>>>>>> >>>>>>>>>> associated but wlan0 is not associated. >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> ifconfig ath0 >>>>>>> >>>>>>>>>> ath0: flags=8843 >>>>>>> metric >>>>>>> >> 0 >>>>>>> >>>>>>>>>> mtu >>>>>>> >>>>>>>>>> 2290 >>>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>>> >>>>>>>>>> nd6 >>>>>>> options=29 >>>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>>> mode 11g >>>>>>> >>>>>>>>>> status: associated >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> ifconfig wlan0 >>>>>>> >>>>>>>>>> wlan0: flags=8843 >>>>>>> >> metric 0 >>>>>>> >>>>>>>>>> mtu >>>>>>> >>>>>>>>>> 1500 >>>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>>> >>>>>>>>>> nd6 >>>>>>> options=29 >>>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>>> >>>>>>>>>> (autoselect) >>>>>>> >>>>>>>>>> status: no carrier >>>>>>> >>>>>>>>>> ssid "" channel 5 (2432 MHz 11g) >>>>>>> >>>>>>>>>> regdomain 98 indoor ecm authmode WPA privacy ON >>>>>>> deftxkey >>>>>>> >>>>>>>>>> UNDEF >>>>>>> >>>>>>>>>> txpower 20 bmiss 7 scanvalid 450 bgscan >>>>>>> bgscanintvl 300 >>>>>>> >>>>>>>>>> bgscanidle >>>>>>> >>>>>>>>>> 250 >>>>>>> >>>>>>>>>> roam:rssi 7 roam:rate 5 protmode CTS wme burst >>>>>>> roaming >>>>>>> >>>>>>>>>> MANUAL >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> In /var/log/messages I get: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to >>>>>>> associate >>>>>>> >> with >>>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >>>>>>> >>>>>>>>>> Jun 8 16:39:20 PC kernel: ath0: device timeout >>>>>>> >>>>>>>>>> Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication >>>>>>> with >>>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx timed out. >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> If I scan for wireless networks I get a list and my ap is >>>>>>> in the >>>>>>> >>>>>>>>>> list >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> ifconfig wlan0 scan >>>>>>> >>>>>>>>>> SSID/MESH ID BSSID CHAN RATE S:N >>>>>>> INT CAPS >>>>>>> >>>>>>>>>> net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >>>>>>> >>>>>>>>>> 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 100 >>>>>>> EP >>>>>>> >> WPS >>>>>>> >>>>>>>>>> WPA >>>>>>> >>>>>>>>>> WME >>>>>>> >>>>>>>>>> access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 >>>>>>> EP WPA >>>>>>> >>>>>>>>>> HTCAP >>>>>>> >>>>>>>>>> WME >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> In rc.local I have: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> wlans_ath0="wlan0" >>>>>>> >>>>>>>>>> ifconfig_wlan0="WPA DHCP" >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> In wpa_supplicant I have: >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>>>> >>>>>>>>>> eapol_version=2 >>>>>>> >>>>>>>>>> ap_scan=1 >>>>>>> >>>>>>>>>> fast_reauth=1 >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> network={ >>>>>>> >>>>>>>>>> ssid="access1" >>>>>>> >>>>>>>>>> psk="secret1" >>>>>>> >>>>>>>>>> priority=5 >>>>>>> >>>>>>>>>> } >>>>>>> >>>>>>>>>> network={ >>>>>>> >>>>>>>>>> ssid="access2" >>>>>>> >>>>>>>>>> psk="secret2" >>>>>>> >>>>>>>>>> priority=5 >>>>>>> >>>>>>>>>> } >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> I searched the net for solution to my problem but I >>>>>>> couldn't >>>>>>> >> find >>>>>>> >>>>>>>>>> one. >>>>>>> >>>>>>>>>> Can >>>>>>> >>>>>>>>>> you help me with this? >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> Regards, >>>>>>> >>>>>>>>>> >>>>>>> >>>>>>>>>> Lyubomir >>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>> >>>>>>>>>> freebsd-mobile@freebsd.org mailing list >>>>>>> >>>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >>>>>>> >>>>>>>>>> To unsubscribe, send any mail to >>>>>>> >>>>>>>>>> "freebsd-mobile-unsubscribe@freebsd.org" >>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>>> > _______________________________________________ >>>>>>> > freebsd-wireless@freebsd.org mailing list >>>>>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>>> > To unsubscribe, send any mail to " >>>>>>> freebsd-wireless-unsubscribe@freebsd.org" >>>>>>> > >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 5 22:10:59 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E215F590; Sun, 5 Jan 2014 22:10:58 +0000 (UTC) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 636CC18C8; Sun, 5 Jan 2014 22:10:58 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id i8so16896677qcq.35 for ; Sun, 05 Jan 2014 14:10:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NeGQUGZmIuJfpnSwt7eDXF9yyRKGxlWopnmQxxPmX0E=; b=ujX0SlrjAAdtFnPnMEO3jusRS800/ezEK7Q08gY9MTuLaQANUfKO/VcsVjURkut6cu JAhua8tKucI8uw6n34vsRNsALZcJWD+bGUrc+7hbYxhoDmCGx3J8euslUNCOiUcmdKYF cJMELiutScn3764DGGUkDh4NgzbpmTxE5aj39LM6xAu6JbYlr/fqdoaZhRV1B6EOU1sA jwF/CCehf1ARe1tFIU20nBRdgCAp/YqmaomWbWaihJG9wOkqAt79Mi377O9/yt8wwHYx biiI0Trj0bKMrSHjan7ye2zLVbfTdWxliAqkfoK/oMe+Z1GuwbpOuos0Ch8vCara+oOj RKDw== MIME-Version: 1.0 X-Received: by 10.229.222.194 with SMTP id ih2mr171327415qcb.16.1388959857522; Sun, 05 Jan 2014 14:10:57 -0800 (PST) Received: by 10.224.36.196 with HTTP; Sun, 5 Jan 2014 14:10:57 -0800 (PST) In-Reply-To: References: <51C8AE67.7040801@unsane.co.uk> Date: Mon, 6 Jan 2014 00:10:57 +0200 Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Lyubomir Yotov To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" , Vincent Hoffman , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2014 22:10:59 -0000 Hi Adrian, I tried with 11.0-CURRENT as a livecd but no success (below is the wpa_supplicant after issuing 'ifconfig wlan0 create wlandev ath0'): wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf ###remark - start of wpa_supplicant output Successfully initialized wpa_supplicant wlan0: Trying to associate with 54:e6:fc:ae:6a:bc (SSID='aero-gate' freq=2432 MHz) wlan0: Authentication with 54:e6:fc:ae:6a:bc timed out. wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:ae:6a:bc reason=3 locally_generated=1 wlan0: Trying to associate with 54:e6:fc:ae:6a:bc (SSID='aero-gate' freq=2432 MHz) wlan0: Authentication with 54:e6:fc:ae:6a:bc timed out. wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:ae:6a:bc reason=3 locally_generated=1 wlan0: Trying to associate with 54:e6:fc:ae:6a:bc (SSID='aero-gate' freq=2432 MHz) wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:ae:6a:bc reason=3 locally_generated=1 ###remark - here I press Ctrl+C ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Can't assign requested address ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported wlan0: CTRL-EVENT-TERMINATING ###remark - end of wpa_supplicant output Any ideas? Lyubo On 5 January 2014 23:57, Adrian Chadd wrote: > Ok, please do. > > I have a T60 with me and some AR5418 NICs, so I don't mind doing a > transplant and trying to make it work! > > > -a > > > > On 5 January 2014 08:53, Lyubomir Yotov wrote: > >> Not yet but I will give it a go these days. >> >> Thanks, >> >> Lyubomir >> >> >> On 5 January 2014 09:45, Adrian Chadd wrote: >> >>> Have you tried -11? >>> >>> >>> -a >>> >>> >>> On 30 December 2013 09:25, Lyubomir Yotov wrote: >>> >>>> Hi Andrian, >>>> >>>> Merry Christmas and all the best for the New Year! >>>> I would like to ask if there is something on the horizon with the >>>> Atheros time outs? Is there any chance in getting it working without >>>> restart to Windows (in my case)? Is there anything else I can try? >>>> Currently I am with 9.2-RELEASE #0 r255898. >>>> >>>> All the best, >>>> >>>> Lyubomir >>>> >>>> >>>> On 17 July 2013 23:06, Lyubomir Yotov wrote: >>>> >>>>> Hi, >>>>> No problem, I fully understand you. If you manage to find something I >>>>> will be more than grateful. Anyway thanks for your time! I think you are >>>>> doing quite a god job! >>>>> >>>>> >>>>> >>>>> Regards, >>>>> >>>>> Lyubo >>>>> >>>>> >>>>> >>>>> On 16 July 2013 11:51, Adrian Chadd wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I'm sorry, I don't have the time to try and debug this issue. If I >>>>>> had a T60 here that demonstrated this behaviour then I could try to fix it. >>>>>> But I unfortunately don't; all my T60 hardware has intel wifi. :( >>>>>> >>>>>> I can try putting an AR5418 in a T60 in a few weeks and see if it >>>>>> exhibits this behaviour. But don't hold your breath. >>>>>> >>>>>> Sorry :( >>>>>> >>>>>> >>>>>> >>>>>> -adrian >>>>>> >>>>>> >>>>>> On 15 July 2013 13:30, Lyubomir Yotov wrote: >>>>>> >>>>>>> Hi Adrian, >>>>>>> I tried with -HEAD liveCD as proposed by Vincent and ghostbsd live >>>>>>> cd but the situation is the same. I feel like I am missing something. On >>>>>>> one hand I can scan the wireless networks and the wifi card seems to be >>>>>>> working. On the other hand I cannot attach as the ath device times out >>>>>>> (which according to the ath man pages should not occur). I also tried to >>>>>>> encrypt the psk phrase with pwa_passphrase but with no success either. I >>>>>>> tested with Kali linux live cd and the wireless was working fine. I also >>>>>>> noticed that if I shutdown Windows and then start FreeBSD then the wifi >>>>>>> also behaves the same way - ath0: device timed out. Only restart from >>>>>>> Windows or restart from FreeBSD with working wifi can make the wifi work >>>>>>> again. >>>>>>> Do you have any other proposals? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Lyubomir >>>>>>> >>>>>>> >>>>>>> On 24 June 2013 23:39, Vincent Hoffman wrote: >>>>>>> >>>>>>>> As an easy test if you arent keen on making the leap just yet I'd >>>>>>>> suggest getting a snapshot CD and just boot it as a liveCD to test. >>>>>>>> either a snapshot >>>>>>>> http://www.freebsd.org/snapshots/ >>>>>>>> or one of the daily builds from >>>>>>>> https://pub.allbsd.org/FreeBSD-snapshots/ >>>>>>>> (for example >>>>>>>> >>>>>>>> https://pub.allbsd.org/FreeBSD-snapshots/amd64-amd64/10.0-HEAD-r252115-JPSNAP/iso/FreeBSD-10.0-HEAD-r252115-JPSNAP-amd64-amd64-release.iso >>>>>>>> ) >>>>>>>> >>>>>>>> That said I run -CURRENT on my server at home (for the atheros >>>>>>>> driver) >>>>>>>> and dont have any problems with it. >>>>>>>> >>>>>>>> Vince >>>>>>>> >>>>>>>> >>>>>>>> On 24/06/2013 21:01, Lyubomir Yotov wrote: >>>>>>>> > Hi Adrian, >>>>>>>> > >>>>>>>> > I will try to get -HEAD on my T60 and will report back. >>>>>>>> > >>>>>>>> > Regards, >>>>>>>> > >>>>>>>> > Lyubomir >>>>>>>> > >>>>>>>> > >>>>>>>> > On 24 June 2013 20:21, Adrian Chadd wrote: >>>>>>>> > >>>>>>>> >> Hi, >>>>>>>> >> >>>>>>>> >> Would you be willing to try a -HEAD snapshot on your laptop? >>>>>>>> >> >>>>>>>> >> Maybe I've fixed it as part of the other driver work that I've >>>>>>>> done as >>>>>>>> >> part of development in -HEAD. >>>>>>>> >> >>>>>>>> >> But right now I really have no idea. I don't have a T60 here >>>>>>>> that has >>>>>>>> >> that chip in it. If all the T60 BIOSes allow AR5418 NICs then I >>>>>>>> can >>>>>>>> >> try it out, but all of the T60's I've played with thus far have >>>>>>>> the >>>>>>>> >> intel hardware in it. >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> Adrian >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> On 21 June 2013 02:02, Lyubomir Yotov wrote: >>>>>>>> >>> Hello Adrian, >>>>>>>> >>> >>>>>>>> >>> Do you have any feedback on the matter? >>>>>>>> >>> >>>>>>>> >>> Regards, >>>>>>>> >>> >>>>>>>> >>> Lyubomir >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> >>> On 13 June 2013 10:09, Lyubomir Yotov >>>>>>>> wrote: >>>>>>>> >>>> Hello Adrian, >>>>>>>> >>>> >>>>>>>> >>>> I enabled acpi_ibm.ko but this didn't help and after "halt" >>>>>>>> the wifi is >>>>>>>> >>>> not working again. >>>>>>>> >>>> >>>>>>>> >>>> Regards, >>>>>>>> >>>> >>>>>>>> >>>> Lyubomir >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> On 13 June 2013 08:03, Lyubomir Yotov >>>>>>>> wrote: >>>>>>>> >>>>> Hello Adrian, >>>>>>>> >>>>> I did some tests and discovered that the problem is related to >>>>>>>> >>>>> "halt"/"shutdown" of system. If "reboot" is carried out than >>>>>>>> there is >>>>>>>> >> no >>>>>>>> >>>>> problem and the wifi works properly (even if done from Gnome >>>>>>>> - Gnome >>>>>>>> >> seems >>>>>>>> >>>>> to have no relation to the problem). So what could lead to >>>>>>>> "ath0: time >>>>>>>> >> out" >>>>>>>> >>>>> after shutting down or halting the system? I noticed that >>>>>>>> there are irq >>>>>>>> >>>>> storms on irq 17 which is the wifi irq (interrupt storm >>>>>>>> detected on >>>>>>>> >>>>> "irq17:"; throttling interrupt source). Something else that I >>>>>>>> am not >>>>>>>> >> sure to >>>>>>>> >>>>> have relevance - after shutdown during the start-up ath0 is >>>>>>>> reported >>>>>>>> >> to use >>>>>>>> >>>>> autoselect mode 11g: >>>>>>>> >>>>> (below is from dmesg) >>>>>>>> >>>>> >>>>>>>> >>>>> ath0: flags=8843 >>>>>>>> metric 0 mtu >>>>>>>> >>>>> 2290 >>>>>>>> >>>>> >>>>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>>>> >>>>> nd6 options=29 >>>>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode >>>>>>>> 11g >>>>>>>> >>>>> status: associated >>>>>>>> >>>>> >>>>>>>> >>>>> After the boot has finished the mode changes to 11a: >>>>>>>> >>>>> >>>>>>>> >>>>> #ifconfig ath0 >>>>>>>> >>>>> >>>>>>>> >>>>> ath0: flags=8843 >>>>>>>> metric 0 mtu >>>>>>>> >>>>> 2290 >>>>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>>>> >>>>> nd6 options=29 >>>>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode >>>>>>>> 11a >>>>>>>> >>>>> status: associated >>>>>>>> >>>>> >>>>>>>> >>>>> Do you have any idea where to look for now? >>>>>>>> >>>>> >>>>>>>> >>>>> Regards, >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> Lyubomir >>>>>>>> >>>>> P.S. I will try to play with acpi_ibm.ko and see if things >>>>>>>> change if I >>>>>>>> >>>>> make it auto-load. >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> On 10 June 2013 16:06, Lyubomir Yotov >>>>>>>> wrote: >>>>>>>> >>>>>> Hello Adrian, >>>>>>>> >>>>>> >>>>>>>> >>>>>> Attached are files with consecutive vmstat -i when the wlan >>>>>>>> is working >>>>>>>> >>>>>> (vmstat-i_working.txt) and when the wlan is not working >>>>>>>> >>>>>> (vmstat-i_not_working.txt). There is also output from >>>>>>>> ifconfig when >>>>>>>> >> the wlan >>>>>>>> >>>>>> is not working (ifconfig.txt). >>>>>>>> >>>>>> After some more deeper investigation it seems to me that the >>>>>>>> problem >>>>>>>> >>>>>> appears after starting X with Gnome. I will continue >>>>>>>> investigating >>>>>>>> >> with >>>>>>>> >>>>>> "reboot"/"halt -p" and inform you. >>>>>>>> >>>>>> BTW do you think that starting Gnome session (using startx, >>>>>>>> as I >>>>>>>> >> haven't >>>>>>>> >>>>>> set auto start of X if this is of any importance) can cause >>>>>>>> problems >>>>>>>> >> - in >>>>>>>> >>>>>> Gnome I have no settings for the network in the >>>>>>>> "System->Network" >>>>>>>> >>>>>> application and I start it with normal user? >>>>>>>> >>>>>> >>>>>>>> >>>>>> Regards, >>>>>>>> >>>>>> >>>>>>>> >>>>>> Lyubo >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> On 9 June 2013 18:28, Adrian Chadd >>>>>>>> wrote: >>>>>>>> >>>>>>> Can you please paste the vmstat -i output? >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> adrian >>>>>>>> >>>>>>> >>>>>>>> >>>>>>> On 9 June 2013 06:53, Lyubomir Yotov >>>>>>>> wrote: >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> After restart from Windows and working wireless the number >>>>>>>> of >>>>>>>> >>>>>>>> interrupts >>>>>>>> >>>>>>>> increases and the rate increases. After next restart (the >>>>>>>> ath0 >>>>>>>> >> times >>>>>>>> >>>>>>>> out) >>>>>>>> >>>>>>>> the interrupts increase but the rate is going down. >>>>>>>> >>>>>>>> I noticed that after restart from Windows and working wifi >>>>>>>> if I >>>>>>>> >>>>>>>> restart >>>>>>>> >>>>>>>> /etc/rc.d/netif the wifi is working again. If I shutdown >>>>>>>> wlan0 and >>>>>>>> >>>>>>>> bring it >>>>>>>> >>>>>>>> up again then I wlan0 doesn't get address but ath0 is not >>>>>>>> timing >>>>>>>> >> out. >>>>>>>> >>>>>>>> I can >>>>>>>> >>>>>>>> still get a list with the available APs around. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Lyubo >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On 8 June 2013 18:28, Adrian Chadd >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hm! >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> Ok, this should be working. I frequently test (read: >>>>>>>> every other >>>>>>>> >>>>>>>>> day) >>>>>>>> >>>>>>>>> with the AR5416. But you're not the first person to >>>>>>>> report this >>>>>>>> >> bug. >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> Unfortunately when this happens, the interrupts aren't >>>>>>>> actually >>>>>>>> >>>>>>>>> making >>>>>>>> >>>>>>>>> it to the OS. >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> Can you check the output of vmstat -i whilst you're doing >>>>>>>> it? The >>>>>>>> >>>>>>>>> ath0 >>>>>>>> >>>>>>>>> counter should be increasing. >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> adrian >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> On 8 June 2013 06:49, Lyubomir Yotov >>>>>>>> wrote: >>>>>>>> >>>>>>>>>> Hello, >>>>>>>> >>>>>>>>>> I have a Thinkpad T60 with dual boot between Windows XP >>>>>>>> and >>>>>>>> >>>>>>>>>> FreeBSD >>>>>>>> >>>>>>>>>> 9.1-Release: >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> uname -a >>>>>>>> >>>>>>>>>> FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 >>>>>>>> >> r243826: >>>>>>>> >>>>>>>>>> Tue >>>>>>>> >>>>>>>>>> Dec >>>>>>>> >>>>>>>>>> 4 06:55:39 UTC 2012 >>>>>>>> >>>>>>>>>> root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >>>>>>>> >>>>>>>>>> i386 >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> I am trying to use my wifi card which is: >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> dmesg >>>>>>>> >>>>>>>>>> .... >>>>>>>> >>>>>>>>>> ath0: mem 0xedf00000-0xedf0ffff irq 17 at >>>>>>>> device >>>>>>>> >>>>>>>>>> 0.0 on >>>>>>>> >>>>>>>>>> pci3 >>>>>>>> >>>>>>>>>> ath0: AR5418 mac 12.10 RF5133 phy 8.1 >>>>>>>> >>>>>>>>>> .... >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> pciconf -lv >>>>>>>> >>>>>>>>>> .... >>>>>>>> >>>>>>>>>> ath0@pci0:3:0:0: class=0x028000 card=0x0033168c >>>>>>>> >>>>>>>>>> chip=0x0024168c >>>>>>>> >>>>>>>>>> rev=0x01 hdr=0x00 >>>>>>>> >>>>>>>>>> vendor = 'Atheros Communications Inc.' >>>>>>>> >>>>>>>>>> device = 'AR5008 Wireless Network Adapter' >>>>>>>> >>>>>>>>>> class = network >>>>>>>> >>>>>>>>>> ..... >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> I followed several HOW-TOs in order to make it work. >>>>>>>> >> Unfortunately >>>>>>>> >>>>>>>>>> I it >>>>>>>> >>>>>>>>>> is >>>>>>>> >>>>>>>>>> working only after I reboot from my Windows installation >>>>>>>> >>>>>>>>>> (regardless of >>>>>>>> >>>>>>>>>> the >>>>>>>> >>>>>>>>>> position of the wifi switch on the front panel of the >>>>>>>> notebook). >>>>>>>> >>>>>>>>>> After >>>>>>>> >>>>>>>>>> restart from Windows everything is fine - the wifi >>>>>>>> associates >>>>>>>> >> with >>>>>>>> >>>>>>>>>> the >>>>>>>> >>>>>>>>>> AP >>>>>>>> >>>>>>>>>> and I can use it. If I reboot the system during the boot >>>>>>>> and >>>>>>>> >>>>>>>>>> afterwards >>>>>>>> >>>>>>>>>> I >>>>>>>> >>>>>>>>>> constantly get: >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> ath0: device timeout >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> When I get the device status through ifconfig I can see >>>>>>>> that >>>>>>>> >> ath0 >>>>>>>> >>>>>>>>>> is >>>>>>>> >>>>>>>>>> associated but wlan0 is not associated. >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> ifconfig ath0 >>>>>>>> >>>>>>>>>> ath0: flags=8843 >>>>>>>> metric >>>>>>>> >> 0 >>>>>>>> >>>>>>>>>> mtu >>>>>>>> >>>>>>>>>> 2290 >>>>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>>>> >>>>>>>>>> nd6 >>>>>>>> options=29 >>>>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>>>> mode 11g >>>>>>>> >>>>>>>>>> status: associated >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> ifconfig wlan0 >>>>>>>> >>>>>>>>>> wlan0: flags=8843 >>>>>>>> >> metric 0 >>>>>>>> >>>>>>>>>> mtu >>>>>>>> >>>>>>>>>> 1500 >>>>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>>>> >>>>>>>>>> nd6 >>>>>>>> options=29 >>>>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>>>> >>>>>>>>>> (autoselect) >>>>>>>> >>>>>>>>>> status: no carrier >>>>>>>> >>>>>>>>>> ssid "" channel 5 (2432 MHz 11g) >>>>>>>> >>>>>>>>>> regdomain 98 indoor ecm authmode WPA privacy ON >>>>>>>> deftxkey >>>>>>>> >>>>>>>>>> UNDEF >>>>>>>> >>>>>>>>>> txpower 20 bmiss 7 scanvalid 450 bgscan >>>>>>>> bgscanintvl 300 >>>>>>>> >>>>>>>>>> bgscanidle >>>>>>>> >>>>>>>>>> 250 >>>>>>>> >>>>>>>>>> roam:rssi 7 roam:rate 5 protmode CTS wme burst >>>>>>>> roaming >>>>>>>> >>>>>>>>>> MANUAL >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> In /var/log/messages I get: >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to >>>>>>>> associate >>>>>>>> >> with >>>>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >>>>>>>> >>>>>>>>>> Jun 8 16:39:20 PC kernel: ath0: device timeout >>>>>>>> >>>>>>>>>> Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication >>>>>>>> with >>>>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx timed out. >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> If I scan for wireless networks I get a list and my ap >>>>>>>> is in the >>>>>>>> >>>>>>>>>> list >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> ifconfig wlan0 scan >>>>>>>> >>>>>>>>>> SSID/MESH ID BSSID CHAN RATE S:N >>>>>>>> INT CAPS >>>>>>>> >>>>>>>>>> net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >>>>>>>> >>>>>>>>>> 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 >>>>>>>> 100 EP >>>>>>>> >> WPS >>>>>>>> >>>>>>>>>> WPA >>>>>>>> >>>>>>>>>> WME >>>>>>>> >>>>>>>>>> access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 >>>>>>>> EP WPA >>>>>>>> >>>>>>>>>> HTCAP >>>>>>>> >>>>>>>>>> WME >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> In rc.local I have: >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> wlans_ath0="wlan0" >>>>>>>> >>>>>>>>>> ifconfig_wlan0="WPA DHCP" >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> In wpa_supplicant I have: >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>>>>> >>>>>>>>>> eapol_version=2 >>>>>>>> >>>>>>>>>> ap_scan=1 >>>>>>>> >>>>>>>>>> fast_reauth=1 >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> network={ >>>>>>>> >>>>>>>>>> ssid="access1" >>>>>>>> >>>>>>>>>> psk="secret1" >>>>>>>> >>>>>>>>>> priority=5 >>>>>>>> >>>>>>>>>> } >>>>>>>> >>>>>>>>>> network={ >>>>>>>> >>>>>>>>>> ssid="access2" >>>>>>>> >>>>>>>>>> psk="secret2" >>>>>>>> >>>>>>>>>> priority=5 >>>>>>>> >>>>>>>>>> } >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> I searched the net for solution to my problem but I >>>>>>>> couldn't >>>>>>>> >> find >>>>>>>> >>>>>>>>>> one. >>>>>>>> >>>>>>>>>> Can >>>>>>>> >>>>>>>>>> you help me with this? >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> Regards, >>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>>>> Lyubomir >>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>> >>>>>>>>>> freebsd-mobile@freebsd.org mailing list >>>>>>>> >>>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >>>>>>>> >>>>>>>>>> To unsubscribe, send any mail to >>>>>>>> >>>>>>>>>> "freebsd-mobile-unsubscribe@freebsd.org" >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> >>>>>>>> > _______________________________________________ >>>>>>>> > freebsd-wireless@freebsd.org mailing list >>>>>>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>>>> > To unsubscribe, send any mail to " >>>>>>>> freebsd-wireless-unsubscribe@freebsd.org" >>>>>>>> > >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 6 05:10:22 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04AAE182; Mon, 6 Jan 2014 05:10:22 +0000 (UTC) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8FE1E15C1; Mon, 6 Jan 2014 05:10:21 +0000 (UTC) Received: by mail-qc0-f177.google.com with SMTP id m20so16957992qcx.8 for ; Sun, 05 Jan 2014 21:10:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=XY+EH1IgczCgZ58G/IYDgI0PenRxa0oeP4RbHE9cstI=; b=UVlYX3aa3osH/hEypdm3eJsZBGeAcmk0HEp1Ap7X2+J3nztAhIC3i0VqLwizFaUWCd T3/55Ff5jwe+7F9xS10GZcNrfN2EpJv3oU6/8CX7SdeEUOUC2MBM4VtzrDz+wENLmfgZ 4/5b703CGpm/LYFZRJv7t/cauYsVwZHASWaGtgtFbfL5yAHxLanz3IGk6GprM2RZ5MXg yVuGp3OfRokR6vmOBJHB+nv9ilOOzIhYtnwSL0aC4BxX6MFY1JO/YhiCvDVC2077M53h ztHzhhwhFOPXgMWP0kCv36bLV3bdUuDHXuAi7ogYTjNJwXx2k0rWTcpT+Axvs+YgvRL0 9xAA== MIME-Version: 1.0 X-Received: by 10.49.34.207 with SMTP id b15mr181216549qej.49.1388985020728; Sun, 05 Jan 2014 21:10:20 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Sun, 5 Jan 2014 21:10:20 -0800 (PST) In-Reply-To: References: <51C8AE67.7040801@unsane.co.uk> Date: Sun, 5 Jan 2014 21:10:20 -0800 X-Google-Sender-Auth: tvdBYeToEvgQM4R2cAi5hQ5udUs Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Adrian Chadd To: Lyubomir Yotov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" , Vincent Hoffman , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jan 2014 05:10:22 -0000 Ok, can you provide me a dmesg please? That way I can see what the specific chipset revision is. Lemme go crack open my T60 and put an AR5418 in there :-) -a On 5 January 2014 14:10, Lyubomir Yotov wrote: > Hi Adrian, > > I tried with 11.0-CURRENT as a livecd but no success (below is the > wpa_supplicant after issuing 'ifconfig wlan0 create wlandev ath0'): > wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf > ###remark - start of wpa_supplicant output > Successfully initialized wpa_supplicant > wlan0: Trying to associate with 54:e6:fc:ae:6a:bc (SSID='aero-gate' > freq=2432 MHz) > wlan0: Authentication with 54:e6:fc:ae:6a:bc timed out. > wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:ae:6a:bc reason=3 > locally_generated=1 > wlan0: Trying to associate with 54:e6:fc:ae:6a:bc (SSID='aero-gate' > freq=2432 MHz) > wlan0: Authentication with 54:e6:fc:ae:6a:bc timed out. > wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:ae:6a:bc reason=3 > locally_generated=1 > wlan0: Trying to associate with 54:e6:fc:ae:6a:bc (SSID='aero-gate' > freq=2432 MHz) > wlan0: CTRL-EVENT-DISCONNECTED bssid=54:e6:fc:ae:6a:bc reason=3 > locally_generated=1 > ###remark - here I press Ctrl+C > ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Can't assign requested address > ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported > wlan0: CTRL-EVENT-TERMINATING > ###remark - end of wpa_supplicant output > > Any ideas? > > Lyubo > > > On 5 January 2014 23:57, Adrian Chadd wrote: > >> Ok, please do. >> >> I have a T60 with me and some AR5418 NICs, so I don't mind doing a >> transplant and trying to make it work! >> >> >> -a >> >> >> >> On 5 January 2014 08:53, Lyubomir Yotov wrote: >> >>> Not yet but I will give it a go these days. >>> >>> Thanks, >>> >>> Lyubomir >>> >>> >>> On 5 January 2014 09:45, Adrian Chadd wrote: >>> >>>> Have you tried -11? >>>> >>>> >>>> -a >>>> >>>> >>>> On 30 December 2013 09:25, Lyubomir Yotov wrote: >>>> >>>>> Hi Andrian, >>>>> >>>>> Merry Christmas and all the best for the New Year! >>>>> I would like to ask if there is something on the horizon with the >>>>> Atheros time outs? Is there any chance in getting it working without >>>>> restart to Windows (in my case)? Is there anything else I can try? >>>>> Currently I am with 9.2-RELEASE #0 r255898. >>>>> >>>>> All the best, >>>>> >>>>> Lyubomir >>>>> >>>>> >>>>> On 17 July 2013 23:06, Lyubomir Yotov wrote: >>>>> >>>>>> Hi, >>>>>> No problem, I fully understand you. If you manage to find something I >>>>>> will be more than grateful. Anyway thanks for your time! I think you are >>>>>> doing quite a god job! >>>>>> >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> Lyubo >>>>>> >>>>>> >>>>>> >>>>>> On 16 July 2013 11:51, Adrian Chadd wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I'm sorry, I don't have the time to try and debug this issue. If I >>>>>>> had a T60 here that demonstrated this behaviour then I could try to fix it. >>>>>>> But I unfortunately don't; all my T60 hardware has intel wifi. :( >>>>>>> >>>>>>> I can try putting an AR5418 in a T60 in a few weeks and see if it >>>>>>> exhibits this behaviour. But don't hold your breath. >>>>>>> >>>>>>> Sorry :( >>>>>>> >>>>>>> >>>>>>> >>>>>>> -adrian >>>>>>> >>>>>>> >>>>>>> On 15 July 2013 13:30, Lyubomir Yotov wrote: >>>>>>> >>>>>>>> Hi Adrian, >>>>>>>> I tried with -HEAD liveCD as proposed by Vincent and ghostbsd live >>>>>>>> cd but the situation is the same. I feel like I am missing something. On >>>>>>>> one hand I can scan the wireless networks and the wifi card seems to be >>>>>>>> working. On the other hand I cannot attach as the ath device times out >>>>>>>> (which according to the ath man pages should not occur). I also tried to >>>>>>>> encrypt the psk phrase with pwa_passphrase but with no success either. I >>>>>>>> tested with Kali linux live cd and the wireless was working fine. I also >>>>>>>> noticed that if I shutdown Windows and then start FreeBSD then the wifi >>>>>>>> also behaves the same way - ath0: device timed out. Only restart from >>>>>>>> Windows or restart from FreeBSD with working wifi can make the wifi work >>>>>>>> again. >>>>>>>> Do you have any other proposals? >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> Lyubomir >>>>>>>> >>>>>>>> >>>>>>>> On 24 June 2013 23:39, Vincent Hoffman wrote: >>>>>>>> >>>>>>>>> As an easy test if you arent keen on making the leap just yet I'd >>>>>>>>> suggest getting a snapshot CD and just boot it as a liveCD to test. >>>>>>>>> either a snapshot >>>>>>>>> http://www.freebsd.org/snapshots/ >>>>>>>>> or one of the daily builds from >>>>>>>>> https://pub.allbsd.org/FreeBSD-snapshots/ >>>>>>>>> (for example >>>>>>>>> >>>>>>>>> https://pub.allbsd.org/FreeBSD-snapshots/amd64-amd64/10.0-HEAD-r252115-JPSNAP/iso/FreeBSD-10.0-HEAD-r252115-JPSNAP-amd64-amd64-release.iso >>>>>>>>> ) >>>>>>>>> >>>>>>>>> That said I run -CURRENT on my server at home (for the atheros >>>>>>>>> driver) >>>>>>>>> and dont have any problems with it. >>>>>>>>> >>>>>>>>> Vince >>>>>>>>> >>>>>>>>> >>>>>>>>> On 24/06/2013 21:01, Lyubomir Yotov wrote: >>>>>>>>> > Hi Adrian, >>>>>>>>> > >>>>>>>>> > I will try to get -HEAD on my T60 and will report back. >>>>>>>>> > >>>>>>>>> > Regards, >>>>>>>>> > >>>>>>>>> > Lyubomir >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > On 24 June 2013 20:21, Adrian Chadd wrote: >>>>>>>>> > >>>>>>>>> >> Hi, >>>>>>>>> >> >>>>>>>>> >> Would you be willing to try a -HEAD snapshot on your laptop? >>>>>>>>> >> >>>>>>>>> >> Maybe I've fixed it as part of the other driver work that I've >>>>>>>>> done as >>>>>>>>> >> part of development in -HEAD. >>>>>>>>> >> >>>>>>>>> >> But right now I really have no idea. I don't have a T60 here >>>>>>>>> that has >>>>>>>>> >> that chip in it. If all the T60 BIOSes allow AR5418 NICs then I >>>>>>>>> can >>>>>>>>> >> try it out, but all of the T60's I've played with thus far have >>>>>>>>> the >>>>>>>>> >> intel hardware in it. >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> Adrian >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> On 21 June 2013 02:02, Lyubomir Yotov >>>>>>>>> wrote: >>>>>>>>> >>> Hello Adrian, >>>>>>>>> >>> >>>>>>>>> >>> Do you have any feedback on the matter? >>>>>>>>> >>> >>>>>>>>> >>> Regards, >>>>>>>>> >>> >>>>>>>>> >>> Lyubomir >>>>>>>>> >>> >>>>>>>>> >>> >>>>>>>>> >>> On 13 June 2013 10:09, Lyubomir Yotov >>>>>>>>> wrote: >>>>>>>>> >>>> Hello Adrian, >>>>>>>>> >>>> >>>>>>>>> >>>> I enabled acpi_ibm.ko but this didn't help and after "halt" >>>>>>>>> the wifi is >>>>>>>>> >>>> not working again. >>>>>>>>> >>>> >>>>>>>>> >>>> Regards, >>>>>>>>> >>>> >>>>>>>>> >>>> Lyubomir >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> On 13 June 2013 08:03, Lyubomir Yotov >>>>>>>>> wrote: >>>>>>>>> >>>>> Hello Adrian, >>>>>>>>> >>>>> I did some tests and discovered that the problem is related >>>>>>>>> to >>>>>>>>> >>>>> "halt"/"shutdown" of system. If "reboot" is carried out than >>>>>>>>> there is >>>>>>>>> >> no >>>>>>>>> >>>>> problem and the wifi works properly (even if done from Gnome >>>>>>>>> - Gnome >>>>>>>>> >> seems >>>>>>>>> >>>>> to have no relation to the problem). So what could lead to >>>>>>>>> "ath0: time >>>>>>>>> >> out" >>>>>>>>> >>>>> after shutting down or halting the system? I noticed that >>>>>>>>> there are irq >>>>>>>>> >>>>> storms on irq 17 which is the wifi irq (interrupt storm >>>>>>>>> detected on >>>>>>>>> >>>>> "irq17:"; throttling interrupt source). Something else that >>>>>>>>> I am not >>>>>>>>> >> sure to >>>>>>>>> >>>>> have relevance - after shutdown during the start-up ath0 is >>>>>>>>> reported >>>>>>>>> >> to use >>>>>>>>> >>>>> autoselect mode 11g: >>>>>>>>> >>>>> (below is from dmesg) >>>>>>>>> >>>>> >>>>>>>>> >>>>> ath0: flags=8843 >>>>>>>>> metric 0 mtu >>>>>>>>> >>>>> 2290 >>>>>>>>> >>>>> >>>>>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>>>>> >>>>> nd6 options=29 >>>>>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode >>>>>>>>> 11g >>>>>>>>> >>>>> status: associated >>>>>>>>> >>>>> >>>>>>>>> >>>>> After the boot has finished the mode changes to 11a: >>>>>>>>> >>>>> >>>>>>>>> >>>>> #ifconfig ath0 >>>>>>>>> >>>>> >>>>>>>>> >>>>> ath0: flags=8843 >>>>>>>>> metric 0 mtu >>>>>>>>> >>>>> 2290 >>>>>>>>> >>>>> ether 00:19:7e:91:xx:xx >>>>>>>>> >>>>> nd6 options=29 >>>>>>>>> >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode >>>>>>>>> 11a >>>>>>>>> >>>>> status: associated >>>>>>>>> >>>>> >>>>>>>>> >>>>> Do you have any idea where to look for now? >>>>>>>>> >>>>> >>>>>>>>> >>>>> Regards, >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> Lyubomir >>>>>>>>> >>>>> P.S. I will try to play with acpi_ibm.ko and see if things >>>>>>>>> change if I >>>>>>>>> >>>>> make it auto-load. >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> On 10 June 2013 16:06, Lyubomir Yotov >>>>>>>>> wrote: >>>>>>>>> >>>>>> Hello Adrian, >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> Attached are files with consecutive vmstat -i when the wlan >>>>>>>>> is working >>>>>>>>> >>>>>> (vmstat-i_working.txt) and when the wlan is not working >>>>>>>>> >>>>>> (vmstat-i_not_working.txt). There is also output from >>>>>>>>> ifconfig when >>>>>>>>> >> the wlan >>>>>>>>> >>>>>> is not working (ifconfig.txt). >>>>>>>>> >>>>>> After some more deeper investigation it seems to me that >>>>>>>>> the problem >>>>>>>>> >>>>>> appears after starting X with Gnome. I will continue >>>>>>>>> investigating >>>>>>>>> >> with >>>>>>>>> >>>>>> "reboot"/"halt -p" and inform you. >>>>>>>>> >>>>>> BTW do you think that starting Gnome session (using startx, >>>>>>>>> as I >>>>>>>>> >> haven't >>>>>>>>> >>>>>> set auto start of X if this is of any importance) can cause >>>>>>>>> problems >>>>>>>>> >> - in >>>>>>>>> >>>>>> Gnome I have no settings for the network in the >>>>>>>>> "System->Network" >>>>>>>>> >>>>>> application and I start it with normal user? >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> Regards, >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> Lyubo >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> On 9 June 2013 18:28, Adrian Chadd >>>>>>>>> wrote: >>>>>>>>> >>>>>>> Can you please paste the vmstat -i output? >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> adrian >>>>>>>>> >>>>>>> >>>>>>>>> >>>>>>> On 9 June 2013 06:53, Lyubomir Yotov >>>>>>>>> wrote: >>>>>>>>> >>>>>>>> Hi, >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> After restart from Windows and working wireless the >>>>>>>>> number of >>>>>>>>> >>>>>>>> interrupts >>>>>>>>> >>>>>>>> increases and the rate increases. After next restart (the >>>>>>>>> ath0 >>>>>>>>> >> times >>>>>>>>> >>>>>>>> out) >>>>>>>>> >>>>>>>> the interrupts increase but the rate is going down. >>>>>>>>> >>>>>>>> I noticed that after restart from Windows and working >>>>>>>>> wifi if I >>>>>>>>> >>>>>>>> restart >>>>>>>>> >>>>>>>> /etc/rc.d/netif the wifi is working again. If I shutdown >>>>>>>>> wlan0 and >>>>>>>>> >>>>>>>> bring it >>>>>>>>> >>>>>>>> up again then I wlan0 doesn't get address but ath0 is not >>>>>>>>> timing >>>>>>>>> >> out. >>>>>>>>> >>>>>>>> I can >>>>>>>>> >>>>>>>> still get a list with the available APs around. >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> Regards, >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> Lyubo >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>> On 8 June 2013 18:28, Adrian Chadd >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Hm! >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Ok, this should be working. I frequently test (read: >>>>>>>>> every other >>>>>>>>> >>>>>>>>> day) >>>>>>>>> >>>>>>>>> with the AR5416. But you're not the first person to >>>>>>>>> report this >>>>>>>>> >> bug. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Unfortunately when this happens, the interrupts aren't >>>>>>>>> actually >>>>>>>>> >>>>>>>>> making >>>>>>>>> >>>>>>>>> it to the OS. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Can you check the output of vmstat -i whilst you're >>>>>>>>> doing it? The >>>>>>>>> >>>>>>>>> ath0 >>>>>>>>> >>>>>>>>> counter should be increasing. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> adrian >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On 8 June 2013 06:49, Lyubomir Yotov >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hello, >>>>>>>>> >>>>>>>>>> I have a Thinkpad T60 with dual boot between Windows XP >>>>>>>>> and >>>>>>>>> >>>>>>>>>> FreeBSD >>>>>>>>> >>>>>>>>>> 9.1-Release: >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> uname -a >>>>>>>>> >>>>>>>>>> FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 >>>>>>>>> >> r243826: >>>>>>>>> >>>>>>>>>> Tue >>>>>>>>> >>>>>>>>>> Dec >>>>>>>>> >>>>>>>>>> 4 06:55:39 UTC 2012 >>>>>>>>> >>>>>>>>>> root@obrian.cse.buffalo.edu: >>>>>>>>> /usr/obj/usr/src/sys/GENERIC >>>>>>>>> >>>>>>>>>> i386 >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> I am trying to use my wifi card which is: >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> dmesg >>>>>>>>> >>>>>>>>>> .... >>>>>>>>> >>>>>>>>>> ath0: mem 0xedf00000-0xedf0ffff irq 17 >>>>>>>>> at device >>>>>>>>> >>>>>>>>>> 0.0 on >>>>>>>>> >>>>>>>>>> pci3 >>>>>>>>> >>>>>>>>>> ath0: AR5418 mac 12.10 RF5133 phy 8.1 >>>>>>>>> >>>>>>>>>> .... >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> pciconf -lv >>>>>>>>> >>>>>>>>>> .... >>>>>>>>> >>>>>>>>>> ath0@pci0:3:0:0: class=0x028000 card=0x0033168c >>>>>>>>> >>>>>>>>>> chip=0x0024168c >>>>>>>>> >>>>>>>>>> rev=0x01 hdr=0x00 >>>>>>>>> >>>>>>>>>> vendor = 'Atheros Communications Inc.' >>>>>>>>> >>>>>>>>>> device = 'AR5008 Wireless Network Adapter' >>>>>>>>> >>>>>>>>>> class = network >>>>>>>>> >>>>>>>>>> ..... >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> I followed several HOW-TOs in order to make it work. >>>>>>>>> >> Unfortunately >>>>>>>>> >>>>>>>>>> I it >>>>>>>>> >>>>>>>>>> is >>>>>>>>> >>>>>>>>>> working only after I reboot from my Windows installation >>>>>>>>> >>>>>>>>>> (regardless of >>>>>>>>> >>>>>>>>>> the >>>>>>>>> >>>>>>>>>> position of the wifi switch on the front panel of the >>>>>>>>> notebook). >>>>>>>>> >>>>>>>>>> After >>>>>>>>> >>>>>>>>>> restart from Windows everything is fine - the wifi >>>>>>>>> associates >>>>>>>>> >> with >>>>>>>>> >>>>>>>>>> the >>>>>>>>> >>>>>>>>>> AP >>>>>>>>> >>>>>>>>>> and I can use it. If I reboot the system during the >>>>>>>>> boot and >>>>>>>>> >>>>>>>>>> afterwards >>>>>>>>> >>>>>>>>>> I >>>>>>>>> >>>>>>>>>> constantly get: >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> ath0: device timeout >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> When I get the device status through ifconfig I can see >>>>>>>>> that >>>>>>>>> >> ath0 >>>>>>>>> >>>>>>>>>> is >>>>>>>>> >>>>>>>>>> associated but wlan0 is not associated. >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> ifconfig ath0 >>>>>>>>> >>>>>>>>>> ath0: >>>>>>>>> flags=8843 metric >>>>>>>>> >> 0 >>>>>>>>> >>>>>>>>>> mtu >>>>>>>>> >>>>>>>>>> 2290 >>>>>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>>>>> >>>>>>>>>> nd6 >>>>>>>>> options=29 >>>>>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>>>>> mode 11g >>>>>>>>> >>>>>>>>>> status: associated >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> ifconfig wlan0 >>>>>>>>> >>>>>>>>>> wlan0: >>>>>>>>> flags=8843 >>>>>>>>> >> metric 0 >>>>>>>>> >>>>>>>>>> mtu >>>>>>>>> >>>>>>>>>> 1500 >>>>>>>>> >>>>>>>>>> ether 00:19:7e:91:xx:xx >>>>>>>>> >>>>>>>>>> nd6 >>>>>>>>> options=29 >>>>>>>>> >>>>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>>>>> >>>>>>>>>> (autoselect) >>>>>>>>> >>>>>>>>>> status: no carrier >>>>>>>>> >>>>>>>>>> ssid "" channel 5 (2432 MHz 11g) >>>>>>>>> >>>>>>>>>> regdomain 98 indoor ecm authmode WPA privacy ON >>>>>>>>> deftxkey >>>>>>>>> >>>>>>>>>> UNDEF >>>>>>>>> >>>>>>>>>> txpower 20 bmiss 7 scanvalid 450 bgscan >>>>>>>>> bgscanintvl 300 >>>>>>>>> >>>>>>>>>> bgscanidle >>>>>>>>> >>>>>>>>>> 250 >>>>>>>>> >>>>>>>>>> roam:rssi 7 roam:rate 5 protmode CTS wme burst >>>>>>>>> roaming >>>>>>>>> >>>>>>>>>> MANUAL >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> In /var/log/messages I get: >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to >>>>>>>>> associate >>>>>>>>> >> with >>>>>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >>>>>>>>> >>>>>>>>>> Jun 8 16:39:20 PC kernel: ath0: device timeout >>>>>>>>> >>>>>>>>>> Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication >>>>>>>>> with >>>>>>>>> >>>>>>>>>> 54:e6:fc:ae:xx:xx timed out. >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> If I scan for wireless networks I get a list and my ap >>>>>>>>> is in the >>>>>>>>> >>>>>>>>>> list >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> ifconfig wlan0 scan >>>>>>>>> >>>>>>>>>> SSID/MESH ID BSSID CHAN RATE S:N >>>>>>>>> INT CAPS >>>>>>>>> >>>>>>>>>> net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >>>>>>>>> >>>>>>>>>> 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 >>>>>>>>> 100 EP >>>>>>>>> >> WPS >>>>>>>>> >>>>>>>>>> WPA >>>>>>>>> >>>>>>>>>> WME >>>>>>>>> >>>>>>>>>> access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 >>>>>>>>> EP WPA >>>>>>>>> >>>>>>>>>> HTCAP >>>>>>>>> >>>>>>>>>> WME >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> In rc.local I have: >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> wlans_ath0="wlan0" >>>>>>>>> >>>>>>>>>> ifconfig_wlan0="WPA DHCP" >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> In wpa_supplicant I have: >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> ctrl_interface=/var/run/wpa_supplicant >>>>>>>>> >>>>>>>>>> eapol_version=2 >>>>>>>>> >>>>>>>>>> ap_scan=1 >>>>>>>>> >>>>>>>>>> fast_reauth=1 >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> network={ >>>>>>>>> >>>>>>>>>> ssid="access1" >>>>>>>>> >>>>>>>>>> psk="secret1" >>>>>>>>> >>>>>>>>>> priority=5 >>>>>>>>> >>>>>>>>>> } >>>>>>>>> >>>>>>>>>> network={ >>>>>>>>> >>>>>>>>>> ssid="access2" >>>>>>>>> >>>>>>>>>> psk="secret2" >>>>>>>>> >>>>>>>>>> priority=5 >>>>>>>>> >>>>>>>>>> } >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> I searched the net for solution to my problem but I >>>>>>>>> couldn't >>>>>>>>> >> find >>>>>>>>> >>>>>>>>>> one. >>>>>>>>> >>>>>>>>>> Can >>>>>>>>> >>>>>>>>>> you help me with this? >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> Regards, >>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> Lyubomir >>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>> >>>>>>>>>> freebsd-mobile@freebsd.org mailing list >>>>>>>>> >>>>>>>>>> >>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >>>>>>>>> >>>>>>>>>> To unsubscribe, send any mail to >>>>>>>>> >>>>>>>>>> "freebsd-mobile-unsubscribe@freebsd.org" >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>> >>>>>>>>> > _______________________________________________ >>>>>>>>> > freebsd-wireless@freebsd.org mailing list >>>>>>>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>>>>> > To unsubscribe, send any mail to " >>>>>>>>> freebsd-wireless-unsubscribe@freebsd.org" >>>>>>>>> > >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 9 13:22:47 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5762B5A6 for ; Thu, 9 Jan 2014 13:22:47 +0000 (UTC) Received: from sh4-5.1blu.de (sh4-5.1blu.de [178.254.11.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1E155135C for ; Thu, 9 Jan 2014 13:22:46 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.76) (envelope-from ) id 1W1FZF-0000H0-Oh for freebsd-mobile@freebsd.org; Thu, 09 Jan 2014 14:22:37 +0100 Date: Thu, 9 Jan 2014 14:22:37 +0100 From: Matthias Apitz To: freebsd-mobile@freebsd.org Subject: looking for new netbook to replace EeePC 900 Message-ID: <20140109132237.GA31449@sh4-5.1blu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 13:22:47 -0000 Hello, I'm currently using as netbook an EeePC 900 with FreeBSD 10-CURRENT, KDE4, Skype, ... I'm looking for a replacement of this which should match: - FreeBSD 10-CURRENT - 2-4 GByte RAM - 20++ GByte SSD - 1-2 CPU 1++ GHz - display 1024x600 (or better), 9-10 inch (not bigger) - built-in cam supported by webcamd, built-in audio; - QWERTY keyboard and touchpad Any recommendations? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards