KVM migration problem on Ubuntu
Hello people,
I have a Ubuntu gutsy minimal VM made as a testing environment for our system software. In the mean time, I upgraded to Hardy, largely driven by the hope that it will improve certain issues I had.
Well, but it seems, now the virtual machine no longer finds a network device anymore. I think I saw that Ubuntu recently updated the linux-virtual kernel in Hardy to include some rtl chip support. My suspect is that kvm changed the network device it emulates?
Well, now I it seems I am stuck with an inaccessible VM. I tried to convert with qemu-img to "raw", and then loop back mount as it says in the FAQ, but it claims not an ext3 there. I would love to chroot into the machine to update it, but I have no clue if that's possible.
Will I really need to find a Gutsy machine to transfer my VM to, in order to update it? Or is there something that I am missing.
Yours,
Kay Hayen
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
From: [email protected] on behalf of Kay Hayen
Sent: Sat 09/02/2008 14:12
To: [email protected]
Subject: [kvm-devel] KVM migration problem on Ubuntu
Hello people,
I have a Ubuntu gutsy minimal VM made as a testing environment for our system software. In the mean time, I upgraded to Hardy, largely driven by the hope that it will improve certain issues I had.
Well, but it seems, now the virtual machine no longer finds a network device anymore. I think I saw that Ubuntu recently updated the linux-virtual kernel in Hardy to include some rtl chip support. My suspect is that kvm changed the network device it emulates?
Well, now I it seems I am stuck with an inaccessible VM. I tried to convert with qemu-img to "raw", and then loop back mount as it says in the FAQ, but it claims not an ext3 there. I would love to chroot into the machine to update it, but I have no clue if that's possible.
Will I really need to find a Gutsy machine to transfer my VM to, in order to update it? Or is there something that I am missing.
Yours,
Kay Hayen
-----------------------------------------------------------------------------------------------------------------
Hi Kay
Just to be clear, are you trying to upgrade you host or your guest (VM) ?
Please specify your Host CPU/OS and your guest OS.
What is the command line you are using to start your VM ?
What are the errors ?
You are correct about the default network adapter emulated, it is now rtl8139, and not ne2000.
If your guest is configured to use ne2000 network adapter, try adding to your command line "-net nic,model=ne2000" (replacing "-net nic"). Hope that helps,
Uri.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
Quoted 8 lines · On Saturday 09 February 2008 19:25:57 Uri Lublin wrote:
From: [email protected] on behalf of Kay Hayen
Sent: Sat 09/02/2008 14:12
To: [email protected]
Subject: [kvm-devel] KVM migration problem on UbuntuHello people,
Quoted 8 lines
I have a Ubuntu gutsy minimal VM made as a testing environment for our system software. In the mean time, I upgraded to Hardy, largely driven by the hope that it will improve certain issues I had.
Well, but it seems, now the virtual machine no longer finds a network device anymore. I think I saw that Ubuntu recently updated the linux-virtual kernel in Hardy to include some rtl chip support. My suspect is that kvm changed the network device it emulates?
2.6.24-7-virtual should work if you are using the Ubuntu packaged KVM. We
updated KVM, but the kernel was delayed for a while. The virtual flavor of
the kernel contains minimal drivers so it must be updated anytime there is a change.
If you have the the server kernel flavor installed, that should work so you can update and get the newer virtual kernel.
If this does not fix your problem, or you have other issues with Ubuntu and KVM, please file a bug in Launchpad.
https://bugs.launchpad.net/ubuntu/+source/kvm
Rick
Ubuntu Server project
Quoted 15 lines
Well, now I it seems I am stuck with an inaccessible VM. I tried to convert with qemu-img to "raw", and then loop back mount as it says in the FAQ, but it claims not an ext3 there. I would love to chroot into the machine to update it, but I have no clue if that's possible.
Will I really need to find a Gutsy machine to transfer my VM to, in order to update it? Or is there something that I am missing.
Yours,
Kay Hayen---------------------------------------------------------------------------
--------------------------------------
Quoted 10 lines
Hi Kay
Just to be clear, are you trying to upgrade you host or your guest (VM) ? Please specify your Host CPU/OS and your guest OS.
What is the command line you are using to start your VM ?
What are the errors ?
You are correct about the default network adapter emulated, it is now rtl8139, and not ne2000. If your guest is configured to use ne2000 network adapter, try adding to your command line "-net nic,model=ne2000" (replacing "-net nic"). Hope that helps,
Uri.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
Hello Uri,
thanks for the reply, that is going to work for me. I am indeed trying to:
Quoted 1 line
Just to be clear, are you trying to upgrade you host or your guest (VM) ?
Yes.
Quoted 1 line
Please specify your Host CPU/OS and your guest OS.
Ubuntu Hardy Development as Host, Ubuntu Gutsy as Minimal, kernel "linux-virtual".
Quoted 6 lines
What is the command line you are using to start your VM ?
What are the errors ?
You are correct about the default network adapter emulated, it is now rtl8139, and not ne2000. If your guest is configured to use ne2000 network adapter, try adding to your command line "-net nic,model=ne2000" (replacing "-net nic"). Hope that helps,
If that's possible to re-activate the old network card, I will be able to update the virtual machine again. Thanks a lot.
Because the virtual machine is supposed to be small in size, I had removed all other kernels.
Yours,
Kay
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
From: Kay Hayen [mailto:[email protected]]
Sent: Sun 10/02/2008 17:59
To: Uri Lublin
Cc: [email protected]
Subject: Re: [kvm-devel] KVM migration problem on Ubuntu Hello Uri,
thanks for the reply, that is going to work for me. I am indeed trying to:
Ubuntu Hardy Development as Host, Ubuntu Gutsy as Minimal, kernel "linux-virtual".
Quoted 4 lines
You are correct about the default network adapter emulated, it is now rtl8139, and not ne2000. If your guest is configured to use ne2000 network adapter, try adding to your command line "-net nic,model=ne2000" (replacing "-net nic"). Hope that helps,
If that's possible to re-activate the old network card, I will be able to update the virtual machine again. Thanks a lot.
Yours,
Kay
----------------------------------------------------------------------
Hi Kay,
The syntax I suggested before was incorrect. Please use "-net nic,model=ne2k_pci" to enable ne2000 nic emulation.
Regards,
Uri.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel