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)

rebhana 2010-12-12 17:18

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 895334)
rebhana: if calibre produces a pulse-related error until you upgrade, then there's no way around it: the hacked-in maemo libpulse is causing the error; you're going to have to choose, working pulse audio or debian squeeze calibre.

Does the lenny version of calibre show the same problem? Can you use that version?

There is no lenny version of calibre unfortunately.

In fact, sound is not really important for me under Easy Debian, but just in case I keep two images, one with sound and one with extra stuff that breaks sound.

rebhana 2010-12-12 17:29

Re: Easy Debian Fremantle Beta Testing
 
I have in fact a slightly more important problem (not related to v3e):

Easy Debian allows me to use vpnc to access the internal network of my workplace, and it works like a charm as long as I am on wifi. I can use ssh as well as the browser in VPN mode. However, when under gprs, only ssh works, but http no longer.

WhiteWolf 2010-12-12 18:17

Re: Easy Debian Fremantle Beta Testing
 
Can anyone help me get the openoffice full screen display? Calling from the list of applications of N900.

rebhana 2010-12-12 18:29

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by WhiteWolf (Post 895370)
Can anyone help me get the openoffice full screen display? Calling from the list of applications of N900.

If you activate "Set Deb HW Keys" from the list of applications, either before or during your OO session, you have full screen toggle through Ctrl+Space, plus access to function keys F1-F12.

WhiteWolf 2010-12-13 00:28

Re: Easy Debian Fremantle Beta Testing
 
Thanks... I will test

mscion 2010-12-13 02:49

Re: Easy Debian Fremantle Beta Testing
 
Hi, I'm having a problem reinstalling programs on v3e that I had made symbolic links for (following Rebhana's wiki) inorder to make more room for other downloads. For example if I now try to ls -l the file, say texmf, I get the error "Stale NFS file handle" This error appears when I run apt-get so that the program does not install. Is there a way to get rid of these "stale" files? There probably is a work around where I go up a directrory and shuffle things around until the stale files are not a problem but I was wondering if there was a direct way to permanently remove them. Perhaps fsck is needed here?

A follow up question: To avoid this problem should I have unlinked all these programs before installing a new image?

Thanks for your help!

rebhana 2010-12-13 06:47

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 895613)
Hi, I'm having a problem reinstalling programs on v3e that I had made symbolic links for (following Rebhana's wiki) inorder to make more room for other downloads. For example if I now try to ls -l the file, say texmf, I get the error "Stale NFS file handle" This error appears when I run apt-get so that the program does not install. Is there a way to get rid of these "stale" files? There probably is a work around where I go up a directrory and shuffle things around until the stale files are not a problem but I was wondering if there was a direct way to permanently remove them. Perhaps fsck is needed here?

A follow up question: To avoid this problem should I have unlinked all these programs before installing a new image?

Thanks for your help!

Interesting! I ran into exactly the same problem yesterday, however before having moved out things and soft-linking them. In my case I suspect that I have prematurely stopped a run with apt-get. It happened actually twice. Once, the device appeared completely unresponsive, so I rebooted, at another occasion it rebooted by itself in the middle of installing a large set of Debian packages. After that I had corrupted files in /var/lib/dpkg/updates which I could not remove. I had to delete the whole image and start all over. I never had such problems before - perhaps it's due to PR1.3 or my internal memory card is getting worn out. However, fsck.vfat didn't find anything wrong, perhaps fsck.ext2 within the image could have resolved it.

At any rate, it's crucial that apt-get is allowed to finish its job. When the device seems to become unresponsive, be patient and don't just shut it down (if that's how it happened to you). Beats me, however, why the file system error should look like NFS problems to the kernel.

WhiteWolf 2010-12-13 14:44

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 895382)
If you activate "Set Deb HW Keys" from the list of applications, either before or during your OO session, you have full screen toggle through Ctrl+Space, plus access to function keys F1-F12.

I have worked.

Thank you very much.

greboide 2010-12-13 15:16

Re: Easy Debian Fremantle Beta Testing
 
hi ive had some problems with stale files also, it is a reproducible bug as it happens whenever the system reboots unexpectedly when installing something big like xulrunner or some such.

ive tried to bake up my own image using ext4 cause fsck.ext2 wasnt working on the affected vanilla image although it worked after i modified the mounting script to handle ext4 its fsck doesnt work either so could something like reiser be more recommended here?

