From owner-freebsd-bugs Sat Dec 16 17:10:04 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA15260 for bugs-outgoing; Sat, 16 Dec 1995 17:10:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA15254 Sat, 16 Dec 1995 17:10:02 -0800 (PST) Resent-Date: Sat, 16 Dec 1995 17:10:02 -0800 (PST) Resent-Message-Id: <199512170110.RAA15254@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, dk@farm.org Received: from relay5.UU.NET (relay5.UU.NET [192.48.96.15]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA15103 for ; Sat, 16 Dec 1995 17:07:54 -0800 (PST) Received: from uucp4.UU.NET by relay5.UU.NET with SMTP id QQzuky21337; Sat, 16 Dec 1995 20:07:52 -0500 (EST) Received: from uanet.UUCP by uucp4.UU.NET with UUCP/RMAIL ; Sat, 16 Dec 1995 20:07:52 -0500 Received: by crocodil.monolit.kiev.ua; Sun, 17 Dec 95 03:05:41 +0200 Received: (from dk@localhost) by dog.farm.org (8.6.11/dk#3) id CAA04377; Sun, 17 Dec 1995 02:29:19 +0200 Message-Id: <199512170029.CAA04377@dog> Date: Sun, 17 Dec 1995 02:29:19 +0200 From: Dmitry Kohmanyuk Reply-To: dk@farm.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/897: cannot watch the slattach'ed tty Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 897 >Category: kern >Synopsis: cannot watch(1) the slattach(1)'ed tty >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 16 17:10:01 PST 1995 >Last-Modified: >Originator: Dmitry Kohmanyuk >Organization: FARM Computing Association >Release: FreeBSD 2.0-BUILT-19950603 i386 >Environment: uname -a: FreeBSD dog.farm.org 2.0.5-RELEASE FreeBSD 2.0.5-RELEASE #20: Sat Dec 2 14:58:22 EET 1995 dk@dog.farm.org:/usr/src/sys/compile/FARM i386 V.32bis external modem. PCI board, ISA serial card, no FIFO. real SLIP connection (no slip emulator) >Description: the watch(1) over a line used by slattach cannot be run; syslog diagnostics: Dec 17 02:19:27 dog /kernel: Snoop: bad attached tty data. >How-To-Repeat: # script to start slip: HOST=monolit PORT=/dev/cuaa1 export HOST PORT slattach -c -h -s 38400 -z -r "/etc/slip/slipchat $PORT $HOST" \ $PORT # slipchat script: # usage: $0 port host port=$1 host=$2 logger -t slipchat -p kern.notice slipchat to $host on $port iport=`echo $port | sed -e 's/\([a-z][0-9]*\)$/i\1/'` stty <$iport cs8 -istrip -parenb cread crtscts chat -v -f /etc/slip/chat/$host <$port >$port && \ /etc/slip/config/$host 0 0 # chat script: (not shown, hopefully irrelevant) # slip/config script: : # called as: $0 old-sl# new-sl# #SRC=193.124.54.195 #DEST=193.124.54.227 SRC=193.124.48.230 DEST=193.124.48.241 NETMASK=0xffffffe0 logger -p kern.notice -t slip-config "slip sl$1 connected ($SRC -> $DEST)" ifconfig sl$1 down ifconfig sl$2 inet $SRC $DEST netmask $NETMASK ifconfig sl$2 up route add default $DEST >Fix: I don't know. >Audit-Trail: >Unformatted: