Re: problems with em(4) since update to driver 7.2.2

From: Olivier Smedts <olivier_at_gid0.org>
Date: Thu, 5 May 2011 14:27:27 +0200
Hello,

(sorry for dual posting)

2011/5/4 Jack Vogel <jfvogel_at_gmail.com>:
> I have had my validation engineer busy all day, we have tried both
> a 9 kernel as well as 8.2,  using the code from HEAD, and we
> cannot reproduce this problem.
>
> The data your netstat -m shows suggests to me that what's happening
> is somehow setup of the receive ring is running more than once maybe??
>
> You asked at one point how this could go into STABLE, well, because
> not only here at Intel, but at lots of external customers this code has been
> used and tested thoroughly.
>
> I am not calling into question your problem, but until I understand what it
> is I cannot "fix" it :)
>
> The thing I am guessing right now is the culprit is the setup code, the
> reason
> is that when I ported to the igb driver I found that it did not work on our
> newer
> hardware, and so I went back to the older version of setup for igb. Now,
> even
> though I have not seen hardware fail with em, maybe there is some.
>
> To help me give me a complete pciconf -lv, and if its a namebrand system
> tell me that, including all hardware in it.

The computer is a HP Compaq 8100 Elite Convertible Minitower PC.

Here is what I have with the new driver and Arnaud Lacombe's patch.

%uname -a
FreeBSD zozo.afpicl.lan 9.0-CURRENT FreeBSD 9.0-CURRENT #0
r219752:221420: Wed May  4 11:16:37 CEST 2011
root_at_zozo.afpicl.lan:/usr/obj/usr/src/sys/CORE  amd64

%pciconf -lv
hostb0_at_pci0:0:0:0:      class=0x060000 card=0x304b103c chip=0xd1318086
rev=0x11 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = bridge
   subclass   = HOST-PCI
pcib1_at_pci0:0:3:0:       class=0x060400 card=0x304b103c chip=0xd1388086
rev=0x11 hdr=0x01
   vendor     = 'Intel Corporation'
   class      = bridge
   subclass   = PCI-PCI
none0_at_pci0:0:8:0:       class=0x088000 card=0x004b003c chip=0xd1558086
rev=0x11 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = base peripheral
none1_at_pci0:0:8:1:       class=0x088000 card=0x004b003c chip=0xd1568086
rev=0x11 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = base peripheral
none2_at_pci0:0:8:2:       class=0x088000 card=0x004b003c chip=0xd1578086
rev=0x11 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = base peripheral
none3_at_pci0:0:8:3:       class=0x088000 card=0x004b003c chip=0xd1588086
rev=0x11 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = base peripheral
none4_at_pci0:0:16:0:      class=0x088000 card=0x004b003c chip=0xd1508086
rev=0x11 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = base peripheral
none5_at_pci0:0:16:1:      class=0x088000 card=0x004b003c chip=0xd1518086
rev=0x11 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = base peripheral
none6_at_pci0:0:22:0:      class=0x078000 card=0x304b103c chip=0x3b648086
rev=0x06 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = simple comms
none7_at_pci0:0:22:3:      class=0x070002 card=0x304b103c chip=0x3b678086
rev=0x06 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = simple comms
   subclass   = UART
em0_at_pci0:0:25:0:        class=0x020000 card=0x304b103c chip=0x10ef8086
rev=0x05 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = network
   subclass   = ethernet
ehci0_at_pci0:0:26:0:      class=0x0c0320 card=0x304b103c chip=0x3b3c8086
rev=0x05 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = serial bus
   subclass   = USB
hdac1_at_pci0:0:27:0:      class=0x040300 card=0x304b103c chip=0x3b568086
rev=0x05 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = multimedia
   subclass   = HDA
pcib2_at_pci0:0:28:0:      class=0x060400 card=0x304b103c chip=0x3b428086
rev=0x05 hdr=0x01
   vendor     = 'Intel Corporation'
   class      = bridge
   subclass   = PCI-PCI
pcib3_at_pci0:0:28:4:      class=0x060400 card=0x304b103c chip=0x3b4a8086
rev=0x05 hdr=0x01
   vendor     = 'Intel Corporation'
   class      = bridge
   subclass   = PCI-PCI
pcib4_at_pci0:0:28:6:      class=0x060400 card=0x304b103c chip=0x3b4e8086
rev=0x05 hdr=0x01
   vendor     = 'Intel Corporation'
   class      = bridge
   subclass   = PCI-PCI
ehci1_at_pci0:0:29:0:      class=0x0c0320 card=0x304b103c chip=0x3b348086
rev=0x05 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = serial bus
   subclass   = USB
pcib5_at_pci0:0:30:0:      class=0x060401 card=0x304b103c chip=0x244e8086
rev=0xa5 hdr=0x01
   vendor     = 'Intel Corporation'
   device     = '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub
Interface to PCI Bridge'
   class      = bridge
   subclass   = PCI-PCI
isab0_at_pci0:0:31:0:      class=0x060100 card=0x304b103c chip=0x3b0a8086
rev=0x05 hdr=0x00
   vendor     = 'Intel Corporation'
   class      = bridge
   subclass   = PCI-ISA
ahci0_at_pci0:0:31:2:      class=0x010601 card=0x304b103c chip=0x3b228086
rev=0x05 hdr=0x00
   vendor     = 'Intel Corporation'
   device     = 'IBEX AHCI Controller(6Port) (Intel Q57 Express)'
   class      = mass storage
   subclass   = SATA
vgapci0_at_pci0:1:0:0:     class=0x030000 card=0x10021002 chip=0x94981002
rev=0x00 hdr=0x00
   vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
   device     = 'ATI Radeon HD 4650 (RV730)'
   class      = display
   subclass   = VGA
hdac0_at_pci0:1:0:1:       class=0x040300 card=0xaa381002 chip=0xaa381002
rev=0x00 hdr=0x00
   vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
   class      = multimedia
   subclass   = HDA

%ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
       options=3<RXCSUM,TXCSUM>
       inet 127.0.0.1 netmask 0xff000000
       inet6 ::1 prefixlen 128
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
       nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
vboxnet0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
       ether 0a:00:27:00:00:00
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
       options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
       ether d4:85:64:b2:aa:f5
       inet 172.28.4.104 netmask 0xffff0000 broadcast 172.28.255.255
       inet6 fe80::d685:64ff:feb2:aaf5%em0 prefixlen 64 scopeid 0x1
       nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
       media: Ethernet autoselect (1000baseT <full-duplex>)
       status: active

%netstat -m
1072/3293/4365 mbufs in use (current/cache/total)
1023/2035/3058/25600 mbuf clusters in use (current/cache/total/max)
1023/1793 mbuf+clusters out of packet secondary zone in use (current/cache)
0/311/311/12800 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/6400 9k jumbo clusters in use (current/cache/total/max)
0/0/0/3200 16k jumbo clusters in use (current/cache/total/max)
2314K/6137K/8451K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/0/0 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines

>
> If you like Olivier I can make a version of em for you that also reverts the
> setup code the way I did for igb, see if that fixes it for you?

We can try that if the result will give you a better idea of what's going on.

>
> Thanks for your patience,
>
> Jack
>

Thanks for your time

-- 
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."
Received on Thu May 05 2011 - 10:27:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC