technik007_cz Posted March 19, 2016 Share Posted March 19, 2016 Hi, I found problem below today. I have stability problems with services running on BananaPro and therefore this is second problem after "kswapd was killing some tasks" I decided revert back to older kernel 3.4.109. I am only letting you know... Division by zero in kernel.[10616.338198] [<c0015098>] (unwind_backtrace+0x0/0x134) from [<c03e7ab8>] (Ldiv0+0x8/0x10)[10616.350152] [<c03e7ab8>] (Ldiv0+0x8/0x10) from [<c00e87ac>] (vmpressure_work_fn+0x80/0x180)[10616.360314] [<c00e87ac>] (vmpressure_work_fn+0x80/0x180) from [<c004ca00>] (process_one_work+0x12c/0x3b0)[10616.370009] [<c004ca00>] (process_one_work+0x12c/0x3b0) from [<c004cfd8>] (worker_thread+0x158/0x394)[10616.378912] [<c004cfd8>] (worker_thread+0x158/0x394) from [<c00515d0>] (kthread+0x90/0x94)[10616.397707] [<c00515d0>] (kthread+0x90/0x94) from [<c000f498>] (kernel_thread_exit+0x0/0x8) Link to comment Share on other sites More sharing options...
technik007_cz Posted March 19, 2016 Author Share Posted March 19, 2016 I found this error 2x. [10616.244175] Division by zero in kernel.[10616.251020] [<c0015098>] (unwind_backtrace+0x0/0x134) from [<c03e7ab8>] (Ldiv0+0x8/0x10)[10616.267028] [<c03e7ab8>] (Ldiv0+0x8/0x10) from [<c00e8798>] (vmpressure_work_fn+0x6c/0x180)[10616.281004] [<c00e8798>] (vmpressure_work_fn+0x6c/0x180) from [<c004ca00>] (process_one_work+0x12c/0x3b0)[10616.301622] [<c004ca00>] (process_one_work+0x12c/0x3b0) from [<c004cfd8>] (worker_thread+0x158/0x394)[10616.315211] [<c004cfd8>] (worker_thread+0x158/0x394) from [<c00515d0>] (kthread+0x90/0x94)[10616.327663] [<c00515d0>] (kthread+0x90/0x94) from [<c000f498>] (kernel_thread_exit+0x0/0x8)[10616.330964] Division by zero in kernel.[10616.338198] [<c0015098>] (unwind_backtrace+0x0/0x134) from [<c03e7ab8>] (Ldiv0+0x8/0x10)[10616.350152] [<c03e7ab8>] (Ldiv0+0x8/0x10) from [<c00e87ac>] (vmpressure_work_fn+0x80/0x180)[10616.360314] [<c00e87ac>] (vmpressure_work_fn+0x80/0x180) from [<c004ca00>] (process_one_work+0x12c/0x3b0)[10616.370009] [<c004ca00>] (process_one_work+0x12c/0x3b0) from [<c004cfd8>] (worker_thread+0x158/0x394)[10616.378912] [<c004cfd8>] (worker_thread+0x158/0x394) from [<c00515d0>] (kthread+0x90/0x94)[10616.397707] [<c00515d0>] (kthread+0x90/0x94) from [<c000f498>] (kernel_thread_exit+0x0/0x8) Link to comment Share on other sites More sharing options...
matt Posted March 22, 2016 Share Posted March 22, 2016 https://dev.bananian.org/view.php?id=55 Link to comment Share on other sites More sharing options...
matt Posted March 22, 2016 Share Posted March 22, 2016 https://dev.bananian.org/view.php?id=55 Link to comment Share on other sites More sharing options...
tkaiser Posted March 22, 2016 Share Posted March 22, 2016 I found this error 2x. [10616.244175] Division by zero in kernel. [10616.251020] [<c0015098>] (unwind_backtrace+0x0/0x134) from [<c03e7ab8>] (Ldiv0+0x8/0x10) [10616.267028] [<c03e7ab8>] (Ldiv0+0x8/0x10) from [<c00e8798>] (vmpressure_work_fn+0x6c/0x180) Are you able to rebuild the kernel? If so it would be good to try out this patch: https://lkml.org/lkml/2013/9/12/234 Link to comment Share on other sites More sharing options...
tkaiser Posted March 22, 2016 Share Posted March 22, 2016 I applied the patch and put .debs online. Feedback welcomed. Link to comment Share on other sites More sharing options...
technik007_cz Posted March 24, 2016 Author Share Posted March 24, 2016 Thank you for your effort but I converted kernel from legacy to vanilla in meantime and it ended in unbootable system. Even I extracted your patched kernel to microsd card last message is "Starting kernel ..." and system remains in this state and do not want to continue. Therefore I decided to use full backup of system (rdiff-backup). I formated another microsd, transfered all files from backup with mc and "Preserve attributes" turned on. At the end I copied u-boot loader for my bananapro. Result is same, last message is "Starting kernel ..." and nothing more is happening... I will try recovery procedure from Igor's help page. But if you have different ideas I will be very appreciated. Link to comment Share on other sites More sharing options...
Igor Posted March 24, 2016 Share Posted March 24, 2016 Have you changed u-boot? Link to comment Share on other sites More sharing options...
technik007_cz Posted March 24, 2016 Author Share Posted March 24, 2016 Do we have different versions for legacy and vanilla kernel? Link to comment Share on other sites More sharing options...
technik007_cz Posted March 24, 2016 Author Share Posted March 24, 2016 It uses U-Boot 2016.01. This is what I see on boot screen. Link to comment Share on other sites More sharing options...
technik007_cz Posted March 24, 2016 Author Share Posted March 24, 2016 Is it normal when it says: ** Unrecognized filesystem type ** ? Link to comment Share on other sites More sharing options...
Igor Posted March 24, 2016 Share Posted March 24, 2016 Do we have different versions for legacy and vanilla kernel? Yes we do - you can't boot vice versa ... ok, it goes one way but you end up with one core. Unrecognized filesystem type if you not use a proper command (ext*, fat*, ...) or if it's broken ... Link to comment Share on other sites More sharing options...
technik007_cz Posted March 24, 2016 Author Share Posted March 24, 2016 Have you changed u-boot? Let me try... I extracted it from file linux-u-boot-bananapi_5.00_armhf.deb and used command below to write it to microsd. dd if=u-boot-sunxi-with-spl.bin of=/dev/sdx bs=1024 seek=8 It was not necessary to touch anything else ... and u-boot sucessfully started kernel. It was u-boot problem and it is sorted out now. Thank you Igor 1 Link to comment Share on other sites More sharing options...
technik007_cz Posted March 25, 2016 Author Share Posted March 25, 2016 I applied the patch and put .debs online. Feedback welcomed. I am running kernel patched by you Kaiser (3.4.111-sun7i) on the same BananaPro board. System uptime is 17h:38m now and I do not see "Division by zero in kernel." in dmesg log. I hope it is stable ;-). And if not I am back. Link to comment Share on other sites More sharing options...
Recommended Posts