|
2011-09-03
, 18:43
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#1482
|
|
2011-09-03
, 21:11
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#1483
|
The Following User Says Thank You to freemangordon For This Useful Post: | ||
|
2011-09-03
, 21:27
|
Posts: 195 |
Thanked: 96 times |
Joined on May 2011
|
#1484
|
|
2011-09-03
, 21:47
|
Posts: 458 |
Thanked: 783 times |
Joined on Jan 2010
@ France
|
#1485
|
but please colin.stephane consider to enable the injection drivers
just like the original kp 48
|
2011-09-03
, 22:52
|
Posts: 458 |
Thanked: 783 times |
Joined on Jan 2010
@ France
|
#1486
|
@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.
|
2011-09-04
, 06:17
|
Posts: 130 |
Thanked: 9 times |
Joined on Jul 2010
|
#1487
|
|
2011-09-04
, 08:23
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#1488
|
Got spontaneous reboots with this one, as opposed to freemangordon's kpcc.zip.
[ 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)
|
2011-09-04
, 08:34
|
Posts: 458 |
Thanked: 783 times |
Joined on Jan 2010
@ France
|
#1489
|
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
stack trace removed by me.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)
@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 User Says Thank You to colin.stephane For This Useful Post: | ||
|
2011-09-04
, 08:46
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#1490
|
The Following 2 Users Say Thank You to freemangordon For This Useful Post: | ||
Tags |
battery-status, bq27x00_battery, kernel, kernel-power, misiak4king, noobs-cant-read, pali4president, patches, readdirections, revolverspinyou |
Thread Tools | |
|
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.