Bug#681089: firmware-linux-nonfree: Broadcom NetXtreme BCM5722 dropped packets

2013-01-07 Thread Berni Elbourn

On 06/01/13 02:44, Ben Hutchings wrote:


If I understand your original report correctly, the tg3 driver in Debian
kernel version 2.6.32-45 fails periodically and the driver in version
3.2.20-1~bpo60+1 does not.  So we need to look for a fix to the driver
that was made between those versions.

Let me know if my understanding is correct.

Ben.



Sorry for not updating. The current versions in squeeze seems to be fine now 
running for days without incident.

elbournb@red:~$ cat /proc/version
Linux version 2.6.32-5-amd64 (Debian 2.6.32-46) (da...@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sun Sep 
23 10:07:46 UTC 2012


elbournb@red:~$ sudo ethtool -i eth0
driver: tg3
version: 3.116
firmware-version: 5722-v3.07, ASFIPMI v6.02
bus-info: :11:00.0

I can easily move this system to the backport kernel for a few days. Would that be a valid test to close the issue for 
Wheezy too?


Huge thanks,

Berni

--
Confidence is what you have before you understand a problem - Woody Allen


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50eaae7a.5090...@gmail.com



Bug#681089: firmware-linux-nonfree: Broadcom NetXtreme BCM5722 dropped packets

2013-01-07 Thread Ben Hutchings
Control: tag -1 unreproducible

On Mon, 2013-01-07 at 11:16 +, Berni Elbourn wrote:
 On 06/01/13 02:44, Ben Hutchings wrote:
 
  If I understand your original report correctly, the tg3 driver in Debian
  kernel version 2.6.32-45 fails periodically and the driver in version
  3.2.20-1~bpo60+1 does not.  So we need to look for a fix to the driver
  that was made between those versions.
 
  Let me know if my understanding is correct.
 
  Ben.
 
 
 Sorry for not updating. The current versions in squeeze seems to be fine now 
 running for days without incident.
 
 elbournb@red:~$ cat /proc/version
 Linux version 2.6.32-5-amd64 (Debian 2.6.32-46) (da...@debian.org) (gcc 
 version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sun Sep 
 23 10:07:46 UTC 2012

There have been no changes to tg3 between 2.6.32-45 and -46, so there
cannot have been any bug fix.

 elbournb@red:~$ sudo ethtool -i eth0
 driver: tg3
 version: 3.116
 firmware-version: 5722-v3.07, ASFIPMI v6.02
 bus-info: :11:00.0
 
 I can easily move this system to the backport kernel for a few days. Would 
 that be a valid test to close the issue for 
 Wheezy too?

If you can't reproduce the bug on squeeze now, then I don't think you
can tell whether it has been fixed in any other version.  Perhaps there
was a change in some external condition that triggered it.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.


signature.asc
Description: This is a digitally signed message part


Bug#681089: firmware-linux-nonfree: Broadcom NetXtreme BCM5722 dropped packets

2013-01-05 Thread Ben Hutchings
The BCM5722 firmware is all in flash, not loaded from disk.  (The
description of firmware-linux-nonfree lists all the chips that it
provides firmware for.)  Therefore, you have not found a bug in
firmware-linux-nonfree, but in the tg3 driver or firmware in flash.

Also, any problems with a driver package you got from Broadcom must be
reported to Broadcom - not to Debian.

As for the increase in the RX dropped counter: since Linux 2.6.37 this
includes packets that were dropped by the kernel before protocol
processing, which were not previously counted at all.  So this probably
does not indicate a regression in the driver.

If I understand your original report correctly, the tg3 driver in Debian
kernel version 2.6.32-45 fails periodically and the driver in version
3.2.20-1~bpo60+1 does not.  So we need to look for a fix to the driver
that was made between those versions.

Let me know if my understanding is correct.

Ben.

-- 
Ben Hutchings
Sturgeon's Law: Ninety percent of everything is crap.


signature.asc
Description: This is a digitally signed message part


Bug#681089: firmware-linux-nonfree: Broadcom NetXtreme BCM5722 dropped packets

2012-07-10 Thread Berni Elbourn
Package: firmware-linux-nonfree
Version: 0.35~bpo60+1
Severity: normal


With standard squeeze kernel seemingly once a day the nic stops
working. Looking at the switch port it seems the nic is transmitting (or
retransmitting) something as fast as possible. A simple ifdown/ifup
seems to cure for rest of working day.

The latest backport kernel 3.2.20-1~bpo60+1 and 
firmware-linux-nonfree_0.35~bpo60+1 the nic does seems to be stable. iperf 
reports 1gb performance. However the count of dropped packets is not zero.
 
I have changed cables and switch ports. There is another other gigabit nic on 
the switch. This is a nVidia Corporation MCP77 and this has no errors or 
dropped packets. 

I also have tried the module 3.122n from Broadcom. The nic stops working after 
a few minutes with the switch port showing rapid transmission sympton as per 
1st para. Interestingy the 3.122n module does not update the firmware files in 
/lib/firmware...

$ cat /proc/version
Linux version 3.2.0-0.bpo.2-amd64 (Debian 3.2.20-1~bpo60+1) 
(debian-kernel@lists.debian.org) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP 
Fri Jun 29 20:42:29 UTC 2012

lspci:
11:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5722 Gigabit 
Ethernet PCI Express 

$ sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: g
Wake-on: g
Current message level: 0x00ff (255)
Link detected: yes

$ sudo ethtool -k eth0
Offload parameters for eth0:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp-segmentation-offload: on
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off
ntuple-filters: off
receive-hashing: off

$ sudo ethtool -i eth0
driver: tg3
version: 3.121
firmware-version: 5722-v3.07, ASFIPMI v6.02
bus-info: :11:00.0

eth0  Link encap:Ethernet  HWaddr 00:21:5a:d3:d0:0c
  inet addr:192.168.2.10  Bcast:192.168.2.255  Mask:255.255.255.0
  inet6 addr: fe80::221:5aff:fed3:d00c/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:123154 errors:0 dropped:26 overruns:0 frame:0
  TX packets:131936 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:15913111 (15.1 MiB)  TX bytes:107913843 (102.9 MiB)
  Interrupt:19

$ sudo modinfo tg3
filename:   
/lib/modules/3.2.0-0.bpo.2-amd64/kernel/drivers/net/ethernet/broadcom/tg3.ko
firmware:   tigon/tg3_tso5.bin
firmware:   tigon/tg3_tso.bin
firmware:   tigon/tg3.bin
version:3.121
license:GPL
description:Broadcom Tigon3 ethernet driver
author: David S. Miller (da...@redhat.com) and Jeff Garzik 
(jgar...@pobox.com)
srcversion: B3CF27212BBCF0D51E64F1E
alias:  pci:v10CFd11A2sv*sd*bc*sc*i*
alias:  pci:v106Bd1645sv*sd*bc*sc*i*
alias:  pci:v173Bd03EAsv*sd*bc*sc*i*
alias:  pci:v173Bd03EBsv*sd*bc*sc*i*
alias:  pci:v173Bd03E9sv*sd*bc*sc*i*
alias:  pci:v173Bd03E8sv*sd*bc*sc*i*
alias:  pci:v1148d4500sv*sd*bc*sc*i*
alias:  pci:v1148d4400sv*sd*bc*sc*i*
alias:  pci:v14E4d165Fsv*sd*bc*sc*i*
alias:  pci:v14E4d1657sv*sd*bc*sc*i*
alias:  pci:v14E4d16B6sv*sd*bc*sc*i*
alias:  pci:v14E4d16B2sv*sd*bc*sc*i*
alias:  pci:v14E4d16B4sv*sd*bc*sc*i*
alias:  pci:v14E4d16B0sv*sd*bc*sc*i*
alias:  pci:v14E4d16B5sv*sd*bc*sc*i*
alias:  pci:v14E4d16B1sv*sd*bc*sc*i*
alias:  pci:v14E4d1656sv*sd*bc*sc*i*
alias:  pci:v14E4d1655sv*sd*bc*sc*i*
alias:  pci:v14E4d1691sv*sd*bc*sc*i*
alias:  pci:v14E4d1694sv*sd*bc*sc*i*
alias:  pci:v14E4d1690sv*sd*bc*sc*i*
alias:  pci:v14E4d1692sv*sd*bc*sc*i*
alias:  pci:v14E4d16A0sv*sd*bc*sc*i*
alias:  pci:v14E4d1699sv*sd*bc*sc*i*
alias:  pci:v14E4d1689sv*sd*bc*sc*i*
alias:  pci:v14E4d1688sv*sd*bc*sc*i*
alias:  pci:v14E4d1680sv*sd*bc*sc*i*
alias:  pci:v14E4d1681sv*sd*bc*sc*i*
alias:  pci:v14E4d165Bsv*sd*bc*sc*i*
alias:  pci:v14E4d1684sv*sd*bc*sc*i*
alias: