Fix for some PPP problems with 1.3.41

Fix for some PPP problems with 1.3.41

Post by Eric Kahle » Mon, 20 Nov 1995 04:00:00



It seems _IOC_READ and _IOC_WRITE got switched in the 1.3.41 patches.
That has resulted in problems for the floppy driver too, and the sound
driver.

In include/asm-i386/ioctl.h, change the direction bits to look like this
instead, and then it hopefully works ok:

        /*
         * Direction bits.
         */
        #define _IOC_NONE       0U
        #define _IOC_WRITE      1U
        #define _IOC_READ       2U

Does that fix it for you?

                Linus
----------------------------

That was from a message sent by Linus.
After I applied this fix in kernel 1.3.41
PPP not only worked, it absolutely FLEW.

--
From:  Eric Kahler.

http://mars.superlink.net/user/ekahler/index.html

 
 
 

1. ppp with kernel version > 1.3.41

Hi there.

Has anyone got pppd 2.2.0c working with either kernel
version 1.3.42, or 43? I've tried, but pppd seems to
exit immediately. (This is in conjunction with diald 0.11).

It works fine with 1.3.41 kernel.

Thanks,

--
------------------------------------------------------------------------
Chris Wells.                    



------------------------------------------------------------------------
Ericsson disclaims all responsibility from this message.
------------------------------------------------------------------------

2. X-Windows Monitor Problem

3. Problems with 1.3.39 - 1.3.41 compile

4. Copy from Linux HD to a DOS floppy

5. Kernel 1.3.41 - ip_tcp.h ERRORS!?

6. Mouse and HD is not recognised

7. Kernel 1.3.41 causes obtuse failures

8. FTP-Server SITE-command for UNIX-Server available?

9. kernel 1.3.41

10. Linux Kernel 1.3.41+SB AWE 32=NO SOUND

11. linux 1.3.41/1.3.37 + ppp2.2.0c

12. memory leak in 1.3.41?

13. 1.3.41 breaks dlopen()