ioctl32 unknown cmd on Opteron system
Hi folks,
I'm getting the following kernel message when I try to run a RAID management tool for the megaraid:
ioctl32(megamgr.bin:12688): Unknown cmd fd(3) cmd(c06e6d00){00} arg(080f3f00) on /dev/megadev0
The tool is binary only, and is clearly a 32bit version.
My system is a 'AMD Opteron(tm) Processor 246' running kernel 2.6.10-1.771_FC2smp.
Am I correct in guessing that some 'stuff' needs to be added to fs/compat_ioctl.c to get this working?
If so, how does one tell whether the ioctl needs 32bit <-> 64bit twiddling to work?
If anyone has any hints, I might have time to take a look at it.
For example, how would I find out how this ioctl gets handled on a 32bit (i386) kernel?
David
linux-ia64 is for Itanium issues, I'm not sure whether anyone here can help you.
The MAINTAINERS file lists <[email protected]> as the mailing list for x86-64 (opteron) issues.
-Tony