From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Zemann Subject: Re: question regarding early ssh with kvm Date: Fri, 20 Sep 2013 18:44:08 +0200 Message-ID: <523C7B58.2040904@gmail.com> References: <5238AD1C.1040606@gmail.com> <20130918081458.GA13359@stefanha-thinkpad.redhat.com> <523A02B0.8050807@gmail.com> <20130919114040.GI22814@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-f171.google.com ([209.85.215.171]:36883 "EHLO mail-ea0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752463Ab3ITQoM (ORCPT ); Fri, 20 Sep 2013 12:44:12 -0400 Received: by mail-ea0-f171.google.com with SMTP id n15so383740ead.2 for ; Fri, 20 Sep 2013 09:44:11 -0700 (PDT) In-Reply-To: <20130919114040.GI22814@stefanha-thinkpad.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Hi Stefan Everything looks as expected. Even more wierd: when i execute the script 01remote-ssh.sh as stated in http://roosbertl.blogspot.ch/2012/12/centos6-disk-encryption-with-remote.html i can connect with ssh to that machine, so its not a kvm problem i guess. Many thanks for your help. Btw.: when running on centos and not knowing how to get a initramfs interactive shell, simply append "rdshell" to the kernel params (grub) and hit 2 times ctrl+c on the password prompt for the hdd/luks encryption. Regards, Oliver Am 19.09.2013 13:40, schrieb Stefan Hajnoczi: > On Wed, Sep 18, 2013 at 09:44:48PM +0200, Oliver Zemann wrote: >> 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? > Check that the virtio-net PCI adapter is present: > > $ grep 1af41000 /proc/bus/pci/devices > > The output should print many fields and end with "virtio_pci" (the > driver that is bound to this device). > > If you get no output from this grep command then your QEMU command-line > does not define a virtio-net PCI device. > > If you get output but the last field is empty or "?" then you are > missing virtio kernel modules. This can happen either because you > didn't compile them or because the udev device aliases file hasn't been > updated to autoload the right kernel module. > > Stefan