2008-10-29 21:33:17

by Marcel Holtmann

[permalink] [raw]
Subject: Still 4965 issues with wireless-testing

Hi guys,

so besides the point that the Ubuntu 8.10 kernel has a broken driver
for the Intel 4965 cards which will crash my X61 after less than one
minute uptime when it connects to my access point, I have my dmesg
full with warnings from the latest wireless-testing kernel.

I know that we have discussed this before and Johannes' patch at least
turns it into warnings instead of killing my system completely, but I
am still surprised why this hasn't been fixed.

Attached is one of the dmesg snippets. They occur multiple times per
minute.

Regards

Marcel


Attachments:
iwlagn-dmesg.txt (2.26 kB)

2008-10-30 04:14:34

by Marcel Holtmann

[permalink] [raw]
Subject: Re: Still 4965 issues with wireless-testing

Hi Reinette,

>> so besides the point that the Ubuntu 8.10 kernel has a broken driver
>> for the Intel 4965 cards which will crash my X61 after less than one
>> minute uptime when it connects to my access point, I have my dmesg
>> full with warnings from the latest wireless-testing kernel.
>>
>> I know that we have discussed this before and Johannes' patch at
>> least
>> turns it into warnings instead of killing my system completely, but I
>> am still surprised why this hasn't been fixed.
>>
>> Attached is one of the dmesg snippets. They occur multiple times per
>> minute.
>
> Could you please compare your testing with that done in
> http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1703 ?

so as usual I am running a 64-bit kernel and the AP is N-capable. I
just connect to it with wpa_supplicant and after a few minutes these
warnings keep showing and then they keep coming. The ucode is the
latest downloaded from the website.

Regards

Marcel


2008-10-29 23:45:20

by Tomas Winkler

[permalink] [raw]
Subject: Re: Still 4965 issues with wireless-testing

On Thu, Oct 30, 2008 at 1:01 AM, reinette chatre
<[email protected]> wrote:
> On Wed, 2008-10-29 at 14:33 -0700, Marcel Holtmann wrote:
>> Hi guys,
>>
>> so besides the point that the Ubuntu 8.10 kernel has a broken driver
>> for the Intel 4965 cards which will crash my X61 after less than one
>> minute uptime when it connects to my access point, I have my dmesg
>> full with warnings from the latest wireless-testing kernel.
>>
>> I know that we have discussed this before and Johannes' patch at least
>> turns it into warnings instead of killing my system completely, but I
>> am still surprised why this hasn't been fixed.
>>
>> Attached is one of the dmesg snippets. They occur multiple times per
>> minute.
>
> Could you please compare your testing with that done in
> http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1703 ?

Strange I haven't seen this one for while
txq_id = 31 (0x1f)
Which is due to
SEQ_TO_QUEUE(s) (((s) >> 8) & 0x1f)
We should dump the whole RXB there to see what is there and open full RX log
which is bit 24 in the log level
Thanks
Tomas

2008-10-29 23:01:17

by Reinette Chatre

[permalink] [raw]
Subject: Re: Still 4965 issues with wireless-testing

On Wed, 2008-10-29 at 14:33 -0700, Marcel Holtmann wrote:
> Hi guys,
>
> so besides the point that the Ubuntu 8.10 kernel has a broken driver
> for the Intel 4965 cards which will crash my X61 after less than one
> minute uptime when it connects to my access point, I have my dmesg
> full with warnings from the latest wireless-testing kernel.
>
> I know that we have discussed this before and Johannes' patch at least
> turns it into warnings instead of killing my system completely, but I
> am still surprised why this hasn't been fixed.
>
> Attached is one of the dmesg snippets. They occur multiple times per
> minute.

Could you please compare your testing with that done in
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1703 ?

Thanks

Reinette


2008-10-31 13:52:54

by Tomas Winkler

[permalink] [raw]
Subject: Re: Still 4965 issues with wireless-testing

