Hi,

I am porting the IPSec from FreeBsd to LINUX. I am debugging the kernel
rigth now. I am facing a problem with KDB(kernel version 2.4.2). I ran
some applications(IPSec related). During the run of one of the
applications, the kernel paniced throwing up the following message:

" Unable to handle null pointer at the address ...."

At that point I noted down the instruction pointer (eip value) and
traced the stack (using the command 'bt'). The stack shows the function
in which the kernel paniced (let's say the function is 'X').

After that I rebooted the machine and did the following :

" gbd -c /proc/kcore vmlinux"

and took assembly dump by giving the following command:
(gdb) disassemble <eip value>

The assembly dump shows that the eip is not within the scope of the
function 'X' (that is shown in the stack trace)!

Has anybody faced this kind of problem earlier? Please help me regarding
this.

Thanks,
Probhas

-----------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:[EMAIL PROTECTED] and delete this mail
from your records.
------------------------------------------------------------------------------------------------------------------------

Reply via email to