Skip to contentSkip to conversation

Issue with ifconfig down and 4965 driver

DISCUSSION Marcel Holtmann 2 participants 8 messages Nov 13, 2008 – Dec 4, 2008

lore
Share & tools
lore
#0 lore raw

Hi guys,

so I am running a 2.6.28-rc4 kernel and every time I stop wpa_supplicant or call ifconfig down on the 4965 card, I get a user noticeable delay (mouse freezes). Seems that some part inside the driver is actively sleeping with a busy-loop. This is really not an acceptable behavior since it is a day-to-day task to bring the device down. And for power concerns, we really wanna allow to bring down the interface.

Regards

Marcel

#1 lore raw
Quoted 10 lines · Marcel Holtmann

Hi guys,

so I am running a 2.6.28-rc4 kernel and every time I stop wpa_supplicant or call ifconfig down on the 4965 card, I get a user noticeable delay (mouse freezes). Seems that some part inside the driver is actively sleeping with a busy-loop. This is really not an acceptable behavior since it is a day-to-day task to bring the device down. And for power concerns, we really wanna allow to bring down the interface.

Please add your information to
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790

Reinette

#2 lore raw

Hi Reinette,

Quoted 5 lines
Quoted 2 lines

so I am running a 2.6.28-rc4 kernel and every time I stop wpa_supplicant or call ifconfig down on the 4965 card, I get a user noticeable delay (mouse freezes). Seems that some part inside the driver is actively sleeping with a busy-loop. This is really not an acceptable behavior since it is a day-to-day task to bring the device down. And for power concerns, we really wanna allow to bring down the interface.

Please add your information to
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790

all information are already in the Bugzilla. It is nothing fancy and easy to reproduce. Do we have a patch for it?

Regards

Marcel

#3 lore raw
Quoted 11 lines · Marcel Holtmann

Hi Reinette,

Quoted 9 lines
Quoted 8 lines

so I am running a 2.6.28-rc4 kernel and every time I stop wpa_supplicant or call ifconfig down on the 4965 card, I get a user noticeable delay (mouse freezes). Seems that some part inside the driver is actively sleeping with a busy-loop. This is really not an acceptable behavior since it is a day-to-day task to bring the device down. And for power concerns, we really wanna allow to bring down the interface.

Quoted 6 lines
Quoted 2 lines

Please add your information to
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790

all information are already in the Bugzilla. It is nothing fancy and easy to reproduce. Do we have a patch for it?

http://marc.info/?l=linux-wireless&m=122824886623698&w=2

Reinette

#4 lore raw

Hi Reinette,

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines

so I am running a 2.6.28-rc4 kernel and every time I stop wpa_supplicant or call ifconfig down on the 4965 card, I get a user noticeable delay (mouse freezes). Seems that some part inside the driver is actively sleeping with a busy-loop. This is really not an acceptable behavior since it is a day-to-day task to bring the device down. And for power concerns, we really wanna allow to bring down the interface.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please add your information to
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790

all information are already in the Bugzilla. It is nothing fancy and easy to reproduce. Do we have a patch for it?

http://marc.info/?l=linux-wireless&m=122824886623698&w=2

so I finally got around testing the patch. It is great that it reduces the time drastically, but I think that it is still not good enough. So I don't care how long it takes to bring the device down. My concern is that we are busy-looping during this time. Meaning the kernel is not responding to anything. Simple symptom is that the mouse is stuck.

Regards

Marcel

#5 lore raw
Quoted 18 lines · Marcel Holtmann

Hi Reinette,

Quoted 16 lines
Quoted 15 lines
Quoted 11 lines
Quoted 8 lines

so I am running a 2.6.28-rc4 kernel and every time I stop wpa_supplicant or call ifconfig down on the 4965 card, I get a user noticeable delay (mouse freezes). Seems that some part inside the driver is actively sleeping with a busy-loop. This is really not an acceptable behavior since it is a day-to-day task to bring the device down. And for power concerns, we really wanna allow to bring down the interface.

Please add your information to
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790

all information are already in the Bugzilla. It is nothing fancy and easy to reproduce. Do we have a patch for it?

Quoted 8 lines
Quoted 1 line

http://marc.info/?l=linux-wireless&m=122824886623698&w=2

so I finally got around testing the patch. It is great that it reduces the time drastically, but I think that it is still not good enough. So I don't care how long it takes to bring the device down. My concern is that we are busy-looping during this time. Meaning the kernel is not responding to anything. Simple symptom is that the mouse is stuck.

We have found that this one patch is not the full solution. More work is currently being done with activity tracked at
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790

Reinette

#6 lore raw

Hi Reinette,

Quoted 25 lines
Quoted 16 lines
Quoted 16 lines
Quoted 15 lines
Quoted 11 lines
Quoted 8 lines

so I am running a 2.6.28-rc4 kernel and every time I stop wpa_supplicant or call ifconfig down on the 4965 card, I get a user noticeable delay (mouse freezes). Seems that some part inside the driver is actively sleeping with a busy-loop. This is really not an acceptable behavior since it is a day-to-day task to bring the device down. And for power concerns, we really wanna allow to bring down the interface.

Please add your information to
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790

all information are already in the Bugzilla. It is nothing fancy and easy to reproduce. Do we have a patch for it?

Quoted 8 lines
Quoted 1 line

http://marc.info/?l=linux-wireless&m=122824886623698&w=2

so I finally got around testing the patch. It is great that it reduces the time drastically, but I think that it is still not good enough. So I don't care how long it takes to bring the device down. My concern is that we are busy-looping during this time. Meaning the kernel is not responding to anything. Simple symptom is that the mouse is stuck.

Quoted 3 lines

We have found that this one patch is not the full solution. More work is currently being done with activity tracked at
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790

I quickly checked Mohamed's last patch. It actually makes it worse on my system.

Regards

Marcel

#7 lore raw
Quoted 27 lines · Marcel Holtmann

Hi Reinette,

Quoted 25 lines
Quoted 24 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines

so I am running a 2.6.28-rc4 kernel and every time I stop wpa_supplicant or call ifconfig down on the 4965 card, I get a user noticeable delay (mouse freezes). Seems that some part inside the driver is actively sleeping with a busy-loop. This is really not an acceptable behavior since it is a day-to-day task to bring the device down. And for power concerns, we really wanna allow to bring down the interface.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please add your information to
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790

all information are already in the Bugzilla. It is nothing fancy and easy to reproduce. Do we have a patch for it?

http://marc.info/?l=linux-wireless&m=122824886623698&w=2

so I finally got around testing the patch. It is great that it reduces the time drastically, but I think that it is still not good enough. So I don't care how long it takes to bring the device down. My concern is that we are busy-looping during this time. Meaning the kernel is not responding to anything. Simple symptom is that the mouse is stuck.

Quoted 6 lines
Quoted 3 lines

We have found that this one patch is not the full solution. More work is currently being done with activity tracked at
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790

I quickly checked Mohamed's last patch. It actually makes it worse on my system.

Thank you very much for testing - I will let him know. Would it be possible to add your feedback to that bug report for visibility to everybody tracking that problem? Not everybody there are subscribed to linux-wireless and other people testing the patch (see last comment #12) reports that the issue is solved for them.

Thank you very much

Reinette