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)

leetnoob 2011-02-17 22:34

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 949245)
Hi, Not sure if this is retated to your issue but I have not had a problem with corrupted files or the phone rebooting since I have carefully kept track of memory usage and religiously doing apt-get clean when ever I install or update. I just upgraded OO from sid yesterday with no problem using synaptic.

are you on pr1.3? do you mean apt-get clean on memo or easy debian? what do you mean you have kept track of memory usage, do you mean disk space usage?

thanks for the response, youre giving me hope..

DrSteve 2011-02-17 22:52

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 949245)
Hi, Not sure if this is retated to your issue but I have not had a problem with corrupted files or the phone rebooting since I have carefully kept track of memory usage and religiously doing apt-get clean when ever I install or update. I just upgraded OO from sid yesterday with no problem using synaptic.

I have thus far had issues with R (r-base), inkscape, and gnumeric.

leetnoob 2011-02-18 01:16

Re: Easy Debian Fremantle Beta Testing
 
1 Attachment(s)
ha ha! I've fscking solved the problem. basically apt-get pegs the cpu @100 percent, chokes the phone and the phone reboots as a result.

the solution is to use the "nice" command to run apt-get at a lower priority. I used the following command to install evolution

nice -n 15 apt-get install evolution

this runs apt-get at only 25 percent priority and gives the phone a chance to breathe. the installation was pretty rocky and i though it was dead at times but it always came back to life. it took a time to become responsive again after the installation.

i'm going to try nice -n 19 now which is the lowest priority you can go.

I suggest future updates to easy debian use the NICE command to run synaptic.

I've attached a screenshot of evolution which i never thought i'd see!

edit: if qole isn't haven't any problems with his power kernel, is it possible he's overclocking and getting around the saturated cpu problem that way without realising it?

mscion 2011-02-18 01:34

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by leetnoob (Post 949258)
are you on pr1.3? do you mean apt-get clean on memo or easy debian? what do you mean you have kept track of memory usage, do you mean disk space usage?

thanks for the response, youre giving me hope..

I am using pr1.3 Part of the problem may be that pr1.3 is less forgiving when you fill memory than the previous version. At least that seems to be the case for me. Anyways, try debian chroot. Do a df -h to see the memory usage in debian. I think the h stands for human. That is, the information is in megabytes so even I can under stand it! When you try installing software in debian /dev/loop0 can easily get filled. If you now try apt-get clean you should see some space clear up. Hopefully that helps and you can now install the software.

EDIT: Missed your post. Glad you found a solution.

sulu 2011-02-18 08:04

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by DrSteve (Post 949204)
What's the best backup solution? rsync? I think sulu had recommended that earlier (see, I do read this thread).

Not sure if rsync is the best backup solution, but so far it works fine for me. I have a copy of a known working image on my N900 which I update if something mayor has changed in my ED working image and I have a 2nd image ion my laptop.

Quote:

Originally Posted by DrSteve (Post 949273)
I have thus far had issues with R (r-base), inkscape, and gnumeric.

I neither use r-base nor inkscape, but I have gnumeric installed and it works fine.
I run PR 1.3 and ED (v3e) from the first day and power kernel from extras (stable) repository (v42?) from the 2nd day (overclocked to 850MHz based on ideal preset), so I can't compare to a stock kernel or earlier ED versions. The only problem I have identified is that one must not upgrade libncurses5 to squeeze.

rebhana 2011-02-18 09:31

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by leetnoob (Post 949363)
i'm going to try nice -n 19 now which is the lowest priority you can go.

Have you also tried the default value 10? Is that not enough? (Would save some typing and would be "nicer" to remember.)

rebhana 2011-02-18 09:53

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by leetnoob (Post 949247)
it's ok so long as you just want to install small trivial apps, but as far as installing anything useful, forget it.

I'm glad you had this idea about renicing, but actually I have installed quite a lot without the reboot problem, though on a phone that had not much else to do otherwise.

mscion 2011-02-18 13:27

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 949575)
I'm glad you had this idea about renicing, but actually I have installed quite a lot without the reboot problem, though on a phone that had not much else to do otherwise.

Interesting if using nice is a good safety measure for large downloads although I don't quite understand why. According to synaptic, evolution takes up about 75mb for download and eventually uses up about 175mb once installed. I too have installed much larger software without a problem. I can't try installing evolution right now because I don't have the space (need to do some house cleaning!). Can try later but if anyone has success without using nice I'd like to know.

DrSteve 2011-02-18 15:35

