[parisc-linux] pppd on 2.4.22-pa13

Nicolas JULIEN gronico@gronico.org
Fri, 07 Nov 2003 10:52:23 +0100


Hi,

I was having some problems with pppd:

Nov  6 10:13:03 tomawak kernel: sys32_ioctl: Unknown cmd fd(7)
cmd(40047437) arg(00081cf0)

and I was unable to launch an adsl session.

I've found a solution and I've patched my kernel with:

*** arch/parisc/kernel/ioctl32.c.old    Thu Nov  6 10:18:21 2003
--- arch/parisc/kernel/ioctl32.c        Thu Nov  6 10:18:52 2003
***************
*** 3176,3181 ****
--- 3176,3182 ----
  COMPATIBLE_IOCTL(PPPIOCCONNECT)
  COMPATIBLE_IOCTL(PPPIOCDISCONN)
  COMPATIBLE_IOCTL(PPPIOCATTCHAN)
+ COMPATIBLE_IOCTL(PPPIOCGCHAN)
  /* PPPOX */
  COMPATIBLE_IOCTL(PPPOEIOCSFWD);
  COMPATIBLE_IOCTL(PPPOEIOCDFWD);

Maybe it will be usefull to apply this to sources?

Best regards,

Nicolas JULIEN.