From: Anthony Liguori <anthony@codemonkey.ws>
To: Adam Sulmicki <adam@cfar.umd.edu>
Cc: Jacob Gorm Hansen <jacobg@diku.dk>,
xen-devel <xen-devel@lists.sourceforge.net>
Subject: Re: VM-Tools 0.0.2
Date: Tue, 22 Feb 2005 22:31:38 -0600 [thread overview]
Message-ID: <421C072A.8000501@codemonkey.ws> (raw)
In-Reply-To: <Pine.BSF.4.62.0502222309310.31040@www.missl.cs.umd.edu>
Adam Sulmicki wrote:
> FWIW, I grabbed vm-tools-20050220, then I tried to run it with console
> output
Great :-)
> # vm-create -c /boot/vmlinuz-2.6.9-xenU -m 96 -C "/dev/hda1 ro"
> --attach-vif=aa:00:00:02:00:00 -B 0707:0301
> vm-create: invalid option -- c
> Try `vm-create --help' for more information.
>
> so I removed "-c" and tried again
Yes. I removed support for '-c' in vm-create in favor of doing it at
the vm script level. It just doesn't make sense for vm-create to be
exec() another process.
> # losetup /dev/loop7 -o 131604480 /usr/src/cm/root/./suse-uml.img
> # ls -l /dev/loop7 /dev/hda1
> brw-rw---- 1 root disk 3, 1 Dec 3 11:50 /dev/hda1
> brw-rw---- 1 root disk 7, 7 Dec 3 11:50 /dev/loop7
>
> # vm-create /boot/vmlinuz-2.6.9-xenU -m 96 -C "/dev/hda1 ro"
> --attach-vif=aa:00:00:02:00:00 -B 0707:0301
You're missing the "root=" part of the command line. It should be:
# vm-create /boot/vmlinuz-2.6.9-xenU -m 96 -C "root=/dev/hda1 ro"
--attach-vif=aa:00:00:02:00:00 -B 0707:0301
> Configuring device
> VIRTUAL MEMORY ARRANGEMENT:
> Loaded kernel: c0100000->c03784e0
> Init. ramdisk: c0379000->c0379000
> Phys-Mach map: c0379000->c0391000
> Page tables: c0391000->c0394000
> Start info: c0394000->c0395000
> Boot stack: c0395000->c0396000
> TOTAL: c0000000->c0800000
> ENTRY ADDRESS: c0100000
> VCPUS: 1
This means your system started up properly. While I do not like the
fact that libxc dumps out to stdout a lot I have to admit it's very
useful :-)
> # vm-list
> Name Status Memory
> Domain-0 -----r 256MB
> Domain-1 -s---- 96MB
> Domain-2 -s---- 96MB
> Domain-3 -s---- 96MB
> # vm-console 3
> Opening console for Domain-3. Use Ctrl-] to exit.
I very recently fixed the buffering problems in vm-console. They
probably didn't make the last release. I'm planning on updating latest
this evening. vm-console was accidently flushing the tty when it opened
it up. The output you should be seeing is a VFS error from the kernel.
Regards,
--
Anthony Liguori
anthony@codemonkey.ws
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
next prev parent reply other threads:[~2005-02-23 4:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-20 4:20 VM-Tools 0.0.2 Anthony Liguori
2005-02-20 5:12 ` Jacob Gorm Hansen
2005-02-20 5:54 ` Anthony Liguori
2005-02-20 17:16 ` Adam Sulmicki
2005-02-23 4:20 ` Adam Sulmicki
2005-02-23 4:31 ` Anthony Liguori [this message]
2005-02-23 17:16 ` Adam Sulmicki
2005-02-23 17:24 ` Daniel Stekloff
2005-02-23 17:27 ` Adam Sulmicki
2005-02-22 3:55 ` Ronald G. Minnich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=421C072A.8000501@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=adam@cfar.umd.edu \
--cc=jacobg@diku.dk \
--cc=xen-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.