I want to make network work with Qemu using the tap device. I tried this out using a debian-wheezy ( http://elinux.org/BeagleBoardDebian#Debian_Wheezy_snapshot) and Linaro (nano) (http://www.linaro.org/downloads/1203) for the beagleboard and following some instructions online to set up the tap device. In both cases it did not work and I only see an usb0 device set up but not configured/linked. The eth0 fails while booting.
Debugging Qemu while loading I found the following problem. Could you help me with that?
1. tap0 device already set up:
2. Command line: sudo qemu-system-arm -M beagle -m 512 -drive file=beagle-wheezy.img,if=sd,cache=writeback -clock unix -netdev tap,id=mynet,ifname=tap0,script=no -usb -device usb-net,netdev=mynet -serial stdio
3. Debugging Qemu: Cause of crash: s->dev.config IS NULL
Program terminated with signal 11, Segmentation fault. #0 0xb74af3f1 in is_rndis (s=0xb9c73c20) at /home/sferlin/qemu-linaro-1.1.0-2012.06/hw/usb/dev-network.c:650 650 return s->dev.config->bConfigurationValue == DEV_RNDIS_CONFIG_VALUE; (gdb) up #1 0xb74b0c24 in usbnet_can_receive (nc=0xb9c763c8) at /home/sferlin/qemu-linaro-1.1.0-2012.06/hw/usb/dev-network.c:1292 1292 if (is_rndis(s) && s->rndis_state != RNDIS_DATA_INITIALIZED) { (gdb) up #2 0xb741bc48 in qemu_can_send_packet (sender=0xb9bf4d20) at net.c:367 367 !sender->peer->info->can_receive(sender->peer)) { (gdb) up #3 0xb7423b4b in tap_can_send (opaque=0xb9bf4d20) at net/tap.c:175 175 return qemu_can_send_packet(&s->nc); (gdb) up #4 0xb738b1b5 in qemu_iohandler_fill (pnfds=0xb7bc3f00, readfds=0xb7bc3d80, writefds=0xb7bc3e00, xfds=0xb7bc3e80) at iohandler.c:101 101 ioh->fd_read_poll(ioh->opaque) != 0)) {