Re: virtio_net hang

2008-11-22 Thread Emmanuel Lacour
On Fri, Nov 21, 2008 at 09:38:23AM +0100, Emmanuel Lacour wrote:
> 
> I continue to have this problem with this setup:
> 
> - host 2.6.27.4, kvm-78, intel, debian etch 64bits
> - guest 2.6.27.6, debian sarge 32 bits, e1000, 2 vcpus
> 
> up/down of interface is enough to recover.
> 


Today I had a trace on this problem (first time), maybe this can help:

Nov 21 14:34:42 foo kernel: [58345.000104] [ cut here ]
Nov 21 14:34:42 foo kernel: [58345.000617] WARNING: at 
net/sched/sch_generic.c:219 dev_watchdog+0x164/0x1fd()
Nov 21 14:34:42 foo kernel: [58345.001374] NETDEV WATCHDOG: eth0 (e1000): 
transmit timed out
Nov 21 14:34:42 foo kernel: [58345.001825] Modules linked in: nfsd auth_rpcgss 
exportfs ac battery ipv6 nfs lockd nfs_acl sunrpc nf_nat_ftp nf_conntrack_ftp 
xt_tcpudp iptable_mangle iptable_nat nf_nat ipt_REJECT xt_limit 
nf_conntrack_ipv4 xt_state nf_conntrack ipt_LOG ipt_ULOG iptable_filter 
ip_tables x_tables dm_mod sd_mod snd_pcsp virtio_balloon snd_pcm snd_timer snd 
soundcore floppy snd_page_alloc psmouse serio_raw virtio_pci i2c_piix4 button 
i2c_core evdev ext3 jbd mbcache ide_cd_mod cdrom ide_disk ata_generic ata_piix 
libata scsi_mod dock piix ide_core uhci_hcd e1000 usbcore thermal processor fan 
thermal_sys
Nov 21 14:34:42 foo kernel: [58345.022597] Pid: 0, comm: swapper Not tainted 
2.6.27.6 #1
Nov 21 14:34:42 foo kernel: [58345.023027]  [] warn_slowpath+0x58/0x70
Nov 21 14:34:42 foo kernel: [58345.023470]  [] ip_output+0x8e/0x90
Nov 21 14:34:42 foo kernel: [58345.029292]  [] ip_local_out+0x15/0x17
Nov 21 14:34:42 foo kernel: [58345.030231]  [] 
ip_queue_xmit+0x2b0/0x2f7
Nov 21 14:34:42 foo kernel: [58345.030684]  [] 
pvclock_get_nsec_offset+0xb/0x59
Nov 21 14:34:42 foo kernel: [58345.031163]  [] 
pvclock_clocksource_read+0x1a/0x2d
Nov 21 14:34:42 foo kernel: [58345.031642]  [] 
pvclock_get_nsec_offset+0xb/0x59
Nov 21 14:34:42 foo kernel: [58345.032130]  [] 
pvclock_clocksource_read+0x1a/0x2d
Nov 21 14:34:42 foo kernel: [58345.032608]  [] 
pvclock_get_nsec_offset+0xb/0x59
Nov 21 14:34:42 foo kernel: [58345.033080]  [] 
pvclock_get_nsec_offset+0xb/0x59
Nov 21 14:34:42 foo kernel: [58345.033570]  [] 
pvclock_get_nsec_offset+0xb/0x59
Nov 21 14:34:42 foo kernel: [58345.034036]  [] 
pvclock_clocksource_read+0x1a/0x2d
Nov 21 14:34:42 foo kernel: [58345.034506]  [] 
dev_watchdog+0x164/0x1fd
Nov 21 14:34:42 foo kernel: [58345.034951]  [] 
__atomic_notifier_call_chain+0x10/0x13
Nov 21 14:34:42 foo kernel: [58345.035455]  [] _spin_lock_bh+0xf/0x12
Nov 21 14:34:42 foo kernel: [58345.035898]  [] 
timer_stats_account_timer+0x22/0x27
Nov 21 14:34:42 foo kernel: [58345.036384]  [] 
run_timer_softirq+0x11f/0x183
Nov 21 14:34:42 foo kernel: [58345.036840]  [] dev_watchdog+0x0/0x1fd
Nov 21 14:34:42 foo kernel: [58345.037278]  [] 
hrtimer_interrupt+0x136/0x15e
Nov 21 14:34:42 foo kernel: [58345.037736]  [] __do_softirq+0x69/0xd3
Nov 21 14:34:42 foo kernel: [58345.038172]  [] do_softirq+0x44/0x52
Nov 21 14:34:42 foo kernel: [58345.038608]  [] irq_exit+0x38/0x6c
Nov 21 14:34:42 foo kernel: [58345.039035]  [] 
smp_apic_timer_interrupt+0x2a/0x33
Nov 21 14:34:42 foo kernel: [58345.039518]  [] 
apic_timer_interrupt+0x28/0x30
Nov 21 14:34:42 foo kernel: [58345.039980]  [] 
native_safe_halt+0x2/0x3
Nov 21 14:34:42 foo kernel: [58345.040443]  [] default_idle+0x2e/0x54
Nov 21 14:34:42 foo kernel: [58345.040886]  [] cpu_idle+0xc4/0xf7
Nov 21 14:34:42 foo kernel: [58345.041310]  ===
Nov 21 14:34:42 foo kernel: [58345.041692] ---[ end trace 934a9cb836d2434b ]---
Nov 21 14:34:42 foo kernel: [58345.080575] e1000: eth0: e1000_watchdog: NIC 
Link is Up 1000 Mbps Full Duplex, Flow Control: None
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-21 Thread Guido Günther
On Thu, Nov 20, 2008 at 12:36:50PM +0100, Emmanuel Lacour wrote:
> On Wed, Nov 19, 2008 at 07:03:09PM +, Mark McLoughlin wrote:
> > 
> > I had a look at Emmanuel's strace log and it shows that qemu isn't
> > selecting on the tapfd, presumably because virtio_net_can_receive() sees
> > that we've exhausted all available receive buffers.
> > 
> > When qemu does poll the tapfd (after an ifdown/ifup in the guest), there
> > are a load of packets waiting in the queue and things proceed as normal.
> > 
> > That still jives with the theory that we're somehow getting into a state
> > where NAPI polling is de-scheduled while guest rx interrupts are also
> > disabled.
> > 
> > > Is it possible for you to try a newer guest kernel?
> > 
> > If you can try a newer kernel, or even try some debugging patches, that
> > would help a lot.
> > 
> 
> The difficulty is that I can not always reproduce the bug.
> 
> But another interesting think is that I switched to e1000 and I had
> another lock after that with same symptoms :(
Same symptoms with the rtl8139 and kvm-userspace 78 running on 2.6.24
(kvm modules from kvm 78), I wasn't able to reproduce this with kvm 63
(nor did I find the time to do any further debugging yet).
Cheers,
 -- Guido
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-21 Thread Emmanuel Lacour
On Thu, Nov 20, 2008 at 12:36:50PM +0100, Emmanuel Lacour wrote:
> The difficulty is that I can not always reproduce the bug.
> 
> But another interesting think is that I switched to e1000 and I had
> another lock after that with same symptoms :(
> 
> Like answered a few minutes ago, I will try a 2.6.27.6 in the guest
> today and let you know on the first problem I encounter if any ;)
> 

I continue to have this problem with this setup:

- host 2.6.27.4, kvm-78, intel, debian etch 64bits
- guest 2.6.27.6, debian sarge 32 bits, e1000, 2 vcpus

up/down of interface is enough to recover.

there is 6 other guests on this host (mix of Debian
woody/sarge/etch/lenny, 2.6, 2.4) this is the only one with this
problem, but this is also I think the one with most IP traffic
(http/ftp + rsync backups).

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-20 Thread Emmanuel Lacour
On Wed, Nov 19, 2008 at 07:03:09PM +, Mark McLoughlin wrote:
> 
> I had a look at Emmanuel's strace log and it shows that qemu isn't
> selecting on the tapfd, presumably because virtio_net_can_receive() sees
> that we've exhausted all available receive buffers.
> 
> When qemu does poll the tapfd (after an ifdown/ifup in the guest), there
> are a load of packets waiting in the queue and things proceed as normal.
> 
> That still jives with the theory that we're somehow getting into a state
> where NAPI polling is de-scheduled while guest rx interrupts are also
> disabled.
> 
> > Is it possible for you to try a newer guest kernel?
> 
> If you can try a newer kernel, or even try some debugging patches, that
> would help a lot.
> 

The difficulty is that I can not always reproduce the bug.

But another interesting think is that I switched to e1000 and I had
another lock after that with same symptoms :(

Like answered a few minutes ago, I will try a 2.6.27.6 in the guest
today and let you know on the first problem I encounter if any ;)

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-20 Thread Emmanuel Lacour
On Wed, Nov 19, 2008 at 01:13:52PM +, Mark McLoughlin wrote:
> 
> Is it possible for you to try a newer guest kernel?
> 

The guest will be rebooted today on 2.7.27.6.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-19 Thread Mark McLoughlin
On Wed, 2008-11-19 at 13:13 +, Mark McLoughlin wrote:
> On Tue, 2008-11-18 at 19:37 +0100, Emmanuel Lacour wrote:
> > On Fri, Nov 14, 2008 at 06:26:44PM +, Mark McLoughlin wrote:
> > > 
> > > Right, the tap device tx queue is full because kvm-userspace isn't
> > > reading packets from it.
> > > 
> > > This could be because kvm-userspace has just stopped noticing that
> > > there's data available from the tapfd or because virtio_net in the guest
> > > has stopped noticing that packets are available in the ring.
> > > 
> > > One thing you could easily check is whether:
> > > 
> > >   ip link set eth0 down
> > >   ip link set eth0 up
> > > 
> > > in the host is sufficient to fix it? If it is, then it points to a guest
> > > driver issue.
> > > 
> > 
> > I made the test, putting link down then up fix it.
> 
> Thanks, that's very interesting.
> 
> Since bringing the interface up and down basically just causes the
> driver to re-schedule itself with NAPI, all I can see as a possibility
> is that we somehow (e.g. a race condition) had gotten ourselves into a
> state where we have rx ring interrupts disabled and we're not scheduled
> with NAPI.
> 
> We synchronise around the NAPI_STATE_SCHED bit with atomic operations
> and all the logic looks correct ... so I'm stumped, really.

I had a look at Emmanuel's strace log and it shows that qemu isn't
selecting on the tapfd, presumably because virtio_net_can_receive() sees
that we've exhausted all available receive buffers.

When qemu does poll the tapfd (after an ifdown/ifup in the guest), there
are a load of packets waiting in the queue and things proceed as normal.

That still jives with the theory that we're somehow getting into a state
where NAPI polling is de-scheduled while guest rx interrupts are also
disabled.

> Is it possible for you to try a newer guest kernel?

If you can try a newer kernel, or even try some debugging patches, that
would help a lot.

Cheers,
Mark.


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-19 Thread Mark McLoughlin
On Tue, 2008-11-18 at 19:37 +0100, Emmanuel Lacour wrote:
> On Fri, Nov 14, 2008 at 06:26:44PM +, Mark McLoughlin wrote:
> > 
> > Right, the tap device tx queue is full because kvm-userspace isn't
> > reading packets from it.
> > 
> > This could be because kvm-userspace has just stopped noticing that
> > there's data available from the tapfd or because virtio_net in the guest
> > has stopped noticing that packets are available in the ring.
> > 
> > One thing you could easily check is whether:
> > 
> >   ip link set eth0 down
> >   ip link set eth0 up
> > 
> > in the host is sufficient to fix it? If it is, then it points to a guest
> > driver issue.
> > 
> 
> I made the test, putting link down then up fix it.

Thanks, that's very interesting.

Since bringing the interface up and down basically just causes the
driver to re-schedule itself with NAPI, all I can see as a possibility
is that we somehow (e.g. a race condition) had gotten ourselves into a
state where we have rx ring interrupts disabled and we're not scheduled
with NAPI.

We synchronise around the NAPI_STATE_SCHED bit with atomic operations
and all the logic looks correct ... so I'm stumped, really.

Is it possible for you to try a newer guest kernel?

Cheers,
Mark.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-18 Thread Emmanuel Lacour
On Tue, Nov 18, 2008 at 07:37:57PM +0100, Emmanuel Lacour wrote:
> 
> I made the test, putting link down then up fix it.
> 
> So what can I do next time to help fixing this ?
> 

I had the problem one more time, I made an strace of the kvm process
which start with non working network, I then did a ping, then a link
down, link up, ping (which works again) and stopped the strace.

Who is interested by the strace to help me analyze it ? ;)
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-18 Thread Emmanuel Lacour
On Fri, Nov 14, 2008 at 06:26:44PM +, Mark McLoughlin wrote:
> 
> Right, the tap device tx queue is full because kvm-userspace isn't
> reading packets from it.
> 
> This could be because kvm-userspace has just stopped noticing that
> there's data available from the tapfd or because virtio_net in the guest
> has stopped noticing that packets are available in the ring.
> 
> One thing you could easily check is whether:
> 
>   ip link set eth0 down
>   ip link set eth0 up
> 
> in the host is sufficient to fix it? If it is, then it points to a guest
> driver issue.
> 