On Fri, Oct 31, 2008 at 10:41 AM, Marcel Holtmann <[email protected]> wrote:
> Hi again,
>
>> so besides the point that the Ubuntu 8.10 kernel has a broken driver for
>> the Intel 4965 cards which will crash my X61 after less than one minute
>> uptime when it connects to my access point, I have my dmesg full with
>> warnings from the latest wireless-testing kernel.
>>
>> I know that we have discussed this before and Johannes' patch at least
>> turns it into warnings instead of killing my system completely, but I am
>> still surprised why this hasn't been fixed.
>
> so this becomes more and more annoying. I get this WARN_ON now multiple
> times pre minute. Only the first few minutes after loading the firmware
> everything is okay and then it keeps filling my dmesg. And on top of that, I
> now see these:
>
> __ratelimit: 1189 callbacks suppressed
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> __ratelimit: 57695 callbacks suppressed
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
> __ratelimit: 3345 callbacks suppressed
> iwlagn: Can not allocate SKB buffers
> iwlagn: Can not allocate SKB buffers
>
> What is going on here? This is a normal setup and nothing fancy. Access
> point is N-Capable from D-Link btw.


I have D-Link too I don't see this. What kernel version is this? Is
this your ubuntu version or wireless-testing?
Any more data you can provide (.config. slabinfo)
Thanks
Tomas

2008-10-31 21:09:39

by Tomas Winkler

[permalink] [raw]
Subject: Re: Still 4965 issues with wireless-testing

On Fri, Oct 31, 2008 at 8:57 PM, Marcel Holtmann <[email protected]> wrote:
> Hi Tomas,
>
>>>> so besides the point that the Ubuntu 8.10 kernel has a broken driver for
>>>> the Intel 4965 cards which will crash my X61 after less than one minute
>>>> uptime when it connects to my access point, I have my dmesg full with
>>>> warnings from the latest wireless-testing kernel.
>>>>
>>>> I know that we have discussed this before and Johannes' patch at least
>>>> turns it into warnings instead of killing my system completely, but I am
>>>> still surprised why this hasn't been fixed.
>>>
>>> so this becomes more and more annoying. I get this WARN_ON now multiple
>>> times pre minute. Only the first few minutes after loading the firmware
>>> everything is okay and then it keeps filling my dmesg. And on top of
>>> that, I
>>> now see these:
>>>
>>> __ratelimit: 1189 callbacks suppressed
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> __ratelimit: 57695 callbacks suppressed
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>> __ratelimit: 3345 callbacks suppressed
>>> iwlagn: Can not allocate SKB buffers
>>> iwlagn: Can not allocate SKB buffers
>>>
>>> What is going on here? This is a normal setup and nothing fancy. Access
>>> point is N-Capable from D-Link btw.
>>
>>
>> I have D-Link too I don't see this. What kernel version is this? Is
>> this your ubuntu version or wireless-testing?
>> Any more data you can provide (.config. slabinfo)
>
> this is from wireless-testing. The Ubuntu 2.6.27 kernel is totally broken.
> It will crash the kernel since we are missing the patch to turn this into a
> warning :)
>
> Attached is my config. The slabinfo will follow once the SKB errors come up
> again. It normally takes a few hours before they show. Just resumed that
> machine.

I've downloaded whole moblin last night over 2.6.27.4, it's a bit slow
because the missing calibrations but it didn't crashed.

I will test your config, your machine is T61 am I right?

Tomas

2008-10-31 08:41:48

by Marcel Holtmann

[permalink] [raw]
Subject: Re: Still 4965 issues with wireless-testing

Hi again,

> so besides the point that the Ubuntu 8.10 kernel has a broken driver
> for the Intel 4965 cards which will crash my X61 after less than one
> minute uptime when it connects to my access point, I have my dmesg
> full with warnings from the latest wireless-testing kernel.
>
> I know that we have discussed this before and Johannes' patch at
> least turns it into warnings instead of killing my system
> completely, but I am still surprised why this hasn't been fixed.

so this becomes more and more annoying. I get this WARN_ON now
multiple times pre minute. Only the first few minutes after loading
the firmware everything is okay and then it keeps filling my dmesg.
And on top of that, I now see these:

__ratelimit: 1189 callbacks suppressed
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
__ratelimit: 57695 callbacks suppressed
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers
__ratelimit: 3345 callbacks suppressed
iwlagn: Can not allocate SKB buffers
iwlagn: Can not allocate SKB buffers

