Skip to contentSkip to conversation

ioctl32 unknown cmd on Opteron system

DISCUSSION David Mansfield 2 participants 2 messages Feb 23, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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