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


Attachment: kernel_crash.020210.linux-2.6.24.7.amd64.manual_patch.dump
Description: Binary data

Attachment: kernel_warn.020210.linux-2.6.31.12.amd64.enable_fixincludes.dump
Description: Binary data

Attachment: kernel_crash.020210.linux-2.6.24.7.amd64.enable_fixincludes.dump
Description: Binary data

Attachment: kernel_crash.050210.linux-2.6.24.7.amd64.manual_patch.2.dump
Description: Binary data

Attachment: kernel_crash.050210.linux-2.6.24.7.amd64.manual_patch.dump
Description: Binary data

Attachment: kernel_crash.100210.linux-2.6.24.7.ia32.manual_patch.dump
Description: Binary data

Attachment: etherswitch.click
Description: Binary data



--
Nuutti Varis ([email protected])
PhD Student, Aalto University School of Science and Technology
Department of Communications and Networking





_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to