note that it is not a ppp fix but a tty fix. you can not use just the ppp.o compiled this way. This is a kernel rebuild and reinstall fix. otherwise other things will break like console, normal modems, etc. what was done to tty.h is prefectly legit and a logical place to put the new structure element. however, it is not backward compatible with previous kernels.
please dont take the easy way out and just use a ppp compiled with the new tty.h. this structure is too pervasive to not be consisent. mark On Thu, 5 Oct 2000, Marvin Stodolsky wrote: > Background: The Lucent supplied binary ltmodem.o winmodem driver worked > tranparently through kernels 2.2.14, but changes in ppp.o caused it to > fail for 2.2.15 and later kernels. Mark today reported a potential > solution for 2.2.16 sources. > > The email is transmitted under a just compiled 2.2.17 kernel, with its > own ppp.o and ltmodem.o, demonstrating the effectiveness of Mark's > correction to ppp.o. A script log of a dialup is Attached, with a few > explanatory and clean up edits. > > For reasons still obscure the Mark's patch did not work on my system, > though it checked on Mark's. It was easy enough to do it by hand, > however. Thereafter: > make menuconfig > make dep > make-kpkg --version=mark.1 kernel_image modules_image > did the compiles and assembled them into Debian install packages. > After installation and reboot, the tests shown in the mark17.txt script > were run, followed by this 2nd current ppp session. > > Thanks much Mark, from all of us. > We'll leave it to you to inform the ppp source maintainer. > > Tomorrow I'll send the > kernel+modules in Debian and Redhat formats > the include/linux/tty.h edit of 2.2.17 source > to http://www.walbran.org for general access. They may not appear for a > few days however, as Sean Walbran is traveling. The /boot/config-2.2.17 > which will be installed is the compile configuration file. It has more > options chosen than most of you need. > > MarvS > > > Mark Spieth wrote: > > > > in includelinux/tty.h > > > > in struct tty_struct > > > > copy poll_wait element to the bottom of the structure. this one is in the > > wrong position in pre 15s > > > > I got the same patch file again when I used yours. strange. > > a new patch is attached created from your tty.h > > otherwise try by hand > > > > mark -- Mark Spieth, PhD Digivation Pty Ltd 2 Mavron Street PO Box 1058 Ashwood 3147 Australia ph: +61-3-98855774 Mobile: +61-4-11515717 Fax: +61-3-98855774 email: [EMAIL PROTECTED]