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.
Thanks. Can anyone direct me to the list address?
In this case, you probably just forgot to set up a ->compat_ioctl()
method in your device's file ops.
Yes, indeed. I don't have that method. Now the control is in my ioctl
function. My new problem is that I don't know much about
compat_ioctl. Is there any document about it? The only doc I use is
Linux Device Driver (online version).
Thanks a lot, Mikael:)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]