Subject: altq 3.0 kernel interacts negatively with pppd?
To: 386 Port NetBSD <port-i386@netbsd.org>
From: Scott Presnell <srp@zgi.com>
List: port-i386
Date: 10/16/2001 12:15:01
Hi Folks,
	I've patched NetBSD 1.5.2 with altq-3.0  The build and install
went fine, kernel build (with defaults options supplied by altq)
went fine.

I use a modified version of dip to contact my ISP (work), and have
dip start pppd on the appropriate tty.

I boot up the altq modified kernel, but I have not yet operated on 
any altq devices or started altqd, etc.

When I contact my ISP for a connection:

	1) dip is able to negotiate, and fire off pppd.
	2) the machine becomes unresponsive on all other network interfaces
		for a few (10?) seconds (machine has 3 ethernet interfaces).
	3) pppd disconnects.
	4) the machine interfaces come back to life.

(log file follows at end of message)

If I use otherwise the same kernel (not patched for altq, but same options)
pppd can connect and operate correctly.

I cannot find any reference to further conifgurational changes required...
Is there something I need to do with altq to allow connections on ppp
interfaces even though the other network interfaces seem to operate correctly?
Or does this seem like a problem?

	Thanks for any help.

	- Scott


Oct 16 11:24:36 srp5 DIP[458]: Connection established!
Oct 16 11:24:36 srp5 pppd[461]: pppd 2.4.0 started by srp, uid 0
Oct 16 11:24:36 srp5 pppd[461]: Using interface ppp0
Oct 16 11:24:36 srp5 pppd[461]: Connect: ppp0 <--> /dev/tty00
Oct 16 11:24:46 srp5 pppd[464]: pppd 2.4.0 started by srp, uid 0
Oct 16 11:24:46 srp5 pppd[461]: Modem hangup
Oct 16 11:24:46 srp5 DIP[458]: Carrier lost!
Oct 16 11:24:46 srp5 pppd[461]: Connection terminated.
Oct 16 11:24:46 srp5 pppd[461]: Couldn't restore device fd flags: Inappropriate ioctl for device
Oct 16 11:24:46 srp5 pppd[461]: ioctl(TIOCSETD): Inappropriate ioctl for device
Oct 16 11:24:47 srp5 pppd[464]: tcsetattr: Inappropriate ioctl for device
Oct 16 11:24:47 srp5 pppd[464]: Exit.
Oct 16 11:24:47 srp5 pppd[461]: tcsetattr: Inappropriate ioctl for device
Oct 16 11:24:47 srp5 pppd[461]: Exit.