From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Xen 3.4 & tg3 gigabit ethernet stalls Date: Thu, 11 Mar 2010 21:16:05 +0200 Message-ID: <20100311191605.GX1878@reaktio.net> References: <4B97E2C6.5060305@gmx.ch> <20100310185115.GU1878@reaktio.net> <4B9939B1.9030009@gmx.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <4B9939B1.9030009@gmx.ch> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?iso-8859-1?Q?Ren=E9_B=FChlmann?= Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, Mar 11, 2010 at 07:42:57PM +0100, Ren=E9 B=FChlmann wrote: > Pasi K=E4rkk=E4inen schrieb: >> On Wed, Mar 10, 2010 at 07:19:50PM +0100, Ren=E9 B=FChlmann wrote: >> =20 >>> Hi all, >>> >>> Some Weeks ago, i've upgraded my Xen 3.3 installation to a 3.4 Xen.=20 >>> The same time, i upgraded Dom0 Kernel to 2.6.31.2 which also made=20 >>> the interface to switch from 100Mbit to 1Gbit. Since then, the tg3=20 >>> interface stalls about once a week and i need to reboot Xen. The=20 >>> problem looks similar to =20 >>> http://lists.xensource.com/archives/html/xen-devel/2009-07/msg00139.h= tml=20 >>> but the solution there (adding cpuidle=3D0 cpufreq=3Dnone to kernel=20 >>> param.) did not help for me. >>> >>> Does anyone has a solution or workaround for this or how could i=20 >>> debug the problem? >>> >>> =20 >> >> Have you monitored the recent tg3 driver changes in 2.6.32.x and/or=20 >> 2.6.33? I remember seeing some patches and discussion about tg3.. =20 >> maybe it's a tg3 driver bug? > I went through the tg3 parts of the kernel changelog. I'm not sure if =20 > these patches are related to my problem. I will try 2.6.33 as soon as =20 > pv_ops gets ported to it. >> =20 >> >> Are you using pv_ops dom0 kernel, or a kernel with forwardported=20 >> patches? =20 > I'm using pv_ops dom0 from Jeremy's stable branch. > You could just copy the newer tg3 driver from newer kernel to your kernel tree and rebuild. -- Pasi >> -- Pasi >> >> =20 >>> Thanks >>> Ren=E9 >>> >>> Here is the dmesg output: >>> >>> WARNING: at net/sched/sch_generic.c:246 dev_watchdog+0x23e/0x250() >>> Hardware name: ProLiant ML110 G4 >>> NETDEV WATCHDOG: peth1 (tg3): transmit queue 0 timed out >>> Modules linked in: >>> Pid: 0, comm: swapper Not tainted 2.6.31.6 #2 >>> Call Trace: >>> [] ? dev_watchdog+0x23e/0x250 >>> [] ? dev_watchdog+0x23e/0x250 >>> [] ? warn_slowpath_common+0x74/0xd0 >>> [] ? br_handle_frame_finish+0x14f/0x190 >>> [] ? warn_slowpath_fmt+0x51/0x60 >>> [] ? xen_restore_fl_direct_end+0x0/0x1 >>> [] ? _spin_unlock_irqrestore+0xc/0x10 >>> [] ? try_to_wake_up+0xbf/0x1e0 >>> [] ? xen_clocksource_get_cycles+0x9/0x20 >>> [] ? strlcpy+0x41/0x50 >>> [] ? netdev_drivername+0x3b/0x40 >>> [] ? dev_watchdog+0x23e/0x250 >>> [] ? xen_force_evtchn_callback+0x9/0x10 >>> [] ? check_events+0x12/0x20 >>> [] ? dev_watchdog+0x0/0x250 >>> [] ? run_timer_softirq+0x13c/0x210 >>> [] ? __do_softirq+0xa5/0x140 >>> [] ? call_softirq+0x1c/0x30 >>> [] ? do_softirq+0x4d/0x90 >>> [] ? xen_evtchn_do_upcall+0x14e/0x1d0 >>> [] ? xen_do_hypervisor_callback+0x1e/0x30 >>> [] ? hypercall_page+0x3aa/0x1010 >>> [] ? hypercall_page+0x3aa/0x1010 >>> [] ? xen_safe_halt+0xc/0x20 >>> [] ? xen_idle+0x25/0x50 >>> [] ? cpu_idle+0x66/0xa0 >>> [] ? start_kernel+0x2e6/0x328 >>> [] ? xen_start_kernel+0x65c/0x6dc >>> ---[ end trace 8108a21093ed2967 ]--- >>> tg3: peth1: transmit timed out, resetting >>> tg3: DEBUG: MAC_TX_STATUS[ffffffff] MAC_RX_STATUS[ffffffff] >>> tg3: DEBUG: RDMAC_STATUS[ffffffff] WDMAC_STATUS[ffffffff] >>> tg3: tg3_stop_block timed out, ofs=3D2c00 enable_bit=3D2 >>> tg3: tg3_stop_block timed out, ofs=3D2000 enable_bit=3D2 >>> tg3: tg3_stop_block timed out, ofs=3D2400 enable_bit=3D2 >>> tg3: tg3_stop_block timed out, ofs=3D2800 enable_bit=3D2 >>> tg3: tg3_stop_block timed out, ofs=3D3000 enable_bit=3D2 >>> tg3: tg3_stop_block timed out, ofs=3D1400 enable_bit=3D2 >>> tg3: tg3_stop_block timed out, ofs=3D1800 enable_bit=3D2 >>> tg3: tg3_stop_block timed out, ofs=3Dc00 enable_bit=3D2 >>> tg3: tg3_stop_block timed out, ofs=3D4800 enable_bit=3D2 >>> tg3: tg3_stop_block timed out, ofs=3D1000 enable_bit=3D2 >>> tg3: tg3_stop_block timed out, ofs=3D1c00 enable_bit=3D2 >>> tg3: tg3_abort_hw timed out for peth1, TX_MODE_ENABLE will not clear = =20 >>> MAC_TX_MODE=3Dffffffff >>> tg3: tg3_stop_block timed out, ofs=3D3c00 enable_bit=3D2 >>> tg3: tg3_stop_block timed out, ofs=3D4c00 enable_bit=3D2 >>> tg3: peth1: No firmware running. >>> tg3: tg3_abort_hw timed out for peth1, TX_MODE_ENABLE will not clear = =20 >>> MAC_TX_MODE=3Dffffffff >>> tg3: peth1: Link is down. >>> xenbr1: port 1(peth1) entering disabled state >>> >>> =20 >> >> >> >> =20 >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >>> =20 >> >> >> =20 > >