linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: Announce: kdb v4.4 is available for kernel 2.6.10
@ 2005-01-24 15:21 gowda_avinash
  2005-01-24 15:34 ` Keith Owens
  0 siblings, 1 reply; 7+ messages in thread
From: gowda_avinash @ 2005-01-24 15:21 UTC (permalink / raw)
  To: kaos, kdb; +Cc: linux-kernel, linux-ia64

All:
I tried to get Kdb working on SuSe 9 ia64 box (kernel version
2.6.5-7.111.19). Turns out that the keyboard/machine goes into a hang state.
I have a usb keyboard!

Googling around I found that Keith had disabled the USB keyboard support
some time back due to changes in some APIs (kernel version
linux-2.6.5-SLES9_SP1_BRANCH).

Is this something that could be a cause for my problem? Should I think about
upgrading my kernel to 2.6.10 (hoping that the issue's been fixed in this
version)?

Thanks,
avinash

-----Original Message-----
From: linux-ia64-owner@vger.kernel.org
[mailto:linux-ia64-owner@vger.kernel.org] On Behalf Of Keith Owens
Sent: Saturday, December 25, 2004 5:48 PM
To: kdb@oss.sgi.com
Cc: linux-kernel@vger.kernel.org; linux-ia64@vger.kernel.org
Subject: Announce: kdb v4.4 is available for kernel 2.6.10 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

KDB (Linux Kernel Debugger) has been updated.

ftp://oss.sgi.com/projects/kdb/download/v4.4/
ftp://ftp.ocs.com.au/pub/mirrors/oss.sgi.com/projects/kdb/download/v4.4/

Current versions are :-

  kdb-v4.4-2.6.10-common-1.bz2
  kdb-v4.4-2.6.10-i386-1.bz2
  kdb-v4.4-2.6.10-ia64-1.bz2
  kdb-v4.4-2.6.9-rc2-x86-64-1.bz2 (may or may not work with 2.6.10).


Changelog extract since kdb-v4.4-2.6.9-common-1.

2004-12-25 Keith Owens  <kaos@sgi.com>

	* Add kobject command.
	* Ignore low addresses and large offsets in kdbnearsym().
	* Console updates for sn2 simulator.
	* kdb v4.4-2.6.10-common-1.

2004-12-07 Keith Owens  <kaos@sgi.com>

	* kdb v4.4-2.6.10-rc3-common-1.

2004-11-23 Keith Owens  <kaos@sgi.com>

	* Remove warning message from kdb_get_one_user_page(), it was too
noisy.
	* kdb v4.4-2.6.10-rc2-common-1.

2004-11-02 Keith Owens  <kaos@sgi.com>

	* Build with kdb patch applied but CONFIG_KDB=n.
	* kdb v4.4-2.6.10-rc1-common-2.

2004-10-29 Keith Owens  <kaos@sgi.com>

	* Handle new compression scheme for kallsyms.
	* Handle move of DEAD and ZOMBIE for task->state to
task->exit_state.
	* Tweak the concept of a valid kernel address to get all symbols,
	  including the symbols in the ia64 gate page.
	* kdb v4.4-2.6.10-rc1-common-1.

2004-10-21 Keith Owens  <kaos@sgi.com>

	* Handle variable size for the kernel log buffer.
	* kdb v4.4-2.6.9-common-2.


Changelog extract since kdb-v4.4-2.6.9-i386-1.

2004-12-25 Keith Owens  <kaos@sgi.com>

	* kdb v4.4-2.6.10-i386-1.

2004-12-07 Keith Owens  <kaos@sgi.com>

	* kdb v4.4-2.6.10-rc3-i386-1.

2004-11-23 Keith Owens  <kaos@sgi.com>

	* Coexist with asmlinkage/fastcall changes.
	* kdb v4.4-2.6.10-rc2-i386-1.

2004-10-29 Keith Owens  <kaos@sgi.com>

	* Handle change defintions for hard and soft irq context.
	* Make stack switch in kdb backtrace look more like the oops output.
	* kdb v4.4-2.6.10-rc1-i386-1.



Changelog extract since kdb v4.4-2.6.9-ia64-1.

2004-12-25 Keith Owens  <kaos@sgi.com>

	* Add cpuinfo command.
	* kdb-v4.4-2.6.10-ia64-1.

2004-12-07 Keith Owens  <kaos@sgi.com>

	* Clean up error path in kdba_mca_init.
	* kdb-v4.4-2.6.10-rc3-ia64-1.

2004-11-15 Keith Owens  <kaos@sgi.com>

	* kdb-v4.4-2.6.10-rc2-ia64-1.

2004-10-29 Keith Owens  <kaos@sgi.com>

	* kdb-v4.4-2.6.10-rc1-ia64-1.


ps.  Bah, Hum{de}bug!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999

iD8DBQFBzVpji4UHNye0ZOoRAmy+AJ4iSaztTqGLjr+Ck0X8+TMdXB41IQCghc/P
p7GtfCEOmVPDj/SVHdecFyw=
=oO+Z
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Announce: kdb v4.4 is available for kernel 2.6.10
  2005-01-24 15:21 Announce: kdb v4.4 is available for kernel 2.6.10 gowda_avinash
@ 2005-01-24 15:34 ` Keith Owens
  2005-01-25  4:25   ` Saravanan s
  0 siblings, 1 reply; 7+ messages in thread
From: Keith Owens @ 2005-01-24 15:34 UTC (permalink / raw)
  To: gowda_avinash; +Cc: kdb, linux-kernel, linux-ia64

On Mon, 24 Jan 2005 15:21:08 -0000, 
gowda_avinash@emc.com wrote:
>All:
>I tried to get Kdb working on SuSe 9 ia64 box (kernel version
>2.6.5-7.111.19). Turns out that the keyboard/machine goes into a hang state.
>I have a usb keyboard!
>
>Googling around I found that Keith had disabled the USB keyboard support
>some time back due to changes in some APIs (kernel version
>linux-2.6.5-SLES9_SP1_BRANCH).
>
>Is this something that could be a cause for my problem? Should I think about
>upgrading my kernel to 2.6.10 (hoping that the issue's been fixed in this
>version)?

The USB keyboard support in KDB was written by HP, because their
systems have USB keyboards.  I have no hardware to test on, so I have
to rely on HP to keep the USB patches in KDB up to date.  That has not
happened recently.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Announce: kdb v4.4 is available for kernel 2.6.10
  2005-01-24 15:34 ` Keith Owens
