Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 1999 13:47:57 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/13793: ti driver truncates some packets
Message-ID:  <199909171747.NAA52014@khavrinen.lcs.mit.edu>

next in thread | raw e-mail | index | archive | help

>Number:         13793
>Category:       kern
>Synopsis:       ti driver truncates some packets
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 17 10:50:03 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Wollman
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
MIT Laboratory for Computer Science
>Environment:

	-current as of September 10, 1999
	$FreeBSD: src/sys/pci/if_ti.c,v 1.17 1999/08/29 09:03:57 bde Exp $
	Hardware is a Netgear GA620 in an Intel BB440FX server
	platform (Pentium Pro with 440FX chipset).

>Description:

	Certain odd-length packets are truncated.  One particular,
	easy-to-reproduce example is shown below.  By comparison
	with another network interface on the same machine, it is
	clear that the truncation is not happening elsewhere in the
	network.

	netstat(1) reports:
	        6638 with data size < data length

	With bpf and tcpdump, we see the following behavior:

Correct (via fxp0):

13:34:05.892764 wcarchive.cdrom.com.ftp > 24-6-254.wireless.lcs.mit.edu.4676: P 
1931:1972(41) ack 132 win 17520 [tos 0x10] (ttl 51, id 52165)
                         4510 0051 cbc5 0000 3306 7f0e d19b 5212
                         1218 06fe 0015 1244 457e f0b4 113a fceb
                         5018 4470 b361 0000 3235 3720 222f 2e32
                         2f46 7265 6542 5344 2220 6973 2063 7572
                         7265 6e74 2064 6972 6563 746f 7279 2e0d
                         0a

Truncated (via ti0):

11:56:39.586371 truncated-ip - 1 bytes missing!wcarchive.cdrom.com.ftp > xyz.lcs
.mit.edu.4526: P 1931:1972(41) ack 132 win 17520 [tos 0x10] (ttl 52, id 936)
                         4510 0051 03a8 0000 3406 4316 d19b 5212
                         1218 0a14 0015 11ae 92a2 96e8 ca62 3873
                         5018 4470 c8d9 0000 3235 3720 222f 2e32
                         2f46 7265 6542 5344 2220 6973 2063 7572
                         7265 6e74 2064 6972 6563 746f 7279 2e0d


	As you can see, the IP header claims the packet is 81 octets
	long, but only 80 bytes have arrived via ti0.  fxp0 does not
	truncate the packet.

>How-To-Repeat:

	(set up default route over ti0 as appropriate for your network)
	ftp ftp.freebsd.org
	cd /pub/FreeBSD
	get ls-lR.gz
	pwd
	(connection hangs and eventually times out)

>Fix:

	Unknown.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909171747.NAA52014>