Reply
Thread Tools
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1481
Could you please someone(Estel?) who experiences "Save As" reboot to try kernel from here and report if crashes continue.

Also I would like to ask if it is possible to install syslog (after installing kernel)

apt-get install sysklogd

and to post /var/log/syslog here after several "Save As" operations. There is additional logging enabled in the kernel, so I hope I will be able to have stack dump of buggy userland library/application

Thanks


EDIT: scratch the above, I was able to reproduce the crash, will investigate it by myself

Last edited by freemangordon; 2011-09-03 at 16:01.
 

The Following 4 Users Say Thank You to freemangordon For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#1482
Aye, but if You need any help later, I'm more than willing to help
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1483
@colin.stephane - please copy the attached patch to debian/patches and add it to series file. it fixes leafpad "Save As" crash.

Anyway the root of the problem is still unknown. I suspect hildonfm or similar, someone is traversing all the filesystem, executing FAT_IOCTL_GET_ATTRIBUTES to all the files. It seems this has been reported several times (here for example) but noone has find the root cause.

The attached patch will solve kernel crash but reboot will happen if you have watchdog disabled. In case watchdog is disabled you will have a reboot 30 seconds after "Save As" is pressed, because wd file is opened and then closed.

When I have time I will find what is the root cause of the problem.
Attached Files
File Type: zip dspbridge_ioctl_buffer_overrun.zip (654 Bytes, 82 views)
 

The Following User Says Thank You to freemangordon For This Useful Post:
Posts: 195 | Thanked: 96 times | Joined on May 2011
#1484
but please colin.stephane consider to enable the injection drivers
just like the original kp 48
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#1485
Originally Posted by Seker_94 View Post
but please colin.stephane consider to enable the injection drivers
just like the original kp 48
I add patches to the original kp v48, so I don't understand your problem ...

A++
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#1486
Originally Posted by freemangordon View Post
@colin.stephane - please copy the attached patch to debian/patches and add it to series file. it fixes leafpad "Save As" crash.

Anyway the root of the problem is still unknown. I suspect hildonfm or similar, someone is traversing all the filesystem, executing FAT_IOCTL_GET_ATTRIBUTES to all the files. It seems this has been reported several times (here for example) but noone has find the root cause.

The attached patch will solve kernel crash but reboot will happen if you have watchdog disabled. In case watchdog is disabled you will have a reboot 30 seconds after "Save As" is pressed, because wd file is opened and then closed.

When I have time I will find what is the root cause of the problem.
Patch applied & compiled, you can download new packages as usual, here :

http://bigbob.fun.free.fr/maemo-kernel-power/


Edit 01/09/2011 - 10:15 : pushed new one, this time I put 'fmtxpower' script in '/etc/event.d' properly, in the precedent build I made a mistake putting the file in '/etc', so for the ones that have used the precedent, please delete the file manually ...


A++

Last edited by colin.stephane; 2011-09-04 at 08:15.
 

The Following 2 Users Say Thank You to colin.stephane For This Useful Post:
Posts: 130 | Thanked: 9 times | Joined on Jul 2010
#1487
how do i get back to kp47?
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1488
Originally Posted by Hurrian View Post
Got spontaneous reboots with this one, as opposed to freemangordon's kpcc.zip.
Me too, even with the latest (buffer overrun) patch included.

@colin.stephane - it is your ramzswap module patch that is causing reboots, here is the backtrace

Code:
[  333.989776] CPU: 0    Not tainted  (2.6.28.10-power48 #1)
[  333.989807] PC is at reset_device+0x7c/0x1d8 [ramzswap]
[  333.989837] LR is at 0x0
[  333.989837] pc : [<bf33c238>]    lr : [<00000000>]    psr: 80000153
[  333.989837] sp : c9713d78  ip : 00000000  fp : c9713d9c
[  333.989868] r10: 00000000  r9 : 00000000  r8 : 00008000
[  333.989868] r7 : 00000000  r6 : c953aa00  r5 : c953aa00  r4 : 0e7c0000
[  333.989868] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : c953aa00
[  333.989898] Flags: Nzcv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment user
[  333.989898] Control: 10c5387d  Table: 831bc018  DAC: 00000015
[  333.989898] Process insmod (pid: 1901, stack limit = 0xc97122e8)
[  333.989929] Stack: (0xc9713d78 to 0xc9714000)

[  333.990631] Backtrace: 
[  333.990631] [<bf33c1bc>] (reset_device+0x0/0x1d8 [ramzswap]) from [<bf33d6cc>] (ramzswap_ioctl_init_device+0x4e4/0x55c [ramzswap])
[  333.990661] [<bf33d1e8>] (ramzswap_ioctl_init_device+0x0/0x55c [ramzswap]) from [<bf3431fc>] (ramzswap_init+0x1fc/0x29c [ramzswap])
[  333.990692] [<bf343000>] (ramzswap_init+0x0/0x29c [ramzswap]) from [<c002c334>] (__exception_text_end+0x64/0x198)
stack trace removed by me.

@colin.stephane - Will you please test the kernel at least once before uploading a link here. It is not only to put some patches and to leave others with reflashing and reboot loops.

And BTW where is this patch? I mean .diff file.

Here is the kernel with leafpad crash fixed an working ramzswap module.
 

The Following 3 Users Say Thank You to freemangordon For This Useful Post:
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#1489
Originally Posted by freemangordon View Post
Me too, even with the latest (buffer overrun) patch included.

@colin.stephane - it is your ramzswap module patch that is causing reboots, here is the backtrace

Code:
[  333.989776] CPU: 0    Not tainted  (2.6.28.10-power48 #1)
[  333.989807] PC is at reset_device+0x7c/0x1d8 [ramzswap]
[  333.989837] LR is at 0x0
[  333.989837] pc : [<bf33c238>]    lr : [<00000000>]    psr: 80000153
[  333.989837] sp : c9713d78  ip : 00000000  fp : c9713d9c
[  333.989868] r10: 00000000  r9 : 00000000  r8 : 00008000
[  333.989868] r7 : 00000000  r6 : c953aa00  r5 : c953aa00  r4 : 0e7c0000
[  333.989868] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : c953aa00
[  333.989898] Flags: Nzcv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment user
[  333.989898] Control: 10c5387d  Table: 831bc018  DAC: 00000015
[  333.989898] Process insmod (pid: 1901, stack limit = 0xc97122e8)
[  333.989929] Stack: (0xc9713d78 to 0xc9714000)

[  333.990631] Backtrace: 
[  333.990631] [<bf33c1bc>] (reset_device+0x0/0x1d8 [ramzswap]) from [<bf33d6cc>] (ramzswap_ioctl_init_device+0x4e4/0x55c [ramzswap])
[  333.990661] [<bf33d1e8>] (ramzswap_ioctl_init_device+0x0/0x55c [ramzswap]) from [<bf3431fc>] (ramzswap_init+0x1fc/0x29c [ramzswap])
[  333.990692] [<bf343000>] (ramzswap_init+0x0/0x29c [ramzswap]) from [<c002c334>] (__exception_text_end+0x64/0x198)
stack trace removed by me.

@colin.stephane - Will you please test the kernel at least once before uploading a link here. It is not only to put some patches and to leave others with reflashing and reboot loops.

And BTW where is this patch? I mean .diff file.

Here is the kernel with leafpad crash fixed an working ramzswap module.
Ok, it look like I have made a mistake during the backport of ramzswap module into kernel.

Let me check where is located the problem ...

A++

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

The Following User Says Thank You to colin.stephane For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1490
Which you would easily catch if you insmod ramzswap.ko at least once, thus my point.
 

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:31.