Skip to contentSkip to conversation

ath9k doesn't work correctly after resume from suspend to RAM

Regression Rafael J. Wysocki 2 participants 10 messages May 22, 2010 – May 24, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

With current -git on Acer Ferrari One the ath9k driver doesn't seem to work after resume from suspend to RAM. NetworkManager seems to think that it works, but it doesn't really connect with the AP and doesn't try to obtain an IP address. Reloading the driver makes it work again.

The 2.6.34 (final) version works flawlessly with STR.

The user space is openSUSE 11.3 Milestone 6, so it may be somewhat unstable in general, but this particular feature does work with 2.6.34.

Thanks,
Rafael

#1 lore raw
Quoted 6 lines · Rafael J. Wysocki

Hi,

With current -git on Acer Ferrari One the ath9k driver doesn't seem to work after resume from suspend to RAM. NetworkManager seems to think that it works, but it doesn't really connect with the AP and doesn't try to obtain an IP address.

Sorry, this was incorrect. It actually tries to obtain an IP address, but fails. Apparently, it can't obtain the address without being reloaded.

Rafael

#2 lore raw
Quoted 10 lines · Rafael J. Wysocki
Quoted 6 lines · Rafael J. Wysocki

Hi,

With current -git on Acer Ferrari One the ath9k driver doesn't seem to work after resume from suspend to RAM. NetworkManager seems to think that it works, but it doesn't really connect with the AP and doesn't try to obtain an IP address.

Sorry, this was incorrect. It actually tries to obtain an IP address, but fails. Apparently, it can't obtain the address without being reloaded.

iwlagn also has problems after resume from suspend to RAM (tested on Toshiba Portege R500). In this case resume works once, but then the next attempt to suspend fails (I had to reboot the box every time that happened).

If iwlagn is unloaded, it is possible to suspend and resume the system arbitrary number of times, but then iwlagn doesn't work when its reloaded (it doesn't detect wireless networks).

Rafael

#3 lore raw
Quoted 12 lines · Rafael J. Wysocki
Quoted 10 lines · Rafael J. Wysocki
Quoted 6 lines · Rafael J. Wysocki

Hi,

With current -git on Acer Ferrari One the ath9k driver doesn't seem to work after resume from suspend to RAM. NetworkManager seems to think that it works, but it doesn't really connect with the AP and doesn't try to obtain an IP address.

Sorry, this was incorrect. It actually tries to obtain an IP address, but fails. Apparently, it can't obtain the address without being reloaded.

Quoted 7 lines

iwlagn also has problems after resume from suspend to RAM (tested on Toshiba Portege R500). In this case resume works once, but then the next attempt to suspend fails (I had to reboot the box every time that happened).

If iwlagn is unloaded, it is possible to suspend and resume the system arbitrary number of times, but then iwlagn doesn't work when its reloaded (it doesn't detect wireless networks).

Reverting

commit 03ceedea972a82d343fa5c2528b3952fa9e615d5

Author: Daniel Yingqiang Ma <[email protected]>
Date:   Tue Apr 13 15:12:07 2010 +0800

ath9k: Group Key fix for VAPs

also fixes the resume issue with iwlagn.

So, please revert.

Thanks,
Rafael

#4 lore raw
Quoted 7 lines · Rafael J. Wysocki

commit 03ceedea972a82d343fa5c2528b3952fa9e615d5

Author: Daniel Yingqiang Ma <[email protected]>
Date:   Tue Apr 13 15:12:07 2010 +0800

ath9k: Group Key fix for VAPs

also fixes the resume issue with iwlagn.

Ok that had me going WTF.

But then I saw that a huge ath9k patch had a mac80211 change sneakily hidden in it. WTF!

Quoted 1 line

So, please revert.

Indeed, this patch needs to be reverted. That mac80211 change is wrong and completely unnecessary.

johannes

#5 lore raw
In reply to Rafael J. Wysocki
Quoted 7 lines · Rafael J. Wysocki

commit 03ceedea972a82d343fa5c2528b3952fa9e615d5

Author: Daniel Yingqiang Ma <[email protected]>
Date:   Tue Apr 13 15:12:07 2010 +0800

ath9k: Group Key fix for VAPs

