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 1FM41y-0001pC-Ol for user-mode-linux-devel@lists.sourceforge.net; Wed, 22 Mar 2006 06:09:46 -0800 Received: from zproxy.gmail.com ([64.233.162.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FM41y-00058E-1G for user-mode-linux-devel@lists.sourceforge.net; Wed, 22 Mar 2006 06:09:46 -0800 Received: by zproxy.gmail.com with SMTP id n29so162638nzf for ; Wed, 22 Mar 2006 06:09:45 -0800 (PST) Message-ID: <44215B8F.6060400@gmail.com> From: Mikado Reply-To: mikado4vn@gmail.com MIME-Version: 1.0 Subject: Re: [uml-devel] Cannot debug UML References: <44215200.8020708@gmail.com> <20060322135015.GC8115@SteX> In-Reply-To: <20060322135015.GC8115@SteX> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Wed, 22 Mar 2006 21:13:35 +0700 To: stefano.melchior@openlabs.it Cc: user-mode-linux-user@lists.sourceforge.net, user-mode-linux-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stefano Melchior wrote: > On Wed, Mar 22, 2006 at 08:32:48PM +0700, Mikado wrote: > Hi Mikado, Hi Stex > same problem as mine: > ./linux mode=tt debug ubd0=root_fs ubd1=swap mem=128MB eth0=tuntap,,,192.168.0.254 > > You wrongly used "mem" option! I've checked my UML's memory, it's exactly 128MB. But thank you, I will follow UML rules. > First, see man user-mode-linux, you can not specify "mem=128MB", at least > "mem=128M". But for issue tied to TT option sometimes you need to use > "mem=xxxm" and sometimes "mem=xxxM". > Please de-select TT in the uml kernel, then try again Debugging UML requires running it under TT mode. Normally I run UML under SKAS mode, everything is OK. I cannot get into GDB under SKAS mode whenever I use 'debug' option. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEIVuPNWc9T2Wr2JcRAjsWAKDZqL/h6J/aPez9thhcgF2+Ee7BNwCeMaxh tLYonH5TOq0yg/7A6lCq3ag= =etco -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ 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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751242AbWCVOJq (ORCPT ); Wed, 22 Mar 2006 09:09:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751247AbWCVOJq (ORCPT ); Wed, 22 Mar 2006 09:09:46 -0500 Received: from zproxy.gmail.com ([64.233.162.199]:39808 "EHLO zproxy.gmail.com") by vger.kernel.org with ESMTP id S1751242AbWCVOJq (ORCPT ); Wed, 22 Mar 2006 09:09:46 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:organization:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=hDMFWCnYFWB37Vsr78OCKM4uza9xeq9IIBj9oPt0eIyFmE0v2N9H1BAYkXAT5+ZEJmhBEZVCcIowDLlQrUd4O/QrrljWOmWRCcnqST4nw2zLKXcfSIGYS0WUH3QtPEhycLAv1LAKc+wt/PdUobV6pyEi0dFBUWjRpQU+1dEbNrU= Message-ID: <44215B8F.6060400@gmail.com> Date: Wed, 22 Mar 2006 21:13:35 +0700 From: Mikado Reply-To: mikado4vn@gmail.com Organization: IcySpace.net User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: stefano.melchior@openlabs.it CC: user-mode-linux-user@lists.sourceforge.net, user-mode-linux-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [uml-devel] Cannot debug UML References: <44215200.8020708@gmail.com> <20060322135015.GC8115@SteX> In-Reply-To: <20060322135015.GC8115@SteX> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=65ABD897 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stefano Melchior wrote: > On Wed, Mar 22, 2006 at 08:32:48PM +0700, Mikado wrote: > Hi Mikado, Hi Stex > same problem as mine: > ./linux mode=tt debug ubd0=root_fs ubd1=swap mem=128MB eth0=tuntap,,,192.168.0.254 > > You wrongly used "mem" option! I've checked my UML's memory, it's exactly 128MB. But thank you, I will follow UML rules. > First, see man user-mode-linux, you can not specify "mem=128MB", at least > "mem=128M". But for issue tied to TT option sometimes you need to use > "mem=xxxm" and sometimes "mem=xxxM". > Please de-select TT in the uml kernel, then try again Debugging UML requires running it under TT mode. Normally I run UML under SKAS mode, everything is OK. I cannot get into GDB under SKAS mode whenever I use 'debug' option. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEIVuPNWc9T2Wr2JcRAjsWAKDZqL/h6J/aPez9thhcgF2+Ee7BNwCeMaxh tLYonH5TOq0yg/7A6lCq3ag= =etco -----END PGP SIGNATURE-----