From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERYUa-00019e-P4 for user-mode-linux-devel@lists.sourceforge.net; Mon, 17 Oct 2005 10:09:44 -0700 Received: from wproxy.gmail.com ([64.233.184.205]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ERYUW-0004f5-DF for user-mode-linux-devel@lists.sourceforge.net; Mon, 17 Oct 2005 10:09:44 -0700 Received: by wproxy.gmail.com with SMTP id i5so479232wra for ; Mon, 17 Oct 2005 10:09:21 -0700 (PDT) Message-ID: <229e70f20510171009x103fe854ncb91021c3ce0e31e@mail.gmail.com> From: Etay Meiri MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5554_4054200.1129568961511" Subject: [uml-devel] Starting uml with the debugger Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 17 Oct 2005 19:09:21 +0200 To: user-mode-linux-devel@lists.sourceforge.net ------=_Part_5554_4054200.1129568961511 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I'm trying to start uml under the controller of gdb using the following command: ./vmlinux mem=3D128m ubda=3Droot_fs.fc4_client ubdb=3Dswap_client con=3Dxte= rm eth0=3Dtuntap,,,10.10.20.10 debug uml is started ok but there is no sigh of the debugger. Any idea? Thanks, -- ------------------------------------------------------ Etay Meiri etay.meiri@gmail.com ------=_Part_5554_4054200.1129568961511 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

I'm trying to start uml under the controller of gdb using the following com= mand:

./vmlinux mem=3D128m ubda=3Droot_fs.fc4_client ubdb=3Dswap_client con=3Dxte= rm eth0=3Dtuntap,,,10.10.20.10 debug

uml is started ok but there is no sigh of the debugger.

Any idea?

Thanks,

--
------------------------------------------------------
Etay M= eiri
etay.meiri@gmail.com ------=_Part_5554_4054200.1129568961511-- ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERZHv-0004BO-3a for user-mode-linux-devel@lists.sourceforge.net; Mon, 17 Oct 2005 11:00:43 -0700 Received: from pool-71-245-228-238.bstnma.fios.verizon.net ([71.245.228.238] helo=localhost.localdomain) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ERZHt-0004gH-R2 for user-mode-linux-devel@lists.sourceforge.net; Mon, 17 Oct 2005 11:00:43 -0700 From: Jeff Dike Subject: Re: [uml-devel] Starting uml with the debugger Message-ID: <20051017175328.GA8015@localhost.localdomain> References: <229e70f20510171009x103fe854ncb91021c3ce0e31e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <229e70f20510171009x103fe854ncb91021c3ce0e31e@mail.gmail.com> Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 17 Oct 2005 13:53:28 -0400 To: Etay Meiri Cc: user-mode-linux-devel@lists.sourceforge.net On Mon, Oct 17, 2005 at 07:09:21PM +0200, Etay Meiri wrote: > Hi, > > I'm trying to start uml under the controller of gdb using the following > command: What version? > ./vmlinux mem=128m ubda=root_fs.fc4_client ubdb=swap_client con=xterm > eth0=tuntap,,,10.10.20.10 debug WTF is ? If this thing is new enough to have skas0, then just disable CONFIG_MODE_TT and gdb it normally. Jeff ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERZeB-0005Oh-9R for user-mode-linux-devel@lists.sourceforge.net; Mon, 17 Oct 2005 11:23:43 -0700 Received: from wproxy.gmail.com ([64.233.184.194]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ERZe6-0001r6-Ew for user-mode-linux-devel@lists.sourceforge.net; Mon, 17 Oct 2005 11:23:43 -0700 Received: by wproxy.gmail.com with SMTP id i5so487006wra for ; Mon, 17 Oct 2005 11:23:32 -0700 (PDT) Message-ID: <229e70f20510171123o21d4bda8t3c03a5c229e85ad2@mail.gmail.com> From: Etay Meiri Subject: Re: [uml-devel] Starting uml with the debugger In-Reply-To: <20051017175328.GA8015@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7146_1185149.1129573412746" References: <229e70f20510171009x103fe854ncb91021c3ce0e31e@mail.gmail.com> <20051017175328.GA8015@localhost.localdomain> Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 17 Oct 2005 20:23:32 +0200 To: Jeff Dike Cc: user-mode-linux-devel@lists.sourceforge.net ------=_Part_7146_1185149.1129573412746 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/17/05, Jeff Dike wrote: > > On Mon, Oct 17, 2005 at 07:09:21PM +0200, Etay Meiri wrote: > > Hi, > > > > I'm trying to start uml under the controller of gdb using the following > > command: > > What version? 2.6.13 with 2.6.13-bs2 patch. > ./vmlinux mem=3D128m ubda=3Droot_fs.fc4_client ubdb=3Dswap_client con=3Dx= term > > eth0=3Dtuntap,,,10.10.20.10 > debug > > WTF is ? hmm...looks like copy&paste problem. ignore it, it was not in the command line. If this thing is new enough to have skas0, then just disable CONFIG_MODE_TT > and gdb it normally. Will it still run if my host kernel is not skas enabled? -- ------------------------------------------------------ Etay Meiri etay.meiri@gmail.com ------=_Part_7146_1185149.1129573412746 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/17/05, Jeff Dike <jdike@addtoit.com> wrote:
On Mon, Oct 17, 2005 at 07:09:21PM +0200, Etay Meiri wrote:
> Hi,
= >
> I'm trying to start uml under the controller of gdb using the = following
> command:

What version?

2.6.13 with 2.6.13-bs2 patch.

> ./vmli= nux mem=3D128m ubda=3Droot_fs.fc4_client ubdb=3Dswap_client con=3Dxterm
= > eth0=3Dtuntap,,, 10.10.20.10 <http://10.10.20.10> debug

WTF is <http://10.10.20.10>?

hmm...looks like copy&paste problem. ignore it, it was not in the comma= nd line.
 

I= f this thing is new enough to have skas0, then just disable CONFIG_MODE_TT<= br>and gdb it normally.

Will it still run if my host kernel is not skas enabled?
 



--
------------------------= ------------------------------
Etay Meiri
etay.meiri@gmail.com ------=_Part_7146_1185149.1129573412746-- ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERaJA-0007vU-DR for user-mode-linux-devel@lists.sourceforge.net; Mon, 17 Oct 2005 12:06:04 -0700 Received: from marasystems.com ([83.241.133.2] helo=filer.marasystems.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1ERaJ9-0002fI-Kz for user-mode-linux-devel@lists.sourceforge.net; Mon, 17 Oct 2005 12:06:04 -0700 From: Henrik Nordstrom Subject: Re: [uml-devel] Starting uml with the debugger In-Reply-To: <229e70f20510171123o21d4bda8t3c03a5c229e85ad2@mail.gmail.com> Message-ID: References: <229e70f20510171009x103fe854ncb91021c3ce0e31e@mail.gmail.com> <20051017175328.GA8015@localhost.localdomain> <229e70f20510171123o21d4bda8t3c03a5c229e85ad2@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 17 Oct 2005 21:05:44 +0200 (CEST) To: Etay Meiri Cc: Jeff Dike , user-mode-linux-devel@lists.sourceforge.net On Mon, 17 Oct 2005, Etay Meiri wrote: >> If this thing is new enough to have skas0, then just disable >> CONFIG_MODE_TT and gdb it normally. > > > Will it still run if my host kernel is not skas enabled? Yes. SKAS0 is implementing memory management usign the same principles as SKAS, but without support from the host kernel. Performance is not as good as "real" SKAS, but the good thing is that to the main parts of the UML kernel memory management there is no difference other than performance and also that the SKAS model is behaving much better in terms of being a host process. Due to the better behaviour of UML in SKAS0 mode gdb can be used directly on the kernel just as you gdb any other application. TT mode on the other hand implements memory (and even process) management very differently, behaving very oddly in terms of what a host process normally does. For this reason you can't gdb TT mode directly and instead have to use the debug option asking TT mode to gdb itself with some very magic tricks. Regards Henrik ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERgRz-0006lx-FO for user-mode-linux-devel@lists.sourceforge.net; Mon, 17 Oct 2005 18:39:35 -0700 Received: from dsl092-053-140.phl1.dsl.speakeasy.net ([66.92.53.140] helo=grelber.thyrsus.com) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ERgRx-0002yk-SO for user-mode-linux-devel@lists.sourceforge.net; Mon, 17 Oct 2005 18:39:35 -0700 From: Rob Landley Subject: Re: [uml-devel] Starting uml with the debugger References: <229e70f20510171009x103fe854ncb91021c3ce0e31e@mail.gmail.com> <20051017175328.GA8015@localhost.localdomain> In-Reply-To: <20051017175328.GA8015@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510172038.34803.rob@landley.net> Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 17 Oct 2005 20:38:34 -0500 To: user-mode-linux-devel@lists.sourceforge.net Cc: Jeff Dike , Etay Meiri On Monday 17 October 2005 12:53, Jeff Dike wrote: > If this thing is new enough to have skas0, then just disable CONFIG_MODE_TT > and gdb it normally. I'm curious: now that skas0 mode works, when does tt mode start to go away? (Obviously, making tls work might be nice first...) Rob ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1ERgj0-0007h8-0t for user-mode-linux-devel@lists.sourceforge.net; Mon, 17 Oct 2005 18:57:10 -0700 Received: from smtp007.mail.ukl.yahoo.com ([217.12.11.96]) by mail.sourceforge.net with smtp (Exim 4.44) id 1ERgix-0007Vk-NA for user-mode-linux-devel@lists.sourceforge.net; Mon, 17 Oct 2005 18:57:10 -0700 From: Blaisorblade Subject: Re: [uml-devel] Starting uml with the debugger References: <229e70f20510171009x103fe854ncb91021c3ce0e31e@mail.gmail.com> <20051017175328.GA8015@localhost.localdomain> <200510172038.34803.rob@landley.net> In-Reply-To: <200510172038.34803.rob@landley.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510180358.18434.blaisorblade@yahoo.it> Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 18 Oct 2005 03:58:17 +0200 To: user-mode-linux-devel@lists.sourceforge.net Cc: Rob Landley , Jeff Dike On Tuesday 18 October 2005 03:38, Rob Landley wrote: > On Monday 17 October 2005 12:53, Jeff Dike wrote: > > If this thing is new enough to have skas0, then just disable > > CONFIG_MODE_TT and gdb it normally. > I'm curious: now that skas0 mode works, when does tt mode start to go away? I really don't want TT mode to go away. Reason 1, developers need to be able to enable SMP. Or the locking will break even more. And in these two days, with the new (and better) lock debugging of 2.6.14-rc (from Ingo), I've seen enough bugs to let me scared. And I simply tested "uml_mconsole eth1=mcast". Say, the uml_net_interrupt(), when holding the iface spinlock, can call, in the failure path, uml_net_close(), which calls the interrupt again. Said that, I also have plans (from one year at least) to jail TT mode in a faster mode (i.e. with segment limits). I was descouraged, but the motivations behind that turned out to be mostly wrong (a supposed "bad performance"), and Xen uses it. However, that's for the memory layout. For the rest I'd take normal SKAS flow. So, this would be a SKAS mode for everything, except that it would be like 2.5G/1G instead of 3G/3G (if you know about 4G/4G in Fedora from Ingo vs. 3G/1G in vanilla kernels, you should get what I mean. If not, search google or lwn.net about 4G/4G). > (Obviously, making tls work might be nice first...) I've been stopped by debugging problems, but now I workarounded GDB problems I can debug simple problems very easily. TLS is more difficult, as you need to disassemble the faulting location for the strange SIGSEGV, and that is not even always possible. However, for your Ubuntu issue, see the mail I'm going to post. > Rob -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel