From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Zemann Subject: Re: question regarding early ssh with kvm Date: Wed, 18 Sep 2013 21:44:48 +0200 Message-ID: <523A02B0.8050807@gmail.com> References: <5238AD1C.1040606@gmail.com> <20130918081458.GA13359@stefanha-thinkpad.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail-ea0-f181.google.com ([209.85.215.181]:40489 "EHLO mail-ea0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752119Ab3IRTov (ORCPT ); Wed, 18 Sep 2013 15:44:51 -0400 Received: by mail-ea0-f181.google.com with SMTP id d10so3692539eaj.40 for ; Wed, 18 Sep 2013 12:44:50 -0700 (PDT) In-Reply-To: <20130918081458.GA13359@stefanha-thinkpad.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Hi Stefan Thanks for your help. I am able now to print some messages like lsmod, ip addr show etc. I loaded virtio_net and virtio_pci, there are also a few more, but eth0 is still unknown to the system. Do i need any other module? Regards, Oli Am 18.09.2013 10:14, schrieb Stefan Hajnoczi: > On Tue, Sep 17, 2013 at 09:27:24PM +0200, Oliver Zemann wrote: >> I would like to run my centos with an encrypted hard drive without >> entering the password with vnc (as the connection is not encrypted). >> For that i followed the guide on http://roosbertl.blogspot.ch/2012/12/centos6-disk-encryption-with-remote.html >> >> When i follow the tutorial in VirtualBox, i at least can see that i >> create a connection to the machine. >> But on my productive server which runs in KVM, i even cant ping the machine. >> >> Is there some way to print out debug messages (like "ip addr show") >> before the mount command has been executed? Maybe some kvm console >> driver where i can pipe messages to...? >> Also, is virtio_net and virtio_pci enough to load? >> >> I try to get that working for more than 10 days now, this is really >> driving me crazy. > In a situation like this a serial console can be helpful. Set the > kernel command-line to use the serial port (console=ttyS0) and make sure > the VM is configured with a serial port device. > > This will allow you to follow the boot process. If you need an > interactive prompt, check the distro initramfs scripts and set the > relevant debug options to get a shell prompt during the boot. > > Stefan