[Fedora-xen] Re: [Xen-users] Personalizing names of "vifX.X"

Anand xen.mails at gmail.com
Fri Jan 6 13:28:14 UTC 2006


I am using the custom vif names now inside domU config. However while
booting up and shutting down domU, i see this inside /var/log/messages in
dom0

Jan  6 18:54:20 xen net.agent[8922]: remove event not handled

Jan  6 18:54:36 xen hald[4869]: Timed out waiting for hotplug event 1148.
Rebasing to 1149
Jan  6 18:54:37 xen hal.hotplug[9720]: timout(10000 ms) waiting for
/class/net/vif3.0

This is the third time a domU has been booted on this machine so i can
understand the vif3.0, however i have put a custom name for the vifname as
vm01.

ifconfig from dom0

eth0      Link encap:Ethernet  HWaddr 00:08:A1:50:FA:19
          inet addr:192.168.1.250  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::208:a1ff:fe50:fa19/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7828 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6329 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3537327 (3.3 MiB)  TX bytes:835757 (816.1 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:76 (76.0 b)  TX bytes:76 (76.0 b)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:7811 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6449 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3548430 (3.3 MiB)  TX bytes:859382 (839.2 KiB)
          Interrupt:16 Base address:0xa000

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6332 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7830 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:837371 (817.7 KiB)  TX bytes:3537471 (3.3 MiB)

vm01      Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:55 errors:0 dropped:14 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:762 (762.0 b)  TX bytes:11140 (10.8 KiB)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:341 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:31190 (30.4 KiB)  TX bytes:378 (378.0 b)

ifconfig from inside domU

eth0      Link encap:Ethernet  HWaddr AA:00:00:18:98:FB
          inet addr:192.168.1.105  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::a800:ff:fe18:98fb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:56 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11226 (10.9 KiB)  TX bytes:762 (762.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Any help would be appreciated.

On 1/5/06, Leonardo Pinto <listas at openlogic.com.br> wrote:
>
> Here everything functioned well. I applied the patches in the hand in
> following the files of the FC4:
>
> "/etc/xen/scripts/vif-common.sh" and
> "/usr/lib/python/xen/xend/server/netif.py"
>
> Remaining only obviously the last adjustment in the configuration file of
> the virtual machine:
>
> "vif = [ ' mac=aa:00:00:00:00:11, bridge=isp0, vifname=isp0.0 ' ]"
>
> Special thanks for "PAINCHAUD Christophe".
>
> --
> Leonardo Pinto
> listas#openlogic dot com br
>
> > I tried to apply it to the 2 files vif-common.sh and netif.py however
> the
> vifnames specified inside the config don't work. Any ideas ?On 1/5/06,
> PAINCHAUD Christophe
> >
> >
> >  <cpainchaud at ecritel.net> wrote:
> > A dev just pointed me this link :
> >
>
> http://xenbits.xensource.com/xen-unstable.hg?cmd=changeset;node=95f84e37c90d573dd01cc29db5b81ffb5f86f84a
> >
> > Regards...
> >
> > Christophe PAINCHAUD
> >
> >
> > Somebody could answer me if is possible to modify the standard of the
> name
> > of the virtual interfaces vifX.X? And where I can make these alterations
> for
> > my proper personalizations?
> >
> > Thankful,
> > --
> > Leonardo Pinto
>
>
> ________________________________________________
> Mensagem enviada usando OpenLogic WebMail 2.7.2
>
>


--

regards,

Anand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20060106/f482ea43/attachment.htm>


More information about the Fedora-xen mailing list