Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Nov 2008 00:45:27 +0300
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        freebsd-net <net@freebsd.org>
Cc:        mav@freebsd.org
Subject:   net/mpd, net/mpd5 do not work on 8-CURRENT
Message-ID:  <1225835127.3428.19.camel@localhost>

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

--=-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: <owner-cvs-src@freebsd.org>
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 <owner-cvs-src@freebsd.org>) 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 <thompsa@FreeBSD.org>
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 <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>;
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=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--



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