Return-path: Received: from mail-wm0-f51.google.com ([74.125.82.51]:32999 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752364AbcGSRlg convert rfc822-to-8bit (ORCPT ); Tue, 19 Jul 2016 13:41:36 -0400 Received: by mail-wm0-f51.google.com with SMTP id r190so27327082wmr.0 for ; Tue, 19 Jul 2016 10:41:35 -0700 (PDT) From: Christopher Williamson In-Reply-To: References: <1468946312.5661.2.camel@redhat.com> MIME-Version: 1.0 Date: Tue, 19 Jul 2016 13:41:34 -0400 Message-ID: (sfid-20160719_194140_977732_E72BC698) Subject: Re: Problem connecting to wifi on libertas_cpio (sd8686) To: "linux-wireless@vger.kernel.org" , Dan Williams Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: So I’ve now disabled IPv6 and have set the GB (Great Britain) regulation code using: iw reg set IN Now when I try to connect to the network using wicd the system seems to crash - I guess at least it’s doing something more than just asking for the password again like it did with NetworkManager but so far no further progress on getting this working properly. Christopher Williamson On 19 July 2016 at 18:03:16, Christopher Williamson (home@chrisaw.com(mailto:home@chrisaw.com)) wrote: > Absolutely! > > With the debug logging enabled I got the following: > > Connecting the device initially with debug enabled: > > [ 205.302685] libertas_sdio: Libertas SDIO driver > [ 205.302698] libertas_sdio: Copyright Pierre Ossman > [ 205.503465] cfg80211: World regulatory domain updated: > [ 205.503478] cfg80211: DFS Master region: unset > [ 205.503483] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) > [ 205.503492] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) > [ 205.503499] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) > [ 205.503505] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) > [ 205.503513] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) > [ 205.503522] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) > [ 205.503529] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) > [ 205.503535] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) > [ 205.503542] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) > [ 212.249171] gma500 0000:00:02.0: Backlight lvds set brightness 7a127a12 > [ 212.324898] mmc1: new SDIO card at address 0001 > [ 212.921672] libertas_sdio mmc1:0001:1 (unnamed net_device) (uninitialized): 00:02:78:69:49:94, fw 9.70.20p0, cap 0x00000303 > [ 212.925774] libertas_sdio mmc1:0001:1 (unnamed net_device) (uninitialized): PREP_CMD: command 0x00a3 failed: 2 > [ 212.936190] libertas_sdio mmc1:0001:1 wlan0: Marvell WLAN 802.11 adapter > [ 213.053612] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready > > > Strangely when I attempt to connect to the WiFi network I’m using the only error I get is: > > [ 338.076632] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready > > I was expecting more output and am guessing I’ve missed something here. > > Christopher Williamson > > On 19 July 2016 at 17:38:35, Dan Williams (dcbw@redhat.com(mailto:dcbw@redhat.com)) wrote: > > > On Tue, 2016-07-19 at 12:06 -0400, Christopher Williamson wrote: > > > Hi everyone! > > > > > > I’ve just got myself a Viliv N5 and am trying to get the integrated > > > Wifi chipset working on it. > > > > > > I am able to see networks around me but any attempts to connect them > > > appear to time out and fail. > > > > > > I have filed a linux kernel bug related to this issue: > > > https://bugzilla.kernel.org/show_bug.cgi?id=135421goo > > > > > > I figured here may be a good place to ask about it and hopefully to > > > get to the bottom of why it happens and how I can help to fix it. > > > > > > Happy to provide any information which may be helpful! :) > > > > Can you reload the driver stack: > > > > rmmod libertas_sdio > > rmmod libertas > > modprobe libertas libertas_debug=0x251e7ff > > modprobe libertas_sdio > > > > and then reproduce the issue? The debug info should dump to 'dmesg' > > and may tell us what's going on. > > > > Dan