2010-04-15 06:22:16

by santosh

[permalink] [raw]
Subject: [Question] integrating KDB with linux kernel

How to integrate KDB with linux-kernel ??

What I did was as follow:

1. Used linux-2.6.21.7.tar.gz

2. Downloaded corresponding kdb from "oss.sgi" site

kdb-v4.4-2.6.21-common-3.bz2


kdb-v4.4-2.6.21-i386-3.bz2



3. build the kernel by enabling CONFIG_KDB and CONFIG_FRAME_POINTER as
described in "oss.sgi"

4. installed the kernel and rebooted the system

5. When the system comes up, I check the kdb status

cat /proc/sys/kernel/kdb
// screen :
1

I logged in as root then invoke the kdb by press Pause on keyboard, but the
kdb
don't invoke. The system hangs and two leds Caps Lock and Scroll Lock are
blinking. I had to do hard reboot .

.

please help me to fix this problem

regards
santosh


2010-04-15 08:14:36

by anil kumar

[permalink] [raw]
Subject: Re: [Question] integrating KDB with linux kernel

Hello,

Looks like system is running in graphical mode. First go to terminal
of system (e.g using alt+ctrl+1) and then invoke kdb

Regards,
Anil




On Thu, Apr 15, 2010 at 11:52 AM, santosh <[email protected]> wrote:
> How to integrate KDB with linux-kernel ??
>
> What I did was as follow:
>
> 1. ? Used ?linux-2.6.21.7.tar.gz
>
> ?2. ?Downloaded corresponding kdb ?from "oss.sgi" site
>
> ? ?kdb-v4.4-2.6.21-common-3.bz2
>
>
> ? kdb-v4.4-2.6.21-i386-3.bz2
>
>
>
> 3. ?build the kernel by enabling CONFIG_KDB and CONFIG_FRAME_POINTER as
> described in "oss.sgi"
>
> 4. ?installed the kernel and rebooted the system
>
> 5. When the system comes up, I check the kdb status
>
> cat /proc/sys/kernel/kdb
> // screen :
> 1
>
> I logged in as root then invoke the kdb by press Pause on keyboard, but the
> kdb
> don't invoke. The system hangs ?and two leds Caps Lock and Scroll Lock are
> blinking. I had to do hard reboot .
>
> .
>
> please help me to fix this problem
>
> regards
> santosh
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at ?http://www.tux.org/lkml/
>

2010-04-15 14:51:08

by santosh

[permalink] [raw]
Subject: Re: [Question] integrating KDB with linux kernel

On Thu, Apr 15, 2010 at 1:44 PM, anil kumar <[email protected]> wrote:
> Hello,
>
> Looks like system is running in graphical mode. First go to terminal
> of system (e.g using alt+ctrl+1) and then invoke kdb
>

Thanks Anil.

Now I am able to invoke "kdb" and run the commands like "dmesg" , bt, etc..

But one problem is still there.

Both "Numlock" and "CapsLock" are keep on blinking when I invoke kdb
and becomes normal ( i.e stop continuous blinking ) when I comes out
of KDB prompt by running the command "go".

Though its not affecting KDb opeartions s but still why the leds are blinking ??

regards
santosh