I made the test, putting link down then up fix it.

So what can I do next time to help fixing this ?


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-14 Thread Mark McLoughlin
On Fri, 2008-11-14 at 10:23 +0100, Emmanuel Lacour wrote:
> On Thu, Nov 13, 2008 at 04:24:52PM +0100, Emmanuel Lacour wrote:
> > On Thu, Nov 13, 2008 at 03:12:33PM +, Mark McLoughlin wrote:
> > > The fact that re-loading the virtio_net driver fixes things up makes me
> > > suspect you've found a bug in the virtio_net driver, rather than e.g. a
> > > bug in the kvm-userspace side.
> > > 
> > > To try and narrow down what's happening, when the interface has hung,
> > > try:
> > > 
> > >   - tcpdump on both eth0 in the guest and the tap device on the host 
> > > (tap5 in your example)
> > > 
> 
> 
> On eth0 I see echo requests, but _no_ echo replies
> On tap5 I see echo requests _and_ echo replies

Okay, so the guest isn't receiving packets.

> > >   - look for anything unusual in the stats for both those interfaces,
> > >  e.g. /proc/net/dev, netstat -s etc.
> > > 
> 
> Comparing with other guest without problems, the only difference is that this
> tap (and only this one) reports "overruns":
> 
> tap5  Link encap:Ethernet  HWaddr 00:FF:AD:53:76:25  
>   inet6 addr: fe80::2ff:adff:fe53:7625/64 Scope:Link
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:717737621 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:636626720 errors:0 dropped:0 overruns:317 carrier:0
>   collisions:0 txqueuelen:500 
>   RX bytes:368973099756 (343.6 GiB)  TX bytes:217917073227 (202.9 GiB)
> 
> overruns seems to happen just when there is "hang", it doesn't seems to
> increase when network is working properly.

