From: Adnan Khaleel Subject: Re: Network stops responding after some time Date: Mon, 31 Jul 2006 17:53:23 -0500 Message-ID: <20060731175323.8526601f@shadowfax.centaur.net> References: <00812518ddfbf4c535e7a4d25d8bbab3@cl.cam.ac.uk> 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: <00812518ddfbf4c535e7a4d25d8bbab3@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , xen-devel@lists.xensource.com Cc: Ian.Pratt@cl.cam.ac.uk List-Id: xen-devel@lists.xenproject.org Keir, Thanks for your response. I'm attempting to do what you have asked and h= ave run into a few problems I've outlined below. Please let me know how I can proceed. Thanks Adnan Before going to the next step, using the same setup as in my original em= ail (Xen included with SuSE), I noticed is that xend does not launch successfully here. Here is the xe= nd output from /var/xend.log [2006-07-28 16:13:02 xend 3911] INFO (SrvDaemon:283) Xend Daemon started [2006-07-28 16:13:02 xend 3911] ERROR (SrvDaemon:297) Exception starting= xend ((38, 'Function not implemented')) Traceback (most recent call last): File "//usr/lib64/python/xen/xend/server/SrvDaemon.py", line 286, in run xinfo =3D xc.xeninfo() Error: (38, 'Function not implemented') [2006-07-28 16:13:02 xend 3910] INFO (SrvDaemon:183) Xend exited with st= atus 1. Any idea why this might be=3F As per your instructions, in order to reproduce the problems on the kern= el.org based linux 2.6.16 that xen-unstable uses, I obtained the latest version of xen-unstable.hg and built it. I'm now faced with a different problem, I cannot get the kernel to boot = up. Instead I get the following message : : NFORCE3-150: IDE controller at PCI slot 0000:00:08.0 NFORCE3-150: chipset revision 165 NFORCE3-150: not 100% native mode: will probe irqs later NFORCE3-150: BIOS didn't set cable bits correctly. Enabling workaround. NFORCE3-150: 0000:00:08.0 (rev a5) UDMA133 controller ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA input: ImExPS/2 Generic Explorer Mouse as /class/input/input1 hda: IC35L040AVER07-0, ATA DISK drive hdb: IBM-DTLA-307030, ATA DISK drive ide0 at 0x1f0 - 0x1f7, 0x3f6 on irq 14 hdc: SAMSUNG CDRW/DVD SM-352B, ATAPI CD/DVD-ROM drive ide1 at 0x170 - 0x177, 0x376 on irq 15 Loading processor Loading thermal Loading fan Loading resierfs Waiting for /dev/hda2 to appear .................... not found -- Exitin= g to /bin/sh Actually this is the final screen so thats all I can record, I do not wh= at messages have been spit out before. Is there anyway I can record or s= low down the boot messages and have them saved even though the kernel ne= ver finishes booting=3F I guess in this case, since it never sees the hd= a2, I guess I would have to save it to a floppy or something. I do not w= hat is different between my compiled version of xen-unstable and the ver= sion they supply with SuSE but since I can't diff the boot messages from= my xen-unstable, I'm kinda lost. As you can see, all the devices are se= en correctly. For comparison sake, using the SuSE Xen, the similar portion of the boot= message looks quite a bit different. There is no "Loading processor" et= c. <6>NFORCE3-150: IDE controller at PCI slot 0000:00:08.0 <6>NFORCE3-150: chipset revision 165 <6>NFORCE3-150: not 100% native mode: will probe irqs later <4>NFORCE3-150: BIOS didn't set cable bits correctly. Enabling workaroun= d. <6>NFORCE3-150: 0000:00:08.0 (rev a5) UDMA133 controller <6> ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA <6> ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA <7>Probing IDE interface ide0... <4>hda: IC35L040AVER07-0, ATA DISK drive <4>hdb: IBM-DTLA-307030, ATA DISK drive <4>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 <6>hda: max request size: 128KiB <6>hda: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=3D65535/16/63, = UDMA(100) <6>hda: cache flushes not supported <6> hda: hda1 hda2 <6>hdb: max request size: 128KiB <6>hdb: 60036480 sectors (30738 MB) w/1916KiB Cache, CHS=3D59560/16/63, = UDMA(100) <6>hdb: cache flushes not supported <6> hdb: hdb1 <7>Probing IDE interface ide1... <4>hdc: SAMSUNG CDRW/DVD SM-352B, ATAPI CD/DVD-ROM drive <4>ide1 at 0x170-0x177,0x376 on irq 15 <5>ReiserFS: hda2: found reiserfs format "3.6" with standard journal <5>ReiserFS: hda2: using ordered data mode <4>reiserfs: using flush barriers <5>ReiserFS: hda2: journal params: device hda2, size 8192, journal first= block 18, max trans len 1024, max batch 900, max commit age 30, max tra= ns age 30 <5>ReiserFS: hda2: checking transaction log (hda2) So at this point I'm thinking that I must be doing something really wron= g and bad. I have another dual opteron box based on the AMD chipset so I= try to build xen from xen-unstable and try to boot that. Granted there = are several things different between the 2 boxes but it booted the xen u= nstable kernel on the first attempt with no problems. I've been told that NForce chipsets can be problematic and am wondering = if that is the case. ----- Original Message ----- From: Keir Fraser To: adnan@shadowfax.no-ip.com Cc: Ian.Pratt@cl.cam.ac.uk, xen-devel@lists.xensource.com Sent: Wed, 26 Jul 2006 05:07:55 -0500 Subject: Re: [Xen-devel] Network stops responding after some time >=20 > On 24 Jul 2006, at 19:49, Adnan Khaleel wrote: >=20 > > I need help in trying to understand why the ethernet driver has lock= ed=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 8139= )=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.ko= =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 the= =20 > same kernel for native i386 and get boot output. Send the unified diff= =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 you= r=20 > initial diff. >=20 > Another thing worth trying is 'ioapic=5Fack=3Dold' as a Xen boot param= eter=20 > in your bootloader configuration file. It probably won't help, but=20 > worth a try. >=20 > -- Keir >=20 >=20