also when installing initial image only options are MyDocs and SD but MyDocs here is only 2GB and i need it to install on /home partition, am gonna try to alter the script do you want my contributions back?

mscion 2010-12-13 18:20

Re: Easy Debian Fremantle Beta Testing
 
Also had the unexpected reboots. I basically decided to uninstall everything from easy debain and start over (except for saving some set-up files like .xbindkeysrc). I no longer see any stale files and can download applications I previously couldn't..

qole 2010-12-14 00:15

Re: Easy Debian Fremantle Beta Testing
 
greboide: I am always appreciative of patches to my scripts.

I believe these reboots are a regression in PR 1.3, something to do with intensive disk I/O. I'd file a bug, but honestly, does anyone believe Nokia will offer a fix?

I switched to the latest Power Kernel and I haven't noticed any reboots since. I am going to try downloading the image again and see if it reboots...

Radicalz38 2010-12-14 21:11

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 896269)
greboide: I am always appreciative of patches to my scripts.

I believe these reboots are a regression in PR 1.3, something to do with intensive disk I/O. I'd file a bug, but honestly, does anyone believe Nokia will offer a fix?

I switched to the latest Power Kernel and I haven't noticed any reboots since. I am going to try downloading the image again and see if it reboots...


while(!PR1.4){
if(Software = 'Nokia') {
fix = false;
}else {
chance = rand(1,10);
if(chance > 6) fix = true;
}
}

:p

mscion 2010-12-15 00:55

Re: Easy Debian Fremantle Beta Testing
 
Well... I think it rebooted when I tried to install cadabra. Running "dpkg --configure -a" showed there were new stale files in /var/lib/dpkg/updates. Synaptic cannot be used until this is fixed although cadabra appeared to work.

So I moved the directory updates to updates_stale and made a new updates directory. I also copy back the files in update_stale to updates as the stale files will not copy

I then ran "dpkg --configure -a" again and got the message

set up /usr/lib/libpulsecommon-0.915 so that it is not a common link.
Synaptic works now.

Any ideas why this happens?

EDIT: Actually it is not working. I get an error concerning empty file name when trying to reinstall a file (texlive-latex-recommended-doc). I'm not allowed to proceed unless this is first fixed. I may have to start from scratch again...

rebhana 2010-12-15 09:19

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 897055)
I may have to start from scratch again...

If you have enough space on your device, make backups of the Debian image when it's still uncorrupted so that you don't have to start from square one when it happens again. Or backup through USB!

azstunt 2010-12-16 00:55

Re: Easy Debian Fremantle Beta Testing
 
Just a general suggestion, I've mapped control + comma to behave as Alt + tab for window cycling.

To do so, just edit the file ~/.config/openbox/lxde-rc.xml , search for the line "<keybind key="A-Tab">" and change it to "<keybind key="C-comma">".

gm90_blackmamba 2010-12-16 21:22

Re: Easy Debian Fremantle Beta Testing
 
hi qole, i have the same problem of mscion, in particular when i try to install vlc or i try to upgrade same installed package the debian shutdown and n900 reboots..I tried to reinstall debian or download again the image but it's all useless...

avidscavenger 2010-12-17 01:13

Re: Easy Debian Fremantle Beta Testing
 
I have a further question about locales - running 'dpkg-reconfigure locales' was fine for generating the one(s) I need, but the default locale was still inherited from Maemo's settings, which was causing some python scripts to fail with codec errors. I found I could override them using Easy-Debian's /etc/environment (or /.debian/etc/environment):

Quote:

LC_ALL=en_AU.UTF-8
Can anyone tell me whether this is the 'right' way to accomplish this?

mscion 2010-12-17 15:50

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by gm90_blackmamba (Post 898350)
hi qole, i have the same problem of mscion, in particular when i try to install vlc or i try to upgrade same installed package the debian shutdown and n900 reboots..I tried to reinstall debian or download again the image but it's all useless...

I tried reloading everything I had before and I am pretty much up to speed now. I did not have a problem with reboots this time. It may be I ran out of space and the upgraded operating system is less forgiving when you are not so careful. The biggest program I added was cadabra which uses about 400mb and upgrades some of the texlive programs. vic in itself is not a huge program so I'm not sure what happened. Perhaps files were already corrupted from a previous download. Gathering from the other threads, there may be some systemic problems using apt-get with PR1.3, but, In my case it was important to monitor free space and to heed rebhana's words to constantly do an apt-get clean!