@ 2005-01-25  4:25   ` Saravanan s
  2005-01-25  4:44     ` Keith Owens
  0 siblings, 1 reply; 7+ messages in thread
From: Saravanan s @ 2005-01-25  4:25 UTC (permalink / raw)
  To: Keith Owens; +Cc: kdb, linux-kernel, linux-ia64

Hi Keith,

> I have no hardware to test on, so I have
> to rely on HP to keep the USB patches in KDB up to date. 

Does that mean that there is USB support for KDBv4.4 for kernel 2.6 
for i386 machines? Or the patch for i386 also comes from the HP guys.

Regards
Saravanan S

On Tue, 25 Jan 2005 02:34:52 +1100, Keith Owens <kaos@sgi.com> wrote:
> On Mon, 24 Jan 2005 15:21:08 -0000,
> gowda_avinash@emc.com wrote:
> >All:
> >I tried to get Kdb working on SuSe 9 ia64 box (kernel version
> >2.6.5-7.111.19). Turns out that the keyboard/machine goes into a hang state.
> >I have a usb keyboard!
> >
> >Googling around I found that Keith had disabled the USB keyboard support
> >some time back due to changes in some APIs (kernel version
> >linux-2.6.5-SLES9_SP1_BRANCH).
> >
> >Is this something that could be a cause for my problem? Should I think about
> >upgrading my kernel to 2.6.10 (hoping that the issue's been fixed in this
> >version)?
> 
> The USB keyboard support in KDB was written by HP, because their
> systems have USB keyboards.  I have no hardware to test on, so I have
> to rely on HP to keep the USB patches in KDB up to date.  That has not
> happened recently.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Announce: kdb v4.4 is available for kernel 2.6.10
  2005-01-25  4:25   ` Saravanan s
@ 2005-01-25  4:44     ` Keith Owens
  2005-01-25  5:52       ` Jack F Vogel
  0 siblings, 1 reply; 7+ messages in thread
From: Keith Owens @ 2005-01-25  4:44 UTC (permalink / raw)
  To: Saravanan s; +Cc: kdb, linux-kernel, linux-ia64

On Tue, 25 Jan 2005 09:55:55 +0530, 
Saravanan s <saravanan.mainker@gmail.com> wrote:
>Hi Keith,
>
>> I have no hardware to test on, so I have
>> to rely on HP to keep the USB patches in KDB up to date. 
>
>Does that mean that there is USB support for KDBv4.4 for kernel 2.6 
>for i386 machines? Or the patch for i386 also comes from the HP guys.

All the USB console patches for kdb came from HP, both i386 and ia64.
Neither work in 2.6 kernels at the moment.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Announce: kdb v4.4 is available for kernel 2.6.10
  2005-01-25  4:44     ` Keith Owens
