Bug 142624 - Sending large chunks of data fails
Summary: Sending large chunks of data fails
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-11 02:10 UTC by Alex Wied
Modified: 2017-12-31 22:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Wied 2010-01-11 02:10:01 UTC
Whenever I try to log in to Paypal or edit Wikipedia, I get no response from the web server after POSTing the form data. Additionally, when I try to email a colleague a file (Claws 3.7.3), the transfer to gmail's SMTP server stops at *exactly* 36864 bytes, every time. The file is only ~600KB.

I am using wireless on a Thinkpad X200:
44C8733I SBB THINKPAD B/G/N 44C5194I SBB INTEGRWIRELESSWIDEAREANETW
which appears to be a RTL8192SE. I am using the drivers provided by the manufacturer combined with ndis.

My MTU is set to 1500, and net.inet.tcp.tso is disabled.

This problem did not happen in 7.2-RELEASE and it does not happen with a wired connection.
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2010-01-11 08:27:29 UTC
State Changed
From-To: open->feedback

Could you please provide your dmesg, and the output of "ifconfig -a" and 
"vmstat -i" 
nce the problem has been seen? 


Comment 2 Gavin Atkinson freebsd_committer freebsd_triage 2010-01-11 08:27:29 UTC
Responsible Changed
From-To: freebsd-bugs->gavin

