Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2013-06-27 Thread Ben Hutchings
Control: reassign -1 src:linux-2.6 2.6.32-45
Control: close -1

Don't reopen random unrelated bugs, thanks.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
  - Albert Camus


-- 
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/20130627200046.go4...@decadent.org.uk



Processed: Re: Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2013-06-27 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 src:linux-2.6 2.6.32-45
Bug #673107 [src:linux] kirkwood: TCP checksum errors when using MTU 9000
Bug reassigned from package 'src:linux' to 'src:linux-2.6'.
Warning: Unknown package 'src:linux-2.6'
Warning: Unknown package 'src:linux-2.6'
Ignoring request to alter found versions of bug #673107 to the same values 
previously set
Warning: Unknown package 'src:linux-2.6'
Warning: Unknown package 'src:linux-2.6'
Ignoring request to alter fixed versions of bug #673107 to the same values 
previously set
Warning: Unknown package 'src:linux-2.6'
Bug #673107 [src:linux-2.6] kirkwood: TCP checksum errors when using MTU 9000
Warning: Unknown package 'src:linux-2.6'
Marked as found in versions linux-2.6/2.6.32-45.
Warning: Unknown package 'src:linux-2.6'
> close -1
Bug #673107 [src:linux-2.6] kirkwood: TCP checksum errors when using MTU 9000
Warning: Unknown package 'src:linux-2.6'
Marked Bug as done
Warning: Unknown package 'src:linux-2.6'

-- 
673107: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673107
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
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/handler.s.b673107.137236324920028.transcr...@bugs.debian.org



Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2013-06-27 Thread Damien Martins

cat /etc/debian_version
7.1

uname -a
Linux nassounet 3.2.0-4-orion5x #1 Debian 3.2.41-2 armv5tel GNU/Linux

When settings MTU to 9000 (ifconfig eth0 mtu 9000) :
[4098918.032189] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 
1000 Mb/s, full duplex, flow control disabled


When having heavy network usage (300MB file transfer using NFS) :

[4101722.937455] swapper: page allocation failure: order:2, mode:0x20
[4101722.943705] [] (unwind_backtrace+0x0/0xe0) from 
[] (warn_alloc_failed+0xec/0x118)
[4101722.953115] [] (warn_alloc_failed+0xec/0x118) from 
[] (__alloc_pages_nodemask+0x634/0x718)
[4101722.963303] [] (__alloc_pages_nodemask+0x634/0x718) from 
[] (cache_alloc_refill+0x25c/0x510)
[4101722.973678] [] (cache_alloc_refill+0x25c/0x510) from 
[] (__kmalloc_track_caller+0xa0/0x15c)
[4101722.983967] [] (__kmalloc_track_caller+0xa0/0x15c) from 
[] (__alloc_skb+0x50/0xf0)
[4101722.993455] [] (__alloc_skb+0x50/0xf0) from [] 
(dev_alloc_skb+0x18/0x3c)
[4101723.002126] [] (dev_alloc_skb+0x18/0x3c) from 
[] (rxq_refill+0x7c/0x1e8 [mv643xx_eth])
[4101723.012020] [] (rxq_refill+0x7c/0x1e8 [mv643xx_eth]) from 
[] (mv643xx_eth_poll+0x560/0x5e8 [mv643xx_eth])
[4101723.023542] [] (mv643xx_eth_poll+0x560/0x5e8 
[mv643xx_eth]) from [] (net_rx_action+0x88/0x26c)
[4101723.034089] [] (net_rx_action+0x88/0x26c) from 
[] (__do_softirq+0xe8/0x1ec)
[4101723.042969] [] (__do_softirq+0xe8/0x1ec) from 
[] (irq_exit+0x40/0x94)
[4101723.051344] [] (irq_exit+0x40/0x94) from [] 
(handle_IRQ+0x64/0x84)
[4101723.059447] [] (handle_IRQ+0x64/0x84) from [] 
(__irq_svc+0x34/0x64)
[4101723.067635] [] (__irq_svc+0x34/0x64) from [] 
(cpu_idle+0x8c/0xcc)
[4101723.075657] [] (cpu_idle+0x8c/0xcc) from [] 
(start_kernel+0x2ac/0x300)

