[Click] click + xen + PollDevice problem

Eddie Kohler kohler at cs.ucla.edu
Thu Mar 5 15:15:40 EST 2009


IPClassifier requires IP packets.
Ethernet devices generate Ethernet packets.

You need to test the packets coming out of peth4 for IP.
Classifier(12/0800) usually does this.
You need to then mark the IP header annotation.
CheckIPHeader(14) usually does this; 14 is the offset to the IP header; unless 
you remove the Ethernet header first with Strip(14).

Eddie



Manel.Bourguiba at lip6.fr wrote:
> Hi all,
> 
> I am using click with xen, a Core 2 duo processor and a quad port e1000
> card. With a simple configuration like this:
> PollDevice(peth4) -> Queue(1000) -> ToDevice (vif1.1), there is no
> problem, but when I add a classifier like :
> 
> PollDevice(peth4) -> C1::IPClassifier (10.0.0.6, 10.0.0.7)
> C1[0] -> Queue(1000)-> ToDevice(vif1.1)
> C1[1] -> Queue(1000)-> ToDevice(vif2.1)
> 
> The system crashes, it uses 100% CPU and I have the following dmesg output :
> 
> Unable to handle kernel NULL pointer dereference at 0000000000000c RIP
> Modules linked in : click proclikefs button battery ac ip_contracks e1000
> fan thermal processor
> Pid: 17112, comm: kclick Not tainted 2.6.18.8-xen0
> 
> I did the same thing with FromDevice, it worked even with a more complex
> configuration. So the PollDevice is the cause.
> I enabled multithreading when configuring click, but i had the same problem
> 
> I would appreciate your help.
> Thanks
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list