maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Easy Debian Fremantle Beta Testing (https://talk.maemo.org/showthread.php?t=34550)

TiagoTiago 2011-04-25 23:47

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by zero (Post 995175)
...

Also I think this may be more of an I/O problem to the MyDocs partition...


...

When i tried to install Driver (WebOS game) things always got screwed, untill i moved the source file outside of MyDocs and into plain /home/user , and installed it also not inside MyDocs; indeed it does seems to be some issue with heavy I/O inside MyDocs...

TiagoTiago 2011-04-26 01:46

Re: Easy Debian Fremantle Beta Testing
 
i tried the five-five, either it complains it couldn't reset the swap and then resets Hildon (not sure which ones, the desktop widgets load again but the status menu seems to only load the "safe mode" widgets), or it reboots the device, much sooner than it used to.

qole 2011-04-26 02:22

Re: Easy Debian Fremantle Beta Testing
 
That's very interesting. The people having reboots before are now having more severe system problems. This suggests there's a widget responsible.

TiagoTiago 2011-04-26 02:29

Re: Easy Debian Fremantle Beta Testing
 
I did try it once first changing the "desktop activity" (with Desktop Activity Manager) to one with no widgets in place; do you mean it's a status menu widget? Or what i did isn't enough to rule out desktop widgets? Do you want me to try manually removing each widget, rebooting and only then run the image installer?

qole 2011-04-26 04:43

Re: Easy Debian Fremantle Beta Testing
 
TiagoTiago: All I know is that if you close all of your apps, open a terminal and type "sudo swapoffon" and it reboots the device, there's something not right. The fact that the desktop seems to be responsible suggests that there's a widget or status plugin causing the problem.

zero 2011-04-26 07:35

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 995293)
Hi zero,

To me, this sounds as if you have more problems than just Easy Debian. Perhaps you have a third-party desktop widget that is misbehaving?

I've found that I can fsck the MyDocs partition without even unmounting it, unlike ext2 partitions.

Code:

fsck -fy /dev/mmcblk0p1

I thought it was safer to unmount but I guess FAT may not require it. I only have a few simple widgets:

conversations
recaller
calendar home (not maemo calendar)
personal IP address
connectnow
omweather
forecaweather

My status plugins are more complex but I don't have time to remove each one individually right now. I'll try later if nobody has found anything by the time I am more free.

advanced power
advanced clock
tor
openvpn
simple brightness
flashlight
wifi switcher
3g/2g dual mode switch
cssu - orientation lock (but set to auto)

TiagoTiago 2011-04-26 14:27

Re: Easy Debian Fremantle Beta Testing
 
Is there a way to temporarlly disable widgets and status plugins one by one? ("temporarilly disable" as in not having to reinstall them to get them back)

mscion 2011-04-27 03:23

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 995351)
That's very interesting. The people having reboots before are now having more severe system problems. This suggests there's a widget responsible.


Before checking out version 0.9.55 of Easy Debian I thought I'd try downloading the compressed version of the Debian image again and installing it just to see if I have any problems. It seems to have installed properly. I then, using synaptic, successfully installed wxmaxima, which is fairly sizeable and has quite a few dependencies. So at this point I do not seem to have the reboot problem. I do not have many widgets (opera, microb, and forecaweather). I also have DTG, Sygic, cutetube and some stuff from OVI. I have been too timid to OC and I have not installed the Enhanced Linux kernal for power users or CSSU.
Hopefully, this information helps home in on the problem.

qole 2011-04-27 05:32

Re: Easy Debian Fremantle Beta Testing
 
mscion: have you installed "Swappolube"?

mscion 2011-04-27 12:52

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 995954)
mscion: have you installed "Swappolube"?

