Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2011 17:20:50 +0200
From:      Olivier Smedts <olivier@gid0.org>
To:        current@freebsd.org
Cc:        jfv@freebsd.org
Subject:   problems with em(4) since update to driver 7.2.2
Message-ID:  <BANLkTinrfZbO%2BMUDDuzsoaN1y-=_O8LgNA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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: <Intel(R) PRO/1000 Network Connection 7.2.2> 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: <Intel(R) PRO/1000 Network Connection 7.2.2> 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: <Intel(R) PRO/1000 Network Connection 7.2.2> 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: <Intel(R) PRO/1000 Network Connection 7.1.9> 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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinrfZbO%2BMUDDuzsoaN1y-=_O8LgNA>