Re: [Qemu-discuss] problem with virtio disk driver

2016-10-21 Thread Aleksei
 Thinking it might be because I had an old version of qemu I upgraded 

qemu to v 2.6.0. And got the same behavior.

libvirt 1.2.20 is also pretty old, current one is 2.3.0, maybe you can 
try that. This Embedded Linux you're running as host - which arch is it 
(ARM, x86_64 etc)?



/--Regards, Aleksei/



*From:* Andrei Perietanu
*Sent:* Friday, October 21, 2016 4:47PM
*To:* Qemu-discuss
*Subject:* Re: [Qemu-discuss] problem with virtio disk driver
Just in case this sparks anyone's interest, the problem is still not 
solved, not even upgrading the host's kernel form 3.18 to 4.7.8

There is something I'm missing here..


On Thu, Oct 13, 2016 at 3:51 PM, Andrei Perietanu 
<mailto:andrei.periet...@klastelecom.com>> wrote:


I just ran into a problem I can't make heads or tails of, so I'm
hoping to get some help here.

I have a custom built Embedded Linux as host, running qemu-kvm
 1.1.2 and libvirt 1.2.20

I'm creating a domain with the following config:


  myVM
  2097152
  2
  
hvm


  
  


  
  
  



  
  destroy
  restart
  restart
  

  
  
  
  


  
  
  




   
  
  


  


  






  



  


Granted the guest OS I'm installing is again a custom Linux with
some software running on top ..so It's not a well known OS...but
I'm hoping that does not matter much.
After installation I get all sorts of kernel panics and errors
about services not being able to start.

I tried the same thing on ubuntu 14.04.2 LTS (host) which
installed qemu-kvm 2.0.0 and libvirt 1.2.2

Same config xml, but this time it worked better -I was not getting
the kernel panics.
The OS I'm installing does not support IDE disks, it needs a
virtio disk.

I ran a second test, this time installing ubuntu 14.04 as the
guest on both hosts (ubuntu vs embedded Linux) and again I had
problems with which point to the virtio driver.

On the ubunutu host everyhing was fine
On the Embedded Linux host, the installation failed early on with
the error:
The attempt to mount a file system with type ext4 in Virtual
disk1, partition#1 (vda1) at / failed
If I switch to an ide disk drive instead of virtio, everything
works fine.

Thinking it might be because I had an old version of qemu I
upgraded qemu to v 2.6.0. And got the same behavior.

At this point I'm running out of ideas and I'm not sure what else
I can try. Any suggestions are appreciated.

Thanks,
Andrei








The information transmitted is intended only for the person or entity 
to which it is addressed and may contain confidential and/or 
privileged material. Any review, retransmission, dissemination or 
other use of or taking of any action in reliance upon this information 
by persons or entities other than the intended recipient is 
prohibited. If you receive this in error please contact the sender and 
delete the material from any computer immediately. It is the policy of 
Klas  Limited to disavow the sending of offensive material and should 
you consider that the material contained in the message is offensive 
you should contact the sender immediately and also your I.T. Manager.


Klas Telecom Inc., a Virginia Corporation with offices at 1101 
30th St. NW, Washington, DC 20007.


Klas Limited (Company Number 163303) trading as Klas Telecom, an Irish 
Limited Liability Company, with its registered office at Fourth Floor, 
One Kilmainham Square, Inchicore Road, Kilmainham, Dublin 8, Ireland.






Re: [Qemu-discuss] problem with virtio disk driver

2016-10-21 Thread Andrei Perietanu
I'll try to update libvirt, but I am not sure that would make any
difference; the problem seems to be related to the virtio disk dirvers
which are provided by qemu.
I even tried taking libvirt out of the picture and creating the VM using
qemu cmdline...same problem

Anyway, about the Embedded Linux Host - it is compiled for x86 architecture
and currently is running kernel 4.7.8 (previously 3.18)

Hope this helps,
Andrei

On Fri, Oct 21, 2016 at 2:59 PM, Aleksei  wrote:

