Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#800 - ath9k sta and ap mode change. system hang #6331

Closed
openwrt-bot opened this issue May 23, 2017 · 5 comments
Closed

FS#800 - ath9k sta and ap mode change. system hang #6331

openwrt-bot opened this issue May 23, 2017 · 5 comments
Labels

Comments

@openwrt-bot
Copy link

lipeng:

mips device with ar9580 wireless card sta and ap mode change by use test.sh
test.sh
while [ 1 ]
do
mv /etc/config/wireless /etc/config/wirelessbak
mv /etc/config/wireless1 /etc/config/wireless
mv /etc/config/wirelessbak /etc/config/wireless1
/etc/init.d/network restart
sleep 50
done

I found the system will hang , It like a deadlock but I can't verify

Use the same shell I change the ath9k code

just delete the full sleep timer

modify ath9k_ps_wakeup ath9k_ps_restore
delete mod_timer(&sc->sc_pm_lock,flags);
detete del_timer_sync(&sc->sc_pm_lock);
The system run ok

@openwrt-bot
Copy link
Author

lipeng:

i have test OpenWRT 15.05.1, LEDE 17.01.0 . I get the same result may this is a ath9k bug , My board is Dual Core Processor, I guess the reason may is the timer del in dual core processor ,Somebody can analysis why? thanks

@openwrt-bot
Copy link
Author

lipeng:

Does someboby konw why? Beacuase the system hang ,I get any hint about this problem. I just try . The I found it was the timer , Even In the timer function , do nothing , I got the same result.
the system hang. So I get the result I just delete the timer . The system is ok . But I can.t understand why . So can anyone explain the reason , I timer can cause the systme hang

@openwrt-bot
Copy link
Author

nbd:

Pleaes try a newer version, either 17.01.2 or a current snapshot.

@openwrt-bot
Copy link
Author

lipeng:

Felix Fietkau My project update from OpenWRT 15.05.1 to LEDE 17.01.0 , I get the same result. We can not update again. As I metion ,I delete some timer .It worked good . but I do not know why ,So
I want somebody can expain it

@openwrt-bot
Copy link
Author

nbd:

I think this issue should be fixed in a newer version. If you can't test this, I will have to close this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant