From: Adnan Khaleel Subject: Re: Network stops responding after some time Date: Wed, 9 Aug 2006 14:49:03 -0500 Message-ID: <20060809144903.8d95375b@shadowfax.centaur.net> References: <44D8C421.39DB.0076.0@novell.com> Reply-To: adnan@shadowfax.no-ip.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <44D8C421.39DB.0076.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kirk Allan , xen-devel@lists.xensource.com Cc: Ian.Pratt@cl.cam.ac.uk List-Id: xen-devel@lists.xenproject.org Hi Krik, Your problem seems to be identical to mine. Is your kernel x86-64 as wel= l=3F I was wondering if this problem also manifested in 32bit as well and I never got around to tryin= g to myself. Hope we can find a fix for this. Adnan ----- Original Message ----- From: Kirk Allan To: xen-devel@lists.xensource.com Cc: Ian.Pratt@cl.cam.ac.uk, Keir Fraser , adna= n@shadowfax.no-ip.com Sent: Tue, 8 Aug 2006 18:04:33 -0500 Subject: Re: [Xen-devel] Network stops responding after some time > I am seeing the same dom0 problem on a box that also has an integrated= nForce3 > Ethernet adapter. The box started out with SLES 10 but I removed the = SUSE > supplied Xen components and am using Xen-unstable change set 10982. >=20 > I am not starting xend, so bridging is not involved. To eliminate the= LAN > driver issue, I used an Intel E100 adapter. >=20 > It seems that networking goes along OK as long as traffic is light. T= o trigger > the problem, I download a CD ISO image. Downloading an ISO causes the= failure > every time. The download progress varies from not even getting starte= d to 426 > MB out of the 676 MB. When the download progress stops, checking > /proc/interrupts shows that interrupts for the LAN adapter have stoppe= d. >=20 > As suggested, I tried the 'ioapic=5Fack=3Dold' Xen boot parameter. It= didn't help. >=20 > I don't believe it is a LAN driver problem because doing a 'rmmod e100= ' and an > 'insmod e100.ko' does not get things going again. >=20 > Attached are various log files that will hopefully be of some use. >=20 > xendebug * contains the serial output as xen is booting up. It also c= ontains > the dump=5Firqs from the 'i' and th print=5FIO=5FAPIC=5Fkeyhandler fro= m the 'z' after > doing the from the debug terminal. I added = counters > to mask=5Fand=5Fack=5Flevel=5Fioapic=5Fvector and end=5Flevel=5Fioapic= =5Fvector. The > interesting thing here is that the e100 is using int 19 and=20 > mask=5Fand=5Fack=5Flevel=5Fioapic=5Fvector, end=5Flevel=5Fioapic=5Fvec= tor, and int 19 from > /proc/interrupts all have the save value (317059) when interrupts stop= . Also > the irr is set to 1 when interrupts stop. >=20 > cpuinfo * contents of /proc/cpuinfo >=20 > hwinfo * results of doing 'hwinfo' >=20 > dmesg=5Fnative * dmesg from a native kernel boot. >=20 > dmesg * dmesg from booting the xen kernel. After interrupts stop, the= re were no > new messages. >=20 > messages - the /var/log/messages for the xen booting kernel. It also = contains > the 'rmmod e100' and the 'insmod e100' messages after interrupts stopp= ed for the > e100.=20 >=20 > ifconfig * the results of doing ifconfig after interrupts stop, after = 'rmmod > e100', and after 'insmod e100' all catted together. >=20 > ints * the results of /proc/interrupts on a native boot, after a xen k= ernel > boot, and after interrupts stop on the xen kernel. Native uses int 2= 01 for the > e100 and xen uses int 19. >=20 > Any help on this issue is greatly appricated. >=20 > Thanks, > Kirk >=20 > >>> On Wed, Jul 26, 2006 at 4:07 AM, in message > <00812518ddfbf4c535e7a4d25d8bbab3@cl.cam.ac.uk>, Keir Fraser > wrote:=20 >=20 > > On 24 Jul 2006, at 19:49, Adnan Khaleel wrote: > >=20 > >> I need help in trying to understand why the ethernet driver has loc= ked=20 > >> up and how I can go about outputting debug messages. I see in=20 > >> /proc/interrrupts that the interrupt count of eth0 just stops=20 > >> incrementing. I've tried different (3Com, Realtek 8169, Realtek 813= 9)=20 > >> based network cards and this happens with all. I'm not sure what is= so=20 > >> unique about my system that might be causing this to lockup, its a= =20 > >> regular Nforce3 based system with 512MB ram. This problem does not= =20 > >> happen if I'm not using a Xen enabled kernel. This is entirely=20 > >> happening in dom0 and there aren't any user domains so its not a=20 > >> bridging issue. I've also disabled the Xen backend drivers (netbk.k= o=20 > >> and netloop.ko) so its talking to the network chip directly. > >> > >> Any help=3F Please=3F > >=20 > > Firstly, you need to repro on the kernel from our xen- unstable=20 > > repository, which is based on kernel.org Linux 2.6.16. Then build th= e=20 > > same kernel for native i386 and get boot output. Send the unified di= ff=20 > > (diff - u) of the two boot outputs. You may need to tweak the=20 > > configuration of the native build to get the output similar to that = of=20 > > the Xen- based kernel -- we can tell you how to do that when we see= your=20 > > initial diff. > >=20 > > Another thing worth trying is 'ioapic=5Fack=3Dold' as a Xen boot par= ameter=20 > > in your bootloader configuration file. It probably won't help, but= =20 > > worth a try. > >=20 > > -- Keir > >=20 > >=20 > > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F > > Xen- devel mailing list > > Xen- devel@lists.xensource.com > > http://lists.xensource.com/xen- devel >=20 >=20 >=20