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 v49 in Extras-Testing (https://talk.maemo.org/showthread.php?t=71879)

Morku 2011-09-23 17:44

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by Straycat (Post 1094615)
Thanks, Morku. What you say makes sense.

How can I check my voltage profile? 'kernel-config show' do not show this.

it does. (root -> kernel-config show)
Look at activate frequencies. The default configuration look like: 0:30,90 250:38,180 500:48,360 and so on.
This configuration works fine for me and I have stable video playback.
here is a voltage chart:
http://wiki.maemo.org/Overclocking#Calculating_voltages
The ULV starts with 0:25
I don't know which configuration you have, but this made my video playback corrupt. With more To load the default type: "kernel-config load default"
Maybe it's better to make a reboot, so set it to default: "kernel-config default default".
Don't forget to save your current configuration, if you have a 'special profile'.

colin.stephane 2011-09-23 19:39

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by don_falcone (Post 1093916)
You did not supply a disksize_kb (or memlimit) parameter during modprobe. It can work like this too, but then it needs rzscontrol which we do not have:

Code:

modprobe ramzswap;
rzscontrol /dev/block/ramzswap0 --disksize_kb=32768 --init;
swapon /dev/block/ramzswap0;


Well, I have just see your message about rzscontrol, so here it is, please, give it a try !!!

Code:

-bash-2.05b# apt-get install compcache-tools
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following NEW packages will be installed:
  compcache-tools
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 6144B of archives.
After this operation, 45,1kB of additional disk space will be used.
Get:1 http://repository.maemo.org fremantle/free compcache-tools 0.6.2-1maemo0 [6144B]
Fetched 6144B in 0s (15,5kB/s) 
Selecting previously deselected package compcache-tools.
(Reading database ... 39519 files and directories currently installed.)
Unpacking compcache-tools (from .../compcache-tools_0.6.2-1maemo0_armel.deb) ...
Setting up compcache-tools (0.6.2-1maemo0) ...
-bash-2.05b# rzscontrol
Usage: rzscontrol {<ramzswap device>} [<options>]
Example: rzscontrol /dev/ramzswap0 --init
See rzscontrol manpage for details.
-bash-2.05b#

A++

don_falcone 2011-09-23 22:56

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by colin.stephane (Post 1094738)
Well, I have just see your message about rzscontrol, so here it is, please, give it a try !!!

Code:

-bash-2.05b# apt-get install compcache-tools
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following NEW packages will be installed:
  compcache-tools
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 6144B of archives.
After this operation, 45,1kB of additional disk space will be used.
Get:1 http://repository.maemo.org fremantle/free compcache-tools 0.6.2-1maemo0 [6144B]
Fetched 6144B in 0s (15,5kB/s) 
Selecting previously deselected package compcache-tools.
(Reading database ... 39519 files and directories currently installed.)
Unpacking compcache-tools (from .../compcache-tools_0.6.2-1maemo0_armel.deb) ...
Setting up compcache-tools (0.6.2-1maemo0) ...
-bash-2.05b# rzscontrol
Usage: rzscontrol {<ramzswap device>} [<options>]
Example: rzscontrol /dev/ramzswap0 --init
See rzscontrol manpage for details.
-bash-2.05b#

A++

...already tested it ;)

Same behavior - modprobe / insmod ramzswap followed by rzscontrol /dev/ramzswap0 --init
-> reboot during init.

I am currently searching a method how to diagnose it. This basically seems to be a HW watchdog / reset issue.

EDIT: btw, my HW rev is 2101.

EDIT 2: last line of dmsg output is:
[12475.862792] ramzswap: num_devices not specified. Using default: 1
and then straight into reboot.

fahadj2003 2011-09-25 10:19

Re: [Announce] kernel-power v49
 
Again, how to enable bqb27200 in v49? *noob friendly please*

pali 2011-09-25 10:21

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by fahadj2003 (Post 1095707)
Again, how to enable bqb27200 in v49? *noob friendly please*

you cannot use bq27x00_battery and bme together. first you need to stop bme (of course no battery charging) and then modprobe module.

