Sorry, in the previous lowmemory patch I have forgotten something. That
attached in this mail is correct...I hope ;D

An other problem encountered, is due to Android power management and is also
described in http://elinux.org/Android_on_OMAP#Power_management. In
practice, the system starts properly but after 2-3 minutes  if you don't use
it on  goes to suspend mode (black screen). From that state it wakes up only
with a click of the power button of N800. In the case remains in suspend
mode for around a minute, it powers off.

Maybe also your problem is due to Android power management, otherwise I
don't know.

Best Regards,
Andrea Bernardi

2008/6/6 Marty <[EMAIL PROTECTED]>:

>
> My screen in m5 wroks abnormally after patch.
>
> The screen is normal in few 10~20 seconds, and then it blinks.
> Afterwards, the while screen is shown.
>
> BTW, I try to path lowmemory.patch, and make this function enable.
> But some error was occurred.
> If I add "CONFIG_LOW_MEMORY_KILLER=y", there will be a compile error.
>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> CC      drivers/misc/lowmemorykiller/lowmemorykiller.o
> drivers/misc/lowmemorykiller/lowmemorykiller.c:24: error: variable
> 'lowmem_shrinker' has initializer but incomplete type
> drivers/misc/lowmemorykiller/lowmemorykiller.c:25: error: unknown
> field 'shrink' specified in initializer
> drivers/misc/lowmemorykiller/lowmemorykiller.c:25: warning: excess
> elements in struct initializer
> drivers/misc/lowmemorykiller/lowmemorykiller.c:25: warning: (near
> initialization for 'lowmem_shrinker')
> drivers/misc/lowmemorykiller/lowmemorykiller.c:26: error: unknown
> field 'seeks' specified in initializer
> drivers/misc/lowmemorykiller/lowmemorykiller.c:27: warning: excess
> elements in struct initializer
> drivers/misc/lowmemorykiller/lowmemorykiller.c:27: warning: (near
> initialization for 'lowmem_shrinker')
> drivers/misc/lowmemorykiller/lowmemorykiller.c: In function
> '__check_cost':
> drivers/misc/lowmemorykiller/lowmemorykiller.c:46: error: invalid use
> of undefined type 'struct shrinker'
> drivers/misc/lowmemorykiller/lowmemorykiller.c: At top level:
> drivers/misc/lowmemorykiller/lowmemorykiller.c:46: error: invalid use
> of undefined type 'struct shrinker'
> drivers/misc/lowmemorykiller/lowmemorykiller.c: In function
> 'lowmem_init':
> drivers/misc/lowmemorykiller/lowmemorykiller.c:106: warning: implicit
> declaration of function 'register_shrinker'
> drivers/misc/lowmemorykiller/lowmemorykiller.c: In function
> 'lowmem_exit':
> drivers/misc/lowmemorykiller/lowmemorykiller.c:112: warning: implicit
> declaration of function 'unregister_shrinker'
> make[3]: *** [drivers/misc/lowmemorykiller/lowmemorykiller.o] Error 1
> make[2]: *** [drivers/misc/lowmemorykiller] Error 2
> make[1]: *** [drivers/misc] Error 2
> make: *** [drivers] Error 2
>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> No matter I patch the lowmemorykiller.c or not. As long as I set
> CONFIG_LOW_MEMORY_KILLER=y, the error was occurred.
>
> I am trying to slove this problem. and I hope that I can startup
> Android without maemo.
> I think that insufficient momory issue will be not exist . :)
>
> Marty
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Internals" group.
To post to this group, send email to android-internals@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/android-internals?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to