Re: Atheros 9287 - no carrier . revision 249623.

2013-04-19 Thread Adrian Chadd
Hi,

I've just committed some changes to -HEAD. Please update to the latest
-HEAD and paste me the ath0 dmesg output.
It will include the chainmask information.

Thanks,


Adrian
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: Atheros 9287 - no carrier . revision 249623.

2013-04-19 Thread Artyom Mirgorodskiy
Adrian, I found the problem.
I'm use ath as module, so ATH_ENABLE_11N is not defined.  When I define 
ATH_ENABLE_11N - everything work.


Artyom Mirgorodskiy

On Friday 19 April 2013 13:27:21  wrote:


Updated. However I did not see chainmask information.
See attached

On Friday 19 April 2013 00:57:12 Adrian Chadd wrote:
 Hi,
 
 I've just committed some changes to -HEAD. Please update to the latest
 -HEAD and paste me the ath0 dmesg output.
 It will include the chainmask information.
 
 Thanks,
 
 
 Adrian
-- 
Artyom Mirgorodskiy


-- 
Artyom Mirgorodskiy
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: Atheros 9287 - no carrier . revision 249623.

2013-04-19 Thread Adrian Chadd
Hi!

Ok, please update to -HEAD and retest!



adrian

On 19 April 2013 06:26, Adrian Chadd adrian.ch...@gmail.com wrote:
 oo good to know! let me setup the chainmask info whether or not
 the 11n option is set.

 thanks!


 adrian

 On 19 April 2013 04:08, Artyom Mirgorodskiy
 artyom.mirgorod...@gmail.com wrote:
 Adrian, I found the problem.

 I'm use ath as module, so ATH_ENABLE_11N is not defined. When I define
 ATH_ENABLE_11N - everything work.





 Artyom Mirgorodskiy



 On Friday 19 April 2013 13:27:21 wrote:

 Updated. However I did not see chainmask information.

 See attached



 On Friday 19 April 2013 00:57:12 Adrian Chadd wrote:

 Hi,



 I've just committed some changes to -HEAD. Please update to the latest

 -HEAD and paste me the ath0 dmesg output.

 It will include the chainmask information.



 Thanks,





 Adrian

 --

 Artyom Mirgorodskiy


 --

 Artyom Mirgorodskiy
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: Atheros 9287 - no carrier . revision 249623.

2013-04-18 Thread Adrian Chadd
Sigh.

Someone's broken the bus or interrupt handling code between -9 and
-head. Or ACPI, for all I know. It may even be something to do with
RFKILL.

Can you please boot verbosely, both on -9 and -head? you don't have to
do anything - just capture the logfile /var/run/dmesg.boot and attach
them here.

Hopefully something glaringly different will stand out.

Thanks,



adrian

On 18 April 2013 07:05, Artyom Mirgorodskiy
artyom.mirgorod...@gmail.com wrote:
 No interrupts at all:



 interrupt total rate

 irq1: atkbd0 474 1

 irq9: acpi0 95 0

 irq22: ehci1 504 1

 irq23: ehci0 1037 3

 irq256: hpet0:t0 8426 30

 irq257: hpet0:t1 1823 6

 irq258: hpet0:t2 1992 7

 irq259: hpet0:t3 2112 7

 irq264: hdac0 118 0

 irq265: ahci0 4026 14

 Total 20607 75





 On Thursday 18 April 2013 06:56:14 Adrian Chadd wrote:

 I've just tested -HEAD on a WB197 (AR9287 + bluetooth.) It works fine.



 I think it's very likely something to do with the bus enumeration. Can

 you do a vmstat -i, see if you've seen any ath interrupts?







 adrian

 --

 Artyom Mirgorodskiy
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: Atheros 9287 - no carrier . revision 249623.

2013-04-18 Thread Adrian Chadd
Ok, the relevant / interesting bit:s. John, any ideas?

HEAD:

pcib2: ACPI PCI-PCI bridge irq 18 at device 28.2 on pci0
pcib0: allocated type 3 (0xe050-0xe05f) for rid 20 of pcib2
pcib2:   domain0
pcib2:   secondary bus 10
pcib2:   subordinate bus   10
pcib2:   memory decode 0xe050-0xe05f
pcib2:   no prefetched decode
pci10: ACPI PCI bus on pcib2
pci10: domain=0, physical bus=10
found- vendor=0x168c, dev=0x002e, revid=0x01
domain=0, bus=10, slot=0, func=0
class=02-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10

^-- notice how this is irq 10

