From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: VM-Tools 0.0.2 Date: Tue, 22 Feb 2005 22:31:38 -0600 Message-ID: <421C072A.8000501@codemonkey.ws> References: <42181018.9060808@us.ibm.com> <42181C47.8020407@diku.dk> <4218260E.4080903@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Adam Sulmicki Cc: Jacob Gorm Hansen , xen-devel List-Id: xen-devel@lists.xenproject.org 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