[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#664461: [squeeze] atl1c: AR8152: "transmit queue 0 timed out" and network is unusable until reset



Hi Xiong,

Huang, Xiong wrote:

> Hi Jonathan
>   I download your git tree, but don't found your patch added to
> atl1c, it's almost same as non-updated atl1c.
>   The code in the git still have TX q0 time issue because the
> netif_stope_queue is called when cable link down, but 
> Not restart it when cable link resume.

Which repo and branch did you look at?  Ben's backport of changes
up to 80bcb4238dd8 ("atl1c: remove PHY polling from atl1c_change_mtu",
2012-04-30) is at

  git://anonscm.debian.org/kernel/linux.git

branch

  squeeze-driver-test

The patch that seemed to help Axel is

	commit 7eb5862f477a
	Author: Jie Yang <Jie.Yang@atheros.com>
	Date:   Tue Jun 1 00:28:12 2010 -0700

	    atl1c: Add AR8151 v2 support and change L0s/L1 routine

	    commit 8f574b35f22fbb9b5e5f1d11ad6b55b6f35f4533 upstream.

	    Add AR8151 v2.0 Gigabit 1000 support
	    Change jumbo frame size to 6K
	    Update L0s/L1 rountine
		    when link speed is 100M or 1G, set L1 link timer to 4 for l1d_2 and l2c_b2
		    set L1 link timer to 7 for l2c_b, set L1 link timer to 0xF for others.
	    Update atl1c_suspend routine
		just refactory the function, add atl1c_phy_power_saving routine,
		when Wake On Lan enable, this func will be called to save power,
		it will reautoneg PHY to 10/100M speed depend on the link
		partners link capability.
	    Update atl1c_configure_des_ring
		    do not use l2c_b default SRAM configuration.

That doesn't mean there aren't tx queue 0 timeouts in other situations
that that patch doesn't address, though.

Thanks,
Jonathan



Reply to: