maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Introducing ubiboot N9 (multiboot OS loader) (https://talk.maemo.org/showthread.php?t=89345)

juiceme 2013-11-11 16:34

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by Eztran (Post 1385637)
Does this include the apps crashing on app install thing? I kinda assumed that was related to this problem, but a successful back-to-back flash didn't help. Sorry for offtopic'ing.

I have been told the "apps crashing when installing something" problem is due to running low on memeory on the device, but cannot verify that as I have not ever encountered that problem myself.

I would be intrested in knowing what are the apps that people see crashing anyway? Are those some self-installed applications or the defult set that come with N9 and are always running (grob, fenix,...?)

Eztran 2013-11-11 16:44

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1385641)
I have been told the "apps crashing when installing something" problem is due to running low on memeory on the device, but cannot verify that as I have not ever encountered that problem myself.

Seems a little unlikely to me; I rarely have many apps open, and I've seen the Store crash itself with nothing else open at all. OOM would also surely happen with a closed kernel too, and I've never seen these crashes outside openmode.

Quote:

Originally Posted by juiceme (Post 1385641)
Are those some self-installed applications or the defult set that come with N9 and are always running (grob, fenix,...?)

Certainly grob, as I said the Store dies a lot (and didn't do so without openmode), built-in settings apps, etc. I can't think if anything non-Nokia crashes for this reason offhand, will experiment.

EDIT: Wait, yes I can. Warehouse has the same problem, and I'm pretty sure that doesn't have a preloader.


Further info, after testing with a fresh flash. This may be old news to many, but I'm just pooling all the info I can collect.

These crashes always happen in the actual install, not while downloading or unpacking (unsurprisingly). They can also happen when uninstalling apps.

Unless the app killer is extremely overzealous, or memory usage spikes faster than I can check, OOM is not the only problem here - I managed to get Warehouse and grob to crash with >300MB of RAM free.

Some apps don't crash at all, despite everything else doing so. I also haven't seen anything running directly from Terminal crash yet (Fingerterm, however, will crash), including apps which do normally.

Can't test any further as it's mysteriously stopped happening for a bit.

gemfield 2013-11-16 16:03

Re: Introducing ubiboot N9 (multiboot OS loader)
 
I have installed ubiboot-02_0.3.5_301013.tar successfully on black n9. However, I found
/usr/bin/show_png /usr/share/themes/blanco/meegotouch/images/system-services/booting.png (which is in /sbin/preinit_harmattan) didn't work, it didn't show my customized png file.

TMavica 2013-11-16 16:09

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by Eztran (Post 1385642)
Seems a little unlikely to me; I rarely have many apps open, and I've seen the Store crash itself with nothing else open at all. OOM would also surely happen with a closed kernel too, and I've never seen these crashes outside openmode.


Certainly grob, as I said the Store dies a lot (and didn't do so without openmode), built-in settings apps, etc. I can't think if anything non-Nokia crashes for this reason offhand, will experiment.

EDIT: Wait, yes I can. Warehouse has the same problem, and I'm pretty sure that doesn't have a preloader.


Further info, after testing with a fresh flash. This may be old news to many, but I'm just pooling all the info I can collect.

These crashes always happen in the actual install, not while downloading or unpacking (unsurprisingly). They can also happen when uninstalling apps.

Unless the app killer is extremely overzealous, or memory usage spikes faster than I can check, OOM is not the only problem here - I managed to get Warehouse and grob to crash with >300MB of RAM free.

Some apps don't crash at all, despite everything else doing so. I also haven't seen anything running directly from Terminal crash yet (Fingerterm, however, will crash), including apps which do normally.

Can't test any further as it's mysteriously stopped happening for a bit.

me too. Apps self closing after install or uninstall, but not everytimes, this only happened in open mode, but not in normal mode

juiceme 2013-11-16 17:36

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by gemfield (Post 1386911)
I have installed ubiboot-02_0.3.5_301013.tar successfully on black n9. However, I found
/usr/bin/show_png /usr/share/themes/blanco/meegotouch/images/system-services/booting.png (which is in /sbin/preinit_harmattan) didn't work, it didn't show my customized png file.

You checked that it was the "/sbin/preinit_harmattan" for sure, and not "/sbin/preinit" for example?
What did get shown when your boot picture should have loaded, nothing or just the pulsing "NOKIA" logo?
To make sure you really ran code in the preinit to the place where you show the picture, you could add something like;
Code:

echo "testing" >> /root/my_test_file
or something next to the place where you show the bootup picture.
Then, after the boot go and check that the statement had executed.

juiceme 2013-11-16 17:38

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by TMavica (Post 1386915)
me too. Apps self closing after install or uninstall, but not everytimes, this only happened in open mode, but not in normal mode

After that happens, I'd like to see a snip off your syslog, if something can be seen from there...?

gemfield 2013-11-17 02:01

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1386936)
You checked that it was the "/sbin/preinit_harmattan" for sure, and not "/sbin/preinit" for example?
What did get shown when your boot picture should have loaded, nothing or just the pulsing "NOKIA" logo?
To make sure you really ran code in the preinit to the place where you show the picture, you could add something like;
Code:

echo "testing" >> /root/my_test_file
or something next to the place where you show the bootup picture.
Then, after the boot go and check that the statement had executed.

Yes, it is /sbin/preinit_harmattan.
Code:

echo "gemfield2" > /root/gemfield2.log   
        if [  -f /usr/share/themes/blanco/meegotouch/images/system-services/booting.png -a -x /usr/bin/show_png ]; then
            /usr/bin/show_png /usr/share/themes/blanco/meegotouch/images/system-services/booting.png
            echo "gemfield3" > /root/gemfield3.log     
        # fallback to bmp
        elif [  -f /usr/share/themes/blanco/meegotouch/images/system-services/booting.bmp -a -x /usr/sbin/show_bmp ]; then
            /usr/sbin/show_bmp -i /usr/share/themes/blanco/meegotouch/images/system-services/booting.bmp
        fi

And I put echo "gemfield2" > /root/gemfield2.log in front of showpng and also put echo "gemfield3" > /root/gemfield3.log behind showpng, turned out both are excuted. But still, the customized png didn't show on screen when boot N9.

gemfield 2013-11-17 02:11

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Hi, juiceme, another question:
As long as I didn't flash /dev/mtd0, then N9 can always be recovered by flasher tool?

juiceme 2013-11-17 14:10

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by gemfield (Post 1386995)
Hi, juiceme, another question:
As long as I didn't flash /dev/mtd0, then N9 can always be recovered by flasher tool?

Well, almost always. Unless you trash your cal and/or mess with your MTD you will most propably be able to fix your device with a reflash.

Eztran 2013-11-17 18:56

Re: Introducing ubiboot N9 (multiboot OS loader)
 
1 Attachment(s)
Quote:

Originally Posted by juiceme (Post 1386937)
After that happens, I'd like to see a snip off your syslog, if something can be seen from there...?

Here's one (why I haven't looked at the syslog yet, I can only explain with 'whoops'). Can't tell exactly where it happens as I forgot to get the time, but it was definitely within this (could be line 13 onwards? Certainly after this you can see apps exiting/restarting)


All times are GMT. The time now is 13:21.

vBulletin® Version 3.8.8