Re: [gentoo-user] Is there a way to debug /sbin/init process?

2006-08-25 Thread Dirk Heinrichs
Am Donnerstag, 24. August 2006 17:22 schrieb ext fei huang: I'm running a user mode linux on my Gentoo box, and trying to debug the /sbin/init process, but seems no way to emerge the sysvinit with debug flag on, perhaps not all packages support the use flag.. Don't forget to emerge it with

Re: [gentoo-user] Is there a way to debug /sbin/init process?

2006-08-25 Thread fei huang
On 8/25/06, Dirk Heinrichs [EMAIL PROTECTED] wrote: Am Donnerstag, 24. August 2006 17:22 schrieb ext fei huang: I'm running a user mode linux on my Gentoo box, and trying to debug the /sbin/init process, but seems no way to emerge the sysvinit with debug flag on, perhaps not all packages support

Re: [gentoo-user] Is there a way to debug /sbin/init process?

2006-08-25 Thread Dirk Heinrichs
Am Freitag, 25. August 2006 09:10 schrieb ext fei huang: tks, but the sysvinit package does not have a debug use flag (through equery uses syvinit), added the line sys-apps/sysvinit debug to /etc/portage/package.use, no use at all, gdb complains no debug symbol found. no idea how to do

Re: [gentoo-user] Is there a way to debug /sbin/init process?

2006-08-25 Thread Etaoin Shrdlu
On Friday 25 August 2006 09:10, fei huang wrote: no idea how to do it under Gentoo... As a last resort, you can compile it manually from sources with the appropriate options and copy the init binary under /sbin. Of course, be sure you know what you're doing. I suggest you rename the original

Re: [gentoo-user] Is there a way to debug /sbin/init process?

2006-08-25 Thread Richard Fish
On 8/25/06, fei huang [EMAIL PROTECTED] wrote: wonder why gentoo does not support debug flag on ALL packages, but just to a small range of ebuilds? any good reason for that .? don't know. The debug use flag is normally (and IMO should only be) used for optional debugging/logging systems that

Re: [gentoo-user] Is there a way to debug /sbin/init process?

2006-08-25 Thread fei huang
On 8/25/06, Richard Fish [EMAIL PROTECTED] wrote: On 8/25/06, fei huang [EMAIL PROTECTED] wrote: wonder why gentoo does not support debug flag on ALL packages, but just to a small range of ebuilds? any good reason for that .?don't know.The debug use flag is normally (and IMO should only be) used

Re: [gentoo-user] Is there a way to debug /sbin/init process?

2006-08-25 Thread Michael Crute
On 8/25/06, Etaoin Shrdlu [EMAIL PROTECTED] wrote: On Friday 25 August 2006 09:10, fei huang wrote: no idea how to do it under Gentoo... As a last resort, you can compile it manually from sources with the appropriate options and copy the init binary under /sbin. Of course, be sure you know

[gentoo-user] Is there a way to debug /sbin/init process?

2006-08-24 Thread fei huang
I'm running a user mode linux on my Gentoo box, and trying to debug the /sbin/init process, but seems no way to emerge the sysvinit with debug flag on, perhaps not all packages support the use flag.. lots of articles around there talking about debugging kernel, uh,, not for init... can I just