Project

General

Profile

Actions

Bug #2292

open

re interface with jumbo frames (mtu larger than 1500) hangs after some traffic

Added by Anonymous almost 13 years ago. Updated almost 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
01/27/2012
Due date:
% Done:

0%

Estimated time:

Description

How to reproduce:
ifconfig re0 mtu 4088
cd /usr; make pkgsrc-create
wait a bit
re0 completely hangs; no ping; nothing when tcpdumping; nothing dmesg either

doing a
ifconfig re0 mtu 1500
gets it back to life though...

uname:
DragonFly v3.1.0.47.ge2743-DEVELOPMENT #0: Tue Jan 24 09:47:50 UTC 2012
:/usr/obj/usr/src/sys/X86_64_GENERIC

dmesg:
re0: <RealTek 8111/8168 PCIe Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfbffc000-0xfbffffff,0xfbffb000-0xfbffbfff irq 36 at device 0.0 on pci5
re0: Hardware rev. 0x2c000000; MAC ver. 0x2e; PCI-E 125MHz
miibus0: <MII bus> on re0
rgephy0: <8211B/RTL8169S/8110S media interface> on miibus0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

Actions #1

Updated by sepherosa almost 13 years ago

2012/1/27 Stefan Krüger via Redmine <>:

Issue #2292 has been reported by Stefan Krüger.

----------------------------------------
Bug #2292: re interface with jumbo frames (mtu larger than 1500) hangs after some traffic
http://bugs.dragonflybsd.org/issues/2292

Author: Stefan Krüger
Status: New
Priority: Normal
Assignee:
Category:
Target version:

How to reproduce:
ifconfig re0 mtu 4088
cd /usr; make pkgsrc-create
wait a bit
re0 completely hangs; no ping; nothing when tcpdumping; nothing dmesg either

doing a
ifconfig re0 mtu 1500
gets it back to life though...

Can you try turning off txcsum when using jumbo frame on re0? i.e.
ifconfig re0 -txcsum

Best Regards,
sephe

--
Tomorrow Will Never Die

Actions #2

Updated by Anonymous almost 13 years ago

Sepherosa Ziehau wrote:

2012/1/27 Stefan Krüger via Redmine <>:

Issue #2292 has been reported by Stefan Krüger.

----------------------------------------
Bug #2292: re interface with jumbo frames (mtu larger than 1500) hangs after some traffic
http://bugs.dragonflybsd.org/issues/2292

Author: Stefan Krüger
Status: New
Priority: Normal
Assignee:
Category:
Target version:

How to reproduce:
ifconfig re0 mtu 4088
cd /usr; make pkgsrc-create
wait a bit
re0 completely hangs; no ping; nothing when tcpdumping; nothing dmesg either

doing a
ifconfig re0 mtu 1500
gets it back to life though...

Can you try turning off txcsum when using jumbo frame on re0? i.e.
ifconfig re0 -txcsum

Best Regards,
sephe

I did:

ifconfig re0 -txcsum
ifconfig re0 mtu 4088
cd /usr; make pkgsrc-create

still hangs at 26 % (i.e. after transfering about 124.11 MiB)

Actions #3

Updated by sepherosa almost 13 years ago

2012/1/30 Stefan Krüger via Redmine <>:

Issue #2292 has been updated by Stefan Krüger.

Sepherosa Ziehau wrote:

2012/1/27 Stefan Krüger via Redmine <>:

Issue #2292 has been reported by Stefan Krüger.

----------------------------------------
Bug #2292: re interface with jumbo frames (mtu larger than 1500) hangs after some traffic
http://bugs.dragonflybsd.org/issues/2292

Author: Stefan Krüger
Status: New
Priority: Normal
Assignee:
Category:
Target version:

How to reproduce:
ifconfig re0 mtu 4088
cd /usr; make pkgsrc-create
wait a bit
re0 completely hangs; no ping; nothing when tcpdumping; nothing dmesg either

doing a
ifconfig re0 mtu 1500
gets it back to life though...

Can you try turning off txcsum when using jumbo frame on re0?  i.e.
ifconfig re0 -txcsum

Best Regards,
sephe

I did:

ifconfig re0 -txcsum
ifconfig re0 mtu 4088
cd /usr; make pkgsrc-create

still hangs at 26 % (i.e. after transfering about 124.11 MiB)

Please test following patch:
http://leaf.dragonflybsd.org/~sephe/if_re.diff

Best Regards,
sephe

--
Tomorrow Will Never Die

Actions #4

Updated by Anonymous almost 13 years ago

Sepherosa Ziehau wrote:

2012/1/30 Stefan Krüger via Redmine <>:

Issue #2292 has been updated by Stefan Krüger.

Sepherosa Ziehau wrote:

2012/1/27 Stefan Krüger via Redmine <>:

Issue #2292 has been reported by Stefan Krüger.

----------------------------------------
Bug #2292: re interface with jumbo frames (mtu larger than 1500) hangs after some traffic
http://bugs.dragonflybsd.org/issues/2292

Author: Stefan Krüger
Status: New
Priority: Normal
Assignee:
Category:
Target version:

How to reproduce:
ifconfig re0 mtu 4088
cd /usr; make pkgsrc-create
wait a bit
re0 completely hangs; no ping; nothing when tcpdumping; nothing dmesg either

doing a
ifconfig re0 mtu 1500
gets it back to life though...

Can you try turning off txcsum when using jumbo frame on re0?  i.e.
ifconfig re0 -txcsum

Best Regards,
sephe

I did:

ifconfig re0 -txcsum
ifconfig re0 mtu 4088
cd /usr; make pkgsrc-create

still hangs at 26 % (i.e. after transfering about 124.11 MiB)

Please test following patch:
http://leaf.dragonflybsd.org/~sephe/if_re.diff

Best Regards,
sephe

--
Tomorrow Will Never Die

Still hangs :(

  1. make pkgsrc-create
    If problems occur you may have to rm -rf pkgsrc and try again.

mkdir -p /usr/pkgsrc
cd /usr/pkgsrc && git init
Initialized empty Git repository in /usr/pkgsrc/.git/
cd /usr/pkgsrc && git remote add origin git://git.dragonflybsd.org/pkgsrcv2.git
cd /usr/pkgsrc && git fetch origin
remote: Counting objects: 1670882, done.
remote: Compressing objects: 100% (519219/519219), done.
Receiving objects: 9% (152313/1670882), 39.48 MiB | 1.21 MiB/s

  1. ifconfig re0
    re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 4088
    options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
    ...
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active

I see some packets though when tcpdump'ing -ni re0:

09:05:47.417598 IP 192.168.0.2.1018 > 192.168.0.1.2049: Flags [.], ack 1, win 65535, length 0
09:07:02.417694 IP 192.168.0.2.1018 > 192.168.0.1.2049: Flags [.], ack 1, win 65535, length 0
09:08:17.417802 IP 192.168.0.2.1018 > 192.168.0.1.2049: Flags [R.], seq 1, ack 1, win 65535, length 0
...

but that's it, no ping, no NFS, no network anymore

Actions

Also available in: Atom PDF