[4101723.084072] Mem-info:
[4101723.086518] Normal per-cpu:
[4101723.089486] CPU0: hi:   90, btch:  15 usd:  75
[4101723.094474] active_anon:3779 inactive_anon:10916 isolated_anon:0
[4101723.094489]  active_file:11966 inactive_file:12463 isolated_file:0
[4101723.094506]  unevictable:0 dirty:69 writeback:0 unstable:0
[4101723.094521]  free:14147 slab_reclaimable:5963 slab_unreclaimable:2227
[4101723.094538]  mapped:3882 shmem:172 pagetables:651 bounce:0
[4101723.124899] Normal free:56588kB min:2032kB low:2540kB high:3048kB 
active_anon:15116kB inactive_anon:43664kB active_file:47864kB 
inactive_file:49852kB unevictable:0kB isolated(anon):0kB 
isolated(file):0kB present:259072kB mlocked:0kB dirty:276kB 
writeback:0kB mapped:15528kB shmem:688kB slab_reclaimable:23852kB 
slab_unreclaimable:8908kB kernel_stack:2144kB pagetables:2604kB 
unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 
all_unreclaimable? no

[4101723.164829] lowmem_reserve[]: 0 0
[4101723.168338] Normal: 5201*4kB 4473*8kB 0*16kB 0*32kB 0*64kB 0*128kB 
0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 56588kB

[4101723.179363] 26133 total pagecache pages
[4101723.183363] 1534 pages in swap cache
[4101723.187111] Swap cache stats: add 1073080, delete 1071546, find 
30858632/31034636

[4101723.194751] Free swap  = 892276kB
[4101723.198232] Total swap = 979836kB
[4101723.213363] 65536 pages of RAM
[4101723.216583] 14709 free pages
[4101723.219633] 1651 reserved pages
[4101723.222942] 8190 slab pages
[4101723.225907] 22105 pages shared
[4101723.229129] 1534 pages swap cached

--
Cordialement,
Damien Martins


--
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/51cc8e49.6060...@makelofine.org



Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2012-07-29 Thread Damien Martins

Hi,

As I'm not a TCP/IP guru (neither a good network admin), please find 
netowrk capture from Wireshark to analyze network traffic on TCP port 
5001 (which is used for iperf testing) on this URL :

https://www.makelofine.org/perso/debug/orion_full.pcap

log : debug
pass : 5c400a761e688

192.168.1.1 is my workstation, 192.168.1.3 is the Orion device (a QNAP 
TS-209 Pro 2)



Cordialement,
Damien Martins

Le 19/07/2012 13:24, Ben Hutchings a écrit :

On Thu, 2012-07-19 at 10:43 +0200, Damien Martins wrote:

Same behaviour :/

dmesg shows :

[...]

MTU of 9000 requires 4 contiguous pages of memory for each packet.  On a
machine with only 256 MB of memory, that tends to be hard to find.  This
is not a bug.

Are the checksum errors gone?

Ben.




--
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/5015ae06.5000...@makelofine.org



Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2012-07-19 Thread Ben Hutchings
On Thu, 2012-07-19 at 10:43 +0200, Damien Martins wrote:
> Same behaviour :/
> 
> dmesg shows :
[...]

MTU of 9000 requires 4 contiguous pages of memory for each packet.  On a
machine with only 256 MB of memory, that tends to be hard to find.  This
is not a bug.

Are the checksum errors gone?

Ben.

-- 
Ben Hutchings
DNRC Motto:  I can please only one person per day.
Today is not your day.  Tomorrow isn't looking good either.


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


Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2012-07-19 Thread Damien Martins

Same behaviour :/

dmesg shows :