@ 2005-01-25  5:52       ` Jack F Vogel
  0 siblings, 0 replies; 7+ messages in thread
From: Jack F Vogel @ 2005-01-25  5:52 UTC (permalink / raw)
  To: Keith Owens; +Cc: Saravanan s, kdb, linux-kernel, linux-ia64

On Tue, Jan 25, 2005 at 03:44:26PM +1100, Keith Owens wrote:
> On Tue, 25 Jan 2005 09:55:55 +0530, 
> Saravanan s <saravanan.mainker@gmail.com> wrote:
> >Hi Keith,
> >
> >> I have no hardware to test on, so I have
> >> to rely on HP to keep the USB patches in KDB up to date. 
> >
> >Does that mean that there is USB support for KDBv4.4 for kernel 2.6 
> >for i386 machines? Or the patch for i386 also comes from the HP guys.
> 
> All the USB console patches for kdb came from HP, both i386 and ia64.
> Neither work in 2.6 kernels at the moment.
  
I have been looking at the USB code and talked with gregkh about 
it a bit, it looks to me that in order for this to work its going
to take a self-contained polling driver. I've been busy so I havent
looked too far yet for any pre-existent code that could be utilized.
It may need to be written from scratch, which I also might attempt
once I get my queue a bit reduced.

But as is the code thats there isnt even close to working, its just
a bit of infrastructure.

Cheers,

Jack


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Announce: kdb v4.4 is available for kernel 2.6.10
  2004-12-25 12:17 Keith Owens
@ 2004-12-27 13:00 ` Paulo Marques
  0 siblings, 0 replies; 7+ messages in thread
From: Paulo Marques @ 2004-12-27 13:00 UTC (permalink / raw)
  To: Keith Owens; +Cc: kdb, linux-kernel, linux-ia64

Keith Owens wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> KDB (Linux Kernel Debugger) has been updated.

Hi,

I browsed the patch quickly to check for kallsyms uses, and validate 
them, and it generally seems correct.

There is however one comment that makes me wonder:
*2.6 kallsyms has a "feature" where it unpacks the name into a string.
*If that string is reused before the caller expects it then the caller
*sees its string change without warning.

kallsyms_lookup always uses the buffer passed to it in the case the 
symbol is a kernel symbol, as opposed to a module symbol, and so it is 
not responsible for the buffer.

So this probably only happens when a module symbol is returned directly 
from its symbol table, and then the module is unloaded (or something 
like that).

Later there is another comment:
* Another 2.6 kallsyms "feature".  Sometimes the sym_name is
* set but the buffer passed into kallsyms_lookup is not used,
* so it contains garbage.

It seems to be the same problem. If we modify kallsyms_lookup to always 
use the buffer passed, even if the symbol comes from a module, maybe we 
could solve both problems with just one change.

On the downside, a caller that just wants to print the name, would pay 
an unnecessary string copy.

On the upside, this would make the interface more coherent with standard 
C functions like strcpy, where the buffer passed is always the buffer 
returned.

So, is it worth the change?

-- 
Paulo Marques - www.grupopie.com

