[Click] Click-git: Kernel crash w/ Queue element overflow?

Nuutti Varis nvaris at cc.hut.fi
Wed Feb 10 08:28:56 EST 2010


Hey, 

While trying to run throughput measurements with Click in a kernel, running a simple EtherSwitch configuration (attached as etherswitch.click) in a topology of:

EndHostA::ethI0 <==> ethI0::EtherSwitch1::ethI1 <==> ethI1::EtherSwitch2::ethI0 <==> ethI0::EndHostB
192.168.2.1 ---------------------------------------------------------------------------> 192.168.2.2
FastUDPSrc w/ 64B packet, 300kpp/s

I stumbled upon a kernel crash, seemingly when the Queue elements started dropping packets due to overflow. I tried this with two different kernel versions (2.6.31.12 and 2.6.24.7) and with either 2.6.24.7 manual patch, or with --enable-fixincludes. Interestingly, the kernel crash does not happen when I disable SMP from the kernel. Additionally, normal linux bridging does not crash the kernel on overflows. Partial/full crash dumps as attachments from various days of testing.

Configuration stuff of the EtherSwitch{1,2}:
- Dumps arch indicated in the filename, either amd64 or ia32
- MTU of ethI1 is 1540 (tried with 1500 as well, no difference)
- Click is configured with --enable-linuxmodule --enable-userlevel --enable-etherswitch [--enable-fixincludes]
- Kernel does not have any pre-empting enabled.
- Both e1000e poll-patched and vanilla cause the problem
- e1000e versions 0.4.1.7 and 1.0.2-k2 (comes with 2.6.31.12) cause the problem


-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel_crash.020210.linux-2.6.24.7.amd64.manual_patch.dump
Type: application/octet-stream
Size: 5401 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20100210/e0f6883d/attachment-0007.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel_warn.020210.linux-2.6.31.12.amd64.enable_fixincludes.dump
Type: application/octet-stream
Size: 2134 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20100210/e0f6883d/attachment-0008.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel_crash.020210.linux-2.6.24.7.amd64.enable_fixincludes.dump
Type: application/octet-stream
Size: 1739 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20100210/e0f6883d/attachment-0009.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel_crash.050210.linux-2.6.24.7.amd64.manual_patch.2.dump
Type: application/octet-stream
Size: 3266 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20100210/e0f6883d/attachment-0010.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel_crash.050210.linux-2.6.24.7.amd64.manual_patch.dump
Type: application/octet-stream
Size: 2758 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20100210/e0f6883d/attachment-0011.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel_crash.100210.linux-2.6.24.7.ia32.manual_patch.dump
Type: application/octet-stream
Size: 3179 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20100210/e0f6883d/attachment-0012.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: etherswitch.click
Type: application/octet-stream
Size: 338 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20100210/e0f6883d/attachment-0013.obj 
-------------- next part --------------



--
Nuutti Varis (nvaris at cc.hut.fi)
PhD Student, Aalto University School of Science and Technology
Department of Communications and Networking







More information about the click mailing list