Flexible I/O Tester development
 help / color / mirror / Atom feed
From: David Nellans <david@nellans.org>
To: David N <android.wm.edu@gmail.com>, fio@vger.kernel.org
Subject: Re: fio execution issue on Android device with MediaTek
Date: Thu, 19 Jun 2014 16:13:30 -0500	[thread overview]
Message-ID: <53A3527A.1000800@nellans.org> (raw)
In-Reply-To: <53A3505F.1000809@nellans.org>

I may have actually spoken prematurely - if the krait version is running 
v7a and compiles for armeabi-v7a
but the mt6572 is only supports armeabi you could run into ABI issues.  
either way, still very unlikely its a fio issue.

On 06/19/2014 04:04 PM, David Nellans wrote:
> generally speaking taking a pre-compiled binary from one machine to 
> another is a dicey proposition
> but in this case you're moving from a krait 400? which runs armv7 to 
> the MT6572 which is a cortex A-7
> which are the same ISA rev.  are you running the exact same distro 
> and/or set of libs on them too?
> changes there in glibc, will cause issues. cross compiling for x86 
> certainly isn't going to fix your problems!
>
> just for good measure I did just compile and run fio tip on a tegra k1 
> running ubuntu 13.04 (3.10.33 kern)
> and it seems to be working just fine. have you managed to get anything 
> at all to work via this method?
> i doubt its an issue specific to fio.
>
> - the real David N
>
> On 06/19/2014 03:39 PM, David N wrote:
>> Hi all,
>>
>> I got fio working fine on a device with Qualcomm Snapdragon but
>> executing that same compiled binary gave me "sh: ./fio: not
>> executable: magic 7F45" on a MediaTek (MT6572) device.
>>
>> I tried to recompile both for ARM and x86 but still the same issue.
>> The binary is executable (did chmod it), so I'm not sure what is
>> causing this. I'd very much appreciate any input.
>>
>> Thanks much!
>> David
>> -- 
>> To unsubscribe from this list: send the line "unsubscribe fio" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>


  reply	other threads:[~2014-06-19 21:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-19 20:39 fio execution issue on Android device with MediaTek David N
2014-06-19 21:04 ` David Nellans
2014-06-19 21:13   ` David Nellans [this message]
2014-06-19 21:25     ` David N
2014-06-19 21:38       ` David Nellans

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=53A3527A.1000800@nellans.org \
    --to=david@nellans.org \
    --cc=android.wm.edu@gmail.com \
    --cc=fio@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