Right, the tap device tx queue is full because kvm-userspace isn't
reading packets from it.

This could be because kvm-userspace has just stopped noticing that
there's data available from the tapfd or because virtio_net in the guest
has stopped noticing that packets are available in the ring.

One thing you could easily check is whether:

  ip link set eth0 down
  ip link set eth0 up

in the host is sufficient to fix it? If it is, then it points to a guest
driver issue.

Cheers,
Mark.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-14 Thread Emmanuel Lacour
On Thu, Nov 13, 2008 at 04:24:52PM +0100, Emmanuel Lacour wrote:
> On Thu, Nov 13, 2008 at 03:12:33PM +, Mark McLoughlin wrote:
> > The fact that re-loading the virtio_net driver fixes things up makes me
> > suspect you've found a bug in the virtio_net driver, rather than e.g. a
> > bug in the kvm-userspace side.
> > 
> > To try and narrow down what's happening, when the interface has hung,
> > try:
> > 
> >   - tcpdump on both eth0 in the guest and the tap device on the host 
> > (tap5 in your example)
> > 


On eth0 I see echo requests, but _no_ echo replies
On tap5 I see echo requests _and_ echo replies

> >   - look for anything unusual in the stats for both those interfaces,
> >  e.g. /proc/net/dev, netstat -s etc.
> > 

