2003-06-20 06:55:32

by Keith Owens

[permalink] [raw]
Subject: Announce: kdb v4.3 is available for kernels 2.4.20, 2.4.21

ftp://oss.sgi.com/projects/kdb/download/v4.3/

kdb-v4.3-2.4.20-common-1.bz2
kdb-v4.3-2.4.20-i386-1.bz2
kdb-v4.3-2.4.20-ia64-021210-1.bz2
kdb-v4.3-2.4.20-sparc64-1.bz2
kdb-v4.3-2.4.20-xscale-1.bz2

kdb v4.3 patches against 2.4.21 are functionally identical to 2.4.20.
kdb-v4.3-2.4.21-common-1.bz2
kdb-v4.3-2.4.21-i386-1.bz2
Other 2.4.21 arch patches will appear later. ia64 is waiting for an
official 2.4.21 ia64 kernel patch.

Changelog extracts since v4.2.

2.4.20-common-1

2003-06-20 Keith Owens <[email protected]>

* More details on vm command, add vmp and pte commands.
Dean Nelson, Dean Roe, SGI.
* YAO1SCF (Yet Another O(1) Scheduler Coexistence Fix).
* Changes to common code to build on sparc. Tom Duffy.
* Move Tom Duffy's changes to drivers/sbus from the sparc64
patch to the common patch to keep all the serial changes
together.
* Changes to common code to build on Xscale. Eddie Dong, Intel.
* Remove CROSS_COMPILE_INC.
* Remove obsolete boot parameter 'kdb', long since replaced by
'kdb=on'.
* Remove obsolete kdb_eframe_t casts.
* Add CONFIG_KDB_CONTINUE_CATASTROPHIC.
* Wait a short interval for cpus to join kdb before proceeding.
* Automatically enable sysrq for sr command.
* Correct double free of kdb_printf lock, spotted by Richard Sanders.
* Add optional cpu parameter to btc command.
* kdb v4.3-2.4.20-common-1.

2.4.20-i386-1

2003-06-20 Keith Owens <[email protected]>

* Add CONFIG_KDB_CONTINUE_CATASTROPHIC.
* Correct KDB_ENTER() definition.
* kdb v4.3-2.4.20-i386-1.

2.4.20-ia64-020821-1

2003-06-20 Keith Owens <[email protected]>

* Add CONFIG_KDB_CONTINUE_CATASTROPHIC.
* Do not send IPI if the machine state does not require them.
* Correct definition of KDB_ENTER().
* Workaround for broken init monarch handler.
* Monarch cpu must get to kdb, even if it was interrupted in user space.
* Unwind fixes.
* Generalize ia64_spinlock_contention name.
* Add kdba_fru for SN machines.
* Correct test for cpu number.
* kdb v4.3-2.4.20-ia64-020821-1.

2.4.20-sparc64-1

2003-06-01 Keith Owens <[email protected]>

* Move drivers/sbus changes to common patch.
* kdb v4.3-2.4.20-sparc64-1

2003-05-05 Tom Duffy <[email protected]>
* port new kdb v4.2 to sparc64
* kdb v4.2-2.4.20-sparc64-1

2.4.20-xscale-1

2003-06-01 Keith Owens <[email protected]>

* Fit patch against arm code in 2.4.20 kernel.
* kdb v4.3-2.4.20-xscale-1.

2003-05-06 Eddie Dong <[email protected]>
*
* Port to KDB4.2
* Add read/write access to user pages. Vamsi Krishna S., IBM
* kdb v4.2-2.4.20-xscale-1.



v4.3/README

Starting with kdb v2.0 there is a common patch against each kernel which
contains all the architecture independent code plus separate architecture
dependent patches. Apply the common patch for your kernel plus at least
one architecture dependent patch, the architecture patches activate kdb.

The naming convention for kdb patches is :-

vx.y The version of kdb. x.y is updated as new features are added to kdb.
-v.p.s The kernel version that the patch applies to. 's' may include -pre,
-rc or whatever numbering system the kernel keepers have thought up this
week.
-common The common kdb code. Everybody needs this.
-i386 Architecture dependent code for i386.
-ia64 Architecture dependent code for ia64, etc.
-n If there are multiple kdb patches against the same kernel version then
the last number is incremented.

To build kdb for your kernel, apply the common kdb patch which is less
than or equal to the kernel v.p.s, taking the highest value of '-n'
if there is more than one. Apply the relevant arch dependent patch
with the same value of 'vx.y-v.p.s-', taking the highest value of '-n'
if there is more than one.

