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)

eight 2012-02-10 10:39

Re: Easy Debian Fremantle Beta Testing
 
Had also problems with reboots while unlzma'ing and found out that on my n900 enabled SmartReflex VDD1 causes this.
Tested it with 900 to 600 Mhz and always reboots with vdd1.
After disabling vdd1 these high-load-tasks work on my device flawlessly, even at 900 Mhz.

qole 2012-02-11 05:18

Re: Easy Debian Fremantle Beta Testing
 
So make sure you turn off SmartReflex VDD1 on your N900, although it should be off by default:
Code:

sudo "echo 0 > /sys/power/sr_vdd1_autocomp"

udaychaitanya16 2012-02-11 12:19

Re: Easy Debian Fremantle Beta Testing
 
First I have turned off smartreflex from /etc/pmconfig,though cpu is at 805.

Then entered

Code:

sudo nr_requests_setup
sudo swapoffon

There after copy command.

Though the device is not switched off itself,since 15 minutes x terminal froze .Even the backlight is not turned off.Still waiting to observe what happens.:cool:

magic_doc 2012-02-11 15:13

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by eight (Post 1163082)
Had also problems with reboots while unlzma'ing and found out that on my n900 enabled SmartReflex VDD1 causes this.
Tested it with 900 to 600 Mhz and always reboots with vdd1.
After disabling vdd1 these high-load-tasks work on my device flawlessly, even at 900 Mhz.

eight, what kernel are you using?
The VDD0/1-Settings is to activate SmartReflex, but this runs only reasonable with KernelPower49.
With the one in extras-testing you can safely overclock to 805MHz at the most devices and the battery-savings are awesome.
Only a hint and sorry for the off-toppic. :D
More informations can be found here.

HTH and HAND

CU Michael

eight 2012-02-11 16:07

Re: Easy Debian Fremantle Beta Testing
 
I'm using power49 withd vdd1 and vdd2 enabled at 900 Mhz for some days now.
Works well expect of unlzma'ing big archives. To be more precise, dd .. or tar -cfz (-xfz) of my 3 Gig debian partition works without issues.
Only lzma gives reboots even with nice -n 19.
I have tested it with this archive: http://qole.org/files/maemo-sdk-v1_2.img.ext2.lzma
Switching SR VDD off for lzma tasks like this is quickly done.

And the battery-savings of VDD2 are really good. A big difference, compared to only-vdd1-mode and directly noticeable. :)

qole 2012-02-12 05:27

Re: Easy Debian Fremantle Beta Testing
 
Ok, here's how to disconnect the image's /home/user directory from the Maemo version, allowing for per-image user settings.

Create a script in the image's /var/run directory called "onfirstchroot-ext.rc", or add the following lines to the existing script:

Code:

umount -f "$CHROOT/home/user/MyDocs"
umount -f "$CHROOT/home"
mount -o bind /home/user/MyDocs "$CHROOT/home/user/MyDocs"

If there are some settings directories you wish to share between the two environments, you can use the syntax of the last line (the "mount -o bind" line) to bind other home/user directories from Maemo to their corresponding directories in Debian.

Now you can copy all of your Debian application settings into the image's /home/user dir, and things will be the same on everybody's N900.

ESTEL: Please either do this with your image and re-upload it, or give me the zip file of your home directory settings files, and I'll do it on my qole.org version.

ivgalvez 2012-02-13 19:13

Re: Easy Debian Fremantle Beta Testing
 
I have been testing Estel's image installed on my SD card (ext3, non dedicated partition) with no problems.

Now I've tried to gain some performance by enabling swap on SD:

Code:

sudo swapon -p 0 /dev/mmcblk1p3
sudo swapoff /dev/mmcblk0p3

As a result:
Code:

~ $ cat /proc/swaps
Filename                                Type            SizeUsed    Priority
/dev/mmcblk1p3                          partition      795208      64376  0

Everything seemed to work OK. tried Fennec and it was slow as usual. However when I run ED LXDE I receive this error:

Code:

Mount failure!
/mnt/data/easydebian/ed-squeeze-final.ext3 failed to mount on loop0
mount: mounting /dev/loop0 on /.debian failed: Invalid argument


eight 2012-02-13 22:12

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by ivgalvez (Post 1164560)
Code:

Mount failure!
/mnt/data/easydebian/ed-squeeze-final.ext3 failed to mount on loop0
mount: mounting /dev/loop0 on /.debian failed: Invalid argument


When did you download the image? Maybe your problem is related to this and you try to mount a tar archive? Estel updated the image some days ago, if you downloaded before just untar it before mount.

Code:

tar -xfv ed-squeeze-final.ext3

ivgalvez 2012-02-14 08:01

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by eight (Post 1164647)
When did you download the image? Maybe your problem is related to this and you try to mount a tar archive? Estel updated the image some days ago, if you downloaded before just untar it before mount.

Code:

tar -xfv ed-squeeze-final.ext3

Thanks, but that's not the case as the image was working before changing the swap options. Now I have rebooted (swap again in eMMC) and yet the same error. It seems that image is corrupted.

impeham 2012-02-15 16:57

Re: Easy Debian Fremantle Beta Testing
 
is it possible to extract all the files from the .ext3 image to a partition (without mounting and copying the files from the mounted folder because this will also copy the /home/user and /home/user/mydocs folders)?

i would like to extract it to an ext4 partition i made for it on the sd.


All times are GMT. The time now is 23:49.

vBulletin® Version 3.8.8