[Click] Is DirectIPLookup work in kernel mode?

Eddie Kohler kohler at cs.ucla.edu
Fri May 20 14:05:27 EDT 2005


OK, glad to hear it seems fixed :)

1000 thanks to Adam Greenhalgh and Felipe Huici for debugging help on that.
(Guys, let me know if you have problems with the new ARPQuerier!)

Overloading 'new' to vmalloc() would be a good little project....

Eddie


Alexander Sotnikov wrote:
> Thanks for explanation.
>  From oops I see problem was in ARPQ
> After cvs update problem solved (in cangelog i noticed some poblems in 
> ARPQ was fixed)
> 
> I not so good at C++ but maybe  overloading 'new'  to vmalloc() could help?
> 
> BTW  ksymoops  generate  ~3k warning trying to  compare_maps , so bug 
> report is too big for maillist.
> 
> PS: Sorry for bad English
> 
> Eddie Kohler wrote:
> 
>> Alexander,
>>
>> Now that you mention it, it does not surprise me that DirectIPLookup 
>> fails to work.  Linux requires the use of special functions 
>> (vmalloc()) to allocate objects as big as a DirectIPLookup table.  I 
>> don't believe we use those functions.  I'll mark the elements as 
>> user-level only.  (Marko: Does it work in the BSD kernel?)
>>
>> RadixIPLookup, however, SHOULD work, and I am disappointed that it 
>> doesn't. Let's fix it.  Can you please send the result of the kernel 
>> panic?  Use "dmesg | ksymoops" or similar to make the dump more readable.
>>
>> Eddie
>>
>>
>> Alexander Sotnikov wrote:
>>
>>> Hi
>>> Is DirectIPLookoop work in kernel mode? Or any fast lookup scheme? 
>>> Radix  "appear' to work but kernel panic after several minutes of 
>>> running or always crash after new config load
>>> because i get "line 82:  failed to create element 'rt' "   with 
>>> current CVS version 1.5pre on 2.4.26 SMP
>>> StaticIPLookup worg fine in place of DirectIPLookuo?
>>> Any clue how to fix this?
>>>
>>>
>>>
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list