"[  619.869032] [] (unwind_backtrace+0x0/0xdc) from
[] (__alloc_pages_nodemask+0x4dc/0x57c)
[  619.878846] [] (__alloc_pages_nodemask+0x4dc/0x57c) from
[] (__get_free_pages+0x14/0x44)
[  619.888727] [] (__get_free_pages+0x14/0x44) from
[] (__kmalloc_track_caller+0x40/0x19c)
[  619.898526] [] (__kmalloc_track_caller+0x40/0x19c) from
[] (__alloc_skb+0x50/0x10c)
[  619.907976] [] (__alloc_skb+0x50/0x10c) from []
(dev_alloc_skb+0x1c/0x44)
[  619.916599] [] (dev_alloc_skb+0x1c/0x44) from []
(rxq_refill+0x7c/0x144 [mv643xx_eth])
[  619.926363] [] (rxq_refill+0x7c/0x144 [mv643xx_eth]) from
[] (mv643xx_eth_poll+0x5e4/0x68c [mv643xx_eth])
[  619.937757] [] (mv643xx_eth_poll+0x5e4/0x68c [mv643xx_eth])
from [] (net_rx_action+0x90/0x208)
[  619.948171] [] (net_rx_action+0x90/0x208) from []
(__do_softirq+0xc0/0x1a8)
[  619.956920] [] (__do_softirq+0xc0/0x1a8) from []
(irq_exit+0x40/0x94)
[  619.965108] [] (irq_exit+0x40/0x94) from []
(asm_do_IRQ+0x70/0x8c)
[  619.973079] [] (asm_do_IRQ+0x70/0x8c) from []
(__irq_svc+0x34/0x80)
[  619.981114] Exception stack(0xd5393d50 to 0xd5393d98)
[  619.986220] 3d40: 401a5d20
401a6000 0875 1000
[  619.994399] 3d60:  d5393d9c  d358e268 0001
d57dcd80 401a5000 d57dcd80
[  620.002613] 3d80: d7894cdc d5393d98 c00309d4 c00327c4 0013 
[  620.009295] [] (__irq_svc+0x34/0x80) from []
(feroceon_flush_user_cache_range+0x24/0x40)
[  620.019190] [] (feroceon_flush_user_cache_range+0x24/0x40)
from [] (0xd74e9c70)
[  620.028258] Mem-info:
[  620.030531] Normal per-cpu:
[  620.033325] CPU0: hi:   90, btch:  15 usd:  80
[  620.038175] active_anon:12271 inactive_anon:12281 isolated_anon:0
[  620.038191]  active_file:10174 inactive_file:9996 isolated_file:0
[  620.038208]  unevictable:0 dirty:26 writeback:0 unstable:0
[  620.038223]  free:13631 slab_reclaimable:1922 slab_unreclaimable:993
[  620.038240]  mapped:5751 shmem:164 pagetables:506 bounce:0
[  620.067688] Normal free:54524kB min:2032kB low:2540kB high:3048kB
active_anon:49084kB inactive_anon:49124kB active_file:40696kB
inactive_file:39984kB unevictable:0kB isolated(anon):0kB
isolated(file):0kB present:259072kB mlocked:0kB dirty:104kB
writeback:0kB mapped:23004kB shmem:656kB slab_reclaimable:7688kB
slab_unreclaimable:3972kB kernel_stack:1592kB pagetables:2024kB
unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0
all_unreclaimable? no
[  620.107406] lowmem_reserve[]: 0 0
[  620.110742] Normal: 12503*4kB 548*8kB 4*16kB 2*32kB 0*64kB 0*128kB
0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 54524kB
[  620.121725] 21208 total pagecache pages
[  620.125551] 872 pages in swap cache
[  620.129078] Swap cache stats: add 1865, delete 993, find 362/382
[  620.135074] Free swap  = 973040kB
[  620.138422] Total swap = 979832kB
[  620.153822] 65536 pages of RAM
[  620.156937] 14150 free pages
[  620.159818] 1618 reserved pages
[  620.162955] 2110 slab pages
[  620.165783] 34061 pages shared
[  620.168840] 872 pages swap cached

--
Regards,
Damien Martins


