[1996] in linux-net channel archive
TCP connection drops in 1.3.68
daemon@ATHENA.MIT.EDU (Avijit Ghosh)
Sun Mar 3 14:11:33 1996
From: Avijit Ghosh <aghosh@hss.hns.com>
To: Linus.Torvalds@helsinki.fi, linux-net@vger.rutgers.edu,
aghosh@lando.hns.com
Date: Sat, 2 Mar 96 16:30:59 IST
Hi,
Here is a net-problem with Kernel version 1.3.68. I'm attaching the
`.config' for reference. I had upgraded from 1.2.10, and I've verified
that this problem doesn't occur with version 1.2.10.
PROBLEM:
TCP connection drops (consistently) when my `lpd' sends a file
to LPD servers on HP-Laserjets over Ethernet. The linux Machine
and the printer(s) are on the same LAN hub. The ethernet
card on the Linux box is a WD8003. Strongly suspect a TCP
problem, though.
The problem was discovered while trying to print a text file 117064
bytes in size (2625 lines). It was observed that at around
the 2000th line, the printer would stop printing, and restart
printing the same file from the begining.
Did a `tail -f /usr/adm/messages' - and found that lpd is reporting
a lost connection every time the file is sent - and so is restarting
the connection.
The exact point at which the connection was lost (the line number
up to which the printing was done) was different each time ...
it was around 2000 lines, and it never reached the end of the file.
Reverted to kernel version 1.2.10 - and verified that the problem
isn't there in 1.2.10.
Looks to me like a specific case of a general problem with TCP. It may
also be significant that when I set up another linux box to accept LPD
connections and dump the print request on console, and I set up the 1.3.68
box lpd to use this one as a server, the file was sent completely every time.
Could it be some problem related to TCP flow control? The printer's would
have a limited buffer space, and maybe would try to slow down the sender ...
and somewhere in the process the connection drops?
-Avijit-
-------------------------------------------------------------------------------
Kernel source tree: 1.3.68
-------------------------------------------------------------------------------
#
# Automatically generated make config: don't edit
#
#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KERNELD=y
#
# General setup
#
CONFIG_MATH_EMULATION=y
CONFIG_NET=y
# CONFIG_MAX_16M is not set
CONFIG_PCI=y
# CONFIG_PCI_OPTIMIZE is not set
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
# CONFIG_KERNEL_ELF is not set
CONFIG_M386=y
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M686 is not set
#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y
#
# Please see drivers/block/README.ide for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_IDECD is not set
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_CMD640=y
CONFIG_BLK_DEV_RZ1000=y
# CONFIG_BLK_DEV_TRITON is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_XD is not set
#
# Networking options
#
# CONFIG_FIREWALL is not set
# CONFIG_NET_ALIAS is not set
CONFIG_INET=y
# CONFIG_IP_FORWARD is not set
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ACCT is not set
#
# (it is safe to leave these untouched)
#
# CONFIG_INET_PCTCP is not set
# CONFIG_INET_RARP is not set
# CONFIG_NO_PATH_MTU_DISCOVERY is not set
# CONFIG_TCP_NAGLE_OFF is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
#
#
#
CONFIG_IPX=y
# CONFIG_IPX_INTERN is not set
# CONFIG_ATALK is not set
# CONFIG_AX25 is not set
# CONFIG_NETLINK is not set
#
# SCSI support
#
# CONFIG_SCSI is not set
#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=y
# CONFIG_SLIP is not set
# CONFIG_PPP is not set
# CONFIG_SCC is not set
# CONFIG_PLIP is not set
# CONFIG_EQUALIZER is not set
# CONFIG_NET_ALPHA is not set
CONFIG_NET_VENDOR_SMC=y
CONFIG_WD80x3=y
# CONFIG_ULTRA is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_ISA is not set
# CONFIG_NET_EISA is not set
# CONFIG_NET_POCKET is not set
# CONFIG_TR is not set
# CONFIG_ARCNET is not set
#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives)
#
# CONFIG_CD_NO_IDESCSI is not set
#
# Filesystems
#
# CONFIG_QUOTA is not set
CONFIG_MINIX_FS=y
# CONFIG_EXT_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_XIA_FS is not set
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
# CONFIG_VFAT_FS is not set
# CONFIG_UMSDOS_FS is not set
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
# CONFIG_ROOT_NFS is not set
CONFIG_SMB_FS=y
# CONFIG_NCP_FS is not set
# CONFIG_ISO9660_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_SYSV_FS is not set
#
# Character devices
#
# CONFIG_CYCLADES is not set
# CONFIG_STALDRV is not set
# CONFIG_PRINTER is not set
# CONFIG_BUSMOUSE is not set
CONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_MS_BUSMOUSE is not set
# CONFIG_ATIXL_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_APM is not set
# CONFIG_WATCHDOG is not set
#
# Sound
#
# CONFIG_SOUND is not set
#
# Kernel hacking
#
# CONFIG_PROFILE is not set