Skip to contentSkip to conversation

pppd on 2.4.22-pa13

parisc-linux Applied Nicolas JULIEN 2 participants 2 messages Nov 7, 2003

lore
Share & tools
lore
#0 lore raw

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.

Applied
#1 lore raw

Applied to kernel 2.4.22-pa14.

Thanks!

Quoted 29 lines · Nicolas JULIEN

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.