What is going on here? This is a normal setup and nothing fancy.
Access point is N-Capable from D-Link btw.

Regards

Marcel


2008-10-31 21:36:36

by Marcel Holtmann

[permalink] [raw]
Subject: Re: Still 4965 issues with wireless-testing

Hi Tomas,

>>>>> so besides the point that the Ubuntu 8.10 kernel has a broken
>>>>> driver for
>>>>> the Intel 4965 cards which will crash my X61 after less than one
>>>>> minute
>>>>> uptime when it connects to my access point, I have my dmesg full
>>>>> with
>>>>> warnings from the latest wireless-testing kernel.
>>>>>
>>>>> I know that we have discussed this before and Johannes' patch at
>>>>> least
>>>>> turns it into warnings instead of killing my system completely,
>>>>> but I am
>>>>> still surprised why this hasn't been fixed.
>>>>
>>>> so this becomes more and more annoying. I get this WARN_ON now
>>>> multiple
>>>> times pre minute. Only the first few minutes after loading the
>>>> firmware
>>>> everything is okay and then it keeps filling my dmesg. And on top
>>>> of
>>>> that, I
>>>> now see these:
>>>>
>>>> __ratelimit: 1189 callbacks suppressed
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> __ratelimit: 57695 callbacks suppressed
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>> __ratelimit: 3345 callbacks suppressed
>>>> iwlagn: Can not allocate SKB buffers
>>>> iwlagn: Can not allocate SKB buffers
>>>>
>>>> What is going on here? This is a normal setup and nothing fancy.
>>>> Access
>>>> point is N-Capable from D-Link btw.
>>>
>>>
>>> I have D-Link too I don't see this. What kernel version is this? Is
>>> this your ubuntu version or wireless-testing?
>>> Any more data you can provide (.config. slabinfo)
>>
>> this is from wireless-testing. The Ubuntu 2.6.27 kernel is totally
>> broken.
>> It will crash the kernel since we are missing the patch to turn
>> this into a
>> warning :)
>>
>> Attached is my config. The slabinfo will follow once the SKB errors
>> come up
>> again. It normally takes a few hours before they show. Just resumed
>> that
>> machine.
>
> I've downloaded whole moblin last night over 2.6.27.4, it's a bit slow
> because the missing calibrations but it didn't crashed.
>
> I will test your config, your machine is T61 am I right?

I have a X61 and running the 64-bit version of kernel and userspace.

Regards

Marcel


2008-11-01 20:14:28

by Tomas Winkler

[permalink] [raw]
Subject: Re: Still 4965 issues with wireless-testing

