All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Aloni <da-x@monatomic.org>
To: Keith Owens <kaos@sgi.com>, Nathan Scott <nathans@sgi.com>
Cc: kdb@oss.sgi.com, linux-kernel@vger.kernel.org
Subject: Re: Announce: kdb v4.4 is available for kernel 2.6.16
Date: Sat, 1 Apr 2006 20:04:30 +0300	[thread overview]
Message-ID: <20060401170430.GA14715@localdomain> (raw)
In-Reply-To: <28258.1142920764@kao2.melbourne.sgi.com>

On Tue, Mar 21, 2006 at 04:59:24PM +1100, Keith Owens wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> KDB (Linux Kernel Debugger) has been updated for kernel 2.6.16.
> 
> ftp://oss.sgi.com/projects/kdb/download/v4.4/
> ftp://ftp.ocs.com.au/pub/mirrors/oss.sgi.com/projects/kdb/download/v4.4/
> 
> Note:  Due to a spam attack, the kdb@oss.sgi.com mailing list is now
> subscriber only.  If you reply to this mail, you may wish to trim
> kdb@oss.sgi.com from the cc: list.
> 
> Thanks to Nathan Scott for updating KDB while I was on holiday.
> 
> Current versions are :-
> 
>   kdb-v4.4-2.6.16-common-1.bz2
>   kdb-v4.4-2.6.16-i386-1.bz2
>   kdb-v4.4-2.6.16-ia64-1.bz2

Thanks for this new version, however I'm looking forward to see
kdb maintained also for the x86_64 architecture. Currently I have 
got as far as forward-porting it to a level where it "works" except 
for one annoying issue where setjmp/longjmp looks to be broken:

[0]more> q                                                   
invalid opcode: 0000 [1] SMP 
kdb: Debugger re-entered on cpu 0, new reason = 5
     Attempting to abort command and recover     
invalid opcode: 0000 [2] SMP                
kdb: Debugger re-entered on cpu 0, new reason = 5
     Attempting to abort command and recover     
invalid opcode: 0000 [3] SMP                
kdb: Debugger re-entered on cpu 0, new reason = 5
     Attempting to abort command and recover     
invalid opcode: 0000 [4] SMP                
kdb: Debugger re-entered on cpu 0, new reason = 5
     Attempting to abort command and recover     
invalid opcode: 0000 [5] SMP                
[...]

An inescapable loop. 

Kernel configured with CONFIG_FRAME_POINTER=y,
gcc version 3.3.5 (Debian 1:3.3.5-13).

ffffffff8032fc90 <kdba_setjmp>:
ffffffff8032fc90:       55                      push   %rbp
ffffffff8032fc91:       48 89 e5                mov    %rsp,%rbp
ffffffff8032fc94:       48 89 5f 00             mov    %rbx,0x0(%rdi)
ffffffff8032fc98:       48 89 6f 08             mov    %rbp,0x8(%rdi)
ffffffff8032fc9c:       4c 89 67 10             mov    %r12,0x10(%rdi)
ffffffff8032fca0:       4c 89 6f 18             mov    %r13,0x18(%rdi)
ffffffff8032fca4:       4c 89 77 20             mov    %r14,0x20(%rdi)
ffffffff8032fca8:       4c 89 7f 28             mov    %r15,0x28(%rdi)
ffffffff8032fcac:       48 8d 54 24 10          lea    0x10(%rsp),%rdx
ffffffff8032fcb1:       48 89 57 30             mov    %rdx,0x30(%rdi)
ffffffff8032fcb5:       48 8b 04 24             mov    (%rsp),%rax
ffffffff8032fcb9:       48 89 47 38             mov    %rax,0x38(%rdi)
ffffffff8032fcbd:       65 8b 04 25 24 00 00    mov    %gs:0x24,%eax
ffffffff8032fcc4:       00 
ffffffff8032fcc5:       48 c7 c1 c0 86 57 80    mov    $0xffffffff805786c0,%rcx
ffffffff8032fccc:       48 98                   cltq   
ffffffff8032fcce:       8b 14 81                mov    (%rcx,%rax,4),%edx
ffffffff8032fcd1:       80 ce 04                or     $0x4,%dh
ffffffff8032fcd4:       89 14 81                mov    %edx,(%rcx,%rax,4)
ffffffff8032fcd7:       31 c0                   xor    %eax,%eax
ffffffff8032fcd9:       c9                      leaveq 
ffffffff8032fcda:       c3                      retq   
ffffffff8032fcdb:       66                      data16
ffffffff8032fcdc:       66                      data16
ffffffff8032fcdd:       90                      nop    
ffffffff8032fcde:       66                      data16
ffffffff8032fcdf:       90                      nop    

