Date: Tue, 11 Feb 1997 02:54:55 -0800 (PST) From: Paul Traina <pst@Shockwave.COM> To: FreeBSD-gnats-submit@freebsd.org Subject: i386/2710: if_ppp LKM does not allow ppp line discipline to be set Message-ID: <199702111054.CAA00379@precipice.shockwave.com> Resent-Message-ID: <199702111100.DAA14779@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 2710 >Category: i386 >Synopsis: if_ppp LKM does not allow ppp line discipline to be set >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 11 03:00:01 PST 1997 >Last-Modified: >Originator: Paul Traina >Organization: Juniper Networks >Release: FreeBSD 3.0-CURRENT i386 >Environment: -current as of last week >Description: I was playing about with the kernel mode PPP code, and had forgotten to compile kernel mode PPP support into the kernel I was running. Never fear, I had a if_ppp lkm handy for that kernel, so I modloaded it. pppd recognized that the kernel ppp code had been installed, but gave the following error: Feb 11 02:27:27 precipice pppd[862]: pppd 2.2.0 started by pst, uid 0 Feb 11 02:27:31 precipice pppd[862]: ioctl(TIOCSETD): Operation not supported by device A quick perusal of the kernel source shows pppasyncattach appearing as the argument to a PSEUDO_SET macro, but there are other attach routines in if_ppp.c, so my totally unreasearched GUESS is that one of the other PSEUDO_SET vectors is wiping out the first, or some such rot (sorry, I didn't look). I worked around the problem by hard-compiling kernel mode ppp back into that kernel, which suggested to me that it's an LKM initialization problem only. Feb 11 02:46:46 precipice pppd[250]: pppd 2.2.0 started by pst, uid 0 Feb 11 02:46:49 precipice pppd[250]: Connect: ppp0 <--> /dev/cuaa1 Feb 11 02:46:53 precipice pppd[250]: local IP address 206.170.5.55 Feb 11 02:46:53 precipice pppd[250]: remote IP address 206.171.128.66 >How-To-Repeat: Run kernel with no kernel ppp (pppd) support. modload /lkm/if_ppp.o pppd /dev/cuaa1 115200 ...other options... get "ioctl(TIOCSETD): Operation not supported by device" message >Fix: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702111054.CAA00379>