WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1017] New: qemu-ifup "Could not initialize device 'tap'"

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1017] New: qemu-ifup "Could not initialize device 'tap'" if network-nat set
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Sun, 8 Jul 2007 15:39:24 -0700
Delivery-date: Sun, 08 Jul 2007 15:40:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1017

           Summary: qemu-ifup "Could not initialize device 'tap'" if
                    network-nat set
           Product: Xen
           Version: unstable
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HVM
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: rainer.feigl@xxxxxxxxxxxxxx


xen-3.1 on debian etch x86-64
xend-config.sxp
    (network-script 'network-nat netdev=eth0')
    (vif-script vif-nat)
win.cfg
    kernel  = '/usr/lib/xen/boot/hvmloader'
    builder = 'hvm'
    memory  = '512'
    device_model='/usr/lib/xen/bin/qemu-dm'
    disk    = [ 'phy:/dev/iwtdom0vg/win.interwebtiv.at-c,ioemu:hda,w' ]
    name = 'win'
    vif = ['type=ioemu, ip=10.0.0.50, vifname=wif_win']
    boot='c'
    vnc=1
    sdl=0
    on_poweroff = 'destroy'
    on_reboot   = 'restart'
    on_crash    = 'restart'

if i start the domain with
    xm create win.cfg
i got the following error in qemu-dm.xxx.log
    /etc/xen/qemu-ifup: could not launch network script
    Could not initialize device 'tap'

i got it working with this
    in qemu-ifup outcommented the last line
        #brctl addif $2 $1
    then started windows
    ifconfig vif_win down
    ifconfig tap0 10.0.0.177 netmask 255.255.255.255 up
    route add -host 10.0.0.50 dev tap0

the ip 10.0.0.177 for the tap0 is indicated from the ipadress + 127
this is also the gateway for windows
what finally helped me with some modifications was:
    http://lists.xensource.com/archives/html/xen-users/2006-12/msg00429.html
    http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=584

this was just for getting it working
i'll try to fix this directly in qemu-ifup :-)


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>