For example, to use kdb for i386 on kernel 2.4.20, apply
kdb-v4.3-2.4.20-common-<n> (use highest value of <n>)
kdb-v4.3-2.4.20-i386-<n> (use highest value of <n>)
in that order. To use kdb for ia64-021210 on kernel 2.4.20, apply
kdb-v4.3-2.4.20-common-<n> (use highest value of <n>)
kdb-v4.3-2.4.20-ia64-021210-<n> (use highest value of <n>)
in that order.

Use patch -p1 for all patches.

I do not have any time to work on 2.5, so there are no patches available
for 2.5 kernels. If somebody wants to port the latest kdb patches to
2.5 kernels and send patches to [email protected] then I will put them up in
this directory. Jim Houston has some kdb patches against 2.5.69 in
http://www.ccur.com/realtime/oss/.

The kdb-smphdr* patches in the v4.0 directory are Sonic Zhang's changes
to improve hardware breakpoint handling on i386 and ia64. They are
not official kdb patches yet, they are available for review.

If you have applied the O(1) scheduler patch to your 2.4 kernel then the
kdb changes to kernel/sched.c will not fit. For O(1), the code should
look like this

switch_tasks:
#ifdef CONFIG_KDB
{
extern struct task_struct *kdb_active_task[];
kdb_active_task[smp_processor_id()] = next;
}
#endif
prefetch(next);
clear_tsk_need_resched(prev);



2003-06-21 00:08:41

by Tom Duffy

[permalink] [raw]
Subject: Re: Announce: kdb v4.3 is available for kernels 2.4.20, 2.4.21

On Fri, 2003-06-20 at 00:07, Keith Owens wrote:

> Other 2.4.21 arch patches will appear later.

Here is a pointer to the sparc64 arch patch:

http://www.dslextreme.com/users/tomduffy/kdb-v4.3-2.4.21-sparc64-1.bz2

It includes very minor changes to make it work on 2.4.21.

-tduffy

--
Thomas Duffy <[email protected]>


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2003-06-21 05:41:24

by Keith Owens

[permalink] [raw]
Subject: Re: Announce: kdb v4.3 is available for kernels 2.4.20, 2.4.21

On Fri, 20 Jun 2003 17:22:41 -0700,
Thomas Duffy <[email protected]> wrote:
>On Fri, 2003-06-20 at 00:07, Keith Owens wrote:
>
>> Other 2.4.21 arch patches will appear later.
>
>Here is a pointer to the sparc64 arch patch:
>
>http://www.dslextreme.com/users/tomduffy/kdb-v4.3-2.4.21-sparc64-1.bz2
>
>It includes very minor changes to make it work on 2.4.21.

Thanks Tom. Uploaded to ftp://oss.sgi.com/projects/kdb/download/v4.3

2003-06-21 18:08:00

by Tom Duffy

[permalink] [raw]
Subject: Re: Announce: kdb v4.3 is available for kernels 2.4.20, 2.4.21

On Fri, 2003-06-20 at 22:53, Keith Owens wrote:
> On Fri, 20 Jun 2003 17:22:41 -0700,
> Thomas Duffy <[email protected]> wrote:
> >On Fri, 2003-06-20 at 00:07, Keith Owens wrote:
> >
> >> Other 2.4.21 arch patches will appear later.
> >
> >Here is a pointer to the sparc64 arch patch:
> >
> >http://www.dslextreme.com/users/tomduffy/kdb-v4.3-2.4.21-sparc64-1.bz2
> >
> >It includes very minor changes to make it work on 2.4.21.
>
> Thanks Tom. Uploaded to ftp://oss.sgi.com/projects/kdb/download/v4.3

2003-06-21 Tom Duffy <[email protected]>

* got rid of kdb_eframe_t per Keith's request
* fixed double printing on kdb command line
* kdb v4.3-2.4.21-sparc64-2

can be found on:

http://www.dslextreme.com/users/tomduffy/kdb-v4.3-2.4.21-sparc64-2.bz2

-tduffy

--
Thomas Duffy <[email protected]>


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2003-06-22 02:27:36

by Keith Owens

[permalink] [raw]
Subject: Re: Announce: kdb v4.3 is available for kernels 2.4.20, 2.4.21

On Sat, 21 Jun 2003 11:22:00 -0700,
Thomas Duffy <[email protected]> wrote:
>2003-06-21 Tom Duffy <[email protected]>
>
> * got rid of kdb_eframe_t per Keith's request
> * fixed double printing on kdb command line
> * kdb v4.3-2.4.21-sparc64-2
>
>can be found on:
>
>http://www.dslextreme.com/users/tomduffy/kdb-v4.3-2.4.21-sparc64-2.bz2

