Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000Ab0AARmb (ORCPT ); Fri, 1 Jan 2010 12:42:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751581Ab0AARmb (ORCPT ); Fri, 1 Jan 2010 12:42:31 -0500 Received: from mta4.srv.hcvlny.cv.net ([167.206.4.199]:48385 "EHLO mta4.srv.hcvlny.cv.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751541Ab0AARma (ORCPT ); Fri, 1 Jan 2010 12:42:30 -0500 Date: Fri, 01 Jan 2010 12:42:04 -0500 From: Michael Breuer Subject: Re: sky2 panic in 2.6.32.1 under load (new oops) In-reply-to: <4B3CE8CA.5050003@majjas.com> To: Stephen Hemminger Cc: Andrew Morton , "Berck E. Nash" , "linux-kernel@vger.kernel.org" , netdev@vger.kernel.org Message-id: <4B3E33EC.1060703@majjas.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <4B300A2A.8040305@gmail.com> <4B300E30.9090707@majjas.com> <4B3114E3.1070602@majjas.com> <4B329FA3.9090904@majjas.com> <20091223230102.4bb0100e.akpm@linux-foundation.org> <4B34E847.8010809@majjas.com> <20091225152200.1cf11dfe@nehalam> <4B3581C7.8000702@majjas.com> <20091226095723.7ac82b18@nehalam> <4B367409.5060202@majjas.com> <4B379378.4000102@majjas.com> <20091227102238.0df149f9@nehalam> <4B37B7E2.5070307@majjas.com> <20091229093023.3ad24786@nehalam> <4B3A5048.9090700@majjas.com> <20091229114938.1f4d1c5c@nehalam> <4B3AFFE8.3060409@majjas.com> <20091229235942.51bf733d@nehalam> <4B3B7488.6080503@majjas.com> <20091230101046.2816d545@nehalam> <4B3CE8CA.5050003@majjas.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b2pre Thunderbird/3.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3975 Lines: 85 More results... Seems that this is related to the tty (or maybe vt or maybe console) driver. I had disabled mingetty on tty1 as a workaround to a Fedora/KDE issue. When I reenabled it, I was then able to recreate this problem (sky2) in runlevel 3. Retesting, it seems that the following conditions must be met in order for the interrupt errors to happen: 1) mingetty running on tty1 before the start of the test run 2) High sustained incoming load - 25MB/sec or more (as reported by nethogs) 3) I've only been able to recreate this using samba & a Windows 7 backup - but there could be other triggers As it happens, much of my other data all came down to mingetty starting or not starting on tty1 at specific points of test preparation. At this point I can recreate 100% of the time if I ensure that there is a mingetty running on tty1, regardless of runlevel; and I can not recreate 100% of the time when there is no mingetty running on tty1 at the start of the test. The results do not change if I start or stop mingetty on tty1 during the test. It's possible that X running on tty1 may also trigger the issue, but I haven't tested that. Note that running mingetty on the other tty's does not affect the outcome of the test. The test is also unaffected if I chvt to or away from tty1 before the test. I do not have to be logged in at the console (on any vt) to trigger the issue. In a nutshell, to recreate: make sure there is a mingetty running on tty1, blast traffic into the system on eth0 (sky2). On 12/31/2009 1:09 PM, Michael Breuer wrote: > Did some more digging today... Haven't nailed it, but there's > something going on with X and tty... > > Among other things, when I telinit 3 && telinit 5 the tty keeps > switching between 7 and 8 (nothing else running on either tty). It > would appear that somehow the tty deallocation isn't complete when X > restarts. Also, X grabbing a tty seems to be a requisite step in > recreating the sky2 issue. > > On 12/30/2009 1:10 PM, Stephen Hemminger wrote: >> On Wed, 30 Dec 2009 10:40:56 -0500 >> Michael Breuer wrote: >> >>> Dec 30 10:37:14 mail kernel: sky2 0000:06:00.0: error interrupt >>> status=0x40000008 >>> Dec 30 10:37:14 mail kernel: sky2 Tx ring pending=31...40 report=35 >>> done=35 >>> Dec 30 10:37:14 mail kernel: 30: 0x0: 0xeb50c0ca(9014) >>> Dec 30 10:37:14 mail kernel: 32: 0x0: 0xeb5080ca(9014) >>> Dec 30 10:37:14 mail kernel: 34: 0x0: 0xeb5040ca(9014) >>> Dec 30 10:37:14 mail kernel: 36: 0x0: 0xeb5000ca(9014) >>> Dec 30 10:37:14 mail kernel: 38: 0x0: 0xeb4fc0ca(9014) >> You must be using 9K MTU. Do you see the problem with smaller >> MTU? >> >>> Dec 30 10:37:14 mail kernel: sky2 0000:06:00.0: error interrupt >>> status=0x40000008 >>> Dec 30 10:37:14 mail kernel: sky2 Tx ring pending=87...92 report=89 >>> done=91 >>> Dec 30 10:37:14 mail kernel: 86: 0x0: 0xeafd80ca(9014) >>> Dec 30 10:37:14 mail kernel: 88: 0x0: 0xeafd40ca(9014) >>> Dec 30 10:37:14 mail kernel: 90: 0x0: 0xeafd00ca(9014) >>> Dec 30 10:37:15 mail kernel: sky2 0000:06:00.0: error interrupt >>> status=0x8 >>> Dec 30 10:37:15 mail kernel: sky2 Tx ring pending=39...42 report=39 >>> done=41 >>> Dec 30 10:37:15 mail kernel: 38: 0x0: 0xe5fec0ca(9014) >>> Dec 30 10:37:15 mail kernel: 40: 0x0: 0xe5fe80ca(9014) >>> Dec 30 10:37:15 mail kernel: sky2 0000:06:00.0: error interrupt >>> status=0x40000008 >>> Dec 30 10:37:15 mail kernel: sky2 Tx ring pending=117...124 report=119 >>> done=119 >>> Dec 30 10:37:15 mail kernel: 116: 0x0: 0xe5d6c0ca(9014) >>> Dec 30 10:37:15 mail kernel: 118: 0x0: 0xe5d680ca(9014) >>> Dec 30 10:37:15 mail kernel: 120: 0x0: 0xe5d660ca(5938) >>> Dec 30 10:37:15 mail kernel: 122: 0x0: 0xe5d640ca(4213) > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/