Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2009 20:35:35 +0000 (GMT)
From:      Joe Holden <jwh@rewt.org.uk>
To:        Rui Paulo <rpaulo@freebsd.org>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Atheros 9280 Issues
Message-ID:  <alpine.LNX.2.00.0911152034130.27002@jasmine.barbary>
In-Reply-To: <3B334B9B-54CE-4DB1-A010-9477A75D7BE1@freebsd.org>
References:  <alpine.LNX.2.00.0911101400430.6578@jasmine.barbary> <5F4CC8D8-3FAB-405C-A94D-4950D13F7E98@freebsd.org> <alpine.LNX.2.00.0911150247590.27002@jasmine.barbary> <3B334B9B-54CE-4DB1-A010-9477A75D7BE1@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hiya,

This patch doesn't seem to apply to the tree (with original ah_regdomain.c 
checked out using csup):

Patching file ah_regdomain.c using Plan A...
Hunk #1 failed at 170.
Hunk #2 failed at 433.
Hunk #3 failed at 1683.

Should I be using any special options?

Thanks,

On Sun, 15 Nov 2009, Rui Paulo wrote:

> On 15 Nov 2009, at 02:52, Joe Holden wrote:
>
>> Hi thanks for the response.
>> 
>> I have recompiled kernel and attached the dmesg, the errors it gives seem 
>> to relate to having no/invalid regdomain in the eeprom:
>> 
>> ath0: <Atheros 9280> mem 0xdc000000-0xdc00ffff irq 17 at device 0.0 on pci6
>> ath0: [ITHREAD]
>> ar9280Attach: sc 0xc2d8d000 st 0x1 sh 0xc2be9000
>> ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
>> ar9280Attach: ID 0x852ff VERSION 0x2 TYPE 0x5 REVISION 0x2
>> ath_hal_v14EepromAttach Eeprom Magic = 0xa55a
>> ath_hal_v14EepromAttach Eeprom Version 14.16
>> v14EepromReadCTLInfo Numctls = 21
>> ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
>> ar9280RfAttach: attach AR9280 radio
>> enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0x0 cckPhyErrBase 
>> 0x0
>> ar9280Attach: return
>> getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm
>> isEepromValid: invalid regulatory domain/country code 0x6b
>> getregstate: invalid EEPROM contents
>> ath0: ath_getchannels: unable to collect channel list from hal, status 12
>> ar5416Detach:
>> Detaching Ani
>> Disable MIB counters
>> ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
>> ar5416SetPowerMode: AWAKE -> FULL-SLEEP (set chip )
>> device_attach: ath0 attach returned 22
>
>
> Try the attached patch please.
>
> --
> Rui Paulo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LNX.2.00.0911152034130.27002>