--
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/5007c8ab.4080...@makelofine.org



Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2012-05-27 Thread Damien Martins

Same behaviour :/

dmesg shows :

"[  619.869032] [] (unwind_backtrace+0x0/0xdc) from 
[] (__alloc_pages_nodemask+0x4dc/0x57c)
[  619.878846] [] (__alloc_pages_nodemask+0x4dc/0x57c) from 
[] (__get_free_pages+0x14/0x44)
[  619.888727] [] (__get_free_pages+0x14/0x44) from 
[] (__kmalloc_track_caller+0x40/0x19c)
[  619.898526] [] (__kmalloc_track_caller+0x40/0x19c) from 
[] (__alloc_skb+0x50/0x10c)
[  619.907976] [] (__alloc_skb+0x50/0x10c) from [] 
(dev_alloc_skb+0x1c/0x44)
[  619.916599] [] (dev_alloc_skb+0x1c/0x44) from [] 
(rxq_refill+0x7c/0x144 [mv643xx_eth])
[  619.926363] [] (rxq_refill+0x7c/0x144 [mv643xx_eth]) from 
[] (mv643xx_eth_poll+0x5e4/0x68c [mv643xx_eth])
[  619.937757] [] (mv643xx_eth_poll+0x5e4/0x68c [mv643xx_eth]) 
from [] (net_rx_action+0x90/0x208)
[  619.948171] [] (net_rx_action+0x90/0x208) from [] 
(__do_softirq+0xc0/0x1a8)
[  619.956920] [] (__do_softirq+0xc0/0x1a8) from [] 
(irq_exit+0x40/0x94)
[  619.965108] [] (irq_exit+0x40/0x94) from [] 
(asm_do_IRQ+0x70/0x8c)
[  619.973079] [] (asm_do_IRQ+0x70/0x8c) from [] 
(__irq_svc+0x34/0x80)

[  619.981114] Exception stack(0xd5393d50 to 0xd5393d98)
[  619.986220] 3d40: 401a5d20 
401a6000 0875 1000
[  619.994399] 3d60:  d5393d9c  d358e268 0001 
d57dcd80 401a5000 d57dcd80

[  620.002613] 3d80: d7894cdc d5393d98 c00309d4 c00327c4 0013 
[  620.009295] [] (__irq_svc+0x34/0x80) from [] 
(feroceon_flush_user_cache_range+0x24/0x40)
[  620.019190] [] (feroceon_flush_user_cache_range+0x24/0x40) 
from [] (0xd74e9c70)

[  620.028258] Mem-info:
[  620.030531] Normal per-cpu:
[  620.033325] CPU0: hi:   90, btch:  15 usd:  80
[  620.038175] active_anon:12271 inactive_anon:12281 isolated_anon:0
[  620.038191]  active_file:10174 inactive_file:9996 isolated_file:0
[  620.038208]  unevictable:0 dirty:26 writeback:0 unstable:0
[  620.038223]  free:13631 slab_reclaimable:1922 slab_unreclaimable:993
[  620.038240]  mapped:5751 shmem:164 pagetables:506 bounce:0
[  620.067688] Normal free:54524kB min:2032kB low:2540kB high:3048kB 
active_anon:49084kB inactive_anon:49124kB active_file:40696kB 
inactive_file:39984kB unevictable:0kB isolated(anon):0kB 
isolated(file):0kB present:259072kB mlocked:0kB dirty:104kB 
writeback:0kB mapped:23004kB shmem:656kB slab_reclaimable:7688kB 
slab_unreclaimable:3972kB kernel_stack:1592kB pagetables:2024kB 
unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 
all_unreclaimable? no

[  620.107406] lowmem_reserve[]: 0 0
[  620.110742] Normal: 12503*4kB 548*8kB 4*16kB 2*32kB 0*64kB 0*128kB 
0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 54524kB