ammuvi 2010-12-18 12:11

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 890866)
Oops! I forgot from key definitions in .xbindkeysrc I could use "Shift+Mod5+Left" to esc.... no problem with media player now.

hai friend iam also same problem,i need your help to solve this problem.please explain what is Mod5 key.

mscion 2010-12-18 16:53

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by ammuvi (Post 899335)
hai friend iam also same problem,i need your help to solve this problem.please explain what is Mod5 key.

It's the blue arrow key.

ammuvi 2010-12-19 06:16

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 899490)
It's the blue arrow key.

THANKS.
yes my problem was solved.
friends please note,if any one facing the same problem(to find esc key in debbian) than do the following steps.
1.open the office writter
2.next open SET DEB HW KEYS in applications menu(allready downloaded with debbian package)
3.come to office writter and press the keys
FN(blue arrow key)+SHIFT KEY+LEFT KEY
4.NOW esc function in debbian working
(sorry for my bad english).
IAM THANKS TO "QOLE" FOR DEVELOPED THIS WONDERFULL APPLICATION.MY ADVANCED WISHES TO YOU FOR DEVELOPPING MANY APPLICATIONS LIKE THIS.
(I requested to maemo community ,please post step by step instructions about trouble shooting like this.because so many guys are newer one for linux like me)THANKS TO MAEMO COMMUNITY.

qole 2010-12-19 08:59

Re: Easy Debian Fremantle Beta Testing
 
I ran the installer with the power kernel installed, and it took a long time (as usual), 1h 20 mins to extract, but no reboot this time. I wonder if I should depend upon the power kernel?

rebhana 2010-12-19 10:48

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 899833)
I ran the installer with the power kernel installed, and it took a long time (as usual), 1h 20 mins to extract, but no reboot this time. I wonder if I should depend upon the power kernel?

I don't think you should have easy-deb-chroot depend on power kernel, but a recommendation on the package page might be useful.

However, 1h20min is really too long. How much of it was for file download and how much for unpacking? Last time I did the extraction on the device (and not on a Linux PC with subsequent transferral by USB) it took only
Code:

Nokia-N900-42-11:/home/user/MyDocs/core-dumps# time lzma -d debian-m5-v3d.img.ext2.lzma

real    7m 32.66s
user    3m 34.14s
sys    0m 35.03s

That was with image v3d, vanilla kernel in PR1.2, and everything put in the directory MyDocs/core-dumps, to avoid issues with trackerd.
Also I had no other activity during the extraction except for being idly on-line.

rebhana 2010-12-19 10:59

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by avidscavenger (Post 898474)
I have a further question about locales - running 'dpkg-reconfigure locales' was fine for generating the one(s) I need, but the default locale was still inherited from Maemo's settings, which was causing some python scripts to fail with codec errors. I found I could override them using Easy-Debian's /etc/environment (or /.debian/etc/environment):



Can anyone tell me whether this is the 'right' way to accomplish this?

When reconfiguring locales you need to select the ones to be generated and then also which one to load as default. Did you do both? It may also make a difference whether you use debbie or debbie-sue. The latter should set the environment variables appropriately.

avidscavenger 2010-12-20 03:39

Re: Easy Debian Fremantle Beta Testing
 
@rebhana Using debbie-sue does appear to work, although LC_ALL winds up defined as an empty string rather than as my preferred locale. And yes I did select a default locale - actually I only built one and that seems to be enough.

maartenmk 2010-12-20 07:45

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 899833)
I ran the installer with the power kernel installed, and it took a long time (as usual), 1h 20 mins to extract, but no reboot this time. I wonder if I should depend upon the power kernel?

I had a reboot when extracting the -v3e image, and I am 99% certain I had the power kernel in use at the time.

Necc 2010-12-23 13:19

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 896269)
I believe these reboots are a regression in PR 1.3, something to do with intensive disk I/O. I'd file a bug, but honestly, does anyone believe Nokia will offer a fix?

Bugreports are not just about to fix every bug in the system, it is also for keep tracking of the known bugs.

When i noticed bugs before in maemo and i "googled" to my issue, it was good to see that the bug what i noticed was already tracked in the bugs (even if it was finally fixed in PR1.2 only).

qole 2010-12-24 02:56

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 895345)
I have in fact a slightly more important problem (not related to v3e):

Easy Debian allows me to use vpnc to access the internal network of my workplace, and it works like a charm as long as I am on wifi. I can use ssh as well as the browser in VPN mode. However, when under gprs, only ssh works, but http no longer.