Re: Easy Debian Fremantle Beta Testing
 
Where do you put the backup image? Does it matter?

leetnoob 2011-02-18 21:48

Re: Easy Debian Fremantle Beta Testing
 
hum.. not completely out of the woods yet. i found an install that still reboots the phone even with the 'nice' hack, a samba browser , package name : 'smb4k'.

the research continues. the next thing i'll look at is to see if tracker is making things worse as i have my suspicions that it is.

leetnoob 2011-02-18 21:54

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 949558)
Have you also tried the default value 10? Is that not enough? (Would save some typing and would be "nicer" to remember.)

i'm still experimenting, nice -19 doesnt seem to work, which seems counter intuitive to me, but it takes time to experiment as i have to do a restore and start over after each crash/failure.

qole 2011-02-18 22:19

Re: Easy Debian Fremantle Beta Testing
 
leetnoob: congrats at finding the problem. I've never noticed my Debian apt-get pegging the cpu like that, but I've always run it from the command line, never from Synaptic. And it does tend to bog down the phone, but I usually just let it run and I go off and do other stuff.

I've only very recently started experimenting with overclocking my N900, and only when I want to do video recording or Gimp photo editing. Then I boost the CPU's frequency, but, more importantly, I switch from "on demand" to "user space", which seems to be the N900 equivalent of the N8x0's "performance mode".

EDIT: (you probably have, but) Have you tried using fsck both on the MyDocs partition and on the image file?

debernardis 2011-02-19 08:03

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 950108)
I've only very recently started experimenting with overclocking my N900, and only when I want to do video recording or Gimp photo editing.

Be careful with OC'ing with video recording. This has been for sure the buggiest thing - at least in my hands - and it's been quite likely that as a result you either lose your video or corrupt one or more of your file systems.
I shoot videos only at 250-600 MHz.

mscion 2011-02-19 13:14

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by debernardis (Post 950298)
Be careful with OC'ing with video recording. This has been for sure the buggiest thing - at least in my hands - and it's been quite likely that as a result you either lose your video or corrupt one or more of your file systems.
I shoot videos only at 250-600 MHz.

Hi. Does overclocking significantly improve the performance of open office? Starting writer using the icon and opening documents is still a pretty long process.

leetnoob 2011-02-19 23:57

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 950108)
EDIT: (you probably have, but) Have you tried using fsck both on the MyDocs partition and on the image file?

fsck was a good idea, but didn't work unfortunately. i've gone back to the original v3d image now and am trying to install 'smb4k' on it and it consistently crashes the phone.

i've tried running it from internal memory, running off the external card, various values for 'nice' , i even replaced dpkg with a perl script which had a 'sleep 10' command before it passed control to the real but renamed dpkg. all to no avail.

can you confirm that you yourself can actually install 'smb4k' and if you can, we can compare phones/installed apps etc., because it's possible that some of us have installed an app that conflicts with easy debian.

qole 2011-02-20 04:42

Re: Easy Debian Fremantle Beta Testing
 
leetnoob: Another possibility is that smb4k or one of the things it depends upon might be restarting services that trigger the N900's watchdog to reboot the phone.

leetnoob 2011-02-20 18:17

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 950836)
leetnoob: Another possibility is that smb4k or one of the things it depends upon might be restarting services that trigger the N900's watchdog to reboot the phone.

i gave up on smb4k and tried to install another samba browser called 'komba2', and here's what i found:

if i install using synaptic it works without rebooting the phone, but only if i tick 'prefer packages from stable', i was also able to install evolution without any 'nice' hack by doing this. so i'm begining to wonder if this is a problem with synaptic taking higher but unstable versions of packages from the unstable squeeze repository by default when squeeze needs to be enabled. same for flakey sid repository i guess... also unticking 'install recommended packages' cuts down the risk of a reboot. this last one needs to be unticked everytime you start synaptic.

VicUser 2011-02-20 18:59

Re: Easy Debian Fremantle Beta Testing
 
My apologies if this problem has been addressed before, but I conducted a search on this thread, and I read the wiki, and didnt see it.

I have the virtual keyboard running on my n800/Diablo. The keyboard is there, covering the bottom third of my screen. However, in Iceweasal, Epiphiny, or Open Office Writer, when I use the stylus to click on a letter, nothing happens. The cursor is blinking, the stylus is able to function as a mouse and even click on links within the browsers, but the keyboard isn't working.

Ideas?

tpaixao 2011-02-20 19:38

Re: Easy Debian Fremantle Beta Testing
 