On Sat, Nov 1, 2008 at 9:11 PM, Marcel Holtmann <[email protected]> wrote:
> Hi Tomas,
>
>>>>>>>> so besides the point that the Ubuntu 8.10 kernel has a broken driver
>>>>>>>> for
>>>>>>>> the Intel 4965 cards which will crash my X61 after less than one
>>>>>>>> minute
>>>>>>>> uptime when it connects to my access point, I have my dmesg full
>>>>>>>> with
>>>>>>>> warnings from the latest wireless-testing kernel.
>>>>>>>>
>>>>>>>> I know that we have discussed this before and Johannes' patch at
>>>>>>>> least
>>>>>>>> turns it into warnings instead of killing my system completely, but
>>>>>>>> I
>>>>>>>> am
>>>>>>>> still surprised why this hasn't been fixed.
>>>>>>>
>>>>>>> so this becomes more and more annoying. I get this WARN_ON now
>>>>>>> multiple
>>>>>>> times pre minute. Only the first few minutes after loading the
>>>>>>> firmware
>>>>>>> everything is okay and then it keeps filling my dmesg. And on top of
>>>>>>> that, I
>>>>>>> now see these:
>>>>>>>
>>>>>>> __ratelimit: 1189 callbacks suppressed
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> __ratelimit: 57695 callbacks suppressed
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> __ratelimit: 3345 callbacks suppressed
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>>
>>>>>>> What is going on here? This is a normal setup and nothing fancy.
>>>>>>> Access
>>>>>>> point is N-Capable from D-Link btw.
>>>>>>
>>>>>>
>>>>>> I have D-Link too I don't see this. What kernel version is this? Is
>>>>>> this your ubuntu version or wireless-testing?
>>>>>> Any more data you can provide (.config. slabinfo)
>>>>>
>>>>> this is from wireless-testing. The Ubuntu 2.6.27 kernel is totally
>>>>> broken.
>>>>> It will crash the kernel since we are missing the patch to turn this
>>>>> into
>>>>> a
>>>>> warning :)
>>>>>
>>>>> Attached is my config. The slabinfo will follow once the SKB errors
>>>>> come
>>>>> up
>>>>> again. It normally takes a few hours before they show. Just resumed
>>>>> that
>>>>> machine.
>>>>
>>>> I've downloaded whole moblin last night over 2.6.27.4, it's a bit slow
>>>> because the missing calibrations but it didn't crashed.
>>>>
>>>> I will test your config, your machine is T61 am I right?
>>>
>>> I have a X61 and running the 64-bit version of kernel and userspace.
>>
>> I found in sky2 driver comment
>>
>> * The buffer returned from netdev_alloc_skb is
>> * aligned except if slab debugging is enabled
>>
>> Since you have slub debug enabled, can you run this debug patch on
>> your system (might be withe space broken, I've just pasted in)
>
> I applied your patch and ran the latest wireless-testing for over 24 hours
> now. The iwl_tx_cmd_complete issues shows up on a regular basis and the
> allocate SKB buffers, too. However it didn't trigger the extra WARN_ON you
> added.

Thanks for the report, will try different directions.
Tomas

2008-10-31 23:35:27

by Tomas Winkler

[permalink] [raw]
Subject: Re: Still 4965 issues with wireless-testing

On Fri, Oct 31, 2008 at 11:36 PM, Marcel Holtmann <[email protected]> wrote:
> Hi Tomas,
>
>>>>>> so besides the point that the Ubuntu 8.10 kernel has a broken driver
>>>>>> for
>>>>>> the Intel 4965 cards which will crash my X61 after less than one
>>>>>> minute
>>>>>> uptime when it connects to my access point, I have my dmesg full with
>>>>>> warnings from the latest wireless-testing kernel.
>>>>>>
>>>>>> I know that we have discussed this before and Johannes' patch at least
>>>>>> turns it into warnings instead of killing my system completely, but I
>>>>>> am
>>>>>> still surprised why this hasn't been fixed.
>>>>>
>>>>> so this becomes more and more annoying. I get this WARN_ON now multiple
>>>>> times pre minute. Only the first few minutes after loading the firmware
>>>>> everything is okay and then it keeps filling my dmesg. And on top of
>>>>> that, I
>>>>> now see these:
>>>>>
>>>>> __ratelimit: 1189 callbacks suppressed
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> __ratelimit: 57695 callbacks suppressed
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> __ratelimit: 3345 callbacks suppressed
>>>>> iwlagn: Can not allocate SKB buffers
>>>>> iwlagn: Can not allocate SKB buffers
>>>>>
>>>>> What is going on here? This is a normal setup and nothing fancy. Access
>>>>> point is N-Capable from D-Link btw.
>>>>
>>>>
>>>> I have D-Link too I don't see this. What kernel version is this? Is
>>>> this your ubuntu version or wireless-testing?
>>>> Any more data you can provide (.config. slabinfo)
>>>
>>> this is from wireless-testing. The Ubuntu 2.6.27 kernel is totally
>>> broken.
>>> It will crash the kernel since we are missing the patch to turn this into
>>> a
>>> warning :)
>>>
>>> Attached is my config. The slabinfo will follow once the SKB errors come
>>> up
>>> again. It normally takes a few hours before they show. Just resumed that
>>> machine.
>>
>> I've downloaded whole moblin last night over 2.6.27.4, it's a bit slow
>> because the missing calibrations but it didn't crashed.
>>
>> I will test your config, your machine is T61 am I right?
>
> I have a X61 and running the 64-bit version of kernel and userspace.

I found in sky2 driver comment

* The buffer returned from netdev_alloc_skb is
* aligned except if slab debugging is enabled

