Re: iwlagn is getting very shaky

From: Emmanuel Grumbach
Date: Tue Nov 08 2011 - 03:24:24 EST


On Tue, Nov 8, 2011 at 10:07, Emmanuel Grumbach <egrumbach@xxxxxxxxx> wrote:
>>
>> In short, this is the output of your patch:
>> [  215.872090] iwlwifi 0000:06:00.0: Queue 11 stuck for 10000 ms.
>> [  215.872101] iwlwifi 0000:06:00.0: Current SW read_ptr 105 write_ptr 115
>> [  215.872156] iwlwifi 0000:06:00.0: Current HW read_ptr 105 write_ptr 115
>> [  215.872164] iwlwifi 0000:06:00.0: On demand firmware reload
>>
>>
> Ok thanks for that. The HW and the SW agree then...
>
> I would like to see what happens in terms or power.
> Please set the power debug flag: modprobe iwlwifi debug=0x100
>
> Thanks.
>

It may be worth to disable Link Power save too. I would be glad if you
could try this patch (attached and inlined), with the power debug flag
set.


diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c
b/drivers/net/wireless/iwlwifi/iwl-power.c
index 4eaab20..e5f309b 100644
--- a/drivers/net/wireless/iwlwifi/iwl-power.c
+++ b/drivers/net/wireless/iwlwifi/iwl-power.c
@@ -436,7 +436,7 @@ int iwl_power_update_mode(struct iwl_priv *priv, bool force)
/* initialize to default */
void iwl_power_initialize(struct iwl_priv *priv)
{
- priv->power_data.bus_pm = bus_get_pm_support(bus(priv));
+ priv->power_data.bus_pm = false;

priv->power_data.debug_sleep_level_override = -1;



Thanks for your patience !
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/