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

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


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
-------------- next part --------------
An embedded message was scrubbed...
From: Andrew Thompson <thompsa at>
Subject: cvs commit: src/share/man/man4 ng_tty.4 src/sys/netgraph ng_tty.c
Date: Fri, 3 Oct 2008 05:14:54 +0000 (UTC)
Size: 3843

More information about the freebsd-net mailing list