About this list Date view Thread view Subject view Author view Attachment view

From: James MacLean (macleajb_at_ednet.ns.ca)
Date: Thu 16 Sep 2004 - 15:49:51 BST


Herbert Poetzl wrote:

>On Thu, Sep 16, 2004 at 10:24:31AM -0300, James MacLean wrote:
>
>
>>Herbert Poetzl wrote:
>>
>>
>>
>>>On Wed, Sep 15, 2004 at 09:53:50PM -0300, James MacLean wrote:
>>>
>>>
>>>>Herbert Poetzl wrote:
>>>>
>>>>
>>>>>On Wed, Sep 15, 2004 at 08:28:43PM -0300, James MacLean wrote:
>>>>>
>>>>>
>>>>>>Herbert Poetzl wrote:
>>>>>>
>>>>>>
>>>>>>>>>>Don't hold your breath :(. Can not find a null modem and cables :(.
>>>>>>>>>>Plus the test box is down and didn't auto reboot this time so I'm
>>>>>>>>>>sending someone in to revive it :).
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>I can wait ;) ...
>>>>>>>
>>>>>>>best,
>>>>>>>Herbert
>>>>>>>
>>>>>>>
>>>>>>JES
>>>>>>
>>>>>>
>>>>>Hi James!
>>>>>
>>>>>okay, could you put the EIP address through addr2line
>>>>>with 'addr2line -e vmlinux c02ae990' and see if
>>>>>this points to the folowing line of code:
>>>>>
>>>>>
>>>>Just gives ??:00
>>>>
>>>>
>>>probably CONFIG_DEBUG_KERNEL=y isn't set in the
>>>kernel config. make a copy of the kernel source
>>>tree, change just that single option, recompile
>>>the kernel and use the vmlinux for the addr2line
>>>
>>>
>>>
>>Needed CONFIG_DEBUG_INFO=y.
>>
>>
>>
>>>>>net/ipv4/tcp_ipv4.c ~2189
>>>>>
>>>>> vxdprintk(VXD_CBIT(net, 6),
>>>>> "sk,req: %p [#%d] (from %d)",
>>>>> req->sk, req->sk->sk_xid, current->xid);
>>>>>here -----> if (!vx_check(req->sk->sk_xid, VX_IDENT|VX_WATCH))
>>>>> continue;
>>>>> if (req->class->family == st->family) {
>>>>> cur = req;
>>>>> goto out;
>>>>> }
>>>>>
>>>>>if the addr2line doesn't produce a line in
>>>>>net/ipv4/tcp_ipv4.c, please decrement the addr
>>>>>in steps of 4 bytes, like this:
>>>>>c02ae98c, c02ae988, c02ae984, c02ae980 ...
>>>>>and see where in net/ipv4/tcp_ipv4.c it ends up
>>>>>
>>>>>
>>>>>
>>>>Sorry, but all I get it is ??:00 and after reading the man on addr2line,
>>>>I also compiled hello.c and got the same result. So obviously I'm not up
>>>>to snuff with what I should be doing/seeing to get addr2line to
>>>>function. Or is there a way to get what you want with "gdb vmlinux" ?
>>>>
>>>>
>>>(for hello.c you'll need the -g option for gcc)
>>>
>>>
>>>
>>Okay. This time the EIP resulted in :
>>addr2line -e /usr/src/linux/vmlinux c02ae98c
>>include/linux/vs_base.h:23
>>
>>
>
>okay could you please go back in steps of 4 bytes as
>described above .. c02ae988, c02ae984, c02ae980 ...
>until you hit 'something' in net/ipv4/tcp_ipv4.c?
>
>
addr2line -e /usr/src/linux/vmlinux c02ae988
net/ipv4/tcp_ipv4.c:2185

JES

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 16 Sep 2004 - 15:50:09 BST by hypermail 2.1.3