Subject: Re: xen network problem
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Geert Hendrickx <ghen@telenet.be>
List: port-xen
Date: 03/08/2006 18:01:31
On Wed, Mar 08, 2006 at 05:33:09PM +0100, Manuel Bouyer wrote:
> No packets received and watchdog timeout, this is a good hint at an
> interrupt problem. vmstat -i will probably confirm that it gets no
> interrupts.

I don't know how to interpret this info, so here's the output of vmstat -i
when running in Xen as domain0: 

interrupt                                     total     rate
cpu0 softclock                                25431      100
cpu0 softnet                                    127        0
cpu0 misdirev                                   790        3
cpu0 irq14                                     3148       12
cpu0 irq1                                      2175        8
cpu0 irq12                                      811        3
cpu0 clock                                    26950      106
Total                                         59432      234

And this is when running an i386 kernel: 

interrupt                                     total     rate
cpu0 softclock                                 4515      102
cpu0 softnet                                    194        4
pic0 pin 9                                       11        0
pic0 pin 7                                      103        2
pic0 pin 10                                     127        2
pic0 pin 14                                    2747       62
pic0 pin 1                                      401        9
pic0 pin 12                                      19        0
pic0 pin 0                                     4504      102
Total                                         12621      286

> My guess is that the ACPI in Xen is getting it wrong for your machine.
> You can try adding 'noacpi' on the Xen boot command line in grub.  If
> that doesn't help, try 'ignorebiostables' (but this disables SMP, if you
> care).

I tried both, it didn't seem to make a difference.  

> There may be other options that can help, see
> http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes-2.0/user/user.html

Thanks for the pointer, I'll check that out.  

	Geert