zhiyi huang writes:Hello,
I am using a Ubuntu port on Ultra Sparc T1.
Linux version 2.6.15-21-sparc64-smp (buildd@artigas) (gcc version
4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 SMP Fri Apr 21 17:04:05 UTC 2006
I have installed a module in the kernel. It is a RAM device driver.
When my application calls ioctl on the device (/dev/dsm), I got the
following log message:
Aug 29 11:13:20 info-sf-03 kernel: [ 3.603348] ioctl32(manager:
18821): Unknown cmd fd(3) cmd(80047f00){00} arg(fffc3934) on /dev/dsm
I check my module and found the control has not reached my module
yet. I haven't got much clue why it happened and how to fix the
problem. It works fine on Linux 2.6.8/i386, by the way.
Thanks for help:)
There's a separate mailing list for SPARC Linux.
In this case, you probably just forgot to set up a ->compat_ioctl()
method in your device's file ops.