kdb
[Top] [All Lists]

Re: bph / bpha not working.

To: Avi Nehori <anehori@xxxxxxxxxxxxxx>
Subject: Re: bph / bpha not working.
From: Jay Lan <jlan@xxxxxxx>
Date: Wed, 21 May 2008 12:11:56 -0700
Cc: Scott Lurndal <scott.lurndal@xxxxxxxxxxxxxxxx>, jidong xiao <jidong.xiao@xxxxxxxxx>, kdb@xxxxxxxxxxx
In-reply-to: <4833C201.1000800@xxxxxxxxxxxxxx>
References: <481EDC13.1040504@xxxxxxxxxxxxxx> <4820B9EA.3060002@xxxxxxx> <48214F33.1000006@xxxxxxxxxxxxxx> <4104961b0805070000l2ca0559du647090584011511e@xxxxxxxxxxxxxx> <48215537.3040901@xxxxxxxxxxxxxx> <20080507161145.GA4398@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <482697FD.7030900@xxxxxxxxxxxxxx> <483346F1.3010100@xxxxxxx> <4833C201.1000800@xxxxxxxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070801)
Avi Nehori wrote:
> Jay,
> the patch didnt work for me.
> I'm still looking for a resolution...

Hmmm, i just tested with Konstantin's patch on 2.6.25 and
2.6.26-rc3, and it seemed to work for me.


> Entering kdb (current=0xf7841c80, pid 0) on processor 1 due to Keyboard Entry
[1]kdb> bpha do_sync
Forced Instruction(Register) BP #0 at 0xc017b6a4 (do_sync)
    is enabled in dr0 globally
[1]kdb> go

I set up a global hardware breakpoint at do_sync here.
Then i entered 'sync' command from a shell. The system dropped into KDB:

Instruction(Register) breakpoint #0 at 0xc017b6a4
0xc017b6a4 do_sync:         push   %ebx

Entering kdb (0xf72a23a0, pid 5473) on processor 2 due to Debug @ 0xc017b6a4
[2]kdb>

You are testing a 2.4.21 kernel... I do not know if KDB support i386
in 2.4.21 at all.

Keith Owens did a tremendous job in making KDB backtrace working on
x86_64/i386 and fixed other bugs along the way, but his work did not
complete until 2.6.23. My brief effort of back porting the x86_64/i386
KDB support to sles10sp2 (2.6.16 based) and rhel5.2 (2.6.18 based)
did not work well. So, honestly, i recommand you move up to 2.6.23
or later.

Thanks,
 - jay

> 
> Jay Lan wrote:
>> Hi Avi,
>>
>> Did Konstantin's patch work for you? His patch caused ia64
>> compilation to fail, but i would like to know if his patch
>> work for you on i386.
>>
>> Thanks!
>>
>>  - jay
>>
>>
>> Scanned by Check Point Total Security Gateway.
>>
>>   
> ---------------------------
> Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.

---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>