With a couple of minor changes, uploaded to
ftp://oss.sgi.com/projects/kdb/download/v4.3/kdb-v4.3-2.4.21-sparc64-3.bz2

+ * Leave tab character alone. Keith Owens.
+ * Tweak KDB_ENTER. Keith Owens.
+ * kdb v4.3-2.4.21-sparc64-3

2003-07-01 05:38:17

by Keith Owens

[permalink] [raw]
Subject: Re: Announce: kdb v4.3 is available for kernels 2.4.20, 2.4.21

ftp://oss.sgi.com/projects/kdb/download/v4.3/

Current versions are kdb-v4.3-2.4.21-common-3.bz2 and
kdb-v4.3-2.4.21-i386-3.bz2.

common

2003-06-24 Keith Owens <[email protected]>

* Add task and sigset commands. Mark Goodwin, SGI.
* kdb v4.3-2.4.21-common-3.

2003-06-23 Keith Owens <[email protected]>

* Sync with XFS 2.4.21 tree.
* kdb v4.3-2.4.21-common-2.

i386

2003-07-01 Keith Owens <[email protected]>

* Convert kdba_find_return() to two passes to reduce false positives.
* Correct jmp disp8 offset calculation for out of line lock code.
* Use NMI for kdb IPI in clustered APIC mode. Sachin Sant, IBM.
* kdb v4.3-2.4.21-i386-3.

2003-06-23 Keith Owens <[email protected]>

* Sync with XFS 2.4.21 tree.
* kdb v4.3-2.4.21-i386-2.

2003-07-08 12:16:25

by Keith Owens

[permalink] [raw]
Subject: Re: Announce: kdb v4.3 is available for kernels 2.4.20, 2.4.21

ftp://oss.sgi.com/projects/kdb/download/v4.3/

Current versions are kdb-v4.3-2.4.21-common-6.bz2 and
kdb-v4.3-2.4.21-i386-4.bz2. kdb-v4.3-2.4.21-ia64-030702 is nearly
ready for release.

common

2003-07-08 Keith Owens <[email protected]>

* Export more kdb symbols. Vamsi Krishna S., IBM.
* kdb v4.3-2.4.21-common-6.

2003-07-07 Keith Owens <[email protected]>

* Tweak 'waiting for cpus' message.
* kdb v4.3-2.4.21-common-5.

2003-07-07 Keith Owens <[email protected]>

* 2.4.21-ia64-030702 patches common code that affects kdb. Workaround
this nuisance.
* kdb v4.3-2.4.21-common-4.

2003-06-24 Keith Owens <[email protected]>

* Add task and sigset commands. Mark Goodwin, SGI.
* kdb v4.3-2.4.21-common-3.

2003-06-23 Keith Owens <[email protected]>

* Sync with XFS 2.4.21 tree.
* kdb v4.3-2.4.21-common-2.


i386

2003-07-08 Keith Owens <[email protected]>

* Add new x86 commands - rdv, gdt, idt, ldt, ldtp, ptex.
Vamsi Krishna S., IBM.
* kdb v4.3-2.4.21-i386-4.

2003-07-01 Keith Owens <[email protected]>

* Convert kdba_find_return() to two passes to reduce false positives.
* Correct jmp disp8 offset calculation for out of line lock code.
* Use NMI for kdb IPI in clustered APIC mode. Sachin Sant, IBM.
* kdb v4.3-2.4.21-i386-3.

2003-06-23 Keith Owens <[email protected]>

* Sync with XFS 2.4.21 tree.
* kdb v4.3-2.4.21-i386-2.

2003-07-14 05:06:26

by Keith Owens

[permalink] [raw]
Subject: Re: Announce: kdb v4.3 is available for kernels 2.4.20, 2.4.21

ftp://oss.sgi.com/projects/kdb/download/v4.3/

Current versions are kdb-v4.3-2.4.21-common-7.bz2,
kdb-v4.3-2.4.21-i386-4.bz2, kdb-v4.3-2.4.21-ia64-030702-1.bz2.
Changelog extracts.


common

2003-07-14 Keith Owens <[email protected]>

* Correct ll command.
* kdb v4.3-2.4.21-common-7.

2003-07-08 Keith Owens <[email protected]>

* Export more kdb symbols. Vamsi Krishna S., IBM.
* kdb v4.3-2.4.21-common-6.

2003-07-07 Keith Owens <[email protected]>

