NetBSD Problem Report #51644

From www@NetBSD.org  Wed Nov 23 07:45:15 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 95FE77A327
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 23 Nov 2016 07:45:15 +0000 (UTC)
Message-Id: <20161123074514.AB6F17A32A@mollari.NetBSD.org>
Date: Wed, 23 Nov 2016 07:45:14 +0000 (UTC)
From: maoamid@yahoo.ro
Reply-To: maoamid@yahoo.ro
To: gnats-bugs@NetBSD.org
Subject: wifi atheros driver ar9485 
X-Send-Pr-Version: www-1.0

>Number:         51644
>Category:       kern
>Synopsis:       wifi atheros driver ar9485
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 23 07:50:00 +0000 2016
>Last-Modified:  Thu Nov 24 00:55:01 +0000 2016
>Originator:     Ionut
>Release:        NetBSD 7.02
>Organization:
>Environment:
NetBSD 7.0.2 NetBSD 7.0.2 (GENERIC.201610210724Z) amd64
>Description:
The wifi atheros device is not recognized on my laptop (Toshiba i3 gen 3th 3 years old); this driver is working9 on all linux distros I tried (debian 7,8 centos7, slackware 14, voidlinux), freebsd 10 & 11 and dragonfly greater than 4.2 

on netbsd dmesg | grep net return me that:
vendor 0x168c product 0x0036 (miscelanous network, revision 0x01) at pci2 dev 0 function 0 not configured

model founded list here:
http://pcidatabase.com/search.php?device_search_str=atheros

A similar problem seems discussed 3 years ago:
https://mail-index.netbsd.org/tech-net/2013/12/24/msg004437.html
Can someone guid me how I can make it working please. Appreciate a lot.
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: kern/51644: wifi atheros driver ar9485
Date: Wed, 23 Nov 2016 11:14:32 -0500

 On Nov 23,  7:50am, maoamid@yahoo.ro (maoamid@yahoo.ro) wrote:
 -- Subject: kern/51644: wifi atheros driver ar9485

 FreeBSD has support for it; OpenBSD lists it in pcidevs but not in the
 driver.

 christos

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/51644: wifi atheros driver ar9485 
Date: Thu, 24 Nov 2016 07:50:57 +0700

     Date:        Wed, 23 Nov 2016 07:50:00 +0000 (UTC)
     From:        maoamid@yahoo.ro
     Message-ID:  <20161123075000.3EA757A32C@mollari.NetBSD.org>

   | vendor 0x168c product 0x0036 (miscelanous network, revision 0x01) at pci2 dev 0 function 0 not configured
   | 
   | model founded list here:
   | http://pcidatabase.com/search.php?device_search_str=atheros
   | 
   | A similar problem seems discussed 3 years ago:
   | https://mail-index.netbsd.org/tech-net/2013/12/24/msg004437.html

 Similar, but not the same, my chip is (was) reported as ...

 vendor 0x168c product 0x0032 (miscellaneous network, revision 0x01) at pci3 dev
 0 function 0 not configured

 which is not the same product code,  The pci databases suggest that 0036
 is the  QCA9565 / AR9565 Wireless Network Adapter (sometimes listed as 956x).

 There is one weird listing that shows it as
 	Qualcomm Atheros AR9485WB-EG Wireless Network Adapter
 though (though that entry in the database, while found with a search for
 device code 0036, lists the code as 168c - the same as the vendor code - looks
 like a database error of some kind.)

 I have not (in the past almost 3 years) even started looking at what is
 needed to support my ar9485 - I have kind of settled into using linux
 and virtualbox, and running NetBSD that way (which mostly works quite well,
 though native NetBSD would be much better).

 Now we have better nouveau support, I plan on testing NetBSD again
 sometime soon (but I might need EFI boot to make the test smooth, (don't
 know yet) - I want to try booting from an external USB drive, that is GPT
 partitioned, so I can avoid needing to do anything to disturb the current
 setup - I have already managed to destroy linux's default network config,
 and have no idea how to put that back without a reinstall, I'd like to
 avoid destroying basic booting ...)

 But if it (NetBSD & nouveau) works when I test it, then I'll have a need to
 make the wifi work (for short term I can use an external dongle) and when
 that happens, I'll merge as much of the hardware support from the current
 FreeBSD driver as seems to make sense.

 But all this is unlikely to happen this year.

 kre

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.