From: Herbert Poetzl <herbert@13thfloor.at>
To: Horst Schlonz <horst.schlonz@gmx.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] NETDEV WATCHDOG: eth0: transmit timed out
Date: Thu, 6 Jan 2005 03:41:26 +0100 [thread overview]
Message-ID: <20050106024125.GA728@mail.13thfloor.at> (raw)
In-Reply-To: <1104899444.20758.26.camel@localhost.localdomain>
On Wed, Jan 05, 2005 at 05:30:44AM +0100, Horst Schlonz wrote:
> hi,
>
> i have qemu 0.6.1 and a debian host system. i started qemu like this:
> root@host # chmod 666 /dev/net/tun
> root@host # logout
> user@host # qemu -hda debiansarge.img
> Password:
> Connected to host network interface: tun0
>
> i have installed debian sarge as guest system before. on the host i have
> a tun0 interface:
> user@host # ifconfig tun0
> ifconfig tun0
> tun0 Protokoll:Ethernet Hardware Adresse 00:FF:58:37:D9:25
> inet Adresse:172.20.0.1 Bcast:172.20.255.255 Maske:255.255.0.0
> [...]
>
> now, on the guest i setup networking:
> root@guest # ifconfig eth0 172.20.0.2 netmask 255.255.0.0 up
> root@guest # ifconfig eth0
> eth0 Protokoll:Ethernet Hardware Adresse 52:54:00:12:34:56
> inet Adresse:172.20.0.2 Bcast:172.20.255.255 Maske:255.255.0.0
> [...]
>
> the problem is:
> root@guest # ping -c1 172.20.0.1
> PING 172.20.0.1 (172.20.0.1) 56(84) bytes of data
> NETDEV WATCHDOG: eth0: transmit timed out
> NETDEV WATCHDOG: eth0: transmit timed out
> >From 172.20.0.2 icmp_seq=1 Destination Host Unreachable
>
> --- 172.20.0.1 ping statistics ---
> 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
> root@guest #
>
> can anyone confirm this? is something wrong with the emulated
> realtek-network-device?
mandrake based host system here, after booting a
default 2.6.10 kernel with:
qemu-0.6.1/i386/qemu-fast -nographic -L qemu-0.6.1/pc-bios \
-m 64 -snapshot -hda IMGs/TESTn_32M.img -kernel \
/src/linux-2.6.10-P1/arch/i386/boot/bzImage \
-append "rw root=/dev/hda1 devfs=mount init=/bin/bash"
(the following script is executed on the host:)
# cat /etc/qemu-ifup
---------------------------------------------------------
#!/bin/bash
IF="$1"
NR=`echo $IF | sed 's/^[a-z]*//'`
NX=$[NR+10]
IFX="10.0.$NR.1"
BCX="10.0.$NR.255"
RMX="10.0.$NR.2"
echo -e "\e[33m$IF configured for $IFX/$RMX\e[0m"
ifconfig $IF $IFX netmask 255.255.255.0 broadcast $BCX
route add -net 192.168.$NR.0/24 gw $RMX
# route add -host 10.0.0.$NX dev $IF
echo 1 > /proc/sys/net/ipv4/conf/$IF/proxy_arp
---------------------------------------------------------
(now on the guest)
[root@(none) /]$ ifconfig lo 127.0.0.1
[root@(none) /]$ ifconfig eth0 10.0.0.2
[root@(none) /]$ ping -c 2 10.0.0.1
PING 10.0.0.1 (10.0.0.1) from 10.0.0.2 : 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=0 ttl=64 time=7.181 msec
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=821 usec
--- 10.0.0.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.821/4.001/7.181/3.180 ms
(the relevant kernel config parts)
CONFIG_NET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_PNP=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=y
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
CONFIG_NET_PCI=y
CONFIG_NE2K_PCI=y
HTH,
Herbert
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
prev parent reply other threads:[~2005-01-06 2:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-05 4:30 [Qemu-devel] NETDEV WATCHDOG: eth0: transmit timed out Horst Schlonz
2005-01-05 15:43 ` Jim C. Brown
2005-01-05 15:50 ` Jim C. Brown
2005-01-05 18:12 ` Horst Schlonz
2005-01-05 18:25 ` Magnus Damm
2005-01-06 21:57 ` Jim C. Brown
2005-01-06 22:47 ` Magnus Damm
2005-01-05 19:50 ` Jim C. Brown
2005-01-05 20:06 ` Horst Schlonz
2005-01-05 21:33 ` Jim C. Brown
2005-01-06 0:27 ` Horst Schlonz
2005-01-06 0:58 ` Magnus Damm
2005-01-06 1:34 ` Horst Schlonz
2005-01-06 1:53 ` Jim C. Brown
2005-01-06 3:09 ` Horst Schlonz
2005-01-08 10:14 ` [Qemu-devel] " Anand Kumria
2005-01-06 2:41 ` Herbert Poetzl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050106024125.GA728@mail.13thfloor.at \
--to=herbert@13thfloor.at \
--cc=horst.schlonz@gmx.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).