problems with em(4) since update to driver 7.2.2

Olivier Smedts olivier at gid0.org
Thu Mar 31 15:45:53 UTC 2011


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 at pci0:0:25:0:        class=0x020000 card=0x304b103c chip=0x10ef8086
rev=0x05 hdr=0x00

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
-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier at gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."


More information about the freebsd-current mailing list