$ stop bme && modprobe bq27x00_battery

to start bme again, you need to first unload bq module:

$ rmmod bq27x00_battery && start bme

Estel 2011-09-25 10:25

Re: [Announce] kernel-power v49
 
@up
Code:

stop bme
...then modprobe bq27x00_module, or how it's called now. Impossible to have it together with bme, sadly.

freemangordon 2011-09-25 13:16

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by don_falcone (Post 1094840)
...already tested it ;)

Same behavior - modprobe / insmod ramzswap followed by rzscontrol /dev/ramzswap0 --init
-> reboot during init.

I am currently searching a method how to diagnose it. This basically seems to be a HW watchdog / reset issue.

EDIT: btw, my HW rev is 2101.

EDIT 2: last line of dmsg output is:
[12475.862792] ramzswap: num_devices not specified. Using default: 1
and then straight into reboot.

Which kernel have you installed, there was a kp48 build which was buggy. Also may you post your /dev/mtd2 contents.

TMavica 2011-09-25 16:29

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by pali (Post 1095708)
you cannot use bq27x00_battery and bme together. first you need to stop bme (of course no battery charging) and then modprobe module.

$ stop bme && modprobe bq27x00_battery

to start bme again, you need to first unload bq module:

$ rmmod bq27x00_battery && start bme

do u delete the line blacklist bq27x00 in the kernel-power.blacklist?

Estel 2011-09-25 16:41

Re: [Announce] kernel-power v49
 
Obviously. How do You expect blacklisted module to load?...

trisha02 2011-09-25 16:50

Re: [Announce] kernel-power v49
 
is KP48 still buggy or stable. i hav been hearing its buggy. just 3 posts back

TMavica 2011-09-25 17:07

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by Estel (Post 1095941)
Obviously. How do You expect blacklisted module to load?...

nono, i know need to del this line, because without load bq2700, then delete this line, reboot loop will be happened

just want to know how to enable bq2700 at startup
just same as before? add a line to the modules file?

zylor 2011-09-25 17:40

Re: [Announce] kernel-power v49
 
where can i get the files for v48? Thanks in advance :D

don_falcone 2011-09-25 18:36

Re: [Announce] kernel-power v49
 
1 Attachment(s)
Quote:

Originally Posted by freemangordon (Post 1095769)
Which kernel have you installed, there was a kp48 build which was buggy. Also may you post your /dev/mtd2 contents.

I checked with both colin.stephane's kp48 (20110904) and pali's kp49 (20110921) builds, same behavior. mtd2 with contents straight after modprobe is attached. Thanks!

freemangordon 2011-09-25 23:05

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by don_falcone (Post 1096097)
I checked with both colin.stephane's kp48 (20110904) and pali's kp49 (20110921) builds, same behavior. mtd2 with contents straight after modprobe is attached. Thanks!

Hmm, this looks exactly like kernel oops I was getting with the faulty KP48 build. Would you please post the command you are using to insert the module. Also could you please compress and attach ramzswap.ko here.

xxxxts 2011-09-25 23:52

Re: [Announce] kernel-power v49
 
Why is the latest version of u-boot not included with the kernel? I think kernel power 49 should have u-boot in it.

Radicalz38 2011-09-26 02:00

Re: [Announce] kernel-power v49
 
Ok I'm not really knowledgeable with all this kernel stuff so sorry I don't know how to make a fiasco image to make a modified kp49 with uboot but here's a combined file with kernel-power49+uboot.


All you need to do is just install original kernel-power 49 and then flash it with the file I provide
http://www.plunder.com/Kernel-Power-...dd4ce0850d.htm


To flash it using PC:

first extract the bin file as it is packed on a tar archive then do

Quote:

flasher-3.5 -f -R -k </path/to/zImage/file>/combined.bin
or from device just

Quote:

Launch xterminal app then type sudo gainroot (need rootsh installed)

softupd -vv -s --local

(that is a double v)
Open new terminal

flasher --local -f -k </path/to/zImage/file>/combined.bin