Comparing with other guest without problems, the only difference is that this
tap (and only this one) reports "overruns":

tap5  Link encap:Ethernet  HWaddr 00:FF:AD:53:76:25  
  inet6 addr: fe80::2ff:adff:fe53:7625/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:717737621 errors:0 dropped:0 overruns:0 frame:0
  TX packets:636626720 errors:0 dropped:0 overruns:317 carrier:0
  collisions:0 txqueuelen:500 
  RX bytes:368973099756 (343.6 GiB)  TX bytes:217917073227 (202.9 GiB)

overruns seems to happen just when there is "hang", it doesn't seems to
increase when network is working properly.


> >   - strace the /usr/bin/kvm process
> > 

Unfortunatly I was unable to do this because I can't reproduce the problem on a
test VM and I can't leave this VM with a non working network for analysis
because of production so I have a script which pings and restart
module/interface when needed.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-13 Thread Fabio Coatti
2008/11/13 Emmanuel Lacour <[EMAIL PROTECTED]>:
> Dear kvm users/developpers,
>
> I have a problem here where the network interface of a guest hang
> 2 or 3 times a day. No more packets can be sent out or received, no
> error in guest or host logs. I have to stop networking, remove module,
> then modprobe again and start the network to get back connection.
>
> My setup:
> host: debian etch, kernel 2.6.26 amd64 (etch backports), kvm 73, using
> libvirt
> guest: debian sarge, kernel 2.6.26 686 (from etch backports)
>
>
> I looked at changelogs for userspace kvm tools as well as kernel but didn't
> found something relevant to this problem.
>
>
> Any help would be welcome :)
>
2008/11/13 Mark McLoughlin <[EMAIL PROTECTED]>:

