From owner-svn-src-head@FreeBSD.ORG Fri Oct 29 02:06:28 2010 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B48F106566B; Fri, 29 Oct 2010 02:06:28 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2-6.sentex.ca [IPv6:2607:f3e0:80:80::2]) by mx1.freebsd.org (Postfix) with ESMTP id DF8BD8FC08; Fri, 29 Oct 2010 02:06:27 +0000 (UTC) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.14.4/8.14.4) with ESMTP id o9T26JkR007616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Oct 2010 22:06:19 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.4/8.14.4) with ESMTP id o9T26IDV057936; Thu, 28 Oct 2010 22:06:18 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <201010290206.o9T26IDV057936@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 28 Oct 2010 22:06:10 -0400 To: "Bjoern A. Zeeb" , Denis Ahrens From: Mike Tancsa In-Reply-To: <20101029013606.I66242@maildrop.int.zabbadoz.net> References: <0C099B90-AFB9-422F-AB75-AFC138A36D20@berlin.ccc.de> <20101029013606.I66242@maildrop.int.zabbadoz.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Scanned-By: MIMEDefang 2.67 on 205.211.164.50 Cc: svn-src-head@FreeBSD.org, Randy Bush , Philipp =?iso-8859-1?Q?W=FCnsche?= Subject: Re: pending em0 commits for FreeBSD 8.1 STABLE X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2010 02:06:28 -0000 At 09:39 PM 10/28/2010, Bjoern A. Zeeb wrote: >On Fri, 29 Oct 2010, Denis Ahrens wrote: > >>Hi Jack >> >>It seems that I am also victim to some strange bug which is >>possibly the fault of the em0 code. >> >>After some research I have seen that you have changed that >>code awhile ago which could possibly have fixed my problems >>already. >> >>The code changes: >> >>http://lists.freebsd.org/pipermail/svn-src-head/2010-September/020313.html >>http://lists.freebsd.org/pipermail/svn-src-head/2010-September/020314.html >>http://lists.freebsd.org/pipermail/svn-src-head/2010-September/021027.html >> >>The last one even had an MFC of one week. But it was never committed to >>STABLE. >> >>It would be nice if you could commit that so I can update my code and see >>if the problem still occurs. > >Especially the first two seem to be interesting. I am testing 7.1.5 on cvsup.sentex.ca, which was locking up the nic and crashing a few weeks ago under specific loads the box sees on weekends. Swapping in a bge nic solved the problem. I had changed out all the other hardware, so I dont think its an issue with the em nics themselves. I have changed back to the em nic and it will take a good week to see if it solves that problem or not. em1@pci0:10:0:0: class=0x020000 card=0x34ec8086 chip=0x10d38086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel 82574L Gigabit Ethernet Controller (82574L)' class = network subclass = ethernet cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit cap 10[e0] = PCI-Express 1 endpoint max data 128(256) link x1(x1) cap 11[a0] = MSI-X supports 5 messages in map 0x1c enabled ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected ecap 0003[140] = Serial 1 001517ffffed68a4 I am also testing the driver on a couple of test motherboards and for some reason, it does not want to boot RELENG_8 on one of them. The same hardware boots HEAD. On RELENG_8, the last thing to appear is em0: port 0xf040-0xf05f mem 0xfe400000-0xfe41ffff,0xfe428000-0xfe428fff irq 20 at device 25.0 on pci0 em0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to local APIC 0 vector 50 em0: using IRQ 256 for MSI em0: Using an MSI interrupt Its an oddball nic so I am not sure why it on RELENG_8 has issues. The stock RELENG_8 driver works em0@pci0:0:25:0: class=0x020000 card=0x00368086 chip=0x10f08086 rev=0x06 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 13[e0] = PCI Advanced Features: FLR TP >>My problems are looking like this one: >> >>http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059618.html >> >>My FreeBSD STABLE codebase is from 29. September 2010 I will give it a try. I was able to recreate the issue with the stock RELENG_8 driver. I will try with the version from HEAD ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike