Re: Debugging init process.

2009-03-12 Thread Alexander Leidinger
Quoting Marius NĂ¼nnerich (from Wed, 11 Mar 2009 15:54:44 +0100): On Wed, Mar 11, 2009 at 08:51, Alexander Leidinger wrote: Quoting Nate Eldredge (from Tue, 10 Mar 2009 19:02:16 -0700 (PDT)): On Tue, 10 Mar 2009, vasanth raonaik wrote: Hello Team, I need to debug init process. I am not

Re: Debugging init process.

2009-03-11 Thread Marius NĂ¼nnerich
On Wed, Mar 11, 2009 at 08:51, Alexander Leidinger wrote: > Quoting Nate Eldredge (from Tue, 10 Mar 2009 > 19:02:16 -0700 (PDT)): > >> On Tue, 10 Mar 2009, vasanth raonaik wrote: >> >>> Hello Team, >>> >>> I need to debug init process. I am not able to attach init to gdb and it >>> throws >> >> A

Re: Debugging init process.

2009-03-11 Thread Robert Watson
On Tue, 10 Mar 2009, Nate Eldredge wrote: On Tue, 10 Mar 2009, vasanth raonaik wrote: I need to debug init process. I am not able to attach init to gdb and it throws As others mentioned, this is explicitly disabled. You could re-enable it by hacking the kernel, but it could cause other une

Re: Debugging init process.

2009-03-11 Thread Alexander Leidinger
Quoting Nate Eldredge (from Tue, 10 Mar 2009 19:02:16 -0700 (PDT)): On Tue, 10 Mar 2009, vasanth raonaik wrote: Hello Team, I need to debug init process. I am not able to attach init to gdb and it throws As others mentioned, this is explicitly disabled. You could re-enable it by hacki

Re: Debugging init process.

2009-03-10 Thread Nate Eldredge
On Tue, 10 Mar 2009, vasanth raonaik wrote: Hello Team, I need to debug init process. I am not able to attach init to gdb and it throws As others mentioned, this is explicitly disabled. You could re-enable it by hacking the kernel, but it could cause other unexpected problems. Alternative

Re: Debugging init process.

2009-03-10 Thread Daniel O'Connor
On Wednesday 11 March 2009 06:43:50 pluknet wrote: > 2009/3/10 vasanth raonaik : > > Hello Team, > > > > I need to debug init process. I am not able to attach init to gdb and it > > throws > > That is because init is a system process, which you cannot trace by design > (see ptrace(2)). Interesting

Re: Debugging init process.

2009-03-10 Thread pluknet
2009/3/10 vasanth raonaik : > Hello Team, > > I need to debug init process. I am not able to attach init to gdb and it > throws > That is because init is a system process, which you cannot trace by design (see ptrace(2)). $ ps -o flags -p 1 F 10004200 , where from ps(1): P_S

Debugging init process.

2009-03-10 Thread vasanth raonaik
Hello Team, I need to debug init process. I am not able to attach init to gdb and it throws GNU gdb 6.5 [juniper_2006a_411] Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies