On Fri, Mar 27, 2015 at 08:32:25PM +0000, Gillmore, Matthew via Devel wrote:
> Hello,
> 
> We have increased the number of devices in our test mesh configuration from 
> 18 to 30 devices and have been seeing SKB_PANIC errors in our gateways.
> 
> We are using RT2x00 USB wi-fi module and below is the Kernel Trace.
> This problem seems to only occur under heavy traffic loads.  I've seen
> similar reports of this behavior but do not know if the problem has
> been solved.  Has anyone else seen this behavior? Thanks in advance!

Sounds like missing headroom, and since it happens only in certain
cases, maybe it is correlated with certain frames?

Any chance you could add a print_hex_dump() or something to dump the
frame contents in that case, something like this in
rt2x00queue_write_tx_data (untested):

+   if (entry->skb->data - rt2x00dev->extra_tx_headroom < entry->skb->head) {
+       printk(KERN_WARN "uh oh, not enough headroom! had %d, needed %d",
+              skb_headroom(entry->skb), rt2x00dev->extra_tx_headroom);
+       print_hex_dump_bytes("skb", DUMP_PREFIX_OFFSET, entry->skb->data,
+                            entry->skb->len);
+       ret = -ENOMEM;
+       goto out;
+   }

    skb_push(entry->skb, rt2x00dev->extra_tx_headroom);


-- 
Bob Copeland %% http://bobcopeland.com/
_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to