> > Thinking it might be because I had an old version of qemu I upgraded
> qemu to v 2.6.0. And got the same behavior.
>
> libvirt 1.2.20 is also pretty old, current one is 2.3.0, maybe you can try
> that. This Embedded Linux you're running as host - which arch is it (ARM,
> x86_64 etc)?
>
> *--Regards, Aleksei*
>
> --
>
> *From:* Andrei Perietanu
> *Sent:* Friday, October 21, 2016 4:47PM
> *To:* Qemu-discuss
> *Subject:* Re: [Qemu-discuss] problem with virtio disk driver
>
> Just in case this sparks anyone's interest, the problem is still not
> solved, not even upgrading the host's kernel form 3.18 to 4.7.8
> There is something I'm missing here..
>
>
> On Thu, Oct 13, 2016 at 3:51 PM, Andrei Perietanu <
> andrei.periet...@klastelecom.com> wrote:
>
>> I just ran into a problem I can't make heads or tails of, so I'm hoping
>> to get some help here.
>>
>> I have a custom built Embedded Linux as host, running qemu-kvm  1.1.2 and
>> libvirt 1.2.20
>>
>> I'm creating a domain with the following config:
>>
>> 
>>   myVM
>>   2097152
>>   2
>>   
>> hvm
>> 
>> 
>>   
>>   
>> 
>> 
>>   
>>   
>>   
>> 
>> 
>> 
>>   
>>   destroy
>>   restart
>>   restart
>>   
>> 
>>   
>>   
>>   
>>   
>>
>> 
>> 
>>   
>>   
>>   
>> 
>> 
>> 
>> 
>>
>>   
>>   
>> 
>>
>> 
>>   
>> 
>> 
>>   
>> 
>> 
>> 
>> 
>> 
>> 
>>   > heads='1'/>
>> 
>> 
>> 
>>   
>> 
>>
>> Granted the guest OS I'm installing is again a custom Linux with some
>> software running on top ..so It's not a well known OS...but I'm hoping that
>> does not matter much.
>> After installation I get all sorts of kernel panics and errors about
>> services not being able to start.
>>
>> I tried the same thing on ubuntu 14.04.2 LTS (host) which installed
>> qemu-kvm 2.0.0 and libvirt 1.2.2
>>
>> Same config xml, but this time it worked better -I was not getting the
>> kernel panics.
>> The OS I'm installing does not support IDE disks, it needs a virtio disk.
>>
>> I ran a second test, this time installing ubuntu 14.04 as the guest on
>> both hosts (ubuntu vs embedded Linux) and again I had problems with which
>> point to the virtio driver.
>>
>> On the ubunutu host everyhing was fine
>> On the Embedded Linux host, the installation failed early on with the
>> error:
>>The attempt to mount a file system with type ext4 in Virtual disk1,
>> partition#1 (vda1) at / failed
>> If I switch to an ide disk drive instead of virtio, everything works fine.
>>
>> Thinking it might be because I had an old version of qemu I upgraded qemu
>> to v 2.6.0. And got the same behavior.
>>
>> At this point I'm running out of ideas and I'm not sure what else I can
>> try. Any suggestions are appreciated.
>>
>> Thanks,
>> Andrei
>>
>>
>>
>>
>>
>>
>>
>
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of or
> taking of any action in reliance upon this information by persons or
> entities other than the intended recipient is prohibited. If you receive
> this in error please contact the sender and delete the material from any
> computer immediately. It is the policy of Klas  Limited to disavow the
> sending of offensive material and should you consider that the material
> contained in the message is offensive you should contact the sender
> immediately and also your I.T. Manager.
>
> Klas Telecom Inc., a Virginia Corporation with offices at

Re: [Qemu-discuss] problem with virtio disk driver

2016-10-21 Thread Andrei Perietanu
Just in case this sparks anyone's interest, the problem is still not
solved, not even upgrading the host's kernel form 3.18 to 4.7.8
There is something I'm missing here..


On Thu, Oct 13, 2016 at 3:51 PM, Andrei Perietanu <
andrei.periet...@klastelecom.com> wrote:

