From owner-freebsd-net@FreeBSD.ORG Tue Nov 4 22:26:56 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71AD41065678 for ; Tue, 4 Nov 2008 22:26:56 +0000 (UTC) (envelope-from vova@sw.ru) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id E49858FC20 for ; Tue, 4 Nov 2008 22:26:55 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru ([77.232.23.6]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id mA4LjSdk018294 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Nov 2008 00:45:29 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KxTiK-000161-8y; Wed, 05 Nov 2008 00:45:28 +0300 From: Vladimir Grebenschikov To: freebsd-net Content-Type: multipart/mixed; boundary="=-1KSOd52xDRg62Eo4cAeQ" Date: Wed, 05 Nov 2008 00:45:27 +0300 Message-Id: <1225835127.3428.19.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: mav@freebsd.org Subject: net/mpd, net/mpd5 do not work on 8-CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 22:26:56 -0000 --=-1KSOd52xDRg62Eo4cAeQ Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi These ports are still using set line discipline ioctl to configure ng_tty, but it is not work any more (with new ttys). src/modem.c: if (ioctl(m->fd, TIOCSETD, &ldisc) < 0) ... mpd log: [skylink] opening link "umodem0"... [umodem0] link: OPEN event [umodem0] LCP: Open event [umodem0] LCP: state change Initial --> Starting [umodem0] LCP: LayerStart [umodem0] device: OPEN event in state DOWN [umodem0] chat script succeeded [umodem0] ioctl(TIOCSETD, 6): Inappropriate ioctl for device [umodem0] device is now in state OPENING [umodem0] device: DOWN event in state OPENING [umodem0] device is now in state DOWN [umodem0] link: DOWN event [umodem0] LCP: Down event Appropriate commit log is attached. I've seen mav@'s comment on that commit, but no further actions. Any hope to make mpd work with recent 8-CURRENT ? -- Vladimir B. Grebenschikov vova@fbsd.ru --=-1KSOd52xDRg62Eo4cAeQ Content-Disposition: inline Content-Description: Attached message - cvs commit: src/share/man/man4 ng_tty.4 src/sys/netgraph ng_tty.c ng_tty.h Content-Type: message/rfc822 Return-path: Envelope-to: vova@fbsd.ru Delivery-date: Fri, 03 Oct 2008 09:26:50 +0400 Received: from mx2.freebsd.org ([69.147.83.53]) by fbsd.ru with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KldBi-0001Hk-F6 for vova@fbsd.ru; Fri, 03 Oct 2008 09:26:50 +0400 Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id D41E316185E; Fri, 3 Oct 2008 05:19:27 +0000 (UTC) (envelope-from owner-cvs-src@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id AC53010657A3; Fri, 3 Oct 2008 05:19:24 +0000 (UTC) (envelope-from owner-cvs-src@freebsd.org) Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA3F01065686; Fri, 3 Oct 2008 05:19:16 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A6B668FC13; Fri, 3 Oct 2008 05:19:16 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m935JGcx043025; Fri, 3 Oct 2008 05:19:16 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m935JGwx043022; Fri, 3 Oct 2008 05:19:16 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200810030519.m935JGwx043022@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Fri, 3 Oct 2008 05:14:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 ng_tty.4 src/sys/netgraph ng_tty.c ng_tty.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: owner-cvs-src@freebsd.org Errors-To: owner-cvs-src@freebsd.org X-Evolution-Source: pop://vova@mx.fbsd.ru/ Mime-Version: 1.0 thompsa 2008-10-03 05:14:54 UTC FreeBSD src repository Modified files: share/man/man4 ng_tty.4 sys/netgraph ng_tty.c ng_tty.h Log: SVN rev 183562 on 2008-10-03 05:14:54Z by thompsa Update ng_tty for MPSAFE TTY. This changes from a line discipline to the tty_hooks mechanism. Data will come in directly via rint_bypass and sent to the peer node in a single mbuf. As line disciplines are no longer used a new netgraph command called NGM_TTY_SET_TTY is used to attach the tty. This takes a pointer to to the open file descriptor of the tty and registers the tty hooks. When the tty disappears the node will shutdown. Thanks to: ed Sponsored by: Hobnob, Inc Revision Changes Path 1.18 +16 -16 src/share/man/man4/ng_tty.4 1.38 +281 -454 src/sys/netgraph/ng_tty.c 1.5 +1 -0 src/sys/netgraph/ng_tty.h _______________________________________________ cvs-src@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-src To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" --=-1KSOd52xDRg62Eo4cAeQ--