public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: David Mansfield <david@cobite.com>
To: linux-ia64@vger.kernel.org
Subject: ioctl32 unknown cmd on Opteron system
Date: Thu, 23 Feb 2006 22:34:21 +0000	[thread overview]
Message-ID: <1140734061.28066.28.camel@gandalf.cobite.com> (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



             reply	other threads:[~2006-02-23 22:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23 22:34 David Mansfield [this message]
2006-02-23 22:52 ` ioctl32 unknown cmd on Opteron system Luck, Tony

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1140734061.28066.28.camel@gandalf.cobite.com \
    --to=david@cobite.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox