From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GGH6F-0000OO-Hc for garchives@archives.gentoo.org; Thu, 24 Aug 2006 15:26:31 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7OFOMiM024653; Thu, 24 Aug 2006 15:24:22 GMT Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7OFMGDW028024 for ; Thu, 24 Aug 2006 15:22:16 GMT Received: by wx-out-0506.google.com with SMTP id r21so563238wxc for ; Thu, 24 Aug 2006 08:22:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=fJz4UZfAvNF/e91NpWDgsz3iGb/YSACKR5GcfIF2vZt/dbBSfoj2adhE5YjW9LHzTW8oX751xfdy0yZ6F3FPV1m0/v+7xvPTEtool8g5Lml3vVJK/0jDCZ2qWl/TmzO1dkvXTUXPwptQUC07nWsJ1gx2S/tRA4o9UP/iLdZ3SNE= Received: by 10.70.72.11 with SMTP id u11mr2648844wxa; Thu, 24 Aug 2006 08:22:15 -0700 (PDT) Received: by 10.70.116.7 with HTTP; Thu, 24 Aug 2006 08:22:15 -0700 (PDT) Message-ID: <5cd9791d0608240822u4d04cad3n72b0ea5640db3b64@mail.gmail.com> Date: Thu, 24 Aug 2006 23:22:15 +0800 From: "fei huang" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Is there a way to debug /sbin/init process? Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_94641_13335861.1156432935702" X-Archives-Salt: 8b0401a0-d58c-4291-bd6b-1a308fbc91be X-Archives-Hash: acb52a7e24cefb03346fb9cc6afb8e03 ------=_Part_94641_13335861.1156432935702 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 compile one manually and replace the executable with mine? any ideas? tks. ( or any available resources pls) regards daniel ------=_Part_94641_13335861.1156432935702 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 compile one manually and replace the executable with mine?  

any ideas? tks. ( or any available resources pls)

regards

daniel
------=_Part_94641_13335861.1156432935702-- -- gentoo-user@gentoo.org mailing list