You'll see the flashing (takes some time)
Type "sync" to save changes
Type "reboot" and enter to restart
Note: This is untested I just did this quickly while on office :p so do it at your own risk :D

Radicalz38 2011-09-26 02:02

Re: [Announce] kernel-power v49
 
Please not that
is just an updated


trisha02 2011-09-26 07:24

Re: [Announce] kernel-power v49
 
kernel48 eats up more battery :(

petur 2011-09-26 07:36

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by trisha02 (Post 1096471)
kernel48 eats up more battery :(

nope, for me it eats less battery. But I'm only using kp48 and CSSU16.8, no other patches.

vi_ 2011-09-26 08:10

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by trisha02 (Post 1096471)
kernel48 eats up more battery :(

No it doesn't. YOU eat more battery.

pali 2011-09-26 08:12

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by TMavica (Post 1095936)
do u delete the line blacklist bq27x00 in the kernel-power.blacklist?

!! NO NEVER. Again: bme cannot be running if bq module is loaded !!

pali 2011-09-26 08:15

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by xxxxts (Post 1096358)
Why is the latest version of u-boot not included with the kernel? I think kernel power 49 should have u-boot in it.

I did not changed build process to create new u-boot package for v49. And I do not want to include u-boot into default kernel-power (can break some different hw revistions). Instead I create new package (kernel-power-uboot) which will be alternative to kernel-power and kernel-power-flasher.

TMavica 2011-09-26 09:01

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by pali (Post 1096498)
!! NO NEVER. Again: bme cannot be running if bq module is loaded !!

I know what you meaning
but when i run stop bme && modprobe bq27x00_battery, nth happen

pali 2011-09-26 09:05

Re: [Announce] kernel-power v49
 
in v49 bq27x00_battery working again (only in v48 was bug). so if you load it you can see uevent file in /sys...

modprobe ignore blacklist files

pali 2011-09-26 09:06

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by trisha02 (Post 1096471)
kernel48 eats up more battery :(

in v47, v48 a v49 was no battery eating changes...

TMavica 2011-09-26 09:17

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by pali (Post 1096519)
in v49 bq27x00_battery working again (only in v48 was bug). so if you load it you can see uevent file in /sys...

modprobe ignore blacklist files

I cant see the uevent file in /sys/
PS: sorry for my disturbance

pali 2011-09-26 09:20

Re: [Announce] kernel-power v49
 
* check if you have my last v49 build (uname -a)
* check if bme is stopped (ps | grep bme)
* check if bq module is load (lsmod | grep bq)
* check ouptut of dmeg (dmesg | tail)
* find bq27200 directory in sys (find /sys -name "*bq27200*")

TMavica 2011-09-26 09:28

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by pali (Post 1096530)
* check if you have my last v49 build (uname -a)
* check if bme is stopped (ps | grep bme)
* check if bq module is load (lsmod | grep bq)
* check ouptut of dmeg (dmesg | tail)
* find bq27200 directory in sys (find /sys -name "*bq27200*")

check ouptut of dmeg (dmesg | tail)
<---many defect: driver failed to report....

Radicalz38 2011-09-26 10:34

Re: [Announce] kernel-power v49
 
Hi pali just thought you might help me regarding my problem with uboot. Well after so many tweaks and stuffs I managed to let it show an error now... Whenever I do "run noloboot" error shows up "no initfs \o/"

any idea about that error?

pali 2011-09-26 10:37

Re: [Announce] kernel-power v49
 
"no initfs \o/" is show by maemo /sbin/preinit in R&D mode... Try disable R&D mode.

For all: U-Boot has its own thread, please do not write U-Boot related post here!

pali 2011-09-26 10:38

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by TMavica (Post 1096533)
check ouptut of dmeg (dmesg | tail)
<---many defect: driver failed to report....

and which errors? also post output of all commands

TMavica 2011-09-26 10:47

Re: [Announce] kernel-power v49
 
2 Attachment(s)
Quote:

Originally Posted by pali (Post 1096596)
and which errors? also post output of all commands

here you are

pali 2011-09-26 15:20

Re: [Announce] kernel-power v49
 
ah ok.

In v49 are backported module bq27x00_battery from upstream + some my changes. (export character device /dev/bq27200* with ioctl to access battery registers)

output.txt
[56434.363555] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values

Next it check if battery is calibrated (CI flag) and if not it does not export capacity values (because they are bad). See how to calibrate: http://talk.maemo.org/showpost.php?p...&postcount=846

output2.txt
/sys/class/power_supply/bq27200-0

Do you really do not have file uevent file in this directory??
cat /sys/class/power_supply/bq27200-0/uevent

Z.E.V.S 2011-09-26 16:32

Re: [Announce] kernel-power v49
 
Good day! What should I do? When installing the Kernel-Power was a mistake:
Leaving `local diversion of / usr / bin / JoikuSpot_Bouncer.ko to / lib/modules/2.6.28-omap1/JoikuSpot_Bouncer.ko '

Help ...
Excuse me for my English.

pali 2011-09-26 16:36

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by Z.E.V.S (Post 1096788)
Good day! What should I do? When installing the Kernel-Power was a mistake:
Leaving `local diversion of / usr / bin / JoikuSpot_Bouncer.ko to / lib/modules/2.6.28-omap1/JoikuSpot_Bouncer.ko '

Help ...
Excuse me for my English.

this is not error, but normal verbose dpkg output ;)

Z.E.V.S 2011-09-26 16:45

Re: [Announce] kernel-power v49
 
In that case, how do I install the Kernel-Power49? The processor now not accelerates.
uname-r = 2.6.28-omap1
Like all removed completely and reinstall?
If possible, please tell us step by step.
Thank you.

Excuse me for my English.

TMavica 2011-09-26 17:02

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by pali (Post 1096753)
ah ok.

In v49 are backported module bq27x00_battery from upstream + some my changes. (export character device /dev/bq27200* with ioctl to access battery registers)

output.txt
[56434.363555] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values

Next it check if battery is calibrated (CI flag) and if not it does not export capacity values (because they are bad). See how to calibrate: http://talk.maemo.org/showpost.php?p...&postcount=846

output2.txt
/sys/class/power_supply/bq27200-0

Do you really do not have file uevent file in this directory??
cat /sys/class/power_supply/bq27200-0/uevent

yes, I got uevent

xxxxts 2011-09-26 19:19

Re: [Announce] kernel-power v49
 
Quote:

Originally Posted by pali (Post 1096499)
I did not changed build process to create new u-boot package for v49. And I do not want to include u-boot into default kernel-power (can break some different hw revistions). Instead I create new package (kernel-power-uboot) which will be alternative to kernel-power and kernel-power-flasher.

So in the near future I should look for kernel-power-uboot in repos? The last one is u-boot for KP46. Super!

pali 2011-09-27 08:49

Re: [Announce] kernel-power v49
 
I think yes. I want to package u-boot into separate kernel-power package. But wait for v50. In v49 this wont happen.

don_falcone 2011-09-27 11:36

Re: [Announce] kernel-power v49
 
1 Attachment(s)
Quote:

Originally Posted by freemangordon (Post 1096349)
Hmm, this looks exactly like kernel oops I was getting with the faulty KP48 build. Would you please post the command you are using to insert the module. Also could you please compress and attach ramzswap.ko here.

Sorry for late reply, but while travelling 6100km my day always has like 30hrs and i went to bed early. Here you are, module is from pali's kp49 20110921 build.
I can also attach mtd2 dump after freshly flashing kp49 if you want me to, because after the first reboot it works.

I can use any command interchangeably, doesn't have any influence on the outcome:
modprobe ramzswap && rszcontrol /dev/ramzswap0 --init
insmod /lib/modules/current/ramzswap.ko num_devices=1 disksize_kb=98304
insmod /lib/modules/current/ramzswap.ko disksize_kb=65536
insmod /lib/modules/2.6.28.10-power49/ramzswap.ko num_devices=1 disksize_kb=98304
insmod /lib/modules/2.6.28.10-power49/ramzswap.ko disksize_kb=98304


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

vBulletin® Version 3.8.8