Bug#430830: vde2: vde_switch doesn't work at boot time

2008-02-06 Thread Filippo Giunchedi
On Wed, Jan 23, 2008 at 11:33:44AM +0100, Raphael Hertzog wrote:
 I just reopened the bug since I continue to reproduce it from time to
 time (I use linux 2.6.23-1-686 now). There is no vde_switch error and
 warning in /var/log/syslog.

Hi Raphael,
do you mind retrying with 2.2.0-pre2-1? It should be finally fixed.

filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

The only way to get rid of a temptation is to yield to it.
-- Oscar Wilde



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#430830: vde2: vde_switch doesn't work at boot time

2008-01-23 Thread Raphael Hertzog
On Thu, 15 Nov 2007, Raphael Hertzog wrote:
 On Thu, 01 Nov 2007, Ludovico Gardenghi wrote:
  On Wed, Jun 27, 2007 at 05:01:18PM +0200, Raphael Hertzog wrote:
  
   It looks like the vde switch is not correctly setup at boot time. I need
   to ifdown then ifup my interface to get it working properly.
  
  Do you still have this problem? Could you please take a look at syslog
  and check for vde_switch errors or warnings?
 
 It looks like the problem is gone. I don't know why but FYI I'm running
 linux-image-2.6.22-3-686 now and vde2 2.1.6+r154-1+b1.

I just reopened the bug since I continue to reproduce it from time to
time (I use linux 2.6.23-1-686 now). There is no vde_switch error and
warning in /var/log/syslog.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/




Bug#430830: vde2: vde_switch doesn't work at boot time

2007-11-01 Thread Ludovico Gardenghi
On Wed, Jun 27, 2007 at 05:01:18PM +0200, Raphael Hertzog wrote:

 It looks like the vde switch is not correctly setup at boot time. I need
 to ifdown then ifup my interface to get it working properly.

Do you still have this problem? Could you please take a look at syslog
and check for vde_switch errors or warnings?

Thanks.

Ludovico
-- 
[EMAIL PROTECTED]#acheronte (irc.freenode.net) ICQ: 64483080
GPG ID: 07F89BB8  Jabber: [EMAIL PROTECTED] Yahoo: gardenghelle
-- This is signature nr. 3448



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#430830: vde2: vde_switch doesn't work at boot time

2007-06-27 Thread Raphael Hertzog
Package: vde2
Version: 2.1.6+r154-1
Severity: normal

It looks like the vde switch is not correctly setup at boot time. I need
to ifdown then ifup my interface to get it working properly.

I have in /etc/network/interfaces:

auto qemu
iface qemu inet static
address 10.0.2.1
netmask 255.255.255.0
vde2-switch -
up /etc/init.d/dnsmasq restart || true
up echo 1  /proc/sys/net/ipv4/ip_forward
up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE || true
up iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE || true
down iptables -t nat -F

Then after boot I have:
[EMAIL PROTECTED]:~$ ifconfig qemu
qemu  Lien encap:Ethernet  HWaddr FA:AD:E7:D0:85:89  
  inet adr:10.0.2.1  Bcast:10.0.2.255  Masque:255.255.255.0
  adr inet6: fe80::f8ad:e7ff:fed0:8589/64 Scope:Lien
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1 errors:0 dropped:0 overruns:0 frame:0
  TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 lg file transmission:500 
  RX bytes:53 (53.0 b)  TX bytes:468 (468.0 b)

[EMAIL PROTECTED]:~$ ls -al /var/run/vde2/
total 16
drwxrws---  3 vde2-net vde2-net 4096 2007-06-27 16:02 .
drwxr-xr-x 19 root root 4096 2007-06-27 16:03 ..
drwxrws---  2 root vde2-net 4096 2007-06-27 16:02 qemu.ctl
srw-rw  1 root vde2-net0 2007-06-27 16:02 qemu.mgmt
-rw-r--r--  1 root vde2-net5 2007-06-27 16:02 qemu.pid
[EMAIL PROTECTED]:~$ ls -al /var/run/vde2/qemu.ctl/
total 8
drwxrws--- 2 root vde2-net 4096 2007-06-27 16:02 .
drwxrws--- 3 vde2-net vde2-net 4096 2007-06-27 16:02 ..
[EMAIL PROTECTED]:~$ ps aux | grep vde2
root  2458  0.0  0.0   2020   556 ?Ss   16:02   0:00 
/usr/bin/vde_switch -s /var/run/vde2/qemu.ctl -m 660 -g vde2-net -p 
/var/run/vde2/qemu.pid -t qemu -M /var/run/vde2/qemu.mgmt --mgmtmode 660 -d

The directory /var/run/vde2/qemu.ctl/ lacks the ctl socket...
and of course vdeqemu doesn't work afterwards. It fails with sendto: Bad
file descriptor.

I have currently no clue why it's not setting everything right at the first
execution during the boot. I wonder if it's somehow related to #392069.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vde2 depends on:
ii  adduser 3.103Add and remove users and groups
ii  libc6   2.5-11   GNU C Library: Shared libraries
ii  libvdeplug2 2.1.6+r154-1 Virtual Distributed Ethernet - Plu

Versions of packages vde2 recommends:
ii  daemon0.6.3-1turns other processes into daemons

-- no debconf information