Ah, yes, I forgot to mention that one! I currently have it installed, I had tried it a few times using the recommended settings but did not see any noticable improvement although I didn't time things carefully (I tested it with cutetube, opera and I also tried opening Easy Debian LXDE and Open Office from the maemo desktop). Anyways, I did not make the recommended settings permanent so I was using the n900 default setting when I did the downloads of EasyDebian and wxmaxima. I also did not try renicing or anything like that as discussed before. Although you are problably thinking of something more subtle that is related to some widget, if it is helpful, to check for rebooting, I can do the same again but with Swappolube's recommended settings.

BTW, if you know, could you suggest a simple thing I can try to see the benefit of Swappolube as I clearly do not understand how to take advantage of it. Does anything, at least in theory, work better on Easy Debian when the recommended settings are used? Even if it is not useful for me I probably would not delete it because the icon is so cute!

psychologe 2011-05-06 00:47

Re: Easy Debian Fremantle Beta Testing
 
i have a problem ,when i install nessus in easy debian .
i can install nessus in easy debian ,it nessus2.2,i update source .but can't update it to nessus4.2.

other problem is when i update nessus plugins on chroot :nessus-update-plugins
it suggest "could not write all-2.0.tar.gz no space left on device.......Abort

can some one help me?
thanks

qole 2011-05-06 03:44

Re: Easy Debian Fremantle Beta Testing
 
psychologe: The first part of your problem (why only version 2.2) is addressed in this article: http://lwn.net/Articles/346733/

The second part of your question, "...no space left on device.....Abort" is simple to answer. You ran out of space in your 2GB Debian image. If you really want to install a big app, you could try removing some larger applications, like OpenOffice or Firefox.

psychologe 2011-05-06 08:12

Re: Easy Debian Fremantle Beta Testing
 
qole,thank you very much(*^_^*)

now i understand

i have a other problem is when install some program in easy debian ,

same as http://talk.maemo.org/showthread.php?t=72186

i don't know how solution it,
i try apt-get install --no-install-recommends,but the same

sorry,my bad english

TiagoTiago 2011-05-06 08:25

Re: Easy Debian Fremantle Beta Testing
 
