From owner-freebsd-current@FreeBSD.ORG Thu Mar 31 15:45:53 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D8E51065688; Thu, 31 Mar 2011 15:45:53 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 492E98FC27; Thu, 31 Mar 2011 15:45:53 +0000 (UTC) Received: by iwn33 with SMTP id 33so3146683iwn.13 for ; Thu, 31 Mar 2011 08:45:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.111.228 with SMTP id t36mr2844466ibp.59.1301584850943; Thu, 31 Mar 2011 08:20:50 -0700 (PDT) Received: by 10.231.60.10 with HTTP; Thu, 31 Mar 2011 08:20:50 -0700 (PDT) Date: Thu, 31 Mar 2011 17:20:50 +0200 Message-ID: From: Olivier Smedts To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: jfv@freebsd.org Subject: problems with em(4) since update to driver 7.2.2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2011 15:45:53 -0000 Hello, I've got a problem under FreeBSD 9.0-CURRENT amd64 with the em driver. It's loaded as a module. I was previously using r219710 (2011-03-17) without any problem, but with latest HEAD I can't even send a ping. Here's what appears in dmesg. I tried unloading / loading the module, did not help. At the end I loaded my old if_em.ko and it worked : em0: port 0x2100-0x211f mem 0xf0000000-0xf001ffff,0xf0025000-0xf0025fff irq 19 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Ethernet address: d4:85:64:b2:aa:f5 em0: Could not setup receive structures em0: Could not setup receive structures em0: link state changed to UP em0: port 0x2100-0x211f mem 0xf0000000-0xf001ffff,0xf0025000-0xf0025fff irq 19 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Ethernet address: d4:85:64:b2:aa:f5 em0: Could not setup receive structures em0: Could not setup receive structures em0: detached em0: port 0x2100-0x211f mem 0xf0000000-0xf001ffff,0xf0025000-0xf0025fff irq 19 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Ethernet address: d4:85:64:b2:aa:f5 em0: Could not setup receive structures em0: Could not setup receive structures em0: link state changed to UP em0: detached em0: port 0x2100-0x211f mem 0xf0000000-0xf001ffff,0xf0025000-0xf0025fff irq 19 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Ethernet address: d4:85:64:b2:aa:f5 em0: link state changed to UP With 7.2.2, the "Could not setup receive structures" messages appeared and I had no network. The card is : em0@pci0:0:25:0: class=3D0x020000 card=3D0x304b103c chip=3D0x10ef808= 6 rev=3D0x05 hdr=3D0x00 I must say I'm using clang, maybe it's related, but with a previous driver compiled with clang I don't think I had any problem. Maybe it's related to r219753 : ------------------------------------------------------------------------ r219753 | jfv | 2011-03-18 19:54:00 +0100 (ven 18 mar 2011) | 12 lignes This delta updates the em driver to version 7.2.2 which has been undergoing test for some weeks. This improves the RX mbuf handling to avoid system hang due to depletion. Thanks to all those who have been testing the code, and to Beezar Liu for the design changes. Next the igb driver is updated for similar RX changes, but also to add new features support for our upcoming i350 family of adapters. ------------------------------------------------------------------------ Can I provide anything useful to debug this ? Cheers --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas."