2006-03-22 14:43:47

by Mikado

[permalink] [raw]
Subject: Re: [uml-devel] Cannot debug UML

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefano Melchior wrote:
> On Wed, Mar 22, 2006 at 09:13:35PM +0700, Mikado wrote:
> Hi Mikado,
>>> 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.
>
> what I meant is that you need to follow what man page states: with the
> "mem" option you need to follow the amount of memory (32, 64, 128, ...)
> with only "m" or "M", not "MB".
> Then in some cases it fails when you use mem=128M instead of mem=128m, for
> instance.
> First try without the "mem" option in the command line to see if it works;
> then try with mem=128M and if it doesn't work, with mem=128m.
>
> Otherwise a patch it is needed :(
>
> Cheers
>
> SteX

I've tried below cases and the same problem is still there.

./linux mode=tt debug ubd0=root_fs ubd1=swap eth0=tuntap,,,192.168.0.254
./linux mode=tt debug ubd0=root_fs ubd1=swap mem=128m
eth0=tuntap,,,192.168.0.254
./linux mode=tt debug ubd0=root_fs ubd1=swap mem=128M
eth0=tuntap,,,192.168.0.254
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEIWOENWc9T2Wr2JcRAm0GAJ0TD0KOWpUuxOek6nFvGGYcDWvoTACeKFLX
k3B36hpIDLXZ1t/qQFgZ0eo=
=FcYY
-----END PGP SIGNATURE-----