Hello, I have a problem with my server, it's several times I got "Divide Error: 0000 [#1] SMP". I'm not qualified enough to identify the problem. This is the message, I got : ---------------------------------------------------------------------------------------------------------------------------- [1639377.680125] divide error: 0000 [#1] SMP [1639377.680149] Modules linked in: dm_mod lp parport_pc joydev st sr_mod cdrom xt_multiport nfnetlink_queue nfnetlink nf_conntrack_ipv4 nf_defrag_ipv4 xt_tcpudp iptable_filter ip_tables xt_iprange xt_conntrack nf_conntrack ipt_REJECT xt_mark xt_NFQUEUE x_tables binfmt_misc arc4 ecb md4 hmac nls_utf8 cifs dns_resolver fscache pl2303 usbserial ext4 crc16 mbcache jbd2 snd_hda_codec_hdmi nouveau mxm_wmi wmi video snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm ttm drm_kms_helper drm snd_timer i2c_algo_bit iTCO_wdt snd iTCO_vendor_support soundcore pcspkr evdev serio_raw kvm_intel kvm shpchp i2c_i801 i2c_core lpc_ich mfd_core asus_atk0110 button processor thermal_sys hwmon_vid coretemp loop fuse ppdev parport autofs4 xfs crc32c_generic libcrc32c hid_generic usbhid hid raid1 md_mod sg sd_mod [1639377.680439] crc_t10dif crct10dif_generic crct10dif_common ata_generic ahci libahci ata_piix pata_jmicron atl1 mii libata ehci_pci uhci_hcd ehci_hcd scsi_mod usbcore usb_common [last unloaded: parport_pc] [1639377.680513] CPU: 2 PID: 2618 Comm: pgld Not tainted 3.16.0-4-686-pae #1 Debian 3.16.7-ckt9-3~deb8u1 [1639377.680542] Hardware name: System manufacturer P5K/P5K, BIOS 1201 10/14/2008 [1639377.680571] task: f0855560 ti: efe54000 task.ti: efe54000 [1639377.680589] EIP: 0060:[<c125bfad>] EFLAGS: 00010246 CPU: 2 [1639377.680609] EIP is at div64_u64+0x2d/0x160 [1639377.680626] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000 [1639377.680644] ESI: 00000000 EDI: 00000000 EBP: efe55d4c ESP: efe55d28 [1639377.680662] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [1639377.680680] CR0: 80050033 CR2: b776b000 CR3: 2fd55000 CR4: 000007f0 [1639377.680698] Stack: [1639377.680711] 00000416 00000000 efe55d4c c111f6b6 0000ba44 00000000 00000000 0000005b [1639377.680749] 00000000 efe55d80 c111f97d 00000000 00000000 00000000 0000005b 00000000 [1639377.680788] 00010000 00000001 00000212 00000000 00000416 f0fb0ea0 efe55e18 c1120dce [1639377.680826] Call Trace: [1639377.680845] [<c111f6b6>] ? pos_ratio_polynom+0x36/0xa0 [1639377.680863] [<c111f97d>] ? bdi_position_ratio.isra.11+0x15d/0x200 [1639377.680883] [<c1120dce>] ? balance_dirty_pages_ratelimited+0x17e/0x690 [1639377.680903] [<c11985f2>] ? generic_write_end+0xb2/0xe0 [1639377.680932] [<f8073380>] ? xfs_vm_write_end+0x40/0xe0 [xfs] [1639377.680951] [<c11171a2>] ? generic_perform_write+0x132/0x1a0 [1639377.680981] [<f8080abb>] ? xfs_file_buffered_aio_write+0xfb/0x1a0 [xfs] [1639377.681011] [<f8080bc9>] ? xfs_file_write_iter+0x69/0x130 [xfs] [1639377.681031] [<c11706d9>] ? cp_new_stat64+0x109/0x120 [1639377.681049] [<c116c099>] ? new_sync_write+0x69/0xa0 [1639377.681067] [<c116c030>] ? do_iter_readv_writev+0x90/0x90 [1639377.681084] [<c116c53d>] ? vfs_write+0x9d/0x1d0 [1639377.681102] [<c116cc06>] ? SyS_write+0x46/0x90 [1639377.681120] [<c147bcdf>] ? sysenter_do_call+0x12/0x12 [1639377.681137] Code: e5 57 56 53 83 ec 18 89 44 24 10 8b 45 0c 89 54 24 14 85 c0 75 40 8b 4c 24 14 8b 5d 08 89 ce 39 cb 0f 87 17 01 00 00 89 c8 31 d2 <f7> f3 31 d2 89 c1 89 f0 f7 f3 89 d6 8b 5c 24 10 89 f2 89 cf 89 [1639377.681292] EIP: [<c125bfad>] div64_u64+0x2d/0x160 SS:ESP 0068:efe55d28 [1639377.681522] ---[ end trace 22f807c15589e633 ]--- ---------------------------------------------------------------------------------------------------------------------------- I also got this message on my SSH session: ---------------------------------------------------------------------------------------------------------------------------- Message from syslogd@shax <mailto:syslogd@shax> at Fri Jun 12 13:55:36 2015 ... shax vmunix: [1639377.681137] Code: e5 57 56 53 83 ec 18 89 44 24 10 8b 45 0c 89 54 24 14 85 c0 75 40 8b 4c 24 14 8b 5d 08 89 ce 39 cb 0f 87 17 01 00 00 89 c8 31 d2 <f7> f3 31 d2 89 c1 89 f0 f7 f3 89 d6 8b 5c 24 10 89 f2 89 cf 89 Message from syslogd@shax <mailto:syslogd@shax> at Fri Jun 12 13:55:36 2015 ... shax vmunix: [1639377.681292] EIP: [<c125bfad>] div64_u64+0x2d/0x160 SS:ESP 0068:efe55d28 ---------------------------------------------------------------------------------------------------------------------------- My system: ---------------------------------------------------------------------------------------------------------------------------- uname -a Linux shax 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) i686 GNU/Linux ---------------------------------------------------------------------------------------------------------------------------- Have you any idea from where it can comes ? Or at least, tell where I should go to have some help (kernel.org ?)
On Sun, Jun 14, 2015 at 2:28 PM, Sioban <sioban@sioban.net> wrote:
Hello,
I have a problem with my server, it's several times I got "Divide Error: 0000 [#1] SMP". .... I expect that patch "[PATCH block/for-4.1-fixes] writeback: use |1 instead of +1 to protect against div by zero" [1] will fix your issue. It is for 4.1 kernel.
[1] https://lkml.org/lkml/2015/4/21/797 -- Leon Romanovsky | Independent Linux Consultant www.leon.nu | leon@leon.nu
On 14/06/2015 15:12, Leon Romanovsky wrote:
On Sun, Jun 14, 2015 at 2:28 PM, Sioban <sioban@sioban.net> wrote:
Hello,
I have a problem with my server, it's several times I got "Divide Error: 0000 [#1] SMP". .... I expect that patch "[PATCH block/for-4.1-fixes] writeback: use |1 instead of +1 to protect against div by zero" [1] will fix your issue. It is for 4.1 kernel.
I've checked the debian repo. The most recent kernel available is 4.0.0.2. I assume I'll have to wait for that patch...
On Sun, Jun 14, 2015 at 6:31 AM, Sioban <sioban@sioban.net> wrote:
I've checked the debian repo. The most recent kernel available is 4.0.0.2.
I assume I'll have to wait for that patch...
It looks like that patch has already been applied to the latest Debian 4.0 kernel (as has the other fix mentioned in Leon's link, c72efb658f7c) So give it a try :) Henry
This is very interesting, I'll give a try. However I would like to know if the problem is Hardware, Software (Kernel) or Software (another program). I see that line in the report : [1639377.680513] CPU: 2 PID: 2618 Comm: pgld Not tainted 3.16.0-4-686-pae #1 Debian 3.16.7-ckt9-3~deb8u1 Does this mean that pgld is the process which generated the Divide Error ? Pgld stand for PeerGuardian Linux : http://sourceforge.net/projects/peerguardian/files/PeerGuardian%20Linux/ PeerGuardian Linux is a privacy oriented firewall application. It blocks connections to and from hosts specified in huge blocklists (thousands or millions of IP ranges). Regards, Le 2015-06-15 08:20, Henry Hallam a écrit :
On Sun, Jun 14, 2015 at 6:31 AM, Sioban <sioban@sioban.net> wrote:
I've checked the debian repo. The most recent kernel available is 4.0.0.2.
I assume I'll have to wait for that patch...
It looks like that patch has already been applied to the latest Debian 4.0 kernel (as has the other fix mentioned in Leon's link, c72efb658f7c)
So give it a try :)
Henry
This is very interesting, I'll give a try. However I would like to know if the problem is Hardware, Software (Kernel) or Software (another program). I see that line in the report : [1639377.680513] CPU: 2 PID: 2618 Comm: pgld Not tainted 3.16.0-4-686-pae #1 Debian 3.16.7-ckt9-3~deb8u1 Does this mean that pgld is the process which generated the Divide Error ? Pgld stand for PeerGuardian Linux : http://sourceforge.net/projects/peerguardian/files/PeerGuardian%20Linux/ PeerGuardian Linux is a privacy oriented firewall application. It blocks connections to and from hosts specified in huge blocklists (thousands or millions of IP ranges). Regards, Le 2015-06-15 08:20, Henry Hallam a écrit :
On Sun, Jun 14, 2015 at 6:31 AM, Sioban <sioban@sioban.net> wrote:
I've checked the debian repo. The most recent kernel available is 4.0.0.2.
I assume I'll have to wait for that patch...
It looks like that patch has already been applied to the latest Debian 4.0 kernel (as has the other fix mentioned in Leon's link, c72efb658f7c)
So give it a try :)
Henry
I wasn't able to try but I can eliminate the software (program) origin. I got two other divide error tonight: [233559.766837] divide error: 0000 [#1] SMP [233559.766861] Modules linked in: udp_diag tcp_diag inet_diag nfnetlink_log bluetooth 6lowpan_iphc rfkill nfnetlink_queue nfnetlink binfmt_misc xt_LOG xt_limit xt_multiport nf_conntrack_ipv4 nf_defrag_ipv4 xt_tcpudp iptable_filter ip_tables xt_iprange xt_conntrack nf_conntrack ipt_REJECT xt_mark xt_NFQUEUE x_tables arc4 ecb md4 hmac nls_utf8 cifs dns_resolver fscache pl2303 ext4 usbserial crc16 mbcache jbd2 snd_hda_codec_hdmi nouveau mxm_wmi wmi video ttm drm_kms_helper drm i2c_algo_bit snd_hda_intel snd_hda_controller snd_hda_codec iTCO_wdt iTCO_vendor_support snd_hwdep snd_pcm snd_timer snd soundcore evdev kvm_intel kvm pcspkr serio_raw shpchp i2c_i801 i2c_core asus_atk0110 button processor lpc_ich mfd_core thermal_sys hwmon_vid coretemp loop fuse parport_pc ppdev lp parport autofs4 xfs crc32c_generic [233559.767169] libcrc32c hid_generic usbhid hid raid1 md_mod sg sd_mod crc_t10dif crct10dif_generic crct10dif_common ata_generic ata_piix ahci pata_jmicron atl1 libahci mii libata uhci_hcd ehci_pci ehci_hcd scsi_mod usbcore usb_common [233559.767265] CPU: 0 PID: 1204 Comm: named Not tainted 3.16.0-4-686-pae #1 Debian 3.16.7-ckt11-1 [233559.767295] Hardware name: System manufacturer P5K/P5K, BIOS 1201 10/14/2008 [233559.767324] task: f6402ab0 ti: eff5a000 task.ti: eff5a000 [233559.767342] EIP: 0060:[<c125c1cd>] EFLAGS: 00210246 CPU: 0 [233559.767364] EIP is at div64_u64+0x2d/0x160 [233559.767380] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000 [233559.767398] ESI: 00000000 EDI: 00000000 EBP: eff5bd4c ESP: eff5bd28 [233559.767417] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [233559.767434] CR0: 80050033 CR2: bf84affc CR3: 2fe10000 CR4: 000007f0 [233559.767453] Stack: [233559.767466] 00000c9f 00000000 eff5bd4c c111f8f6 0000a46e 00000000 00000000 0000001a [233559.767508] 00000000 eff5bd80 c111fbbd 00000000 00000000 00000000 0000001a 00000000 [233559.767549] 00010000 00000001 00000656 00000000 00000c9f c0087330 eff5be18 c112100e [233559.767591] Call Trace: [233559.767610] [<c111f8f6>] ? pos_ratio_polynom+0x36/0xa0 [233559.767629] [<c111fbbd>] ? bdi_position_ratio.isra.11+0x15d/0x200 [233559.767649] [<c112100e>] ? balance_dirty_pages_ratelimited+0x17e/0x690 [233559.767670] [<c1198852>] ? generic_write_end+0xb2/0xe0 [233559.767700] [<f81cf380>] ? xfs_vm_write_end+0x40/0xe0 [xfs] [233559.767719] [<c11173e2>] ? generic_perform_write+0x132/0x1a0 [233559.767750] [<f81dcabb>] ? xfs_file_buffered_aio_write+0xfb/0x1a0 [xfs] [233559.767781] [<f81dcbc9>] ? xfs_file_write_iter+0x69/0x130 [xfs] [233559.767802] [<c1170929>] ? cp_new_stat64+0x109/0x120 [233559.767820] [<c116c2e9>] ? new_sync_write+0x69/0xa0 [233559.767838] [<c116c280>] ? do_iter_readv_writev+0x90/0x90 [233559.767856] [<c116c78d>] ? vfs_write+0x9d/0x1d0 [233559.767876] [<c147a2e0>] ? mutex_lock+0x10/0x28 [233559.767893] [<c116ce56>] ? SyS_write+0x46/0x90 [233559.767912] [<c147c2df>] ? sysenter_do_call+0x12/0x12 [233559.767930] [<c1470000>] ? dcb_doit+0x70/0x1a0 [233559.767947] Code: e5 57 56 53 83 ec 18 89 44 24 10 8b 45 0c 89 54 24 14 85 c0 75 40 8b 4c 24 14 8b 5d 08 89 ce 39 cb 0f 87 17 01 00 00 89 c8 31 d2 <f7> f3 31 d2 89 c1 89 f0 f7 f3 89 d6 8b 5c 24 10 89 f2 89 cf 89 [233559.768122] EIP: [<c125c1cd>] div64_u64+0x2d/0x160 SS:ESP 0068:eff5bd28 [233559.768397] ---[ end trace 8798be206d85f7ae ]--- [233559.772020] divide error: 0000 [#2] SMP [233559.772125] Modules linked in: udp_diag tcp_diag inet_diag nfnetlink_log bluetooth 6lowpan_iphc rfkill nfnetlink_queue nfnetlink binfmt_misc xt_LOG xt_limit xt_multiport nf_conntrack_ipv4 nf_defrag_ipv4 xt_tcpudp iptable_filter ip_tables xt_iprange xt_conntrack nf_conntrack ipt_REJECT xt_mark xt_NFQUEUE x_tables arc4 ecb md4 hmac nls_utf8 cifs dns_resolver fscache pl2303 ext4 usbserial crc16 mbcache jbd2 snd_hda_codec_hdmi nouveau mxm_wmi wmi video ttm drm_kms_helper drm i2c_algo_bit snd_hda_intel snd_hda_controller snd_hda_codec iTCO_wdt iTCO_vendor_support snd_hwdep snd_pcm snd_timer snd soundcore evdev kvm_intel kvm pcspkr serio_raw shpchp i2c_i801 i2c_core asus_atk0110 button processor lpc_ich mfd_core thermal_sys hwmon_vid coretemp loop fuse parport_pc ppdev lp parport autofs4 xfs crc32c_generic [233559.774797] libcrc32c hid_generic usbhid hid raid1 md_mod sg sd_mod crc_t10dif crct10dif_generic crct10dif_common ata_generic ata_piix ahci pata_jmicron atl1 libahci mii libata uhci_hcd ehci_pci ehci_hcd scsi_mod usbcore usb_common [233559.775642] CPU: 1 PID: 1390 Comm: syslogd Tainted: G D 3.16.0-4-686-pae #1 Debian 3.16.7-ckt11-1 [233559.775701] Hardware name: System manufacturer P5K/P5K, BIOS 1201 10/14/2008 [233559.775758] task: f0cccab0 ti: ef25e000 task.ti: ef25e000 [233559.775804] EIP: 0060:[<c125c1cd>] EFLAGS: 00010246 CPU: 1 [233559.775852] EIP is at div64_u64+0x2d/0x160 [233559.775896] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000 [233559.775942] ESI: 00000000 EDI: 00000000 EBP: ef25fce8 ESP: ef25fcc4 [233559.775989] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [233559.776006] CR0: 80050033 CR2: b6d5e010 CR3: 2f25c000 CR4: 000007f0 [233559.776006] Stack: [233559.776006] 00000c9f 00000000 ef25fce8 c111f8f6 0000a454 00000000 00000000 0000001a [233559.776006] 00000000 ef25fd1c c111fbbd 00000000 00000000 00000000 0000001a 00000000 [233559.776006] 00010000 00000001 00000656 00000000 00000c9f c0087330 ef25fdb4 c112100e [233559.776006] Call Trace: [233559.776006] [<c111f8f6>] ? pos_ratio_polynom+0x36/0xa0 [233559.776006] [<c111fbbd>] ? bdi_position_ratio.isra.11+0x15d/0x200 [233559.776006] [<c112100e>] ? balance_dirty_pages_ratelimited+0x17e/0x690 [233559.776006] [<c1198852>] ? generic_write_end+0xb2/0xe0 [233559.776006] [<f81cf380>] ? xfs_vm_write_end+0x40/0xe0 [xfs] [233559.776006] [<c11173e2>] ? generic_perform_write+0x132/0x1a0 [233559.776006] [<f81dcabb>] ? xfs_file_buffered_aio_write+0xfb/0x1a0 [xfs] [233559.776006] [<f81dcbc9>] ? xfs_file_write_iter+0x69/0x130 [xfs] [233559.776006] [<c116c254>] ? do_iter_readv_writev+0x64/0x90 [233559.776006] [<f81dcb60>] ? xfs_file_buffered_aio_write+0x1a0/0x1a0 [xfs] [233559.776006] [<c116d17d>] ? do_readv_writev+0x9d/0x2b0 [233559.776006] [<f81dcb60>] ? xfs_file_buffered_aio_write+0x1a0/0x1a0 [xfs] [233559.776006] [<c116c280>] ? do_iter_readv_writev+0x90/0x90 [233559.776006] [<c116d414>] ? vfs_writev+0x34/0x50 [233559.776006] [<c116d53a>] ? SyS_writev+0x4a/0xc0 [233559.776006] [<c147c2df>] ? sysenter_do_call+0x12/0x12 [233559.776006] Code: e5 57 56 53 83 ec 18 89 44 24 10 8b 45 0c 89 54 24 14 85 c0 75 40 8b 4c 24 14 8b 5d 08 89 ce 39 cb 0f 87 17 01 00 00 89 c8 31 d2 <f7> f3 31 d2 89 c1 89 f0 f7 f3 89 d6 8b 5c 24 10 89 f2 89 cf 89 [233559.776006] EIP: [<c125c1cd>] div64_u64+0x2d/0x160 SS:ESP 0068:ef25fcc4 [233559.781221] ---[ end trace 8798be206d85f7af ]---
Hi, After 14 days with a 4.0 kernel I didn't get any divide by zero errors. It looks good. Thank all for the help !
On 1 July 2015 at 11:59, Sudip Mukherjee <sudipm.mukherjee@gmail.com> wrote:
I don't understand. What is the context of this? Hi Luis, Please see the mail sent by Sioban on June 14th and you will understand the context . :)
regards sudip
I searched to see if it was in relation to some previous conversation. Google failed me and I didn't found it. Thanks for the context Sudip :) and congrats Sioban, happy to hear your issue is fixed. Luis
Yeah, the list helped me well :D In fact I wasn't able to find a reliable source for kernel issues except there. Le 2015-07-01 13:23, Luis de Bethencourt a écrit :
On 1 July 2015 at 11:59, Sudip Mukherjee <sudipm.mukherjee@gmail.com> wrote:
I don't understand. What is the context of this? Hi Luis, Please see the mail sent by Sioban on June 14th and you will understand the context . :)
regards sudip
I searched to see if it was in relation to some previous conversation. Google failed me and I didn't found it.
Thanks for the context Sudip :)
and congrats Sioban, happy to hear your issue is fixed.
Luis
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
I searched to see if it was in relation to some previous conversation. Google failed me and I didn't found it. https://www.mail-archive.com/kernelnewbies@kernelnewbies.org/msg14044.html
regards sudip
participants (6)
-
Henry Hallam -
Jérôme Tytgat -
Leon Romanovsky -
Luis de Bethencourt -
Sioban -
Sudip Mukherjee