skput - kernel panic
powell molleti
powelllinux at yahoo.com
Sat Jan 19 02:31:11 EST 2002
Hi,
Seems like my element is send a bad packet to
ToDevice and which is calling skb_put which calls
the inlined skb_over_panic.
I have cleaned up the stuff. But i m facing
a diff problem now.
I m maintaining a buffer that buffer packets for
a brief time to make some decision. I m storing
the packet to the buffer as follows.
buff -> packet = (Packet *) p -> uniqueify().
When the decision is made i have to send the packet
and free the buff link that is having the packet.
So i have done the following to send:
Packet *p = (Packet *)Packet::make(p_tmp ->
steal_skb());
output(0).push(p);
When i do this seems like output(0).push(p) is
working but when i tried to free the buff , click
is crashing.
The ksymoops output is :
Code; c812cefb <[click].text.end+8924/9ca9>
d: 68 f4 0c 16 c8 push $0xc8160cf4
Code; c812cf00 <[click].text.end+8929/9ca9>
12: e8 3b 00 00 00 call 52
<_EIP+0x52> c812cf40 <[click].text.end+8969/9ca9>
So i tried another make method as follows.
Packet *p = (Packet *) Packet::make(hroom, data,
len,
troom);
When i do this output(0).push(p) is not executing
and click is crashing with a oops report that i
not able to figure out.
I m pasting a few lines from the ksymoops report:
Code; c80ec2d8
<[click]unparse_type__Q28IPFilter9Primitiveii+378/8b4>
b: 0f b7 01 movzwl (%ecx),%eax
Code; c80ec2db
<[click]unparse_type__Q28IPFilter9Primitiveii+37b/8b4>
e: 66 89 43 08 mov %ax,0x8(%ebx)
Code; c80ec2df
<[click]unparse_type__Q28IPFilter9Primitiveii+37f/8b4>
12: 0f b7 00 movzwl (%eax),%eax
I have looked into arpquerier source and it seems
fine.
It will be great if anyone can throw some light on
this, a pointer to a source or some extra doc will
also do.
I m just not able to deocde the ksymoops messages.
Thanks
cya
powell
--- powell molleti <powelllinux at yahoo.com> wrote:
> Hi,
>
> On using the click for a while i m getting
>
> kernel panic : skput:over : c80b6a85 : 1580
> put:1514
> \
> dev:eth0
>
> It is written in ChangeLog that this bug was
> fixed on 2nd Dec 2001. I m using the cvs version of
>
> 7th Jan 2002.
>
> Is this because of the problem in my element that
> i m running. I using only the Packet class for
> all packet management.
>
> Thank in advance.
> cya
> Powell
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
More information about the click
mailing list