>
> To try and narrow down what's happening, when the interface has hung,
> try:
>
>  - tcpdump on both eth0 in the guest and the tap device on the host
>(tap5 in your example)
>
>  - look for anything unusual in the stats for both those interfaces,
> e.g. /proc/net/dev, netstat -s etc.
>
>  - strace the /usr/bin/kvm process
>
> What you're looking for e.g. is whether a guest->host ping is failing
> because the request packet isn't getting to the host or because the
> reply packet isn't getting to the guest, and where exactly the packet is
> being blocked.

We are seeing something similar under kvm-77,76,78, with recent
kernels (2.6.27.X) as well as some 26.X
Basically after some time with high network load the interface stops working.
what we are seeing sniffing at tap level is some arp packets going
out, but no answer comes from network. Basically, it seems that the
machine gets disconnected. Anyway I doubt that the host/external
networks have something to do with this, as a reboot always makes the
network happy again.
I can't tell how much traffic flows trough the inteface prior the
problem, but it seems indeed related to the amount of bytes.
If someone can give me some directions on how to dig this I'll be
grateful. Of course, I'm using virtio drivers.
We are unable to reproduce this with full emulation devices.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-13 Thread Emmanuel Lacour
On Thu, Nov 13, 2008 at 03:12:33PM +, Mark McLoughlin wrote:
> The fact that re-loading the virtio_net driver fixes things up makes me
> suspect you've found a bug in the virtio_net driver, rather than e.g. a
> bug in the kvm-userspace side.
> 
> To try and narrow down what's happening, when the interface has hung,
> try:
> 
>   - tcpdump on both eth0 in the guest and the tap device on the host 
> (tap5 in your example)
> 
>   - look for anything unusual in the stats for both those interfaces,
>  e.g. /proc/net/dev, netstat -s etc.
> 
>   - strace the /usr/bin/kvm process
> 
> What you're looking for e.g. is whether a guest->host ping is failing
> because the request packet isn't getting to the host or because the
> reply packet isn't getting to the guest, and where exactly the packet is
> being blocked.
> 

