Re: [uml-devel] Cannot debug UML
From: Mikado
Date: Wed Mar 22 2006 - 09:10:19 EST
-----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-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/