[CentOS-virt] Bug in reboot phase : workaround or patch ?

Tue May 25 07:43:23 UTC 2010
Pasi Kärkkäinen <pasik at iki.fi>

On Mon, May 24, 2010 at 11:16:56PM +0200, Erwan MAS wrote:
> Hello ,
> 
> I use Centos 5.4 , with the redhat version of xen .
> I need for some guest to change the hardware for the network .
> So in my xen config i add the model option in the vif line .
> 
> When the guest boot , i had the right emulation , but after a reboot , the guest loose the configuration .
> 

So when you first "xm create" it, it's ok, and after you reboot the guest,
the NIC model has changed?

> Someone can confirm the bug in centos 5.5 ?
> 

Did you search Redhat bugzilla? 


-- Pasi


> Have someone a patch ?
> 
> 
> 
> Extract of my config :
> 
>    builder = "hvm"
>    vif = [ 'type=ioemu, mac=00:16:3e:50:10:45, bridge=xenbr0, model=ne2k_pci']
>    device_model = "/usr/lib64/xen/bin/qemu-dm"
> 
> #grep spa.*/usr/lib64/xen/bin/qemu-dm /var/log/xen/xend.log
> 
> [2010-05-24 11:47:23 xend 3782] INFO (image:434) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '75', '-m', '192', '-boot', 'dc', '-serial', 'pty', '-vcpus', '1', '-k', 'fr', '-domain-name', 'orange', '-net', 'nic,vlan=1,macaddr=00:16:3e:50:10:45,model=pcnet', '-net', 'tap,vlan=1,bridge=xenbr0', '-vnc', '127.0.0.45:1']
> [2010-05-24 11:47:40 xend 3782] INFO (image:434) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '76', '-m', '192', '-boot', 'dc', '-serial', 'pty', '-vcpus', '1', '-k', 'fr', '-domain-name', 'orange', '-net', 'nic,vlan=1,macaddr=00:16:3e:50:10:45,model=rtl8139', '-net', 'tap,vlan=1,bridge=xenbr0', '-vnc', '127.0.0.45:1']
> 
> #rpm -qa | grep ^xen
> xen-libs-3.0.3-94.el5_4.2
> xen-3.0.3-94.el5_4.2
> 
> #xm info
> host                   : james.mas.nom.fr
> release                : 2.6.18-164.6.1.el5.centos.plusxen
> version                : #1 SMP Wed Nov 4 10:10:32 EST 2009
> machine                : x86_64
> nr_cpus                : 2
> nr_nodes               : 1
> sockets_per_node       : 1
> cores_per_socket       : 2
> threads_per_core       : 1
> cpu_mhz                : 2104
> hw_caps                : 178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000011f
> total_memory           : 4078
> free_memory            : 1738
> node_to_cpu            : node0:0-1
> xen_major              : 3
> xen_minor              : 1
> xen_extra              : .2-164.6.1.el5.
> xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 
> xen_pagesize           : 4096
> platform_params        : virt_start=0xffff800000000000
> xen_changeset          : unavailable
> cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
> cc_compile_by          : mockbuild
> cc_compile_domain      : centos.org
> cc_compile_date        : Wed Nov  4 09:23:54 EST 2009
> xend_config_format     : 2
> 
> -- 
>      ____________________________________________________________
>     / Erwan MAS                                                 /\
>    | mailto:erwan at mas.nom.fr                                   |_/
> ___|________________________________________________________   |
> \___________________________________________________________\__/
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt at centos.org
> http://lists.centos.org/mailman/listinfo/centos-virt