powerspec 3  supports D0 D1 D3  current D0
MSI supports 1 message
map[10]: type Memory, range 64, base 0xe050, size 16, enabled
pcib2: allocated memory range (0xe050-0xe050) for rid 10 of pci0:10:0:0
pcib2: matched entry for 10.0.INTA
pcib2: slot 0 INTA hardwired to IRQ 18
ath0: Atheros 9287 mem 0xe050-0xe050 irq 18 at device 0.0 on pci10
ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 60
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
ath0: 2T2R
ath0: 11ng MCS 20MHz
ath0: MCS 0-7: 6.5Mbps - 65Mbps
ath0: MCS 8-15: 13Mbps - 130Mbps
ath0: AR9287 mac 384.2 RF5133 phy 15.15
ath0: 2GHz radio: 0x; 5GHz radio: 0x00c0
ath0: Use hw queue 1 for WME_AC_BE traffic
ath0: Use hw queue 0 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Use hw queue 8 for CAB traffic
ath0: Use hw queue 9 for beacons
ath0: using multicast key search

versus

pcib2: ACPI PCI-PCI bridge irq 18 at device 28.2 on pci0
pcib0: allocated type 3 (0xe050-0xe05f) for rid 20 of pcib2
pcib2:   domain0
pcib2:   secondary bus 10
pcib2:   subordinate bus   10
pcib2:   memory decode 0xe050-0xe05f
pcib2:   no prefetched decode
pci10: ACPI PCI bus on pcib2
pci10: domain=0, physical bus=10
found- vendor=0x168c, dev=0x002e, revid=0x01
domain=0, bus=10, slot=0, func=0
class=02-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=7

^-- notice this is irq 7

powerspec 3  supports D0 D1 D3  current D0
MSI supports 1 message
map[10]: type Memory, range 64, base 0xe050, size 16, enabled
pcib2: allocated memory range (0xe050-0xe050) for rid 10 of pci0:10:0:0
pcib2: matched entry for 10.0.INTA
pcib2: slot 0 INTA hardwired to IRQ 18
ath0: Atheros 9287 mem 0xe050-0xe050 irq 18 at device 0.0 on pci10
ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 60
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
ath0: 2T2R
ath0: 11ng MCS 20MHz
ath0: MCS 0-7: 6.5Mbps - 65Mbps
ath0: MCS 8-15: 13Mbps - 130Mbps
ath0: AR9287 mac 384.2 RF5133 phy 15.15
ath0: Use hw queue 1 for WME_AC_BE traffic
ath0: Use hw queue 0 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Use hw queue 8 for CAB traffic
ath0: Use hw queue 9 for beacons
ath0: using multicast key search
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: Atheros 9287 - no carrier . revision 249623.

2013-04-18 Thread John Baldwin
On Thursday, April 18, 2013 11:22:38 am Adrian Chadd wrote:
 Ok, the relevant / interesting bit:s. John, any ideas?

Only that this means absolutely nothing?  These are the values the BIOS wrote 
into the registers which we use as hints about whether or not ACPI lies about 
which interrupts are used when APIC is disabled.  The actually useful message
shows the same interrupts used in both cases:

 HEAD:
 
 pcib2: slot 0 INTA hardwired to IRQ 18
 ath0: Atheros 9287 mem 0xe050-0xe050 irq 18 at device 0.0 on pci10
 ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 60
 
 versus
 
 pcib2: slot 0 INTA hardwired to IRQ 18
 ath0: Atheros 9287 mem 0xe050-0xe050 irq 18 at device 0.0 on pci10
 ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 60

-- 
John Baldwin
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: Atheros 9287 - no carrier . revision 249623.

2013-04-18 Thread Adrian Chadd

... Why would it differ for the same machine, different kernel?


Adrian


Sent from my Palm Pre on ATamp;T
On Apr 18, 2013 8:40 AM, John Baldwin lt;j...@freebsd.orggt; wrote: 

On Thursday, April 18, 2013 11:22:38 am Adrian Chadd wrote:

gt; Ok, the relevant / interesting bit:s. John, any ideas?



Only that this means absolutely nothing?  These are the values the BIOS wrote 

into the registers which we use as hints about whether or not ACPI lies about 

which interrupts are used when APIC is disabled.  The actually useful message

shows the same interrupts used in both cases:



gt; HEAD:

gt; 

gt; pcib2: slot 0 INTA hardwired to IRQ 18

gt; ath0: lt;Atheros 9287gt; mem 0xe050-0xe050 irq 18 at device 0.0 
on pci10

gt; ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 60

gt; 

gt; versus

gt; 

gt; pcib2: slot 0 INTA hardwired to IRQ 18

gt; ath0: lt;Atheros 9287gt; mem 0xe050-0xe050 irq 18 at device 0.0 
on pci10

gt; ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 60



-- 

John Baldwin


___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org