Oh, okay, so if I use a 2GB microSD Card it should be fine?
Best regards,

Elvis

On Mon, Apr 27, 2009 at 6:02 PM, Jean-Baptiste Queru <[email protected]>wrote:

>
> There's a bug somewhere in Android (32-bit arithmetic) where it can't
> deal with a system partition larger than 2GB.
>
> JBQ
>
> On Mon, Apr 27, 2009 at 7:01 AM, Elvis Dowson <[email protected]>
> wrote:
> >
> > Hi,
> >      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:c06b0400 r4:cf016e00
> > [<c01da6c4>] (ext3_commit_super+0x0/0x6c) from [<c01dc0a0>]
> > (ext3_handle_error+0x9c/0xc0)
> >  r7:00000001 r6:00000000 r5:c06b0400 r4:cf016e00
> > [<c01dc004>] (ext3_handle_error+0x0/0xc0) from [<c01dc184>] (ext3_error
> > +0x44/0x54)
> >  r5:cf4da698 r4:cf016e00
> > [<c01dc140>] (ext3_error+0x0/0x54) from [<c01d8324>] (ext3_find_entry
> > +0x39c/0x554)
> >  r3:0004948e r2:c054817d
> >  r4:00000002
> > [<c01d7f88>] (ext3_find_entry+0x0/0x554) from [<c01d8d80>] (ext3_lookup
> > +0x34/0xc8)
> > [<c01d8d4c>] (ext3_lookup+0x0/0xc8) from [<c01890ec>] (do_lookup+0xcc/
> > 0x194)
> >  r6:cf4f04d0 r5:cf4da698 r4:00000000
> > [<c0189020>] (do_lookup+0x0/0x194) from [<c018b2f4>] (__link_path_walk
> > +0xb78/0x10ec)
> > [<c018a77c>] (__link_path_walk+0x0/0x10ec) from [<c018bb30>] (path_walk
> > +0x94/0x12c)
> > [<c018ba9c>] (path_walk+0x0/0x12c) from [<c018be6c>] (do_path_lookup
> > +0x210/0x238)
> >  r6:cf81fe90 r5:ca807000 r4:c05c18fc
> > [<c018bc5c>] (do_path_lookup+0x0/0x238) from [<c018c904>] (user_path_at
> > +0x60/0x90)
> >  r8:cf81ff08 r7:ffffff9c r6:cf81fe90 r5:ca807000 r4:00000001
> > [<c018c8a4>] (user_path_at+0x0/0x90) from [<c0184700>] (vfs_stat_fd
> > +0x24/0x54)
> >  r8:c00f6084 r7:000000c3 r6:cf81ff08 r5:cf81ff40 r4:bee86be8
> > [<c01846dc>] (vfs_stat_fd+0x0/0x54) from [<c01847e4>] (vfs_stat+0x1c/
> > 0x20)
> >  r6:0002148c r5:cf81ff40 r4:bee86be8
> > [<c01847c8>] (vfs_stat+0x0/0x20) from [<c0184808>]
> > (sys_stat64+0x20/0x3c)
> > [<c01847e8>] (sys_stat64+0x0/0x3c) from [<c00f5f00>] (ret_fast_syscall
> > +0x0/0x2c)
> >  r5:00027d28 r4:00000001
> > ---[ end trace b2151aa4229bbaf2 ]---
> > Buffer I/O error on device mmcblk0p2, logical block 0
> > lost page write due to I/O error on mmcblk0p2
> > init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
> > 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 mmcblk1: mmc0:fe85 SU08G 7.57 GiB
> > 'SU08G' (serial 1343840484) adde mmcblk1:d @ /class/mmc_host/mmc0/
> > mmc0:fe p185
> >  p2
> > mmc1: mmc_rescan - card ocr from io_op=0x00000000, err = -110
> > EXT3-fs error (device mmcblk0p2): ext3_get_inode_loc: unable to read
> > inode block - inode=300312, block=1212428
> > Buffer I/O error on device mmcblk0p2, logical block 0
> > lost page write due to I/O error on mmcblk0p2
> > EXT3-fs error (device mmcblk0p2) in ext3_reserve_inode_write: IO
> > failure
> > Buffer I/O error on device mmcblk0p2, logical block 0
> > lost page write due to I/O error on mmcblk0p2
> > journal_bmap: journal block not found at offset 1463 on mmcblk0p2
> > Aborting journal on device mmcblk0p2.
> > Buffer I/O error on device mmcblk0p2, logical block 999
> > lost page write due to I/O error on mmcblk0p2
> > journal commit I/O error
> > 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
> > I/vold    (  833): MMC card 'SU0done.
> > 8G' (serial 1343840484) @ /classsuspend: exit suspend, ret = 0
> > (2000-01-01 00:01:47.992767325 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 mmcblk1: mmc0:fe85 SU08G 7.57 GiB
> > 'SU08G' (serial 1343840484) adde mmcblk1:d @ /class/mmc_host/mmc0/
> > mmc0:fe p185
> >  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.351 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 'SU08G' (serial 1343840484) @ /class/
> > mmc_host/mmc0/mmc0:fe85 removed
> > done.
> > suspend: exit suspend, ret = 0 (2000-01-01 00:01:49.567382817 UTC)
> > mmc0: mmc_rescan - card ocr from io_op=0x00000000, err = -110
> > Spurious irq 95: 0xffffffdf, please flush posted write for irq 83
> > Spurious irq 95: 0xffffffdf, please flush posted write for irq 83
> > 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 mmcblk1: mmc0:fe85 SU08G 7.57 GiB
> > 'SU08G' (serial 1343840484) adde mmcblk1:d @ /class/mmc_host/mmc0/
> > mmc0:fe p185
> >  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.335 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:50.938049315 UTC)
> > /mmc_host/mmc0/mmc0:fe85 removed
> > mmc0: mmc_rescan - card ocr from io_op=0x00000000, err = -110
> > Spurious irq 95: 0xffffffdf, please flush posted write for irq 83
> > Spurious irq 95: 0xffffffdf, please flush posted write for irq 83
> > 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 mmcblk1: mmc0:fe85 SU08G 7.57 GiB
> > 'SU08G' (serial 1343840484) adde mmcblk1:d @ /class/mmc_host/mmc0/
> > mmc0:fe p185
> >  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
> > I/vold    (  833): MMC card 'SU0done.
> > 8G' (serial 1343840484) @ /classsuspend: exit suspend, ret = 0
> > (2000-01-01 00:01:52.359832764 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 mmcblk1: mmc0:fe85 SU08G 7.57 GiB
> > 'SU08G' (serial 1343840484) adde mmcblk1:d @ /class/mmc_host/mmc0/
> > mmc0:fe p185
> >  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.335 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:53.539550783 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 mmcblk1: mmc0:fe85 SU08G 7.57 GiB
> >
> >
> > >
> >
>
>
>
> --
> Jean-Baptiste M. "JBQ" Queru
> Android Engineer, Google.
>
> Questions sent directly to me that have no reason for being private
> will likely get ignored or forwarded to a public forum with no further
> warning.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to