Nice hints, thanks, I will try to debug that deeper and come back with
more informations :)

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-13 Thread Mark McLoughlin
On Thu, 2008-11-13 at 13:27 +0100, Emmanuel Lacour wrote:
> Dear kvm users/developpers,
> 
> I have a problem here where the network interface of a guest hang
> 2 or 3 times a day. No more packets can be sent out or received, no
> error in guest or host logs. I have to stop networking, remove module,
> then modprobe again and start the network to get back connection.

The fact that re-loading the virtio_net driver fixes things up makes me
suspect you've found a bug in the virtio_net driver, rather than e.g. a
bug in the kvm-userspace side.

To try and narrow down what's happening, when the interface has hung,
try:

  - tcpdump on both eth0 in the guest and the tap device on the host 
(tap5 in your example)

  - look for anything unusual in the stats for both those interfaces,
 e.g. /proc/net/dev, netstat -s etc.

  - strace the /usr/bin/kvm process

What you're looking for e.g. is whether a guest->host ping is failing
because the request packet isn't getting to the host or because the
reply packet isn't getting to the guest, and where exactly the packet is
being blocked.

Cheers,
Mark.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-13 Thread Emmanuel Lacour
On Thu, Nov 13, 2008 at 01:04:05PM +, Daniel P. Berrange wrote:
> 
> Many of the KVM developers don't use libvirt, so probably best if you
> post the actual KVM command line libvirt spawned - you can get it from
> the logfile in /var/log/libvirt/qemu/$NAME.log, where $NAME is your
> guest's name.
> 

You're right, here it is:

/usr/bin/kvm -S \
-M pc \
-m 4096 \
-smp 2 \
-name bar \
-monitor pty \
-boot c \
-drive \
file=/dev/vg_foo/vm_bar,if=ide,index=0,boot=on \
-drive 
file=/var/lib/kvm/isos/debian-31r0-i386-netinst.iso,if=ide,media=cdrom,index=2 \
-net nic,macaddr=00:16:3e:02:00:15,vlan=0,model=virtio \
-net tap,fd=29,script=,vlan=0,ifname=tap5 \
-serial none \
-parallel none \
-usb \
-vnc 127.0.0.1:5 \
-k fr
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: virtio_net hang

2008-11-13 Thread Daniel P. Berrange
On Thu, Nov 13, 2008 at 01:27:09PM +0100, Emmanuel Lacour wrote:
> Dear kvm users/developpers,
> 
> I have a problem here where the network interface of a guest hang
> 2 or 3 times a day. No more packets can be sent out or received, no
> error in guest or host logs. I have to stop networking, remove module,
> then modprobe again and start the network to get back connection.
> 
> My setup:
> host: debian etch, kernel 2.6.26 amd64 (etch backports), kvm 73, using
> libvirt
> guest: debian sarge, kernel 2.6.26 686 (from etch backports)
> 
> 
> I looked at changelogs for userspace kvm tools as well as kernel but didn't
> found something relevant to this problem.
> 
> 
> Any help would be welcome :)
> 
> 
> the guest config:

Many of the KVM developers don't use libvirt, so probably best if you
post the actual KVM command line libvirt spawned - you can get it from
the logfile in /var/log/libvirt/qemu/$NAME.log, where $NAME is your
guest's name.

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html