Low on space error - android-2.6.29 port to Overo TI OMAP 3503

by Elvis Dowson » Mon, 27 Apr 2009 22:01:55 GMT


Sponsored Links
 i,
I am getting a low on space error. I am using an 8GB microSD
card, with 2 partitions. The first FAT32 partition is 40MB and is
holds MLO, u-boot and uImage. The second partition is an ext3 parition
that holds the linux-kernel rootfs partition and the android userland
files.

A minute or so after bootup, the system screens starts to flicker
saying low on space in the upper left cornet with an icon, and then
all sort of errors keep getting displayed in the logs.

What can I do to fix this?

Best regards,

Elvis


I/DeviceStorageMonitorService( 867): Running low on memory. Sending
notification
D/dalvikvm( 867): GC freed 6004 objects / 338160 bytes in 78ms
request_suspend_state: sleep (0->3) at 105151519786 (2000-01-01
00:01:43.947296098 UTC)
D/SurfaceFlinger( 867): About to give-up screen, flinger = 0x185220
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
mmc0: card fe85 removed
MMC: killing requests for dead queue
PM: suspend devices took 0.367 seconds
Class driver suspend failed for cpu0
wakeup wake lock: mmc_delayed_work
PM: resume devices took 0.140 seconds
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
I/vold ( 833): MMC card 'SU0done.
8G' (serial 1343840484) @ /classsuspend: exit suspend, ret = 0
(2000-01-01 00:01:44.845855658 UTC)
/mmc_host/mmc0/mmc0:fe85 removed
mmc0: mmc_rescan - card ocr from io_op=0x00000000, err = -110
mmc0: host does not support reading read-only switch. assuming write-
enable.
mmc0: new high speed SDHC card at address fe85
I/vold ( 833): New MMC card EXT3-fs error (device mmcblk0p2):
ext3_find_entry: 'SU08G' (serial 1343840484) addereading directory
#227137 offset 0d @ /class/mmc_host/mmc0/mmc0:fe
85
Buffer I/O error on device mmcblk0p2, logical block 0
lost page write due to I/O error on mmcblk0p2
mmcblk1: mmc0:fe85 SU08G 7.57 GiB
mmcblk1: p1 p2
mmc1: mmc_rescan - card ocr from io_op=0x00000000, err = -110
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
mmc0: card fe85 removed
MMC: killing requests for dead queue
PM: suspend devices took 0.343 seconds
Class driver suspend failed for cpu0
wakeup wake lock: mmc_delayed_work
PM: resume devices took 0.140 seconds
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
EXT3-fs error (device mmcblk0p2): ext3_find_entry: I/vold ( 833):
MMC card 'SU0reading directory #300174 offset 08G' (serial 1343840484)
@ /class/mmc_host/mmc0/mmc0:fe85 removed

------------[ cut here ]------------
WARNING: at fs/buffer.c:1247 mark_buffer_dirty+0x38/0xd0()
done.
suspend: exit suspend, ret = 0 (2000-01-01 00:01:46.570617681 UTC)
Modules linked in:
[<c049594c>] (dump_stack+0x0/0x14) from [<c011a160>] (warn_slowpath
+0x68/0x9c)
[<c011a0f8>] (warn_slowpath+0x0/0x9c) from [<c01a33dc>]
(mark_buffer_dirty+0x38/0xd0)
r3:00100828<4>mmc0: mmc_rescan - card ocr from io_op=0x00000000, err
= -110
r2:00000000
r7:00000001 r6:cf472470 r5:c063b2e4 r4:cf472470
[<c01a33a4>] (mark_buffer_dirty+0x0/0xd0) from [<c01da714>]
(ext3_commit_super+0x50/0x6c)
r5:c06b



Low on space error - android-2.6.29 port to Overo TI OMAP 3503

by heyunh...@gmail.com » Mon, 27 Apr 2009 23:49:59 GMT


 aybe it will be fine.
i suggest u use less 2GB micSD Card.

On Apr 27, 10:44pm, Elvis Dowson <elvis.dow...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Low on space error - android-2.6.29 port to Overo TI OMAP 3503

by Elvis Dowson » Tue, 28 Apr 2009 02:00:13 GMT


 Hi,
     Ok, I have just got a 512MB microSD card and formatted the first
partition as FAT32 with 40MB, and the rest 447MB as ext3.