> I just ran into a problem I can't make heads or tails of, so I'm hoping to
> get some help here.
>
> I have a custom built Embedded Linux as host, running qemu-kvm  1.1.2 and
> libvirt 1.2.20
>
> I'm creating a domain with the following config:
>
> 
>   myVM
>   2097152
>   2
>   
> hvm
> 
> 
>   
>   
> 
> 
>   
>   
>   
> 
> 
> 
>   
>   destroy
>   restart
>   restart
>   
> 
>   
>   
>   
>   
>
> 
> 
>   
>   
>   
> 
> 
> 
> 
>
>   
>   
> 
>
> 
>   
> 
> 
>   
> 
> 
> 
> 
> 
> 
>   
> 
> 
> 
>   
> 
>
> Granted the guest OS I'm installing is again a custom Linux with some
> software running on top ..so It's not a well known OS...but I'm hoping that
> does not matter much.
> After installation I get all sorts of kernel panics and errors about
> services not being able to start.
>
> I tried the same thing on ubuntu 14.04.2 LTS (host) which installed
> qemu-kvm 2.0.0 and libvirt 1.2.2
>
> Same config xml, but this time it worked better -I was not getting the
> kernel panics.
> The OS I'm installing does not support IDE disks, it needs a virtio disk.
>
> I ran a second test, this time installing ubuntu 14.04 as the guest on
> both hosts (ubuntu vs embedded Linux) and again I had problems with which
> point to the virtio driver.
>
> On the ubunutu host everyhing was fine
> On the Embedded Linux host, the installation failed early on with the
> error:
>The attempt to mount a file system with type ext4 in Virtual disk1,
> partition#1 (vda1) at / failed
> If I switch to an ide disk drive instead of virtio, everything works fine.
>
> Thinking it might be because I had an old version of qemu I upgraded qemu
> to v 2.6.0. And got the same behavior.
>
> At this point I'm running out of ideas and I'm not sure what else I can
> try. Any suggestions are appreciated.
>
> Thanks,
> Andrei
>
>
>
>
>
>
>

-- 
 

The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential and/or privileged 
material. Any review, retransmission, dissemination or other use of or 
taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you receive 
this in error please contact the sender and delete the material from any 
computer immediately. It is the policy of Klas  Limited to disavow the 
sending of offensive material and should you consider that the material 
contained in the message is offensive you should contact the sender 
immediately and also your I.T. Manager.

Klas Telecom Inc., a Virginia Corporation with offices at 1101 30th St. NW, 
Washington, DC 20007.

Klas Limited (Company Number 163303) trading as Klas Telecom, an Irish 
Limited Liability Company, with its registered office at Fourth Floor, One 
Kilmainham Square, Inchicore Road, Kilmainham, Dublin 8, Ireland.


[Qemu-discuss] problem with virtio disk driver

2016-10-13 Thread Andrei Perietanu
I just ran into a problem I can't make heads or tails of, so I'm hoping to
get some help here.

I have a custom built Embedded Linux as host, running qemu-kvm  1.1.2 and
libvirt 1.2.20

I'm creating a domain with the following config:


  myVM
  2097152
  2
  
hvm


  
  


  
  
  



  
  destroy
  restart
  restart
  

  
  
  
  



  
  
  




   
  
  



  


  






  



  


Granted the guest OS I'm installing is again a custom Linux with some
software running on top ..so It's not a well known OS...but I'm hoping that
does not matter much.
After installation I get all sorts of kernel panics and errors about
services not being able to start.

I tried the same thing on ubuntu 14.04.2 LTS (host) which installed
qemu-kvm 2.0.0 and libvirt 1.2.2

Same config xml, but this time it worked better -I was not getting the
kernel panics.
The OS I'm installing does not support IDE disks, it needs a virtio disk.

I ran a second test, this time installing ubuntu 14.04 as the guest on both
hosts (ubuntu vs embedded Linux) and again I had problems with which point
to the virtio driver.

On the ubunutu host everyhing was fine
On the Embedded Linux host, the installation failed early on with the error:
   The attempt to mount a file system with type ext4 in Virtual disk1,
partition#1 (vda1) at / failed
If I switch to an ide disk drive instead of virtio, everything works fine.

Thinking it might be because I had an old version of qemu I upgraded qemu
to v 2.6.0. And got the same behavior.

At this point I'm running out of ideas and I'm not sure what else I can
try. Any suggestions are appreciated.

Thanks,
Andrei

-- 
 

The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential and/or privileged 
material. Any review, retransmission, dissemination or other use of or 
taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you receive 
this in error please contact the sender and delete the material from any 
computer immediately. It is the policy of Klas  Limited to disavow the 
sending of offensive material and should you consider that the material 
contained in the message is offensive you should contact the sender 
immediately and also your I.T. Manager.

Klas Telecom Inc., a Virginia Corporation with offices at 1101 30th St. NW, 
Washington, DC 20007.

Klas Limited (Company Number 163303) trading as Klas Telecom, an Irish 
Limited Liability Company, with its registered office at Fourth Floor, One 
Kilmainham Square, Inchicore Road, Kilmainham, Dublin 8, Ireland.