ffffffff8032fce0 <kdba_longjmp>:
ffffffff8032fce0:       55                      push   %rbp
ffffffff8032fce1:       48 89 e5                mov    %rsp,%rbp
ffffffff8032fce4:       48 8b 5f 00             mov    0x0(%rdi),%rbx
ffffffff8032fce8:       48 8b 6f 08             mov    0x8(%rdi),%rbp
ffffffff8032fcec:       4c 8b 67 10             mov    0x10(%rdi),%r12
ffffffff8032fcf0:       4c 8b 6f 18             mov    0x18(%rdi),%r13
ffffffff8032fcf4:       4c 8b 77 20             mov    0x20(%rdi),%r14
ffffffff8032fcf8:       4c 8b 7f 28             mov    0x28(%rdi),%r15
ffffffff8032fcfc:       85 f6                   test   %esi,%esi
ffffffff8032fcfe:       b8 01 00 00 00          mov    $0x1,%eax
ffffffff8032fd03:       0f 44 f0                cmove  %eax,%esi
ffffffff8032fd06:       89 f0                   mov    %esi,%eax
ffffffff8032fd08:       48 8b 57 38             mov    0x38(%rdi),%rdx
ffffffff8032fd0c:       48 8b 67 30             mov    0x30(%rdi),%rsp
ffffffff8032fd10:       ff e2                   jmpq   *%edx
ffffffff8032fd12:       c9                      leaveq 
ffffffff8032fd13:       c3                      retq   
ffffffff8032fd14:       66                      data16
ffffffff8032fd15:       66                      data16
ffffffff8032fd16:       66                      data16
ffffffff8032fd17:       90                      nop    
ffffffff8032fd18:       66                      data16
ffffffff8032fd19:       66                      data16
ffffffff8032fd1a:       66                      data16
ffffffff8032fd1b:       90                      nop    
ffffffff8032fd1c:       66                      data16
ffffffff8032fd1d:       66                      data16
ffffffff8032fd1e:       66                      data16
ffffffff8032fd1f:       90                      nop
-- 
Dan Aloni, Linux specialist
XIV LTD, http://www.xivstorage.com
da-x@monatomic.org, da-x@colinux.org, da-x@gmx.net, dan@xiv.co.il

  reply	other threads:[~2006-04-01 17:03 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-24  5:48 Announce: kdb v4.4 is available for kernel 2.6.6 Keith Owens
2004-05-24  5:48 ` Keith Owens
2004-06-01 21:20 ` Thomas Duffy
2004-06-01 21:20   ` Thomas Duffy
2004-07-16  4:59   ` Keith Owens
2004-07-16  4:59     ` Keith Owens
2004-06-07  5:40 ` Announce: kdb v4.4 is available for kernel 2.6.7-rc2 Keith Owens
2004-06-07  5:40   ` Keith Owens
2004-06-17  1:16 ` Announce: kdb v4.4 is available for kernel 2.6.7 Keith Owens
2004-06-17  1:16   ` Keith Owens
2004-10-21  3:52 ` Announce: kdb v4.4 is available for kernel 2.6.9 Keith Owens
2004-10-21  3:52   ` Keith Owens
2004-12-25 12:17 ` Announce: kdb v4.4 is available for kernel 2.6.10 Keith Owens
2004-12-25 12:17   ` Keith Owens
2004-12-27 13:00   ` Paulo Marques
2005-01-24 15:21 ` gowda_avinash
2005-01-24 15:21   ` gowda_avinash
2005-01-24 15:34 ` Keith Owens
2005-01-24 15:34   ` Keith Owens
2005-01-25  4:25   ` Saravanan s
2005-01-25  4:37     ` Saravanan s
2005-01-25  4:44 ` Keith Owens
2005-01-25  4:44   ` Keith Owens
2005-01-25  5:52   ` Jack F Vogel
2005-01-25  5:52     ` Jack F Vogel
2005-03-03  2:53 ` Announce: kdb v4.4 is available for kernel 2.6.11 Keith Owens
2005-03-03  2:53   ` Keith Owens
2005-06-18  6:19 ` Announce: kdb v4.4 is available for kernel 2.6.12 Keith Owens
2005-06-18  6:19   ` Keith Owens
2005-08-29  2:12 ` Announce: kdb v4.4 is available for kernel 2.6.13 Keith Owens
2005-08-29  2:12   ` Keith Owens
2005-09-20  7:32 ` Announce: kdb v4.4 is available for kernel 2.6.14-rc1 Keith Owens
2005-09-21  6:21 ` Announce: kdb v4.4 is available for kernel 2.6.14-rc2 Keith Owens
2005-09-21  6:21   ` Keith Owens
2005-10-28  7:29 ` Announce: kdb v4.4 is available for kernel 2.6.14 Keith Owens
2005-10-28  7:29   ` Keith Owens
2006-01-04  9:10 ` Announce: kdb v4.4 is available for kernel 2.6.15 Keith Owens
2006-01-04  9:10   ` Keith Owens
2006-01-04 15:04   ` Jeff V. Merkey
2006-01-04 15:04     ` Jeff V. Merkey
2006-03-21  5:59 ` Announce: kdb v4.4 is available for kernel 2.6.16 Keith Owens
2006-03-21  5:59   ` Keith Owens
2006-04-01 17:04   ` Dan Aloni [this message]
2006-04-01 20:37     ` Hugh Dickins
2006-04-01 23:43     ` Joe Korty
2006-04-02 10:23       ` Dan Aloni
2006-03-24  6:21 ` Keith Owens
2006-03-24  6:21   ` Keith Owens
2006-06-27 11:45 ` Announce: kdb v4.4 is available for kernel 2.6.17 Keith Owens
2006-06-27 11:45   ` Keith Owens
2006-06-27 12:06   ` Nigel Cunningham
2006-06-27 12:06     ` Nigel Cunningham
2006-09-20  5:37 ` Announce: kdb v4.4 is available for kernel 2.6.18 Keith Owens
2006-09-20  5:37   ` Keith Owens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060401170430.GA14715@localdomain \
    --to=da-x@monatomic.org \
    --cc=kaos@sgi.com \
    --cc=kdb@oss.sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nathans@sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.