kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oliver Zemann <oliver.zemann@gmail.com>
To: kvm@vger.kernel.org
Subject: Re: question regarding early ssh with kvm
Date: Wed, 18 Sep 2013 21:44:48 +0200	[thread overview]
Message-ID: <523A02B0.8050807@gmail.com> (raw)
In-Reply-To: <20130918081458.GA13359@stefanha-thinkpad.redhat.com>

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


  reply	other threads:[~2013-09-18 19:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17 19:27 question regarding early ssh with kvm Oliver Zemann
2013-09-18  8:14 ` Stefan Hajnoczi
2013-09-18 19:44   ` Oliver Zemann [this message]
2013-09-19 11:40     ` Stefan Hajnoczi
2013-09-20 16:44       ` Oliver Zemann

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=523A02B0.8050807@gmail.com \
    --to=oliver.zemann@gmail.com \
    --cc=kvm@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).