guys, I'm having a hard time trying to install xournal for easydebian.
I tried to install it from the lenny repos, but synaptic can't find poppler-utils. when I try the squeeze version, everything is found but I get this error on the post-install:

unable to create `/usr/share/mimelnk/application/x-xoj.desktop.dpkg-new' (while processing `./usr/share/mimelnk/application/x-xoj.desktop'): Input/output error

can anyone help with this? I really don't know what to do...
thanks

rebhana 2011-02-20 22:09

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by leetnoob (Post 951177)
i gave up on smb4k and tried to install another samba browser called 'komba2', and here's what i found:

if i install using synaptic it works without rebooting the phone, but only if i tick 'prefer packages from stable', i was also able to install evolution without any 'nice' hack by doing this. so i'm begining to wonder if this is a problem with synaptic taking higher but unstable versions of packages from the unstable squeeze repository by default when squeeze needs to be enabled. same for flakey sid repository i guess... also unticking 'install recommended packages' cuts down the risk of a reboot. this last one needs to be unticked everytime you start synaptic.

Actually, by now squeeze is stable and lenny is oldstable. Nevertheless, I always install from lenny unless there's a particular reason, so that's probably why I had only few problems with reboots - only when I installed a lot of stuff at once did I encounter them.

In the new sources.list file, squeeze is enabled out of the box. So this is probably the cause of the problem. Also, in squeeze, apt-get changed its behavior to install by default with recommends, unlike in lenny.

However, in the long run it would be good to find out what needs to be done to make Easy Debian work well with squeeze.

rebhana 2011-02-20 22:15

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by tpaixao (Post 951216)
guys, I'm having a hard time trying to install xournal for easydebian.
I tried to install it from the lenny repos, but synaptic can't find poppler-utils. when I try the squeeze version, everything is found but I get this error on the post-install:

unable to create `/usr/share/mimelnk/application/x-xoj.desktop.dpkg-new' (while processing `./usr/share/mimelnk/application/x-xoj.desktop'): Input/output error

can anyone help with this? I really don't know what to do...
thanks

I have installed xournal from squeeze, though it's a while ago.

The error you are getting sounds like a more fundamental problem. Do you have enough space in your image left? See my personal wiki page (below) for suggestions regarding that.

tpaixao 2011-02-20 22:28

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 951303)
I have installed xournal from squeeze, though it's a while ago.

The error you are getting sounds like a more fundamental problem. Do you have enough space in your image left? See my personal wiki page (below) for suggestions regarding that.

I don't think space is an issue, since I haven't installed anything else on top of plain easy debian...
Could my image be corrupted?

leetnoob 2011-02-20 23:28

Re: Easy Debian Fremantle Beta Testing
 
yeah, i think if you stick with lenny you have less reboots, but i also think once you've been tainted by by a bad squeeze package you seem tainted forever. i'm now able to download stuff from lenny that i couln't before. i'm also able to download packages that another poster said reboots their phone, namely gnumeric and rcalc. i might look into downloading the latest stable version of gconf2 to see if that makes a difference.

qole 2011-02-20 23:37

Re: Easy Debian Fremantle Beta Testing
 
I'm pretty sure gconf2 needs to be left alone due to incompatibility with Maemo in recent versions. But if you get it working, tell us!

DrSteve 2011-02-20 23:59

Re: Easy Debian Fremantle Beta Testing
 
Using nice on an apt-get install of gnumeric worked this time. I will rsync the image again and try inkscape.

mscion 2011-02-21 01:12

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by DrSteve (Post 951371)
Using nice on an apt-get install of gnumeric worked this time. I will rsync the image again and try inkscape.

I installed gnumeric with synaptic. No nice needed.
BTW has anyone ever negative niced a job? :)

bkkick 2011-02-21 01:50

Re: Easy Debian Fremantle Beta Testing
 
1 Attachment(s)
I got problem to start Debian chroot. Everytime i click on debian chroot icon to start it it show an ez chroot error massage..

Attachment 17813

qole 2011-02-21 02:13

Re: Easy Debian Fremantle Beta Testing
 
bkkick: You haven't "unzipped" your image yet. It is still compressed (note the .lzma extension). Re-run the installer.

VicUser 2011-02-21 03:13

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by VicUser (Post 951198)
My apologies if this problem has been addressed before, but I conducted a search on this thread, and I read the wiki, and didnt see it.

I have the virtual keyboard running on my n800/Diablo. The keyboard is there, covering the bottom third of my screen. However, in Iceweasal, Epiphiny, or Open Office Writer, when I use the stylus to click on a letter, nothing happens. The cursor is blinking, the stylus is able to function as a mouse and even click on links within the browsers, but the keyboard isn't working.

