[Click] kernel crash, Tap, OpenvSwitch

Hamid Farhadi qq119512 at iii.u-tokyo.ac.jp
Fri Oct 14 08:51:57 EDT 2011


to update my details this line is the cause of the problem(only in 
kernel mode as I said before):
FromDevice(eth0) -> Queue -> ToDevice(tap1);

Also, one time I got the this message in dmesg: " /Dead loop on virtual 
device/ tap1, fix urgently"

this message is occurs when a virtual device's hard_start_xmit() 
function tries to transmit a packet using itself as output device.



On Wed Oct 12 17:13:30 2011, Hamid Farhadi wrote:
>
> Hi,
> this is my scenario:
>
> eth0 -> tap1 -> etherswitch -> tap2 -> eth0
>
> it works both in user mode and kernel mode. I make Taps using click.
> Now I replace etherswitch element with OpenvSwitch (OVS) which is not a
> click element. it is a kernel module:
>
> eth0 -> tap1 -> OVS -> tap2 -> eth0
>
> It works with usermode Click but in kernel mode the OS crashes once I
> send packets to eth0. I make Taps using OVS.
>
> This is the config:
>
> FromDevice(eth0) -> Queue -> ToDevice(tap1); //it goes to OVS, and will
> be forwarded to tap2
> FromDevice(tap2) -> Discard;
>
> If I put each of these lines in a config file and run one in user mode
> and the other in kernel mode, it works fine. but both together in a
> single config file in the kernel mode freezes the OS.
> Is that causing a loop?
>
> Any help is appreciated.
> Hamid
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click




More information about the click mailing list