Reply
Thread Tools
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#1491
Originally Posted by freemangordon View Post
............

Here is the kernel with leafpad crash fixed an working ramzswap module.
Testing..............
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#1492
Originally Posted by freemangordon View Post
Which you would easily catch if you insmod ramzswap.ko at least once, thus my point.
Very sorry for the bad trip I made

Anyhow, I found my error quickly

For something I don't really know, I have pushed bad 'ramzswap_drv.c' file inside my kernel source compilation tree ...

Anyhow, right now it's FIXED !!!

So let the current kernel compilation finishing with this time YOUR version of 'ramzswap' module properly backported, and I thing you regain smile (at least, I hope).

Stay tunned ...

A++
 

The Following 4 Users Say Thank You to colin.stephane For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1493
Buggy library leading to previous kernel crashes found. It is gnome-vfs-filechooser-backend. Fix implemented here. Will try to push it as a part of the next CSSU update.
 

The Following 11 Users Say Thank You to freemangordon For This Useful Post:
corduroysack's Avatar
Posts: 939 | Thanked: 366 times | Joined on Dec 2010 @ U.K.
#1494
Originally Posted by arnoldux View Post
how do i get back to kp47?
try reading back into the thread it's been mentioned umteen times already!
__________________
"I Reject Your Reality & Substitute My Own" Adam Savage
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#1495
THIS TIME IT'S REALLY FIXED !!!


Fixed my brain, and tracked why reboots occurs when using 'ramzswap.ko' from my precedent integration of freemangordon working module (next time it's better if I don't mix source code ).



Download from here :


This power-kernel contain the working freemangordon ramzswap.ko module directly, no more need to compile yourself under scratchbox or me to provide as external module ...

Changelog :

Latests commits by Pali before he have school obligations (see post #) :

Commits '7ab052e2cf27b79aa8eea32b62f8cde752a87373' & '55fc617b021546d885dc413e15d99690488b3906' :

  • Enable patch board-rx51-peripherals.diff again, need for I2C_BOARD_INFO bq27x00_battery module. Now disable autoloading bq27x00_battery module by blacklist. Rename blacklist file to kernel-power.blacklist.

  • Support for binding and unbinding console drivers (CONFIG_VT_HW_CONSOLE_BINDING=y).

New changes by myself :

  • Atop kernel patches removed, these are the ones causing camera not working ...

  • Applied 'patch_swap_notify_core_support_2_2.6.28.diff' patch from freemangordon as requested by himself on post #.

  • Applied 'update_mmu_cache_arm.diff' patch from freemangordon as requested by himself on post #.

  • Applied 'fmtx_lock_power.diff' patch from freemangordon as requested by himself on post #.

  • Backported kernel module 'ramzswap' integration for 2.6.28 to build it inline during kernel compilation as requested by freemangordon in this post #.

  • Disabled statistics for the module 'ramzswap' (for performance reasons) as requested by freemangordon in this post #.

  • Added script in '/etc/event.d/fmtxpower with '120' as default value for '/sys/class/i2c-adapter/i2c-2/2-0063/power_level' parameter as requested by freemangordon in this post #.

  • Applied 'dspbridge_ioctl_buffer_overrun.diff' patch from freemangordon as requested by himself on post #.

You can get two patches needed for compcache from here

and if you make compcache sources (from the same post) to be part of the kernel (as a patch) I will owe you a beer.

BTW compcache is called ramzswap at kernel.org, will be good to follow naming conventions from there.
Done !!!

A++

PS : freemangordon, sorry for all the bad things occurred ...

Last edited by colin.stephane; 2011-09-04 at 11:45.
 

The Following 9 Users Say Thank You to colin.stephane For This Useful Post:
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#1496
Originally Posted by freemangordon View Post
Buggy library leading to previous kernel crashes found. It is gnome-vfs-filechooser-backend. Fix implemented here. Will try to push it as a part of the next CSSU update.
Hi freemangordon,

Do I have to leave in place 'dspbridge_ioctl_buffer_overrun.diff' patch inside my kernel-power source or does it no more required since you discovered Buggy library 'gnome-vfs-filechooser-backend' ???

A++
 

The Following 2 Users Say Thank You to colin.stephane For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1497
No problem, sh|t happens, but you lost your beer .
 

The Following User Says Thank You to freemangordon For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1498
Originally Posted by colin.stephane View Post
Hi freemangordon,

Do I have to leave in place 'dspbridge_ioctl_buffer_overrun.diff' patch inside my kernel-power source or does it no more required since you discovered Buggy library 'gnome-vfs-filechooser-backend' ???

A++
Yes, leave it, there was a bug in dspbridge module, triggered by bug in gnome-... library.
 

The Following 2 Users Say Thank You to freemangordon For This Useful Post:
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#1499
Originally Posted by freemangordon View Post
No problem, sh|t happens, but you lost your beer .
I think it's better like that, I do not drink alcohol in general, so can you imagine the same work with beer ??? ...

A++

Last edited by colin.stephane; 2011-09-04 at 10:26.
 

The Following 2 Users Say Thank You to colin.stephane For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1500
@colin.stephane - ok, ramzswap seems to work, but it has statistics enabled, will you please consider downloading compcache.zip again and checking all the modifications. In latest Makefile from the above .zip statistics are disabled (for performance reasons). I have also add some #ifdefs in ramzswap_drv.c file. And please, upload .diif file here, so I can add it to my kernel tree and check what is going on, ok?

Thanks
 

The Following 2 Users Say Thank You to freemangordon For This Useful Post:
Reply

Tags
battery-status, bq27x00_battery, kernel, kernel-power, misiak4king, noobs-cant-read, pali4president, patches, readdirections, revolverspinyou


 
Forum Jump


All times are GMT. The time now is 22:32.