[  620.121725] 21208 total pagecache pages
[  620.125551] 872 pages in swap cache
[  620.129078] Swap cache stats: add 1865, delete 993, find 362/382
[  620.135074] Free swap  = 973040kB
[  620.138422] Total swap = 979832kB
[  620.153822] 65536 pages of RAM
[  620.156937] 14150 free pages
[  620.159818] 1618 reserved pages
[  620.162955] 2110 slab pages
[  620.165783] 34061 pages shared
[  620.168840] 872 pages swap cached

--
Regards,
Damien Martins



--
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/4fc263fd.1080...@makelofine.org



Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2012-05-23 Thread Rtp
Martin Michlmayr  writes:

> * Arnaud Patard  [2012-05-21 11:40]:
>> I've uploaded a test kernel at :
>> http://www.rtp-net.org/kirkwood/linux-image-2.6.32-5-kirkwood_2.6.32-46~bug673107_armel.deb
>> 
>> Can you please check that the issue is gone with it ?
>
> Can you make a kernel image for Orion available?

Done. Kernel available at :
http://www.rtp-net.org/kirkwood/linux-image-2.6.32-5-orion5x_2.6.32-46~bug673107_armel.deb

Thanks,
Arnaud



-- 
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/87txz6aak8@lebrac.rtp-net.org



Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2012-05-21 Thread Martin Michlmayr
* Arnaud Patard  [2012-05-21 11:40]:
> I've uploaded a test kernel at :
> http://www.rtp-net.org/kirkwood/linux-image-2.6.32-5-kirkwood_2.6.32-46~bug673107_armel.deb
> 
> Can you please check that the issue is gone with it ?

Can you make a kernel image for Orion available?

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
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/20120521212050.ga32...@jirafa.cyrius.com



Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2012-05-21 Thread Martin Michlmayr
* Arnaud Patard  [2012-05-21 11:40]:
> I've uploaded a test kernel at :
> http://www.rtp-net.org/kirkwood/linux-image-2.6.32-5-kirkwood_2.6.32-46~bug673107_armel.deb
> 
> Can you please check that the issue is gone with it ?

I'll ask the person who reported the bug.  Thanks!
-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
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/20120521121135.gb24...@jirafa.cyrius.com



Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2012-05-21 Thread Rtp
Hi,

I've uploaded a test kernel at :
http://www.rtp-net.org/kirkwood/linux-image-2.6.32-5-kirkwood_2.6.32-46~bug673107_armel.deb

Can you please check that the issue is gone with it ?


Thanks,
Arnaud



-- 
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/87vcjpc1oh@lebrac.rtp-net.org



Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2012-05-16 Thread Rtp
Martin Michlmayr  writes:

Hi,

> Package: linux-2.6
> Version: 2.6.32-45
>
> A user on the Kirkwood platform reported TCP checksum errors when
> using MTU 9000:
> http://forum.qnap.com/viewtopic.php?f=147&t=59281&p=266527#p266527
>
> This has been previously discussed:
> http://lists.debian.org/debian-arm/2009/11/msg00087.html
>
> iirc a patch went into the kernel to set the limits for the various
> platforms (orion, kirkwood)... or maybe it was just discussed and
> never went in.

>From a quick look, it seems that the support to handle the smaller FIFO
on kirkwood/dove has been merged on the ethernet driver side but has
never been merged in the platform code. Will make a patch and come back
once I'll have more informations.

Thanks,
Arnaud



-- 
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/87k40cdwop@lebrac.rtp-net.org



Bug#673107: kirkwood: TCP checksum errors when using MTU 9000

2012-05-16 Thread Martin Michlmayr
Package: linux-2.6
Version: 2.6.32-45

A user on the Kirkwood platform reported TCP checksum errors when
using MTU 9000:
http://forum.qnap.com/viewtopic.php?f=147&t=59281&p=266527#p266527

This has been previously discussed:
http://lists.debian.org/debian-arm/2009/11/msg00087.html

iirc a patch went into the kernel to set the limits for the various
platforms (orion, kirkwood)... or maybe it was just discussed and
never went in.

Arnaud, can you investigate whether this patch really went in or
what's going on here?

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
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/20120516075339.ga28...@jirafa.cyrius.com