"A journey of a thousand miles begins with a single step."
Lao-tzu, The Way of Lao-tzu


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Announce: kdb v4.4 is available for kernel 2.6.10
@ 2004-12-25 12:17 Keith Owens
  2004-12-27 13:00 ` Paulo Marques
  0 siblings, 1 reply; 7+ messages in thread
From: Keith Owens @ 2004-12-25 12:17 UTC (permalink / raw)
  To: kdb; +Cc: linux-kernel, linux-ia64

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

KDB (Linux Kernel Debugger) has been updated.

ftp://oss.sgi.com/projects/kdb/download/v4.4/
ftp://ftp.ocs.com.au/pub/mirrors/oss.sgi.com/projects/kdb/download/v4.4/

Current versions are :-

  kdb-v4.4-2.6.10-common-1.bz2
  kdb-v4.4-2.6.10-i386-1.bz2
  kdb-v4.4-2.6.10-ia64-1.bz2
  kdb-v4.4-2.6.9-rc2-x86-64-1.bz2 (may or may not work with 2.6.10).


Changelog extract since kdb-v4.4-2.6.9-common-1.

2004-12-25 Keith Owens  <kaos@sgi.com>

	* Add kobject command.
	* Ignore low addresses and large offsets in kdbnearsym().
	* Console updates for sn2 simulator.
	* kdb v4.4-2.6.10-common-1.

2004-12-07 Keith Owens  <kaos@sgi.com>

	* kdb v4.4-2.6.10-rc3-common-1.

2004-11-23 Keith Owens  <kaos@sgi.com>

	* Remove warning message from kdb_get_one_user_page(), it was too noisy.
	* kdb v4.4-2.6.10-rc2-common-1.

2004-11-02 Keith Owens  <kaos@sgi.com>

	* Build with kdb patch applied but CONFIG_KDB=n.
	* kdb v4.4-2.6.10-rc1-common-2.

2004-10-29 Keith Owens  <kaos@sgi.com>

	* Handle new compression scheme for kallsyms.
	* Handle move of DEAD and ZOMBIE for task->state to task->exit_state.
	* Tweak the concept of a valid kernel address to get all symbols,
	  including the symbols in the ia64 gate page.
	* kdb v4.4-2.6.10-rc1-common-1.

2004-10-21 Keith Owens  <kaos@sgi.com>

	* Handle variable size for the kernel log buffer.
	* kdb v4.4-2.6.9-common-2.


Changelog extract since kdb-v4.4-2.6.9-i386-1.

2004-12-25 Keith Owens  <kaos@sgi.com>

	* kdb v4.4-2.6.10-i386-1.

2004-12-07 Keith Owens  <kaos@sgi.com>

	* kdb v4.4-2.6.10-rc3-i386-1.

2004-11-23 Keith Owens  <kaos@sgi.com>

	* Coexist with asmlinkage/fastcall changes.
	* kdb v4.4-2.6.10-rc2-i386-1.

2004-10-29 Keith Owens  <kaos@sgi.com>

	* Handle change defintions for hard and soft irq context.
	* Make stack switch in kdb backtrace look more like the oops output.
	* kdb v4.4-2.6.10-rc1-i386-1.



Changelog extract since kdb v4.4-2.6.9-ia64-1.

2004-12-25 Keith Owens  <kaos@sgi.com>

	* Add cpuinfo command.
	* kdb-v4.4-2.6.10-ia64-1.

2004-12-07 Keith Owens  <kaos@sgi.com>

	* Clean up error path in kdba_mca_init.
	* kdb-v4.4-2.6.10-rc3-ia64-1.

2004-11-15 Keith Owens  <kaos@sgi.com>

	* kdb-v4.4-2.6.10-rc2-ia64-1.

2004-10-29 Keith Owens  <kaos@sgi.com>

	* kdb-v4.4-2.6.10-rc1-ia64-1.


ps.  Bah, Hum{de}bug!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999

iD8DBQFBzVpji4UHNye0ZOoRAmy+AJ4iSaztTqGLjr+Ck0X8+TMdXB41IQCghc/P
p7GtfCEOmVPDj/SVHdecFyw=
=oO+Z
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-01-25  5:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-24 15:21 Announce: kdb v4.4 is available for kernel 2.6.10 gowda_avinash
2005-01-24 15:34 ` Keith Owens
2005-01-25  4:25   ` Saravanan s
2005-01-25  4:44     ` Keith Owens
2005-01-25  5:52       ` Jack F Vogel
  -- strict thread matches above, loose matches on Subject: below --
2004-12-25 12:17 Keith Owens
2004-12-27 13:00 ` Paulo Marques

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).