linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Hunter <ext-adrian.hunter@nokia.com>
To: "Deacon, Keith" <kdeacon@ti.com>
Cc: twebb <taliaferro62@gmail.com>,
	"linux-omap@vger.kernel.org Mailing List"
	<linux-omap@vger.kernel.org>
Subject: Re: android on omap
Date: Tue, 07 Oct 2008 15:59:22 +0300	[thread overview]
Message-ID: <48EB5D2A.1010605@nokia.com> (raw)
In-Reply-To: <36DDB8F8BC2C8F4E98C848C74F03F883141B5408@dlee03.ent.ti.com>

Deacon, Keith wrote:
> Haven't seen that error - sorry.
> 
> Unable to mmap stands out.  I know there was a lot of updates to the shared memory subsystem and there was some Android share memory driver introduced with the Android patch set.  Seems like it's trying to mmap some shared memory and failing.  The rest just seems to be fallout because it can't do what it wants to now.

JFFS2 supports only read-only mmap.  If that is a problem, you could try UBIFS.

> 
> ...Kd
> 
> 
>> -----Original Message-----
>> From: twebb [mailto:taliaferro62@gmail.com]
>> Sent: Monday, October 06, 2008 4:46 PM
>> To: Deacon, Keith; linux-omap@vger.kernel.org Mailing List
>> Subject: Re: android on omap
>>
>>> Had problems with using NFS because Android tries to set specific
>> permission and ownership of files - and has a nasty habit of testing those
>> permissions frequently.  If you have any local storage options - that
>> would help.  Also, check your init.rc file for things like mount trying to
>> remount the filesystem readonly - Android assumes a very specific
>> partition layout - which can be consolidated into one partition as long as
>> init.rc is adjusted to match.
>>> Does the root file system reside on NFS? Have you enabled "Networking"
>> while
>>> configuring the kernel?
>>>
>> I've now moved filesystem to target (jffs2).  Things are a little
>> better, and different.  Using logcat, I'm now seeing dalvikvm errors
>> and warnings as shown below.  Particularly odd since I wasn't seeing
>> this error when rootfs was mounted via NFS.  Any ideas?
>>
>> I really appreciate your input.
>>
>> Thanks,
>> twebb
>>
>> D/dalvikvm(  483): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
>> E/dalvikvm(  501): unable to mmap DEX cache: Invalid argument
>> E/dalvikvm(  501): Optimization failed
>> D/dalvikvm(  483): DexOpt: waiting for verify+opt, pid=501
>> W/dalvikvm(  483): DexOpt: --- END 'core.jar' --- status=0xff00, process
>> failed
>> E/dalvikvm(  483): Unable to extract+optimize DEX from
>> '/system/framework/core.jar'
>> D/dalvikvm(  483): Failed on '/system/framework/core.jar' (boot=1)
>> D/dalvikvm(  483): VM cleaning up
>> D/dalvikvm(  483): LinearAlloc 0x0 used 4100 of 4194304 (0%)
>> W/dalvikvm(  483): JNI_CreateJavaVM failed
>> E/AndroidRuntime(  483): JNI_CreateJavaVM failed
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" 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:[~2008-10-07 12:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03 14:51 android on omap twebb
2008-10-03 16:38 ` Deacon, Keith
     [not found]   ` <dbdb2ea60810031121q4a4ee20fjbe7a2b420a3e9fea@mail.gmail.com>
     [not found]     ` <36DDB8F8BC2C8F4E98C848C74F03F883141311BA@dlee03.ent.ti.com>
     [not found]       ` <dbdb2ea60810031417o307a4e4h329da2855ea66dd0@mail.gmail.com>
     [not found]         ` <36DDB8F8BC2C8F4E98C848C74F03F8831413145B@dlee03.ent.ti.com>
2008-10-06 21:45           ` twebb
2008-10-06 23:36             ` Deacon, Keith
2008-10-07 12:59               ` Adrian Hunter [this message]
2008-10-09 15:08                 ` twebb
2008-10-09 21:17                   ` Deacon, Keith
2008-10-09 22:00                     ` twebb
2008-10-09 23:09                       ` Deacon, Keith
     [not found] <906b1beb-5854-44a6-8bcf-9ad9c0a22a35@d45g2000hsc.googlegroups.com>
     [not found] ` <f6c5b8d90810040640y1f43ac00id1c1a674e3747564@mail.gmail.com>
     [not found]   ` <d340f382-935f-4ce3-8ebe-cf73d3e87a80@l64g2000hse.googlegroups.com>
2008-10-07  4:35     ` Anil Sasidharan
  -- strict thread matches above, loose matches on Subject: below --
2008-05-14 23:47 Android on OMAP barban

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=48EB5D2A.1010605@nokia.com \
    --to=ext-adrian.hunter@nokia.com \
    --cc=kdeacon@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=taliaferro62@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).