Track
Comment 3 Alex Wied 2010-01-11 14:10:46 UTC
`dmesg' produces the following:
ntoskrnl dummy called...

That exact line is printed, once per second(ish), when the wireless
driver (rtl8192se_sys.ko) is loaded. As a result, the entire buffer is
filled with the above message. I can give you dmesg.yesterday though:

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights
reserved. FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-RELEASE #0: Fri Nov 27 13:15:10 EST 2009
    alex@orion.lan:/usr/obj/usr/src/sys/ORION
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz (2394.02-MHz
686-class CPU) Origin = "GenuineIntel"  Id = 0x10676  Stepping = 6
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x8e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 3221225472 (3072 MB)
avail memory = 3083636736 (2940 MB)
ACPI APIC Table: <LENOVO TP-6D   >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
no match for IoWMIQueryAllData
no match for IoWMIOpenBlock
cryptosoft0: <software crypto> on motherboard
acpi0: <LENOVO TP-6D> on motherboard
acpi0: [ITHREAD]
acpi_ec0: <Embedded Controller: GPE 0x11, ECDT> port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, bef00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on
acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem
0xf2000000-0xf23fffff,0xd0000000-0xdfffffff irq 16 at device 2.0 on
pci0 agp0: <Intel GM45 SVGA controller> on vgapci0 agp0: detected
32764k stolen memory agp0: aperture size is 256M
vgapci1: <VGA-compatible display> mem 0xf2400000-0xf24fffff at device
2.1 on pci0 pci0: <simple comms> at device 3.0 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0x1840-0x185f
mem 0xf2600000-0xf261ffff,0xf2625000-0xf2625fff irq 20 at device 25.0
on pci0 em0: Using MSI interrupt em0: [FILTER]
em0: Ethernet address: 00:1f:16:01:d5:0d
uhci0: <Intel 82801I (ICH9) USB controller> port 0x1860-0x187f irq 20
at device 26.0 on pci0 uhci0: [ITHREAD]
uhci0: LegSup = 0x0000
usbus0: <Intel 82801I (ICH9) USB controller> on uhci0
uhci1: <Intel 82801I (ICH9) USB controller> port 0x1880-0x189f irq 21
at device 26.1 on pci0 uhci1: [ITHREAD]
uhci1: LegSup = 0x0000
usbus1: <Intel 82801I (ICH9) USB controller> on uhci1
uhci2: <Intel 82801I (ICH9) USB controller> port 0x18a0-0x18bf irq 22
at device 26.2 on pci0 uhci2: [ITHREAD]
uhci2: LegSup = 0x0000
usbus2: <Intel 82801I (ICH9) USB controller> on uhci2
ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem
0xf2826c00-0xf2826fff irq 23 at device 26.7 on pci0 ehci0: [ITHREAD]
usbus3: EHCI version 1.0
usbus3: <Intel 82801I (ICH9) USB 2.0 controller> on ehci0
hdac0: <Intel 82801I High Definition Audio Controller> mem
0xf2620000-0xf2623fff irq 17 at device 27.0 on pci0 hdac0: HDA Driver
Revision: 20090624_0136 hdac0: [ITHREAD]
pcib1: <ACPI PCI-PCI bridge> irq 20 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 21 at device 28.1 on pci0
pci3: <ACPI PCI bus> on pcib2
ndis0: <Realtek RTL8191SE Wireless LAN 802.11n PCI-E NIC> port
0x2000-0x20ff mem 0xf2500000-0xf2503fff irq 17 at device 0.0 on pci3
ndis0: [ITHREAD] ndis0: NDIS API version: 5.1
pcib3: <ACPI PCI-PCI bridge> irq 23 at device 28.3 on pci0
pci5: <ACPI PCI bus> on pcib3
uhci3: <Intel 82801I (ICH9) USB controller> port 0x18c0-0x18df irq 16
at device 29.0 on pci0 uhci3: [ITHREAD]
uhci3: LegSup = 0x0000
usbus4: <Intel 82801I (ICH9) USB controller> on uhci3
uhci4: <Intel 82801I (ICH9) USB controller> port 0x18e0-0x18ff irq 17
at device 29.1 on pci0 uhci4: [ITHREAD]
uhci4: LegSup = 0x0000
usbus5: <Intel 82801I (ICH9) USB controller> on uhci4
uhci5: <Intel 82801I (ICH9) USB controller> port 0x1c00-0x1c1f irq 18
at device 29.2 on pci0 uhci5: [ITHREAD]
uhci5: LegSup = 0x0000
usbus6: <Intel 82801I (ICH9) USB controller> on uhci5
ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem
0xf2827000-0xf28273ff irq 19 at device 29.7 on pci0 ehci1: [ITHREAD]
usbus7: EHCI version 1.0
usbus7: <Intel 82801I (ICH9) USB 2.0 controller> on ehci1
pcib4: <PCI-PCI bridge> at device 30.0 on pci0
pci13: <PCI bus> on pcib4
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel AHCI controller> port
0x1c48-0x1c4f,0x183c-0x183f,0x1c40-0x1c47,0x1838-0x183b,0x1c20-0x1c3f
mem 0xf2826000-0xf28267ff irq 16 at device 31.2 on pci0 atapci0:
[ITHREAD] atapci0: AHCI v1.20 controller with 4 3Gbps ports, PM not
supported ata2: <ATA channel 0> on atapci0 ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
cpu0: <ACPI CPU> on acpi0
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd1fff,0xd2000-0xd2fff,0xde000-0xdf7ff,0xe0000-0xeffff
pnpid ORM0000 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0:
VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port
0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ata0 at port
0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata0: [ITHREAD]
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1: [ITHREAD]
Timecounters tick every 1.000 msec
vboxdrv: fAsync=0 offMin=0x489 offMax=0x76b
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0
usbus7: 480Mbps High Speed USB v2.0
ad4: 152627MB <HITACHI HTS723216L9SA60 FC2ZC50B> at ata2-master SATA150
hdac0: HDA Codec #0: Conexant CX20561 (Hermosa)
pcm0: <HDA Conexant CX20561 (Hermosa) PCM #0 Analog> at cad 0 nid 1 on
hdac0 pcm1: <HDA Conexant CX20561 (Hermosa) PCM #1 Analog> at cad 0 nid
1 on hdac0 ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
ugen7.1: <Intel> at usbus7
uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
SMP: AP CPU #1 Launched!
Root mount waiting for: usbus7 usbus6 usbus5 usbus4 usbus3 usbus2
usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
Root mount waiting for: usbus7 usbus3
Root mount waiting for: usbus7 usbus3
uhub3: 6 ports with 6 removable, self powered
uhub7: 6 ports with 6 removable, self powered
ugen3.2: <vendor 0x17ef> at usbus3
Trying to mount root from ufs:/dev/label/root
wlan0: Ethernet address: 00:24:2c:e7:2d:fd
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
tun0: link state changed to UP
wlan0: promiscuous mode enabled
wlan0: promiscuous mode disabled
wlan0: promiscuous mode enabled
wlan0: promiscuous mode disabled
wlan0: promiscuous mode enabled
wlan0: promiscuous mode disabled

ifconfig -a:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500 options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether 00:1f:16:01:d5:0d
        media: Ethernet autoselect
        status: no carrier
ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
2290 ether 00:24:2c:e7:2d:fd
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
        status: associated
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500 ether 00:24:2c:e7:2d:fd
        inet 192.168.1.187 netmask 0xffffff00 broadcast 192.168.1.255
        media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g
        status: associated
        ssid skynet channel 6 (2437 Mhz 11g) bssid 00:28:10:00:28:10
        country US authmode WPA2/802.11i privacy OFF txpower 0 bmiss 7
        mcastrate 0.5 mgmtrate 0.5 scanvalid 60 protmode CTS roaming
MANUAL bintval 0
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
        inet6 2001:xxxx:xxxx:xxxx::2 prefixlen 64
        Opened by PID 1045

tun0 is openvpn, and the problem occurs regardless of whether or not I
disable it in /etc/rc.conf and reboot.

vmstat -i:
interrupt                          total       rate
irq1: atkbd0                       17936          0
irq9: acpi0                       100563          2
irq12: psm0                       314700          7
irq16: uhci3+                     198993          4
irq17: ndis0 uhci4                572410         13
irq23: ehci0                          18          0
cpu0: timer                     82926949       1999
irq257: hdac0                     819925         19
cpu1: timer                     82935265       1999
Total                          167886759       4048

--
Alex
Comment 4 Alex Wied 2010-12-28 16:27:31 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

A few months ago I purchased a new Intel wireless card off of ebay and
replaced the Realtek one. The problem no longer occurs.

This PR can be closed.

- -- 
Alex
-----BEGIN PGP SIGNATURE-----

iF4EAREKAAYFAk0aD/kACgkQVj+V+maJPJEPaAEAmnkoReVEH6zScoyydOmvdkv9
LZ8w0sQ/3E1VZZHDjn8BAIRWpekfBoMkcyAVqZ2mgvUqkKSBcH38/V5NfWVI8kCO
=zygI
-----END PGP SIGNATURE-----
Comment 5 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:02 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped