Jump to content

Division by zero in kernel.


Recommended Posts

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

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

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

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

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

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines