Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: vif script interpreter issues
On Mar 16, 2011, at 2:54 PM, Jean-Yves Migeon wrote:
> On 16.03.2011 18:13, David Hopper wrote:
>>
>> I was getting these in the logs:
>>
>> /var/log/messages: xvif3.0: Ethernet address 00:16:3e:55:39:85
>> sysctl_createv: sysctl_create(xvif3.0) returned 22 xvif3.0: could not
>> attach sysctl nodes
>
> Strange. If it failed creating the xvifx.y interfaces, these messages
> would never appear in console (or logs). Are you sure that the
> interfaces were not rather present, but improperly configured?
It's possible, but I couldn't get them to show up via ifconfig or netstat or
any other utility, and xm network-attach would hang the domU hard (requiring an
xm destroy or it would alarm out after a while), even with a simple "vif = [ ''
]".
>> Very curious. I wish I had run /bin/sh -ex to see what was failing
>> prior to using bash, but it all works now.
>
> Xenstore gets populated by the PV backend driver (via xenbus(4)), the
> shell scripts are called later in the process, after xennet(4)/xvif(4)
> devices are created.
> If the interfaces are missing, something goes wrong early in the
> backend, but "what" is unknown. Especially if the sysctl warnings
> appeared, but interfaces did not show up with ifconfig -a.
>
> If this happens again, don't hesitate to send me a mail, and I'll try to
> reproduce this bug.
Thanks! I wonder if it's not xenbus / xenwatch that is the problem. I've seen
example process stacks that list these, but I don't have [xenbus] or [xenwatch]
running at all; could that be an issue? (I don't think that would explain why
bash made everything better, though)
-bash-4.1$ ps ax | grep 'xen'
265 ? I 0:00.14 xenstored --pid-file /var/run/xenstore.pid
267 ? I 0:00.00 /usr/pkg/bin/python2.6 /usr/pkg/sbin/xend start
269 ? Il 0:01.68 /usr/pkg/bin/python2.6 /usr/pkg/sbin/xend start
271 ? Sl 0:00.20 xenconsoled
286 ? Isl 0:00.00 /usr/pkg/sbin/xenbackendd -d
648 ttyp0 Sl+ 0:00.24 /usr/pkg/bin/xenconsole 1
457 ttyp2 S+ 0:00.00 grep xen
> --
> Jean-Yves Migeon
> jeanyves.migeon%free.fr@localhost
David
Home |
Main Index |
Thread Index |
Old Index