I installed power kernel v47 and nothing changed, still rebooting if i try to install the image :(

Sash 2011-05-06 12:39

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by TiagoTiago (Post 1001056)
I installed power kernel v47 and nothing changed, still rebooting if i try to install the image :(

I was having the same rebooting issues on Power Kernel and I don't know if there's any other solutions but I flashed mine clean, then installed Easy Debian before updating to Power Kernel.

TiagoTiago 2011-05-06 14:02

Re: Easy Debian Fremantle Beta Testing
 
Hm, alright, i'll try uninstalling power kernel and see if the situation improves

qole 2011-05-06 14:16

Re: Easy Debian Fremantle Beta Testing
 
Hi psychologe and Sash,

What happens when (after you've installed version 0.9.56 of Easy Debian from Extras-Devel) you open a terminal, and then you issue the two commands from the post below?

Does your N900 reboot?

If not, do you still see the rebooting problems trying to install software in the chroot?

Quote:

Originally Posted by qole (Post 995165)
Ok version 0.9.56 adds a second script, nr_requests_setup, that seems to fix the decompression problem even when Swappolube is disabled.

So now you have to run two commands the first time (after a reboot):
Code:

sudo nr_requests_setup
sudo swapoffon

After that, each time you are about to do something "big", just issue the "sudo swapoffon" command.


mscion 2011-05-06 14:33

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by psychologe (Post 1000952)
i have a problem ,when i install nessus in easy debian .
i can install nessus in easy debian ,it nessus2.2,i update source .but can't update it to nessus4.2.

other problem is when i update nessus plugins on chroot :nessus-update-plugins
it suggest "could not write all-2.0.tar.gz no space left on device.......Abort

can some one help me?
thanks

Hi. In regards to running out of space, you might try creating some symlinks as described in Rebhana's wiki. I have found it very useful.

http://wiki.maemo.org/User_talk:Rebhana

psychologe 2011-05-06 17:11

Re: Easy Debian Fremantle Beta Testing
 
hi qole,i use easy-debian 0.99.5,and install mplayer in chroot:apt-get install mplayer.
the suggest:"27 upgraded ,42 newly install....do you want continue(y/n)?
i input "y" and enter,
when set up some package.my n900 will reboot



hi Sash, do you overclock the CPU?
when i overclock ,decompress the Images will reboot n900.but when use 600MHZ ,can success decompress...

TiagoTiago 2011-05-06 17:21

Re: Easy Debian Fremantle Beta Testing
 
I uninstalled Power Kernel and still couldn't install the image :(

Estel 2011-05-20 22:39

Re: Easy Debian Fremantle Beta Testing
 
My uneducated and totally intuitive suggestion for people having problems during swapoff is to enable swap on microsd first, i.e. "swap refreshing" procedure should look as follow:

swapon mmcblk1p2
swapoff mmcblk0p3
swapon mmcblk0p3
swapoff mmcblk1p2

Of course You NEED to have a swap partition on Your SD card, but it may be even just few megabytes. Going back to my totally unchecked and not proofed (cause I'm unable to replicate that sort of reset when swapoff) ideas, i think that swapoff hard way without enabling swap elsewhere may drive some critical processes mad - but only in certain circumstances, i.e. not always reproduceable. then, of course, watchdogs perform reset.

By the way, and what may be even more important - using swap (normal 768 Mb, not few-megabytes variant only for refreshing) exclusive on microSD and tweaks as discussed on thread mentioned by qole (last pages, first post is outdated), I got 0 problems with reboots/crashes/whatever, no matter how big file i test.

anyway, i think that it may be worth to mention (again in topic about I/O improvement) recent discoveries about MyDocs exclusive involvement in I/O problems - maybe that is something with vfat module or whatever related to vfat? I wonder if someone who got MyDocs reformatted to ext3 - for example - got the same problems.

qole 2011-05-20 23:12

Re: Easy Debian Fremantle Beta Testing
 
Eero Tamminen of Nokia blames "your program" for causing all the problems. Apparently if "your program" doesn't have a workaround for the N900's idiosyncratic way of caching data?

Quote:

Ok, so your copy program is causing "swapping hell" by poisoning page cache and pushing all processes to swap.

Do copies with the file manager or gnome-vfs (which has been fixed to tell kernel that that all the data it's copying doesn't need to be cached) instead of cp / dd.
As I said in the bug report I link to below, I would love a little app that "tells the kernel" to stop caching data for any arbitrary command or shell session, the way you can run "time <command>" or "tsocks <command>". It would be cool to be able to run, "nocache lzma "


https://bugs.maemo.org/show_bug.cgi?id=9353#c18

debernardis 2011-05-21 05:22

Re: Easy Debian Fremantle Beta Testing
 
This is interesting. I have had tragic crashes with file system corruption when trying to copy many files or just one big file with cp.
Now I'd like to know how to copy with gnome-vfs.

Estel 2011-05-22 00:24

Re: Easy Debian Fremantle Beta Testing
 
Yea, i also follow this bug report from the very beginning. I think that by "your program", Eero mean "copy program" (that is exactly what he said in your citation), i.e he blame cp / dd. Other way, it not make any sense... So, should we rise bug against cp / dd, or what? And, anyone confirmed that using gnome-vfs really solve issues 100% times?

Storm_11 2011-05-22 13:18

Re: Easy Debian Fremantle Beta Testing
 
for all the people having decompression problems, instead of relying on the n900 to decompress the image, I instead decompressed it on a pc using 7zip. I too had the crash whilst decompressing.

Install steps I took:
- install the easy debian app from the application manager
- from your desktop computer, go to
http://qole.org/files/

and download either

debian-m5-v3d.img.ext2.lzma or debian-m5-v3e.img.ext2.lzma
depending if you want the v3e or v3d image

Open and extract this using 7zip.

Copy and then paste onto your n900 in the root directory.

Then just run the easydebian apps that you require (no need to do the deb img install)

Didnt see this posted elsewhere

qole 2011-05-22 16:06

Re: Easy Debian Fremantle Beta Testing
 
I really want to hear back from those using the newest 0.9.56 from Extras-Devel: Does the new installer fix your problem or cause a reboot just before decompression?

For me, the new version was the "magic bullet" but some people are having new problems with it (reboot before starting decompression).

debernardis 2011-05-22 16:24

Re: Easy Debian Fremantle Beta Testing
 
I didn't know how powerful gnomevfs was... and it has always been on our n900! See here: http://www.linux.com/archive/feature/130834

On my install I have:
gnomevfs-cat gnomevfs-info gnomevfs-monitor
gnomevfs-copy gnomevfs-ls gnomevfs-mv
gnomevfs-df gnomevfs-mkdir gnomevfs-rm

Should be enough for common file operations.

There are also the following modules:
ls /usr/lib/gnome-vfs-2.0/modules/
libcaselessfile.so libgzip.so libtar.so
libdns-sd.so libhttp.so libupnpav.so
libftp.so libnetwork.so libvfs-test.so

Alan, maybe if your image file is gzipped instead that lzma-ed you could uncompress it with gnomevfs and have no crashes?

mscion 2011-05-23 12:33

Re: Easy Debian Fremantle Beta Testing
 
I was wondering why I do not have the reboot problem. The only really strange thing that happens is when I try to download a program from the debian repositories and I do not have enough space. This corrupts some files that I am not able to delete. My solution is to either copy over a backed up image or download and install a new one. (I've done both) I have not had any reboot issues. So my question is, what have I not done that everyone else has that leads to the rebooting problem?

Estel 2011-05-23 16:24

Re: Easy Debian Fremantle Beta Testing
 
Try to answer us Yourself ;) do You use Swappolube? Or modified any i/o settings Yourself/by hawaii early scripts/whatever? Or, maybe You use/don't use microSD card of non standard properties?

mscion 2011-05-23 18:46

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Estel (Post 1013643)
Try to answer us Yourself ;) do You use Swappolube? Or modified any i/o settings Yourself/by hawaii early scripts/whatever? Or, maybe You use/don't use microSD card of non standard properties?

Hi. I had mentioned this a bit earlier

http://talk.maemo.org/showpost.php?p...postcount=2248

http://talk.maemo.org/showpost.php?p...postcount=2250

As you can see, I'm not that adventuresome by most standards!
Anyways, I'd be happy to try some suggestions if it can help whittle down possible causes. I'll check my microSD card and get back to you.


EDIT. For what it's worth, I'm using a Scan Disk 8GB microSD HC.
I have never downloaded the compressed Debian image directly to the microSD, but I have copied the Debian image (uncompressed) back and forth from microSD and MyDocs.

Estel 2011-05-24 17:37

Re: Easy Debian Fremantle Beta Testing
 
That may be useful info - Eero from Nokia suggested, that either copying or extracting program is causing "swapping hell". Because more people got issues with Easy Debian autoinstall, than when copying huge files (like You did), i think that we're closer to source of problems than even before.

debernardis suggestion about using different storage method may be solution to all Easy Debian problems - also, in higher picture, we may make announcement suggesting to not use "poisoned" extracting methods to avoid these bugs. Maybe even someone someday will fix it like Eero suggested, or we'll be able to open another, more precise bug report, if this turns out to be "Nokia fault".

mscion 2011-05-24 23:47

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Estel (Post 1014561)
That may be useful info - Eero from Nokia suggested, that either copying or extracting program is causing "swapping hell". Because more people got issues with Easy Debian autoinstall, than when copying huge files (like You did), i think that we're closer to source of problems than even before.

debernardis suggestion about using different storage method may be solution to all Easy Debian problems - also, in higher picture, we may make announcement suggesting to not use "poisoned" extracting methods to avoid these bugs. Maybe even someone someday will fix it like Eero suggested, or we'll be able to open another, more precise bug report, if this turns out to be "Nokia fault".

Ok, as a double check and since I had recently reinstalled open office (over 200 mb I think), I decided to copy the debian image on MyDocs to the microSD as back-up tonight. The image is 2 GB and it took about 1 hour and 15 minutes to copy. No rebooting and as far as I can tell no problems.

anthonie 2011-05-25 07:33

Re: Easy Debian Fremantle Beta Testing
 
@qole

Do you reckon there´s any chance running bodhi on your easy debian scripts? And if so, what would I need to do to achieve that?

Estel 2011-05-25 17:19

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 1014774)
The image is 2 GB and it took about 1 hour and 15 minutes to copy. No rebooting and as far as I can tell no problems.

Quite long. It is 0.44 MB/s. Seems to be below eMMC/microSd performance cap.

mscion 2011-05-26 01:32

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Estel (Post 1015260)
Quite long. It is 0.44 MB/s. Seems to be below eMMC/microSd performance cap.

This has always been the case. Should it be about 10 times faster?

qole 2011-05-26 17:43

Re: Easy Debian Fremantle Beta Testing
 
Hi mscion,

Can you try my 0.9.56 suggestion (quoted below) and then try copying the file again? It should copy much more quickly.

Quote:

Originally Posted by qole (Post 995165)
Ok version 0.9.56 adds a second script, nr_requests_setup, that seems to fix the decompression problem even when Swappolube is disabled.

So now you have to run two commands the first time (after a reboot):
Code:

sudo nr_requests_setup
sudo swapoffon

After that, each time you are about to do something "big", just issue the "sudo swapoffon" command.


mscion 2011-05-27 00:55

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 1016178)
Hi mscion,

Can you try my 0.9.56 suggestion (quoted below) and then try copying the file again? It should copy much more quickly.

Hi qole. For some reason I do not see 0.9.56. Only 0.9.55. I checked extras, extras-devel, and extras-testing....

qole 2011-05-28 04:10

Re: Easy Debian Fremantle Beta Testing
 
I have no idea how the new version didn't get uploaded, and how I didn't realize it didn't get uploaded until now...

So I've uploaded it again. Let's try it now...

This means that nobody has tested this version. Maybe it will fix the reboots after all...

mscion 2011-05-28 15:59

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 1017148)
I have no idea how the new version didn't get uploaded, and how I didn't realize it didn't get uploaded until now...

