net/mpd, net/mpd5 do not work on 8-CURRENT

Vladimir Grebenschikov vova at fbsd.ru
Tue Nov 4 14:26:56 PST 2008


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 at fbsd.ru
-------------- next part --------------
An embedded message was scrubbed...
From: Andrew Thompson <thompsa at FreeBSD.org>
Subject: cvs commit: src/share/man/man4 ng_tty.4 src/sys/netgraph ng_tty.c
	ng_tty.h
Date: Fri, 3 Oct 2008 05:14:54 +0000 (UTC)
Size: 3843
Url: http://lists.freebsd.org/pipermail/freebsd-net/attachments/20081104/753734f2/attachment.eml


More information about the freebsd-net mailing list