[maemo-developers] [maemo-developers] Canola: other apps won't start
From: krischan.keitsch at alumni.tu-berlin.de krischan.keitsch at alumni.tu-berlin.deDate: Thu Dec 7 22:37:14 EET 2006
- Previous message: [maemo-developers] Canola: other apps won't start
- Next message: [maemo-developers] Debugging maemo_af_desktop crashes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Marcelo and Gustavo here is my /etc/apt/sources.lst #maemo:essential deb http://catalogue.tableteer.nokia.com/certified/ mistral user deb http://catalogue.tableteer.nokia.com/non-certified/ mistral user deb http://repository.maemo.org/contrib mistral free non-free deb http://repository.maemo.org mistral free non-free deb http://only.mawhrin.net/fbreader/maemo mistral user deb http://downloads.kernelconcepts.de/maemo2 mistral free deb http://maemo-hackers.org/apt/ mistral main deb http://www.mulliner.org/nokia770/repository/ maemo2 free deb http://maemo.o-hand.com/packages mistral/ #deb http://mg.pov.lt/770 mistral user other #deb http://yerga.xtremservers.net/maemo/ mistral deb http://www.math.ucla.edu/~jimc/nokia770 mistral user #deb http://maemo.org.br/platform/apt mistral user deb http://bgran.net/etrunko/apt mistral user #deb http://home.ufam.edu.br/~agan/minimo/ binary-arm/ #deb http://www.fulminati.org/ mistral/ deb http://marceloeduardo.com/apt mistral games deb http://repository.maemo.org/extras/ mistral free non-free deb http://home.ufam.edu.br/~agan/minimo/ mistral/ deb http://marceloeduardo.com/apt mistral games deb http://www.armin-warda.de/arno/ mistral user deb http://openbossa.indt.org/canola/repository mistral user deb http://armin-warda.de/maemo mistral user /etc/apt/sources.list (END) And here is dmesg: ... [48687.601928] Dynamic PSM [48687.602081] PSM timeout 1000 ms [48921.595031] omapdsp: task 4: name mp3dec [48921.595153] omapdsp: taskdev mp3dec enabled. [48921.595428] aic23 powering up [48921.600677] aic23_init_power() done [48921.604217] omapdsp: mmap info: vmadr = 40a79000, padr = 12b10000, len = 6000 [49255.391113] hwa742: setting update mode to disabled [49255.391174] omapfb_notifier_cb(): event = DISABLED [49282.197967] hwa742: setting update mode to manual [49282.198028] omapfb_notifier_cb(): event = READY [49316.531738] omap-hw-nand: DMA timeout after 1281 ms, max. seen latency 2140 ms [49418.555175] omap-hw-nand: DMA timeout after 1250 ms, max. seen latency 2140 ms [49708.828613] aic23 powering down [49713.235778] aic23 powering up [49713.239562] aic23_init_power() done [49936.109863] omap-hw-nand: DMA timeout after 1023 ms, max. seen latency 2140 ms [50191.789581] omap-hw-nand: DMA timeout after 1164 ms, max. seen latency 2140 ms [50203.102508] omap-hw-nand: DMA timeout after 1312 ms, max. seen latency 2140 ms [50683.655975] omapdsp: taskdev mp3dec disabled. [50685.762176] aic23 powering down [50802.950225] hwa742: setting update mode to disabled [50802.950256] omapfb_notifier_cb(): event = DISABLED [51001.475677] hwa742: setting update mode to manual [51001.475799] omapfb_notifier_cb(): event = READY [51179.180175] hwa742: setting update mode to disabled [51179.180206] omapfb_notifier_cb(): event = DISABLED [51710.085601] hwa742: setting update mode to manual [51710.085662] omapfb_notifier_cb(): event = READY [51830.157012] hwa742: setting update mode to disabled [51830.157043] omapfb_notifier_cb(): event = DISABLED [52385.235534] hwa742: setting update mode to manual [52385.235595] omapfb_notifier_cb(): event = READY [52516.727081] hwa742: setting update mode to disabled [52516.727111] omapfb_notifier_cb(): event = DISABLED [53201.412811] hwa742: setting update mode to manual [53201.412872] omapfb_notifier_cb(): event = READY [53321.484924] hwa742: setting update mode to disabled [53321.484985] omapfb_notifier_cb(): event = DISABLED [55182.677917] hwa742: setting update mode to manual [55182.677978] omapfb_notifier_cb(): event = READY [55632.509277] hwa742: setting update mode to disabled [55632.509338] omapfb_notifier_cb(): event = DISABLED [63661.821533] hwa742: setting update mode to manual [63661.821594] omapfb_notifier_cb(): event = READY [63805.372222] hwa742: setting update mode to disabled [63805.372283] omapfb_notifier_cb(): event = DISABLED Nokia770-26:~# I switched off my swap partition (swapoff /dev/mmcblk0p2 as root) and open some apps: as soon as the ram is filled up with apps I get the expected warning with chckboxed asking me to kill an app due to lak od memory. That is okay. Here is the dmesg output. At the end you can see that I switch on swap again. [64090.453704] oom-killer: gfp_mask=0x200d2, order=0 [64090.453765] [<c0026890>] (dump_stack+0x0/0x14) from [<c0071440>] (out_of_memory+0x40/0x1d8) [64090.453948] [<c0071400>] (out_of_memory+0x0/0x1d8) from [<c0072928>] (__alloc_pages+0x234/0x2b8) [64090.454101] [<c00726f4>] (__alloc_pages+0x0/0x2b8) from [<c007c5e0>] (__handle_mm_fault+0x110/0x96c) [64090.454284] [<c007c4d0>] (__handle_mm_fault+0x0/0x96c) from [<c0029364>] (do_page_fault+0xe4/0x214) [64090.454437] [<c0029280>] (do_page_fault+0x0/0x214) from [<c00295e0>] (do_DataAbort+0x3c/0xa4) [64090.454559] [<c00295a4>] (do_DataAbort+0x0/0xa4) from [<c002096c>] (__dabt_svc+0x4c/0x60) [64090.454711] r8 = F7BEF7BE r7 = F7BEF7BE r6 = F7BEF7BE r5 = C32A9D04 [64090.454833] r4 = FFFFFFFF [64090.454895] [<c01a7de8>] (memcpy_toiovec+0x0/0xa8) from [<c0201f88>] (unix_stream_recvmsg+0x3bc/0x5ec) [64090.455047] r7 = 00005194 r6 = C2DD5A00 r5 = C3749620 r4 = 00003F40 [64090.455169] [<c0201bcc>] (unix_stream_recvmsg+0x0/0x5ec) from [<c01a0ba4>] (do_sock_read+0xb4/0xbc) [64090.455322] [<c01a0af0>] (do_sock_read+0x0/0xbc) from [<c01a0cd0>] (sock_aio_read+0x64/0x74) [64090.455505] r8 = 40641E4C r7 = 00005194 r6 = C0460080 r5 = 00000000 [64090.455596] r4 = C32A9EA8 [64090.455657] [<c01a0c6c>] (sock_aio_read+0x0/0x74) from [<c008f398>] (do_sync_read+0xb8/0xf0) [64090.455810] r5 = 00000000 r4 = C32A9EA8 [64090.455871] [<c008f2e0>] (do_sync_read+0x0/0xf0) from [<c008f4d0>] (vfs_read+0x100/0x1a8) [64090.456024] [<c008f3d0>] (vfs_read+0x0/0x1a8) from [<c008f858>] (sys_read+0x48/0x74) [64090.456176] [<c008f810>] (sys_read+0x0/0x74) from [<c0020de0>] (ret_fast_syscall+0x0/0x2c) [64090.456329] r6 = 00175840 r5 = 0000FFF6 r4 = 0003FFD8 [64090.456390] Mem-info: [64090.456451] DMA per-cpu: [64090.456512] cpu 0 hot: high 18, batch 3 used:2 [64090.456573] cpu 0 cold: high 6, batch 1 used:5 [64090.456634] DMA32 per-cpu: empty [64090.456665] Normal per-cpu: empty [64090.456726] HighMem per-cpu: empty [64090.456787] Free pages: 1356kB (0kB HighMem) [64090.456878] Active:9150 inactive:1741 dirty:0 writeback:0 unstable:0 free:339 slab:2142 mapped:10791 pagetables:269 [64090.457031] DMA free:1356kB min:1024kB low:1280kB high:1536kB active:36600kB inactive:6964kB present:65536kB pages_scanned:13870 all_unreclaimable? no [64090.457183] lowmem_reserve[]: 0 0 0 0 [64090.457275] DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no [64090.457397] lowmem_reserve[]: 0 0 0 0 [64090.457489] Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no [64090.457611] lowmem_reserve[]: 0 0 0 0 [64090.457702] HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no [64090.457824] lowmem_reserve[]: 0 0 0 0 [64090.457916] DMA: 107*4kB 4*8kB 2*16kB 3*32kB 0*64kB 0*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1356kB [64090.458129] DMA32: empty [64090.458160] Normal: empty [64090.458190] HighMem: empty [64090.458282] Swap cache: add 48149, delete 48149, find 24685/30651, race 0+0 [64090.458343] Free swap = 0kB [64090.458404] Total swap = 0kB [64090.458435] Free swap: 0kB [64090.462707] 16384 pages of RAM [64090.462768] 588 free pages [64090.462829] 2045 reserved pages [64090.462860] 2142 slab pages [64090.462921] 15775 pages shared [64090.462951] 0 pages swap cached [64090.463134] Out of Memory: Kill process 938 (avahi-daemon) score 229 and children. [64090.463226] Out of memory: Killed process 938 (avahi-daemon). [64362.575866] Adding 40888k swap on /dev/mmcblk0p2. Priority:-2 extents:1 across:40888k Nokia770-26:~# As soon as I have the swap back on I get no warning check box, but more than two apps or so won't start. No warning - no nothing. Maybe this is all due to an swap space problem / corupption and it is a coincident that I noticed this problem _after_ I installed Canola. If this is how it happed than I am absolutly sorry for blaming Canola ;-) Krischan Am Donnerstag, 7. Dezember 2006 20:14 schrieben Sie: > Hi again, > > Now things are clearer, but I think we have a more "obscure" issue > that I imagine here. > Why? Simply : > > I picked an 770, flashed, clean install of Canola, rebooted and did > the followin test : > > Open canola and open the bigger number of application possible. So I > was able > to open that list you saw in previous email. Closed canola and of > course I was able to open more web pages and applications (I got 5 > big webpages + 3 small applications running) > But I didn't close anything about canola-conf or applet. Just closed > canola. > > So, I picked up another employee's 770, old, with some software, > mistral.. installed correctly and did the same test... same behavior. > > I think you must have one of these problems : > > 1) some software installed changes some library and when canola > installed changed it again, breaking something under the hoods. > > 2) the canola instalation problem was not perfect... Did you get the > repositories the right way in the first try.. or you tried, got some > error, saw some type mistake in the repositories, fixed and tried again? > > We will do the maximum to help you, because we have a lot of 770 > heres, from all ages (even prototype builds ) and we didn't face > anything like you're reporting! > > I already forwarded your email to the other guys in the team.. if we > can reproduce what you've said we will improve as fast as possible... > > Can you also send me your whole sources.list (repositories) located > in the file /etc/apt/sources.list ? > > > [] > > Marcelo > > On Dec 7, 2006, at 3:07 PM, krischan.keitsch at alumni.tu-berlin.de wrote: > > Hi Marcelo, > > > > thanks for the reply. I would like to make some points more clear: > > > > 1) I really love Canola and I appreciate the effort the caola team > > went > > trough! I am impressed by the smooth functionality, the eye candy, > > the user > > interface and the web based configuration client! Well done! Keep > > going. > > > > 2) Of course I understand that the n770 resources are limited and > > that I can't > > expect that many memory intensive apps can run _besides_ Canola. > > > > But I am dealing here with a problem when Canola is _not_ running! > > * Desktop applet switched off > > * Conola not running > > * /etc/canola-conf stop as root in xterm / ssh > > * killall canola-conf as root in xterm / ssh > > > > I start the mail client (works), then the web browser visiting one > > of my > > favourite n770 related site (works) and then try to start the > > application > > manager (nope, won't work) or the xterm (not working). > > > > Some more info: > > > > 1) I use a swap partition: /dev/mmcblk0p2, Memory is avaible! > > Nokia770-26:~# free > > total used free shared > > buffers > > Mem: 61968 59352 2616 > > 0 40 > > Swap: 40888 26500 14388 > > Total: 102856 85852 17004 > > Nokia770-26:~# > > > > 2) Is Canola still running? No! > > ps -l |grep canola --> nothing, same with canola-conf > > > > 3) Checking if I have enough free disk space: yep! > > Nokia770-26:~# df -h > > Filesystem Size Used Available Use% Mounted on > > /dev/mtdblock4 2.0M 2.0M 0 100% /mnt/initfs > > none 512.0k 60.0k 452.0k 12% /mnt/initfs/tmp > > /dev/mtdblock4 123.5M 115.9M 7.6M 94% / > > none 512.0k 60.0k 452.0k 12% /tmp > > none 1.0M 44.0k 980.0k 4% /dev > > /dev/mmcblk0p1 1.9G 1.5G 301.1M 83% /media/mmc1 > > > > 4) System information: I am still using the "old" itos 2006 26-g > > version > > Nokia770-26:~# uname -a > > Linux Nokia770-26 2.6.16-omap1 #3 PREEMPT Thu Nov 2 01:29:14 CET 2006 > > armv5tejl unknown > > > > This all began after I installed Canola. Did Canola change any > > watchdog > > settings or something like this? Or Am I dealing here with a corrupt > > filesystem / ram or swap partition? > > > > As soon as I quit the mail client or the webbrowser I am able to > > launch xterm > > > > I am looking forward to updates and new Canola features! Maybe I > > should just > > reflash my n770 with itos 2006 39-14. > > > > Thanks again! And greetings from Germany (experiencing the warmest > > December > > ever!) > > > > Krischan > > > > Am Donnerstag, 7. Dezember 2006 04:39 schrieben Sie: > >> Hi Krischan, > >> > >> I tried what you've said... open more application with canola > >> running. > >> Of course I was not able to run like I would if canola was not > >> running, > >> but I could easy open : > >> > >> 1) full web site ( brazil's biggest web portal ) > >> 2) the Rss reader > >> 3) The regular audio player > >> 4) Xterm > >> 5) 1 more web site : the lonely planet > >> > >> After that yes, the 770 refuses to open more application, because > >> there's no more memory available. > >> > >> But I will clarify to you: It;s not a bug. > >> Why do I say tha : Because canola needs memory to run, there's no > >> miracle behind it that would make it run with a small amount of > >> memory. We did our best: > >> kept images number / size at the minimum, tried to avoid any kind of > >> replication, took a lot of care in the code to manage memory in the > >> right way, but canola does use a reasonable amount of memory. The UI > >> that we are able to provide you has a price, and unfortunately > >> there's not much left to do to reduce that. > >> > >> What I can do I'm doing right now, everyday : refusing request, new > >> features, more animation in the themes, etc. > >> > >> Now what are we doing? > >> > >> We are focusing on reducing cpu usage. This we can do. But of > >> course.. again not miracles, doing smooth animation is heavy and cpu- > >> intensive so Canola WILL always consume more cpu than the default > >> player. The default player is a static GTK (native) application. GTK > >> is already loaded in the memory, and as you don't have nothing with > >> smooth animation the cpu is almost zero. > >> > >> When you posted, I read " I cannot run anything " and that scarred > >> me a lot =) > >> I hope you understand my message as a positive, well-humored one, and > >> not an angry one ok? It's just because sometimes we forget that the > >> 770 is a very humble machine when it comes to memory and cpu! > >> > >> BR from brazil, > >> > >> Marcelo Oliveira > >> > >> On Dec 6, 2006, at 6:24 PM, krischan.keitsch at alumni.tu-berlin.de > >> > >> wrote: > >>> Hi Antonio, > >>> > >>> I just wanted to find out if anybody else came across this > >>> behavior. I will > >>> then add a bug report to the canola-garage site. > >>> > >>> Did you install canola? If so, can you run several apps (web and > >>> mail client) > >>> and then launch e.g. xterm and even more apps? > >>> > >>> Regards > >>> > >>> Am Mittwoch, 6. Dezember 2006 21:08 schrieben Sie: > >>>> zrz, > >>>> > >>>> it is better to feedback indt canola guys about it ?! > >>>> marcelo.oliveira at indt.org.br > >>>> > >>>> regards > >>>> > >>>> On 12/5/06, Zrz <krischan.keitsch at alumni.tu-berlin.de> wrote: > >>>>> Hi > >>>>> > >>>>> I installed Canola (great app btw) and noticed that other apps > >>>>> won't > >>>>> start anymore, even when there is enough swap space available. > >>>>> > >>>>> For example: I have Opera and the mail client runing and want to > >>>>> launch a > >>>>> third app. I see a high cpu load which fades away after some > >>>>> seconds but > >>>>> the app will not start. > >>>>> > >>>>> Before I installed Canola I was able to run as many apps as I > >>>>> wanted > >>>>> until I ran out of swap space. > >>>>> > >>>>> I still use itos 2006 28-6, have a 40mb swap partition and the > >>>>> urgend > >>>>> feeling that something has changed! This unwanted new behavior is > >>>>> annoying. My n770 behaves as if it is running out of memory. > >>>>> > >>>>> Did anyone noticed a similar behavior? If so I would like to > >>>>> track this > >>>>> down and add a bug report to garage. > >>>>> > >>>>> Thanks and regards > >>>>> > >>>>> Krischan > >>>>> > >>>>> PS: Canola runs great as stand alone app! > > > > _______________________________________________ > > maemo-developers mailing list > > maemo-developers at maemo.org > > https://maemo.org/mailman/listinfo/maemo-developers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20061207/e7e9b27a/attachment.pgp
- Previous message: [maemo-developers] Canola: other apps won't start
- Next message: [maemo-developers] Debugging maemo_af_desktop crashes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]