* Tweak 'waiting for cpus' message.
* kdb v4.3-2.4.21-common-5.

2003-07-07 Keith Owens <[email protected]>

* 2.4.21-ia64-030702 patches common code that affects kdb. Workaround
this nuisance.
* kdb v4.3-2.4.21-common-4.

2003-06-24 Keith Owens <[email protected]>

* Add task and sigset commands. Mark Goodwin, SGI.
* kdb v4.3-2.4.21-common-3.

2003-06-23 Keith Owens <[email protected]>

* Sync with XFS 2.4.21 tree.
* kdb v4.3-2.4.21-common-2.


i386

2003-07-08 Keith Owens <[email protected]>

* Add new x86 commands - rdv, gdt, idt, ldt, ldtp, ptex.
Vamsi Krishna S., IBM.
* kdb v4.3-2.4.21-i386-4.

2003-07-01 Keith Owens <[email protected]>

* Convert kdba_find_return() to two passes to reduce false positives.
* Correct jmp disp8 offset calculation for out of line lock code.
* Use NMI for kdb IPI in clustered APIC mode. Sachin Sant, IBM.
* kdb v4.3-2.4.21-i386-3.

2003-06-23 Keith Owens <[email protected]>

* Sync with XFS 2.4.21 tree.
* kdb v4.3-2.4.21-i386-2.


ia64

2003-07-08 Keith Owens <[email protected]>

* print_symbol() in mca.c does something useful when kdb is installed.
* Unwind and SAL changes removed from kdb, they are in the base kernel.
* kdb v4.3-2.4.21-ia64-030702-1.

2003-07-20 07:59:02

by Keith Owens

[permalink] [raw]
Subject: Re: Announce: kdb v4.3 is available for kernels 2.4.20, 2.4.21

ftp://oss.sgi.com/projects/kdb/download/v4.3/

Current versions are kdb-v4.3-2.4.21-common-8.bz2,
kdb-v4.3-2.4.21-i386-5.bz2, kdb-v4.3-2.4.21-ia64-030702-2.bz2.
Changelog extracts.


common

2003-07-20 Keith Owens <[email protected]>

* Make kdb_serial_str a common constant, the same for all consoles.
* Support SGI L1 console.
* kdb v4.3-2.4.21-common-8.

2003-07-14 Keith Owens <[email protected]>

* Correct ll command.
* kdb v4.3-2.4.21-common-7.

2003-07-08 Keith Owens <[email protected]>

* Export more kdb symbols. Vamsi Krishna S., IBM.
* kdb v4.3-2.4.21-common-6.

2003-07-07 Keith Owens <[email protected]>

* Tweak 'waiting for cpus' message.
* kdb v4.3-2.4.21-common-5.

2003-07-07 Keith Owens <[email protected]>

* 2.4.21-ia64-030702 patches common code that affects kdb. Workaround
this nuisance.
* kdb v4.3-2.4.21-common-4.

2003-06-24 Keith Owens <[email protected]>

* Add task and sigset commands. Mark Goodwin, SGI.
* kdb v4.3-2.4.21-common-3.

2003-06-23 Keith Owens <[email protected]>

* Sync with XFS 2.4.21 tree.
* kdb v4.3-2.4.21-common-2.


i386

2003-07-20 Keith Owens <[email protected]>

* Remove compile warning on x86 commands.
* kdb v4.3-2.4.21-i386-5.

2003-07-08 Keith Owens <[email protected]>

* Add new x86 commands - rdv, gdt, idt, ldt, ldtp, ptex.
Vamsi Krishna S., IBM.
* kdb v4.3-2.4.21-i386-4.

2003-07-01 Keith Owens <[email protected]>

* Convert kdba_find_return() to two passes to reduce false positives.
* Correct jmp disp8 offset calculation for out of line lock code.
* Use NMI for kdb IPI in clustered APIC mode. Sachin Sant, IBM.
* kdb v4.3-2.4.21-i386-3.

2003-06-23 Keith Owens <[email protected]>

* Sync with XFS 2.4.21 tree.
* kdb v4.3-2.4.21-i386-2.


ia64

2003-07-20 Keith Owens <[email protected]>

* MCA rendezvous timeout affects kdb_wait_for_cpus_secs.
* Support SGI L1 console.
* kdb v4.3-2.4.21-ia64-030702-2.

2003-07-08 Keith Owens <[email protected]>

* print_symbol() in mca.c does something useful when kdb is installed.
* Unwind and SAL changes removed from kdb, they are in the base kernel.
* kdb v4.3-2.4.21-ia64-030702-1.