maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Announce] kernel-power stable v51 in Extras-Devel (https://talk.maemo.org/showthread.php?t=85665)

dvb 2013-03-14 04:54

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Quote:

Originally Posted by Estel (Post 1328676)
I'm not entirely sure what do you mean by creating tar of microSD content (32GB, as you've said) and where you expect to save such big file (because it is what that command you've mentioned mean).

The external flash I make an archive from is not completely filled. The size of the tar archive, that was created (there were no compression used, just a collection into a tar file), is 358880256 B. So, it didn't fill the whole RAM + SWAP (256 MB + 768 MB), as the result of a "free" command is about 512 MB in SWAP with almost all RAM filled usualy. Could using SWAP be the cause of freezing?

Estel 2013-03-16 02:14

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
I suppose so. To be precise, it's about using Swap on eMMC - to avoid problems, swap should be used *only* on microSD (no swap active on eMMC), if microSD card is available. Even slowest one help much, as flash doesn't work very well with concurent writes (but shouldn't have problems with concurent reads).

So, when you tar content of your SD card to eMMC, eMMC is bugged by writes to it + swap writes, which result in quite powerful slowdown. Add to it unoptimized swap-related settings, and you may get freeze

To fix it, apply my instructions from last post. Anyway, it shouldn't be related to kernel-power in... well, any way ;)

/Estel

panjgoori 2013-03-21 11:25

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
as repos are up again and upload to devel repo is working again. Pali when you will upload KP52 ?

Alecsandru 2013-03-21 17:36

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
what KP52? another version to the KP52? could you post more info about it? changelog maybe?

Estel 2013-03-21 21:37

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Look at first page, first post ;)

NiQ 2013-04-07 00:02

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
OK, I think there's been a slight overlook regarding the bootimg version of KP52 -
There's kernel-power-bootimg, which depends on kernel-power-modules, which depends on kernel-power, which conflicts with kernel-power-bootimg...

Solved it locally by modifying kernel-power-modules' control file to depend on kernel-power | kernel-power-bootimg but I think this should be taken care of asap.

Estel 2013-04-07 00:20

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Hm, I can't confirm any problems with installing kp52 (from links in first post) - just keep in mind, that I used either fapman, or apt, for this, *"ot* HAM. None of them complained about dependency circle or conflicting dependencies.

But, for sure, editing any control files and re-packaging (or easier, dpkg --force) wasn't necessary.

/Estel

NiQ 2013-04-07 01:24

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Estel - You will only encounter the mentioned problem if you use KP as a bootimg through U-Boot.

bocephus 2013-04-07 07:04

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Well, v52 is in the repos now; I installed it with apt last night and it worked flawlessly. Otherwise I wouldn't be making this post from my N900 right now. :D

Thanks a million, pali.

NiQ 2013-04-07 09:47

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Repeating again, there are problems with KP52 only for U-Boot users.

Acurus_ 2013-04-07 09:55

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Upgraded to new Kernel (I do not use U-Boot!). N900 works perfect and it seems to be a little bit quicker. Thanks!

Estel 2013-04-07 10:52

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Quote:

Originally Posted by NiQ (Post 1334539)
Estel - You will only encounter the mentioned problem if you use KP as a bootimg through U-Boot.

No, I won't, because it is exactly what I'm doing. I've all KP packages installed, including kernel-power-bootimg, and I boot using U-boot. But, looking at control files, you *should be right*, dependencies looks like fubar. I just don't get why I don't have problems on any of three devices I've tested it? :eek:

/Estel

pali 2013-04-07 11:01

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
I pushed kp52 to autobuilder, so enable extras-devel and run apt-get update.

U-boot can load kernel-power-bootimg. I do not see any problem, here are dependences:

Package: kernel-power
(no Depends)

Package: kernel-power-bootimg
Depends: kernel-power-modules (= ${binary:Version})

Package: kernel-power-flasher
Pre-Depends: kernel-power (= ${binary:Version}), kernel-power-modules (= ${binary:Version}), softupd (>= 0.4.0), hildon-application-manager
Depends: sudo

Package: kernel-power-modules
Depends: module-init-tools (>= 3.3), kernel-power (= ${binary:Version})

And all n900 uboot patches was upstreamed and next uboot version will be released this month. After that I will update uboot in Maemo Extras too.

NiQ 2013-04-07 11:03

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Pali -
The problem is that kernel-power-modules requires kernel-power and kernel-power (obviously) conflicts with kernel-power-bootimg.
kernel-power-modules need to be modified to depend on kernel-power | kernel-power-bootimg instead.

pali 2013-04-07 11:12

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Quote:

Originally Posted by NiQ (Post 1334602)
kernel-power (obviously) conflicts with kernel-power-bootimg.

Can you show me where?? Look at dependences in previous post again.

NiQ 2013-04-07 11:28

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Package: kernel-power-modules
Depends: module-init-tools (>= 3.3), kernel-power (= ${binary:Version})
No kernel-power-bootimg alternative.

And if I install kernel-power, it'll probably overwrite u-boot, won't it?

And another issue, apparently usbmode doesn't work anymore because kernel-power-bootimg does not provide the required kernel-features.

pali 2013-04-07 12:08

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Quote:

Originally Posted by NiQ (Post 1334608)
And if I install kernel-power, it'll probably overwrite u-boot, won't it?

No, uboot will ask you if you want to overwrite it.

Again, there are no *conflicts*. You can install it without problem.

disappear 2013-04-07 12:29

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Hi,Pali and thanks for your support to our amzanig n900,I have one question,maybe sound stupid but it is for me is important.So shoud we again installed usbmode or not.becauce I noticed than that package is already in repo(1.0.3)
regards

pali 2013-04-07 12:54

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
I pushed usbmode package from gitorious source code. If you are not sure that you have last version, (re)install it.

tanago 2013-04-07 13:18

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
@pali: I dont know if its becuase the battery applet update or kernel-power update but the applet shows "No data or battery is not calibrated", 3-4 days ago it was working properly. I tried to calibrate it once again, no matter that bq27x00.sh script showed it is already calibrated and the result is still the same. Any help ?

biketool 2013-04-07 13:58

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Installed new KP52 and latest USB mode at the same time, now getting an error that charger is connected.
(edit)
tried reinstalling kernel modules and usbmode, no change.
The BME does stop and I get into non-pulsing orange charge, then if I click peripheral mode I get the BME charging back.

I love my usbmode, one of the best upgrades to come out for the N900.

pali 2013-04-07 14:12

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Now I see where is problem, I forgot to push some commits to usbmode git repo... I will release new version of usbmode asap.

biketool 2013-04-07 15:00

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Blam! USB mode is back B1tch3s!
Pali, you move so fast I had to correct for doppler shift.

NiQ 2013-04-07 18:13

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
OK it works now, thanks Pali.
Though I still wonder why is kernel-power-flasher needed if one's using U-Boot anyway.

pali 2013-04-07 18:18

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Because of kernel-feature-*. Packages which depends on feature choose first alphabetical package which provides it. So they choose -bootimg and not -flasher. Only removing provides from -bootimg fixing it.

Android_808 2013-04-07 21:09

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
no issues so far.

video playback seems improved (bridge driver?), no videos i've tested (cutetube downloads, 720p recorded on device, normal recordings) have even had to show loading dots when playing in omp. video starts almost instantly now, have seen no loading screen at all. need to test some more, higher bitrate files.

pinochio 2013-04-07 22:18

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Quote:

Originally Posted by tanago (Post 1334628)
@pali: I dont know if its becuase the battery applet update or kernel-power update but the applet shows "No data or battery is not calibrated", 3-4 days ago it was working properly. I tried to calibrate it once again, no matter that bq27x00.sh script showed it is already calibrated and the result is still the same. Any help ?


I have the same thing and that's before upgrading to KP v.52.
The problem arose after the update status-area-applet-battery_1.0-5_armel.deb.
I have CSSU stable.

petur 2013-04-08 08:14

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
weird... HAM and apt claim no update available :(((

xes 2013-04-08 08:29

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Hmm... my phone had some issue after upgrade.
Rebooting, it said:

"Required files not found. guru meditation #...."

I'm using multiboot and to solve i had to fix the multiboot entries, delete the symbolic link in /boot/ pointing to /opt/boot/vmlinuz.... and then put the new kernel directly into /boot.
Now it works again.

pali 2013-04-08 09:54

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Because multiboot damaging phone nand memory, erasing u-boot and also because kernel boot image is too big for rootfs, I removed multiboot support plus optified bootimg package. Now with kp52 only uboot is supported for dual boot. I will create new thread about kp52 with all info...

xes 2013-04-08 09:59

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
@pali
Many thanks for your work!

The problem with u-boot (the last time i tried it) was the vfat partition requirement.
My phone has only ext4 partitions.

pali 2013-04-08 10:11

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
@xes: all n900 uboot patches was upstreamed and this month we will see new version of uboot with n900 support. In that version is also ext4 support, so I updated uboot bootmenu to work with ext2/3/4 too. Just wait for new version :-)

xes 2013-04-08 10:43

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Like always you are looking forward to the future!
..but i suppose that you will receive some complaint because this update could hang many devices..

pali 2013-04-08 10:47

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
multiboot support was removed in october 2012 and there were testing packages for more months...

ivgalvez 2013-04-08 10:49

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Quote:

Originally Posted by pali (Post 1334805)
Because multiboot damaging phone nand memory, erasing u-boot and also because kernel boot image is too big for rootfs, I removed multiboot support plus optified bootimg package. Now with kp52 only uboot is supported for dual boot. I will create new thread about kp52 with all info...

Probably, a brief tutorial about how to move from multiboot to uboot would be useful, I guess that most people using Nitdroid have multiboot.

pali 2013-04-08 11:01

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
@ivgalvez: I need some help with *power* users which which using nitdroid and how they installed it.

But first I'm waiting for new official uboot relase...

shawnjefferson 2013-04-09 01:59

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Exactly... Nitdroid install is the reason I have multiboot on my device. Not that I use it often, but its nice to have.

peterleinchen 2013-04-09 21:29

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Quote:

Originally Posted by ivgalvez (Post 1334815)
Probably, a brief tutorial about how to move from multiboot to uboot would be useful, I guess that most people using Nitdroid have multiboot.

All info is already available (not bundled, okay ;)).
http://forum.nitdroid.com/index.php?...;topicseen#new
http://talk.maemo.org/showpost.php?p...&postcount=328
http://talk.maemo.org/showpost.php?p...&postcount=353

May not be all that is needed (but should help for "beginners").

pali 2013-04-09 21:38

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
@peterleinchen, can you look what nitdroid installer script doing? And if it is possible to create script which generate uboot bootmenu item file for some default nitdroit installation?

guilledoc 2013-04-10 01:08

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Quote:

Originally Posted by pinochio (Post 1334703)
I have the same thing and that's before upgrading to KP v.52.
The problem arose after the update status-area-applet-battery_1.0-5_armel.deb.
I have CSSU stable.

Same probleme here how to solve it?


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

vBulletin® Version 3.8.8