Re: Kdb - Invalid address for breakpoint, ignoring bp command

2009-09-21 Thread Loic Pefferkorn
19, 2009 at 6:58 PM, Loic Pefferkorn loic-kernelnewb...@frozenbox.com wrote: Hello, I'm trying to put a breakpoint on do_sys_open function through Kdb on a linux-2.6.30 with the command: kdb bp do_sys_open But I get the following error: Invalid address for breakpoint, ignoring bp command diag

Re: Kdb - Invalid address for breakpoint, ignoring bp command

2009-09-21 Thread Mulyadi Santosa
On Tue, Sep 22, 2009 at 3:32 AM, Loic Pefferkorn loic-kernelnewb...@frozenbox.com wrote: Hello, Thanks to your clues, I have found where the problem came from, it was the kernel option CONFIG_DEBUG_RODATA, which set write protection on some read-only kernel pages. Obviously, KDB cannot

Kdb - Invalid address for breakpoint, ignoring bp command

2009-09-20 Thread Loic Pefferkorn
Hello, I'm trying to put a breakpoint on do_sys_open function through Kdb on a linux-2.6.30 with the command: kdb bp do_sys_open But I get the following error: Invalid address for breakpoint, ignoring bp command diag: -21: Invalid address kdb However I'm able to disassemble this function

Re: Kdb - Invalid address for breakpoint, ignoring bp command

2009-09-20 Thread Mulyadi Santosa
, ignoring bp command diag: -21: Invalid address kdb However I'm able to disassemble this function using id command, which means do_sys_open symbol is known to kdb. Does someone has an idea about this error ? Thanks in advance Loic Not a very specific idea. The fact that you can dissasemble