Ideas?

So... no one has suggestions?

qole 2011-02-21 04:25

Re: Easy Debian Fremantle Beta Testing
 
VicUser, you are in the wrong thread; you are using the Diablo version, and you should search through and ask in the appropriate thread.

bkkick 2011-02-21 15:38

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 951450)
bkkick: You haven't "unzipped" your image yet. It is still compressed (note the .lzma extension). Re-run the installer.

could you explian how i can unzipp the image.. thanks:)

rebhana 2011-02-21 15:47

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by bkkick (Post 951929)
could you explian how i can unzipp the image.. thanks:)

Re-run the installer means you should click again on the Deb Img Install icon.

bkkick 2011-02-21 16:31

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 951939)
Re-run the installer means you should click again on the Deb Img Install icon.

I clicked on the Deb img install icon but it starts download a new deb img which i already got saved in my memory card..

bkkick 2011-02-21 23:45

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by bkkick (Post 951968)
I clicked on the Deb img install icon but it starts download a new deb img which i already got saved in my memory card..

I have install full Easy Debian on my n900 but the Debian Chroot does not work. Everytime i try to open Debin chroot it appear an error massage as i have shown the image on the above..

Any idea how to fix it..?

qole 2011-02-22 01:58

Re: Easy Debian Fremantle Beta Testing
 
bkkick: If you have the compressed image file (the lzma file) on your memory card, and you run the installer, choose the same image file, and choose the same location, it will (1) check to make sure your file is good, and if it is, it will (2) decompress the file. If the file is damaged or incomplete the installer will (2) try to finish downloading the image file then (3) decompress the file.

This will take a long time. Be patient.

sulu 2011-02-22 09:09

Re: Easy Debian Fremantle Beta Testing
 
@bkkick:
If your download of the image is complete and just the unlzma from within the ED installer failed you can also uncompress the image by invoking:
Code:

unlzma IMAGE_NAME
It might also be useful to not unlzma the image on your N900 but on your regular computer and then transfer the uncompressed image to your N900. This might be faster if you have a fast computer.

VicUser 2011-02-23 01:53

Re: Easy Debian Fremantle Beta Testing
 
"VicUser, you are in the wrong thread; you are using the Diablo version, and you should search through and ask in the appropriate thread."

My apologies, will repost there.

leetnoob 2011-02-24 12:15

Re: Easy Debian Fremantle Beta Testing
 
for those suffering from the "installing causes reboot" problem, the following dramatically reduced the chance of a reboot for me:

1. unmout easy debian
2. fsck.ext2 <your easy debian file>
3. if step 2 produces errors go back to a previous backup that is clean, or the original image
4. install only using synaptic
5. synaptic doesn't remember your setting, so every time you start it, reset the following settings:
A. settings->preferences->GENERAL->consider recommended packages as dependencies-> UNTICK THIS
B. settings->preferences->FILES->delete downloaded packages after installation->TICK THIS , and press the DELETE CACHED PACKAGES button
C. settings->preferences->DISTRIBUTION->prefer versions from TESTING (make sure 'prefer highest version' is not set as this is what causes most reboots in my opinion
D. press OK and you should be good to go.

After you have installed some software, umount easy debian , fsck it as above and if it's clean back it up. keep doing this and when you hit some software that reboots your phone while installing, consider your easy debian installation broken and restore the last backup.

Simples:-)

rebhana 2011-02-24 19:47

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by leetnoob (Post 954461)
for those suffering from the "installing causes reboot" problem,

I had reboot problems only when, upgrading vom v3d to v3e, I tried to install lots of packages I wanted in one go. Doing them individually, I then didn't encounter this problem again - but of course I learnt my lesson and I do backups of images that work so that I don't have to start from square one. I'm however not using synaptic, but prefer having full control from the command line:
Code:

apt-get update
apt-get install --no-install-recommends ...
apt-get clean

To control from which distribution the packages are taken, I always edit $CHROOT/etc/apt/sources.list by hand, disable squeeze whenever there is no particular reason to have newer packages than oldstable=lenny.

leetnoob 2011-02-24 19:52

Re: Easy Debian Fremantle Beta Testing
 
really lame question: how do i chage the desktop image in easy debian? I've tried nirogen but the desktop always changes back to "press ctrl-back to return" whenever i start it again..


All times are GMT. The time now is 15:34.

vBulletin® Version 3.8.8