I can enable AP mode on my netbook. But when I turn on a wireless
client device, then the sytem on AP mode freezes. It has happened
since 2.3.38. When I installaed ath9k driver compiled from
compat-wireless on linux 2.3.38, the issue got disappered. But the
ath9k driver packed with the kernel still has the issue. On Ubuntu
11.10, all linux 3.0 releases (the current stable release Ubuntu
3.0.14) have the issue. I compiled 3.1.5 stable kernel from sources,
which also has the issue. I recently compiled
compat-wireless-3.2-rc1-1, which also got my system frozen. This is
the bug that I filled at Launchpad:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/875503
On Thu, Dec 15, 2011 at 8:05 PM, Ashwin Mendonca <[email protected]> wrote:
> Kernel panic happened after compiling and installing from the patched
> sources. I applied the patch, and it said "main.c was patched". I
> compiled ath9k drivers with this command:
are you sure ?, can you please apply the patch with the compat
wireless package and recompile/install it. i just tested with this
patch for few mins. i will re-check it
>
> checkinstall make KLIB=/lib/modules/3.1.5-custom install=no
>
> It created a deb file. I installed the deb file. Booted into
> linux-3.1.5 kernel. And ran may AP mode script. First client got
> authenticated. And soon the freeze occurred.
>
> If you want me to do further tests just let me know.
>
> On 12/15/11, Mohammed Shafi <[email protected]> wrote:
>> On Thu, Dec 15, 2011 at 3:55 PM, Mohammed Shafi
>> <[email protected]> wrote:
>>> On Thu, Dec 15, 2011 at 2:36 PM, Mohammed Shafi
>>> <[email protected]> wrote:
>>>> On Thu, Dec 15, 2011 at 1:24 PM, Mohammed Shafi
>>>> <[email protected]> wrote:
>>>>> On Thu, Dec 15, 2011 at 12:55 PM, Ashwin Mendonca
>>>>> <[email protected]> wrote:
>>>>>> I tried the bleeding edge build of compat-wireless
>>>>>> (compat-wireless-2011-12-14 build) on Linux-3.1.5. It still leads to
>>>>>> kernel
>>>>>> panic. I manually got the AP up with these steps:
>>>
>>> hi Ashwin,
>>>
>>> can you please try the attached patch and it seems to work for me.
>>> please go to your compat directory
>>> cd compat...
>>> then do patch -p1 < ./fix-ar2427-ap-mode-panic.patch
>>
>> this might fix the panic, but i need to verify whether everything else
>> is properly handled for AP ps
>>
>>>
>>> --
>>> shafi
>>
>>
>>
>> --
>> shafi
>>
--
shafi
Hi Ashwin,
even though that fix had worked, i am need some time to make sure the
fix is not a workaround as those driver call back are called from AP
power save handling for clients. let me quickly try to fix it in a
proper way. thanks
--
shafi
Kernel panic happened after compiling and installing from the patched
sources. I applied the patch, and it said "main.c was patched". I
compiled ath9k drivers with this command:
checkinstall make KLIB=/lib/modules/3.1.5-custom install=no
It created a deb file. I installed the deb file. Booted into
linux-3.1.5 kernel. And ran may AP mode script. First client got
authenticated. And soon the freeze occurred.
If you want me to do further tests just let me know.
On 12/15/11, Mohammed Shafi <[email protected]> wrote:
> On Thu, Dec 15, 2011 at 3:55 PM, Mohammed Shafi
> <[email protected]> wrote:
>> On Thu, Dec 15, 2011 at 2:36 PM, Mohammed Shafi
>> <[email protected]> wrote:
>>> On Thu, Dec 15, 2011 at 1:24 PM, Mohammed Shafi
>>> <[email protected]> wrote:
>>>> On Thu, Dec 15, 2011 at 12:55 PM, Ashwin Mendonca
>>>> <[email protected]> wrote:
>>>>> I tried the bleeding edge build of compat-wireless
>>>>> (compat-wireless-2011-12-14 build) on Linux-3.1.5. It still leads to
>>>>> kernel
>>>>> panic. I manually got the AP up with these steps:
>>
>> hi Ashwin,
>>
>> can you please try the attached patch and it seems to work for me.
>> please go to your compat directory
>> cd compat...
>> then do patch -p1 < ./fix-ar2427-ap-mode-panic.patch
>
> this might fix the panic, but i need to verify whether everything else
> is properly handled for AP ps
>
>>
>> --
>> shafi
>
>
>
> --
> shafi
>
On Wed, Dec 14, 2011 at 10:53 PM, Ashwin Mendonca <[email protected]> wrote:
> I can enable AP mode on my netbook. But when I turn on a wireless
> client device, then the sytem on AP mode freezes. It has happened
> since 2.3.38. When I installaed ath9k driver compiled from
> compat-wireless on linux 2.3.38, the issue got disappered. But the
> ath9k driver packed with the kernel still has the issue. On Ubuntu
> 11.10, all linux 3.0 releases (the current stable release ?Ubuntu
> 3.0.14) have the issue. I compiled 3.1.5 stable kernel from sources,
> which also has the issue. I recently compiled
> compat-wireless-3.2-rc1-1, which also got my system frozen. This is
> the bug that I filled at Launchpad:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/875503
some time back the STA mode itself had this issue, but was fixed by
https://lkml.org/lkml/2011/4/12/269
could you please let us know whether this issue happens in
http://linuxwireless.org/en/users/Download#Where_to_download_bleeding_edge
i just tried to put AR2427 in AP mode and then connected a STA, did
not seem to cause any issue in 3.2.0-rc5-wl. please also post your
hostapd.conf and your hostapd --version
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
--
shafi
On Fri, Dec 16, 2011 at 11:10 AM, Ashwin Mendonca <[email protected]> wrote:
> It works. Sorry for messing up. I have been installing more than 10
> kernels ( to get the AP mode working). I use checkinstall to create a
> deb package of drivers. But ckeckinstall was installing the module in
> the module tree of an older kernel. So I used make install to install
> the kernel in the current active kernel module tree. And I did not get
> a freeze when I loaded the newer ath9k driver. Thank you very much.
thanks a lot for testing. for testing wireless drivers in a quick way
you can install latest compat-wireless in some standard Ubuntu
versions
>
> If you want me to test it a little more, i can do it
>
I need to look into the code to make sure, it does not breaks power
save handling in AP mode for AR2427, after that i would like to send
the patch. please use this patch for time being to do any tests you
would prefer like sending UDP traffic to clients etc.
thank you.
--
shafi
It works. Sorry for messing up. I have been installing more than 10
kernels ( to get the AP mode working). I use checkinstall to create a
deb package of drivers. But ckeckinstall was installing the module in
the module tree of an older kernel. So I used make install to install
the kernel in the current active kernel module tree. And I did not get
a freeze when I loaded the newer ath9k driver. Thank you very much.
If you want me to test it a little more, i can do it
On 12/16/11, Mohammed Shafi <[email protected]> wrote:
> On Thu, Dec 15, 2011 at 9:33 PM, Ashwin Mendonca <[email protected]>
> wrote:
>> Still it doesn't work. I removed ath directory from kernel module tree.
>> Rebooted to make sure that default ath9k driver is not loaded. Installed
>> patched binaries, re-checked if updates dir exists in current kernel
>> modules
>> tree. Rebooted, enabled AP mode, system froze.
>
> Oops please wait i will check it out, thanks for your efforts
>
> --
> shafi
>
Still it doesn't work. I removed ath directory from kernel module
tree. Rebooted to make sure that default ath9k driver is not loaded.
Installed patched binaries, re-checked if updates dir exists in
current kernel modules tree. Rebooted, enabled AP mode, system froze.
On 12/15/11, Ashwin Mendonca <[email protected]> wrote:
> Still it doesn't work. I removed ath directory from kernel module tree.
> Rebooted to make sure that default ath9k driver is not loaded. Installed
> patched binaries, re-checked if updates dir exists in current kernel
> modules tree. Rebooted, enabled AP mode, system froze.
> On Dec 15, 2011 8:28 PM, "Mohammed Shafi" <[email protected]> wrote:
>
>> On Thu, Dec 15, 2011 at 8:24 PM, Ashwin Mendonca <[email protected]>
>> wrote:
>> > Now I am recompiling against linux-3.0.0.14. Also I will remove
>> > /lib/modules/3.0.0-14-generic/kernel/drivers/net/wireless/ath and
>> > reinstall compat-wireless binaries and I will let you know.
>>
>> thanks! should be installed in something like this
>> /lib/modules/2.6.32-25-generic/updates/drivers/net/wireless/ath/ath9k
>>
>> --
>> shafi
>>
>
On Thu, Dec 15, 2011 at 8:24 PM, Ashwin Mendonca <[email protected]> wrote:
> Now I am recompiling against linux-3.0.0.14. Also I will remove
> /lib/modules/3.0.0-14-generic/kernel/drivers/net/wireless/ath and
> reinstall compat-wireless binaries and I will let you know.
thanks! should be installed in something like this
/lib/modules/2.6.32-25-generic/updates/drivers/net/wireless/ath/ath9k
--
shafi
On Thu, Dec 15, 2011 at 9:33 PM, Ashwin Mendonca <[email protected]> wrote:
> Still it doesn't work. I removed ath directory from kernel module tree.
> Rebooted to make sure that default ath9k driver is not loaded. Installed
> patched binaries, re-checked if updates dir exists in current kernel modules
> tree. Rebooted, enabled AP mode, system froze.
Oops please wait i will check it out, thanks for your efforts
--
shafi
On Thu, Dec 15, 2011 at 3:55 PM, Mohammed Shafi
<[email protected]> wrote:
> On Thu, Dec 15, 2011 at 2:36 PM, Mohammed Shafi
> <[email protected]> wrote:
>> On Thu, Dec 15, 2011 at 1:24 PM, Mohammed Shafi
>> <[email protected]> wrote:
>>> On Thu, Dec 15, 2011 at 12:55 PM, Ashwin Mendonca <[email protected]> wrote:
>>>> I tried the bleeding edge build of compat-wireless
>>>> (compat-wireless-2011-12-14 build) on Linux-3.1.5. It still leads to kernel
>>>> panic. I manually got the AP up with these steps:
>
> hi Ashwin,
>
> can you please try the attached patch and it seems to work for me.
> please go to your compat directory
> cd compat...
> then do patch -p1 < ./fix-ar2427-ap-mode-panic.patch
this might fix the panic, but i need to verify whether everything else
is properly handled for AP ps
>
> --
> shafi
--
shafi
Now I am recompiling against linux-3.0.0.14. Also I will remove
/lib/modules/3.0.0-14-generic/kernel/drivers/net/wireless/ath and
reinstall compat-wireless binaries and I will let you know.
On 12/15/11, Mohammed Shafi <[email protected]> wrote:
> On Thu, Dec 15, 2011 at 8:05 PM, Ashwin Mendonca <[email protected]>
> wrote:
>> Kernel panic happened after compiling and installing from the patched
>> sources. I applied the patch, and it said "main.c was patched". I
>> compiled ath9k drivers with this command:
>
> are you sure ?, can you please apply the patch with the compat
> wireless package and recompile/install it. i just tested with this
> patch for few mins. i will re-check it
>
>>
>> checkinstall make KLIB=/lib/modules/3.1.5-custom install=no
>>
>> It created a deb file. I installed the deb file. Booted into
>> linux-3.1.5 kernel. And ran may AP mode script. First client got
>> authenticated. And soon the freeze occurred.
>>
>> If you want me to do further tests just let me know.
>>
>> On 12/15/11, Mohammed Shafi <[email protected]> wrote:
>>> On Thu, Dec 15, 2011 at 3:55 PM, Mohammed Shafi
>>> <[email protected]> wrote:
>>>> On Thu, Dec 15, 2011 at 2:36 PM, Mohammed Shafi
>>>> <[email protected]> wrote:
>>>>> On Thu, Dec 15, 2011 at 1:24 PM, Mohammed Shafi
>>>>> <[email protected]> wrote:
>>>>>> On Thu, Dec 15, 2011 at 12:55 PM, Ashwin Mendonca
>>>>>> <[email protected]> wrote:
>>>>>>> I tried the bleeding edge build of compat-wireless
>>>>>>> (compat-wireless-2011-12-14 build) on Linux-3.1.5. It still leads to
>>>>>>> kernel
>>>>>>> panic. I manually got the AP up with these steps:
>>>>
>>>> hi Ashwin,
>>>>
>>>> can you please try the attached patch and it seems to work for me.
>>>> please go to your compat directory
>>>> cd compat...
>>>> then do patch -p1 < ./fix-ar2427-ap-mode-panic.patch
>>>
>>> this might fix the panic, but i need to verify whether everything else
>>> is properly handled for AP ps
>>>
>>>>
>>>> --
>>>> shafi
>>>
>>>
>>>
>>> --
>>> shafi
>>>
>
>
>
> --
> shafi
>