Hi rebhana,

I suggest switching to gprs, then copying your /etc/resolv.conf to the chroot. Hopefully that will get you connected... You might need to do it again when back on wifi, I'm not sure...

avidscavenger 2010-12-24 02:59

Re: Easy Debian Fremantle Beta Testing
 
Might be worth noting that you don't need easy debian to run vpnc - it works natively under maemo.

qole 2010-12-24 04:50

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Necc (Post 902807)
Bugreports are not just about to fix every bug in the system, it is also for keep tracking of the known bugs.

When i noticed bugs before in maemo and i "googled" to my issue, it was good to see that the bug what i noticed was already tracked in the bugs (even if it was finally fixed in PR1.2 only).

Ok, I've submitted Bug 11720.

rebhana 2010-12-25 10:32

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by avidscavenger (Post 903240)
Might be worth noting that you don't need easy debian to run vpnc - it works natively under maemo.

Do you know whether the native version works with grps?

In fact, I had installed the native version originally under Maemo, a year ago by now, but I had some problems with it. When PR1.1 came out, wifi stopped working because the package had tampered with system files, and I found out that deinstalling vpnc didn't restore the modifications it had introduced. The maintainer of the package didn't respond to my bug report and so on. I was hugely relieved when I discovered Easy Debian, and that it would run successfully the unmodified vpnc that I knew from my Linux box, and that whatever I did on the Easy Debian side, it would not screw up the phone altogether. I see that there is a new version of native vpnc from April, still in extras-devel, so I guess it is not optimally maintained yet, or is it?

Radicalz38 2010-12-25 11:05

Re: Easy Debian Fremantle Beta Testing
 
@qole
I think I know a workaround on that problem... To avoid it after starting the extraction don't touch the device till it's finished. By monitoring the transfer/extraction rate the speed get's slower after you touch the device while it's doing disk IO. you could see the transfer by extracting/transferring files and opening a new xterm window and monitor by using df. And after sometime when you keep on opening the device. It reboots itself

porselinaheart 2010-12-28 10:19

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by maartenmk (Post 900354)
I had a reboot when extracting the -v3e image, and I am 99% certain I had the power kernel in use at the time.

had the same issue. ended up just unpacking it with z-zip on my pc and dumping it in MyDocs manually.

Joseph9560 2010-12-28 20:01

Re: Easy Debian Fremantle Beta Testing
 
I installed axel-kapt, gui for axel and tried to run it without going to lxde desktop using command
debbie axel-kapt
it did popped up but keyboard is not working for the app that way. any help appreciated.

rebhana 2010-12-31 13:57

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Joseph9560 (Post 906252)
I installed axel-kapt, gui for axel and tried to run it without going to lxde desktop using command
debbie axel-kapt
it did popped up but keyboard is not working for the app that way. any help appreciated.

You probably need to consult this section of the wiki.

anagarika 2011-01-01 13:44

Re: Easy Debian Fremantle Beta Testing
 
I tried getting secured java connection (on PC desktop, it will install Hoblink JWT, so there're some additional Java applet needed) but somehow applet failed to run when Invoked via iceweasel.

Have extracted the SUN JAVA SE, but iceweasel doesn't call that package. How to redirect it ? The existing JDK that iceweasel calls doesn't work well with the Hoblink JWT.

Using Maemo's MicroB and Firefox result in no Java detected error .. worse than using iceweasel

avidscavenger 2011-01-02 11:59

Re: Easy Debian Fremantle Beta Testing
 
@rebhana re vpnc - I have no idea what it supports, I just know it works fine for me.

Sash 2011-01-02 12:49

Re: Easy Debian Fremantle Beta Testing
 
Is there any workaround for extracting the image with power kernel 46?

I've tried both image versions but I get problems with them both and am unable to run Debian

rebhana 2011-01-02 13:22

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by avidscavenger (Post 909686)
@rebhana re vpnc - I have no idea what it supports, I just know it works fine for me.

My question was: does it work equally with wifi and phone data connections (=gprs)?

rebhana 2011-01-02 13:25

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Sash (Post 909728)
Is there any workaround for extracting the image with power kernel 46?

I've tried both image versions but I get problems with them both and am unable to run Debian

If you have a Linux PC, the easiest is to download the image, extract it with "lzma -d", and then transfer the image via USB to MyDocs.


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

vBulletin® Version 3.8.8