From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 28 22:41:56 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A32316A4B3 for ; Sun, 28 Sep 2003 22:41:56 -0700 (PDT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id C295E4400D for ; Sun, 28 Sep 2003 22:41:55 -0700 (PDT) (envelope-from vova@sw.ru) Received: from localhost ([127.0.0.1]) by vbook.fbsd.ru with esmtp (Exim 4.22) id 1A3iNd-0006Jg-Kn for freebsd-hackers@freebsd.org; Mon, 29 Sep 2003 00:42:57 +0400 From: "Vladimir B. Grebenschikov" To: freebsd-hackers@freebsd.org Content-Type: text/plain Organization: SWsoft Inc. Message-Id: <1064781765.891.38.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 29 Sep 2003 00:42:46 +0400 Content-Transfer-Encoding: 7bit Subject: nmdm question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2003 05:41:56 -0000 Hi I have try to use nmdm to make short circuit between pppd and ssh (both need tty in my case). All is ok with pppd, but ssh client wait in ioctl(): # ps alxp 24269 UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 207 24269 24267 0 6 0 3352 2000 ttywai S+ p4 0:00.08 ssh -v -v -v -t -i .ssh/id_tun 195.... # strace -p 24269 ioctl(0, TIOCSETAWS ... sshd debug shows: ... debug3: tty_make_modes: 91 1 debug3: tty_make_modes: 92 0 debug3: tty_make_modes: 93 0 debug2: fd 3 setting TCP_NODELAY debug1: Requesting authentication agent forwarding. debug1: Requesting shell. debug1: Entering interactive session. Looks like invalid support for that ioctl in nmdm driver ? Any ideas ? -- Vladimir B. Grebenschikov SWsoft Inc.