also fixes the resume issue with iwlagn.

Ok that had me going WTF.

But then I saw that a huge ath9k patch had a mac80211 change sneakily hidden in it. WTF!

Quoted 1 line

So, please revert.

Indeed, this patch needs to be reverted. That mac80211 change is wrong and completely unnecessary.

johannes

#6 lore raw
In reply to Rafael J. Wysocki
Quoted 12 lines · Rafael J. Wysocki
Quoted 10 lines · Rafael J. Wysocki
Quoted 6 lines · Rafael J. Wysocki

Hi,

With current -git on Acer Ferrari One the ath9k driver doesn't seem to work after resume from suspend to RAM. NetworkManager seems to think that it works, but it doesn't really connect with the AP and doesn't try to obtain an IP address.

Sorry, this was incorrect. It actually tries to obtain an IP address, but fails. Apparently, it can't obtain the address without being reloaded.

Quoted 7 lines

iwlagn also has problems after resume from suspend to RAM (tested on Toshiba Portege R500). In this case resume works once, but then the next attempt to suspend fails (I had to reboot the box every time that happened).

If iwlagn is unloaded, it is possible to suspend and resume the system arbitrary number of times, but then iwlagn doesn't work when its reloaded (it doesn't detect wireless networks).

Reverting

commit 03ceedea972a82d343fa5c2528b3952fa9e615d5

Author: Daniel Yingqiang Ma <[email protected]>
Date:   Tue Apr 13 15:12:07 2010 +0800

ath9k: Group Key fix for VAPs

also fixes the resume issue with iwlagn.

So, please revert.

Thanks,
Rafael

#7 lore raw
In reply to Rafael J. Wysocki
Quoted 10 lines · Rafael J. Wysocki
Quoted 6 lines · Rafael J. Wysocki

Hi,

With current -git on Acer Ferrari One the ath9k driver doesn't seem to work after resume from suspend to RAM. NetworkManager seems to think that it works, but it doesn't really connect with the AP and doesn't try to obtain an IP address.

Sorry, this was incorrect. It actually tries to obtain an IP address, but fails. Apparently, it can't obtain the address without being reloaded.

iwlagn also has problems after resume from suspend to RAM (tested on Toshiba Portege R500). In this case resume works once, but then the next attempt to suspend fails (I had to reboot the box every time that happened).

If iwlagn is unloaded, it is possible to suspend and resume the system arbitrary number of times, but then iwlagn doesn't work when its reloaded (it doesn't detect wireless networks).

Rafael

#8 lore raw
In reply to Rafael J. Wysocki
Quoted 10 lines · Rafael J. Wysocki
Quoted 6 lines · Rafael J. Wysocki

Hi,

With current -git on Acer Ferrari One the ath9k driver doesn't seem to work after resume from suspend to RAM. NetworkManager seems to think that it works, but it doesn't really connect with the AP and doesn't try to obtain an IP address.

Sorry, this was incorrect. It actually tries to obtain an IP address, but fails. Apparently, it can't obtain the address without being reloaded.

This issue can be fixed by reverting:

commit 03ceedea972a82d343fa5c2528b3952fa9e615d5

Author: Daniel Yingqiang Ma <[email protected]>
Date:   Tue Apr 13 15:12:07 2010 +0800

ath9k: Group Key fix for VAPs

Thanks,
Rafael

#9 lore raw
In reply to Rafael J. Wysocki
Quoted 10 lines · Rafael J. Wysocki
Quoted 6 lines · Rafael J. Wysocki

Hi,

With current -git on Acer Ferrari One the ath9k driver doesn't seem to work after resume from suspend to RAM. NetworkManager seems to think that it works, but it doesn't really connect with the AP and doesn't try to obtain an IP address.

Sorry, this was incorrect. It actually tries to obtain an IP address, but fails. Apparently, it can't obtain the address without being reloaded.

This issue can be fixed by reverting:

commit 03ceedea972a82d343fa5c2528b3952fa9e615d5

Author: Daniel Yingqiang Ma <[email protected]>
Date:   Tue Apr 13 15:12:07 2010 +0800

ath9k: Group Key fix for VAPs

Thanks,
Rafael