Since you have slub debug enabled, can you run this debug patch on
your system (might be withe space broken, I've just pasted in)

diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c
b/drivers/net/wireless/iwlwifi/iwl-rx.c
index b86f958..1bfcc52 100644
--- a/drivers/net/wireless/iwlwifi/iwl-rx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-rx.c
@@ -166,12 +166,17 @@ int iwl_rx_queue_update_write_ptr(struct
iwl_priv *priv, struct iwl_rx_queue *q)
return ret;
}
EXPORT_SYMBOL(iwl_rx_queue_update_write_ptr);
+
+#define IWL_RX_DMA_MASK (DMA_BIT_MASK(36) & ~0xFF)
/**
* iwl_dma_addr2rbd_ptr - convert a DMA address to a uCode read buffer ptr
*/
static inline __le32 iwl_dma_addr2rbd_ptr(struct iwl_priv *priv,
dma_addr_t dma_addr)
{
+ if (WARN_ON(dma_addr & ~IWL_RX_DMA_MASK))
+ printk(KERN_ERR "wrong dma addr = %llu\n",
+ (unsigned long long)dma_addr);
return cpu_to_le32((u32)(dma_addr >> 8));
}

Thanks
Tomas

2008-11-01 19:11:47

by Marcel Holtmann

[permalink] [raw]
Subject: Re: Still 4965 issues with wireless-testing

Hi Tomas,

>>>>>>> so besides the point that the Ubuntu 8.10 kernel has a broken
>>>>>>> driver
>>>>>>> for
>>>>>>> the Intel 4965 cards which will crash my X61 after less than one
>>>>>>> minute
>>>>>>> uptime when it connects to my access point, I have my dmesg
>>>>>>> full with
>>>>>>> warnings from the latest wireless-testing kernel.
>>>>>>>
>>>>>>> I know that we have discussed this before and Johannes' patch
>>>>>>> at least
>>>>>>> turns it into warnings instead of killing my system
>>>>>>> completely, but I
>>>>>>> am
>>>>>>> still surprised why this hasn't been fixed.
>>>>>>
>>>>>> so this becomes more and more annoying. I get this WARN_ON now
>>>>>> multiple
>>>>>> times pre minute. Only the first few minutes after loading the
>>>>>> firmware
>>>>>> everything is okay and then it keeps filling my dmesg. And on
>>>>>> top of
>>>>>> that, I
>>>>>> now see these:
>>>>>>
>>>>>> __ratelimit: 1189 callbacks suppressed
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> __ratelimit: 57695 callbacks suppressed
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> __ratelimit: 3345 callbacks suppressed
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>> iwlagn: Can not allocate SKB buffers
>>>>>>
>>>>>> What is going on here? This is a normal setup and nothing
>>>>>> fancy. Access
>>>>>> point is N-Capable from D-Link btw.
>>>>>
>>>>>
>>>>> I have D-Link too I don't see this. What kernel version is this?
>>>>> Is
>>>>> this your ubuntu version or wireless-testing?
>>>>> Any more data you can provide (.config. slabinfo)
>>>>
>>>> this is from wireless-testing. The Ubuntu 2.6.27 kernel is totally
>>>> broken.
>>>> It will crash the kernel since we are missing the patch to turn
>>>> this into
>>>> a
>>>> warning :)
>>>>
>>>> Attached is my config. The slabinfo will follow once the SKB
>>>> errors come
>>>> up
>>>> again. It normally takes a few hours before they show. Just
>>>> resumed that
>>>> machine.
>>>
>>> I've downloaded whole moblin last night over 2.6.27.4, it's a bit
>>> slow
>>> because the missing calibrations but it didn't crashed.
>>>
>>> I will test your config, your machine is T61 am I right?
>>
>> I have a X61 and running the 64-bit version of kernel and userspace.
>
> I found in sky2 driver comment
>
> * The buffer returned from netdev_alloc_skb is
> * aligned except if slab debugging is enabled
>
> Since you have slub debug enabled, can you run this debug patch on
> your system (might be withe space broken, I've just pasted in)

I applied your patch and ran the latest wireless-testing for over 24
hours now. The iwl_tx_cmd_complete issues shows up on a regular basis
and the allocate SKB buffers, too. However it didn't trigger the extra
WARN_ON you added.

Regards

Marcel