So I've uploaded it again. Let's try it now...

This means that nobody has tested this version. Maybe it will fix the reboots after all...

Ah! Well this is much better! It took about 12 to 15 minutes to copy the easy debian image. At least a factor of 5 improvemnt. So now the performance, when copying to my micorSD is better than 2mb/s.

I tried to see if this update would improve performance of OO.o. Unfortunately, the load times did not change significantly. But, it seemed that when I tapped OO.o buttons (like file) the response was better. Usually I have to tap it several times for the options menu to come up, which can be annoying at times. Now it comes up soon after a single tap. Could this update be responsible for the better response? It did not seem as if loading time of a document was any better. Perhaps the bottleneck here is the 256mb ram. Too bad the n900 didn't come with 512mb!

Since I never had the reboot problem I cannot tell if this fix takes care of it. Someone else will have to check.

Estel 2011-05-29 18:40

Re: Easy Debian Fremantle Beta Testing
 
I think that this can't be related, cause swapon/swapoff help to decompress and copy image, according to changelog, chrot/image wasn't changed.

I have different question for You qole - sorry if its dumb, but I'm by no means expert on this topic:

Is there any chance to overpass new gconf compatibility problems? I would love to install LibreOffice instead Oo amongst other things, but when i tried, many programs (including LO) suffer menu problems (strange characters or "---" lines instead of any menu text).

It' a chance that anytime soon we won't be "doomed" to use lenny/squezee/wheezy mix?


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

vBulletin® Version 3.8.8