I still get the blinking screen after sometime. But will keep trying
again to see if I get the low space error again.

Elvis
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Low on space error - android-2.6.29 port to Overo TI OMAP 3503

by Elvis Dowson » Tue, 28 Apr 2009 03:00:05 GMT


 Hi,
     Well, for the moment, I don't have those low-disk space errors
any more.

Best regards,

Elvis
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Low on space error - android-2.6.29 port to Overo TI OMAP 3503

by heyunh...@gmail.com » Tue, 28 Apr 2009 09:40:56 GMT


 Congratulation
How do u solve low-disk space errors?
change SD Card to less 2GBThx.



--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Low on space error - android-2.6.29 port to Overo TI OMAP 3503

by heyunh...@gmail.com » Tue, 28 Apr 2009 12:33:32 GMT


 OK.



--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Low on space error - android-2.6.29 port to Overo TI OMAP 3503

by Elvis Dowson » Tue, 28 Apr 2009 17:06:44 GMT


 Yup, full confirmed. No more low on space error message!!
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. help with Handler class to update UI

Hi Everyone, I am hoping you can help me:

I need to update my ui for an android app and I'm trying to use the
Handler class to do it, using 
http://developer.android.com/resources/articles/timed-ui-updates.html
and the android developer resources "Common Task" for using Handlers
as guides.

Basically, I need something between the two - a timed update of the
user interface, but without a button. So here is the relevent code
that I am working on. All help is greatly appreciated.

public class Activity1 extends Activity {
[variables]

final Handler mHandler = new Handler();

final Runnable mUpdateResults = new Runnable() {
    public void run() {

        UpdateDisplay();
        mHandler.postDelayed(mUpdateResults, 200);
    }
};


/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
[

startLongRunningOperation();

}


protected void startLongRunningOperation() {

    Thread t = new Thread() {
        public void run() {
             if (mStartTime == 0L) {
                 mStartTime = System.currentTimeMillis();
                 mHandler.postDelayed(mUpdateResults, 200);}
            mHandler.post(mUpdateResults);
        }
    };
    t.start();
}
Thanks again!

-- 

2. The operation timed out

Hi, I am reading one simple web page, but when I launched my
application after 2-3 min it show me output as : The operation timed
out.
Here ia my code


public void onCreate(Bundle icicle)
    {
         super.onCreate(icicle);

         /* We will show the data we read in a TextView. */
         TextView tv = new TextView(this);

         /* Will be filled and displayed later. */
         String myString = null;
         try
         {
              /* Define the URL we want to load data from. */
              URL myURL = new URL("http://www.google.com");
              /* Open a connection to that URL. */
              URLConnection ucon = myURL.openConnection();

              /* Define InputStreams to read
               * from the URLConnection. */
              InputStream is = ucon.getInputStream();
              BufferedInputStream bis = new BufferedInputStream(is);

              /* Read bytes to the Buffer until
               * there is nothing more to read(-1). */
              ByteArrayBuffer baf = new ByteArrayBuffer(50);
              int current = 0;
              while((current = bis.read()) != -1)
              {
                   baf.append((byte)current);
              }

              /* Convert the Bytes read to a String. */
              myString = new String(baf.toByteArray());
         }
         catch (Exception e)
         {
              /* On any Error we want to display it. */
              myString = e.getMessage();
         }

         System.out.println (myString);
         /* Show the String on the GUI. */
         tv.setText(myString);
         this.setContentView(tv);
    }


Logcat gives following info:

11-02 09:40:11.879: INFO/ActivityManager(63): Starting activity:
Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.monarch.web/.GetDataFromTheWeb }
11-02 09:40:21.943: WARN/ActivityManager(63): Launch timeout has
expired, giving up wake lock!
11-02 09:40:22.071: WARN/ActivityManager(63): Activity idle timeout
for HistoryRecord{43d91bf0 com.monarch.web/.GetDataFromTheWeb}
11-02 09:43:30.310: INFO/ActivityManager(63): Displayed activity
com.monarch.web/.GetDataFromTheWeb: 198326 ms (total 198326 ms)

-- 

3. Splash screen | warning: Activity not started, its current task has been brought to the front

4. Enable IPIP module in the kernel

5. Internet is not working on emulator

6. How to use system () call

7. Adventures with LVL