NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/45615: qemu-0.15.1 from pkgsrc/emulators/qemu does not work on recent NetBSD current



The following reply was made to PR kern/45615; it has been noted by GNATS.

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/45615: qemu-0.15.1 from pkgsrc/emulators/qemu does not
 work on recent NetBSD current
Date: Tue, 13 Dec 2011 00:38:41 +0900 (JST)

 From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Tue, 13 Dec 2011 
00:34:58 +0900 (JST)
 
 > Hi,
 > 
 > From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>, Date: Mon, 12 Dec 
 > 2011 11:56:14 +0100
 > 
 >> On Sat, Dec 10, 2011 at 11:17:11PM +0900, Ryo ONODERA wrote:
 >>> Setting up qemu is hard work...
 >>> 
 >>> I have the following problem.
 >>> 
 >>> On NetBSD current machine,
 >>> # /sbin/ifconfig tap0 create
 >>> # /sbin/ifconfig bridge0 create
 >>> # /sbin/brconfig bridge0 add msk0
 >>> # /sbin/ifconfig bridge0 up
 >>> # /sbin/ifconfig tap0 0.0.0.0 up
 >>> # /sbin/brconfig bridge0 add tap0
 >>> # dhclient tap0
 >>> bound to 192.168.81.5
 >> 
 >> please check that both tap0 and msk0 are in promiscous mode at this
 >> point.
 >> I noticed with a current kernel, my xen setup doesn't work anymore
 >> after a fresh boot because my wm0, despite being part of the bridge,
 >> is not in promisc mode. Doing
 >> brconfig bridge0 delete wm0
 >> brconfig bridge0 add wm0
 >> fixes it.
 > 
 > It works with qemu-system-sparc from qemu-0.15 and pkgsrc/wip/qemu-1.0 too.
 > 
 > (fresh boot)
 > % ifconfig msk0 ; ifconfig tap0
 > msk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 >         address: 00:17:42:3d:72:02
 >         media: Ethernet autoselect (100baseTX 
 > full-duplex,flowcontrol,rxpause,txpause)
 >         status: active
 >         inet 192.168.81.210 netmask 0xffffff00 broadcast 192.168.81.255
 >         inet6 fe80::217:42ff:fe3d:7202%msk0 prefixlen 64 scopeid 0x1
 > tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
 >         address: f2:0b:a4:89:52:09
 >         media: Ethernet autoselect
 >         inet 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255
 >         inet6 fe80::f00b:a4ff:fe89:5209%tap0 prefixlen 64 scopeid 0x4
 > 
 > % brconfig bridge0 delete wm0
 > % brconfig bridge0 add wm0
 > % ifconfig msk0 ; ifconfig tap0
 > % ifconfig msk0 ; ifconfig tap0    
 > msk0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
 >         address: 00:17:42:3d:72:02
 >         media: Ethernet autoselect (100baseTX 
 > full-duplex,flowcontrol,rxpause,txpause)
 >         status: active
 >         inet 192.168.81.210 netmask 0xffffff00 broadcast 192.168.81.255
 >         inet6 fe80::217:42ff:fe3d:7202%msk0 prefixlen 64 scopeid 0x1
 > tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
 >         address: f2:0b:a4:89:52:09
 >         media: Ethernet autoselect
 >         inet 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255
 >         inet6 fe80::f00b:a4ff:fe89:5209%tap0 prefixlen 64 scopeid 0x4
 > 
 > 
 >> I didn't find the time to analyse any further.
 >> 
 >> -- 
 >> Manuel Bouyer <bouyer%antioche.eu.org@localhost>
 >>      NetBSD: 26 ans d'experience feront toujours la difference
 >> --
 >> 
 >> 
 > 
 > 
 
 


Home | Main Index | Thread Index | Old Index