Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Division by zero in kernel.

Featured Replies

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)

  • Author

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)
 

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

  • Author

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. 

  • Author

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

  • Author

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.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.