Ben Collins wrote: > On Wed, Mar 07, 2001 at 09:02:45PM +0100, Kenneth Johansson wrote: > > I have problem getting ppp to work on 2.4.2 for sparc64. I run potato > > with a few packages replaced to support the new kernel. > > > > I get this error > > kernel: sys32_ioctl: Unknown cmd fd(0) cmd(40047437) arg(0006be18) > > > > The exact same versions of ppp-kernel work on x86. > > What program produces this? pppd? I'll check into it later if I can. > Looks like a new ioctl that isn't being translated.
I fixed it myself. --- linux/arch/sparc64/kernel/ioctl32.c Mon Feb 19 04:49:54 2001 +++ linux-2.4.3-pre3/arch/sparc64/kernel/ioctl32.c Fri Mar 9 16:21:33 2001@@ -3331,6 +3331,7 @@ COMPATIBLE_IOCTL(PPPIOCCONNECT) COMPATIBLE_IOCTL(PPPIOCDISCONN) COMPATIBLE_IOCTL(PPPIOCATTCHAN) +COMPATIBLE_IOCTL(PPPIOCGCHAN) /* PPPOX */ COMPATIBLE_IOCTL(PPPOEIOCSFWD); COMPATIBLE_IOCTL(PPPOEIOCDFWD);

