From owner-freebsd-bugs Tue Feb 11 08:00:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA01467 for bugs-outgoing; Tue, 11 Feb 1997 08:00:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA01415; Tue, 11 Feb 1997 08:00:03 -0800 (PST) Date: Tue, 11 Feb 1997 08:00:03 -0800 (PST) Message-Id: <199702111600.IAA01415@freefall.freebsd.org> To: freebsd-bugs Cc: From: Garrett Wollman Subject: i386/2710: if_ppp LKM does not allow ppp line discipline to be set Reply-To: Garrett Wollman Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR i386/2710; it has been noted by GNATS. From: Garrett Wollman To: pst@Shockwave.COM Cc: FreeBSD-gnats-submit@freebsd.org Subject: i386/2710: if_ppp LKM does not allow ppp line discipline to be set Date: Tue, 11 Feb 1997 10:59:24 -0500 < said: > 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). Aha. This is indeed erroneous. There can only be one entry point to an LKM, which means that there can only be one PSEUDO_SET per LKM (see /sys/sys/kernel.h under #ifdef PSEUDO_LKM). The ppp driver's attach routine needs to be written to perform ALL initialization at once. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, ANA, or NSA| - Susan Aglukark and Chad Irschick