I have a problem with ntpdate that cannot fix incorrect time at 64-bit Ubuntu server, it reports that year 2280 is OK (offset only -0.008843 sec). This has to be a bug in ntpdate/ntpd. (ntpd was running on the system all the time) I checked if the wrong time was on my server from the beginning or if it was set up latter. I was able to find a lines in /var/log/messages those indicate that wrong ime was created by some incident: Sep 4 01:53:18 ubuntu64 kernel: [ 34.900778] lo: Disabled Privacy Extensions Sep 4 01:53:18 ubuntu64 kernel: [ 35.814779] ip_tables: (C) 2000-2006 Netfilter Core Team Nov 18 08:28:51 ubuntu64 kernel: [ 1036.211444] Clocksource tsc unstable (delta = 149951476369 ns) Nov 18 08:28:51 ubuntu64 kernel: [ 4637.400352] Time: acpi_pm clocksource has been installed. Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713320] CPU 0: Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713321] Modules linked in: iptable_filter ip_tables x_tables ipv6 lp loop af_packet evdev container parport_pc button serio_raw ac parport shpchp i2c_piix4 i2c_core psmouse pcspkr pci_hotplug intel_agp reiserfs sr_mod cdrom sg sd_mod ata_piix ata_generic floppy pata_acpi mptspi mptscsih mptbase scsi_transport_spi libata e1000 scsi_mod thermal processor fan fbcon tileblit font bitblit softcursor fuse Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713423] Pid: 4516, comm: postgres Not tainted 2.6.24-19-server #1 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713425] RIP: 0010:[floppy:_spin_lock_irqsave+0x15/0x30] [floppy:_spin_lock_irqsave+0x15/0x30] _spin_lock_irqsave+0x15/0x30 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713430] RSP: 0018:ffff81001e8bb960 EFLAGS: 00000286 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713431] RAX: 0000000000000286 RBX: ffff81001d7ac000 RCX: 00000000c0000100 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713433] RDX: ffff81001e8ba000 RSI: ffff81001e8bb9a8 RDI: ffff81001d7ac000 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713434] RBP: ffff81001cc4a340 R08: ffff81001e8ba000 R09: 0000000000000000 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713435] R10: ffff81000100cc60 R11: 0000000000000001 R12: 0000000000000000 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713437] R13: ffff81001f582d00 R14: 0000000000000000 R15: ffff81001e852000 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713439] FS: 00007f47f55d8700(0000) GS:ffffffff805c4000(0000) knlGS:0000000000000000 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713441] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713442] CR2: 00000000009a2f90 CR3: 000000001ccda000 CR4: 00000000000006e0 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713447] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713451] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713452] Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713453] Call Trace: Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713456] [lock_timer_base+0x34/0x70] lock_timer_base+0x34/0x70 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713460] [try_to_del_timer_sync+0x18/0x60] try_to_del_timer_sync+0x18/0x60 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713462] [shpchp:del_timer_sync+0x10/0x70] del_timer_sync+0x10/0x20 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713464] [shpchp:schedule_timeout+0x67/0x350] schedule_timeout+0x67/0xd0 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713466] [process_timeout+0x0/0x10] process_timeout+0x0/0x10 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713468] [shpchp:schedule_timeout+0x5a/0x350] schedule_timeout+0x5a/0xd0 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713471] [do_select+0x468/0x570] do_select+0x468/0x570 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713474] [do_page_fault+0x1d0/0x840] do_page_fault+0x1d0/0x840 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713476] [__pollwait+0x0/0x130] __pollwait+0x0/0x130 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713497] [reiserfs:get_cnode+0x84/0x90] :reiserfs:get_cnode+0x84/0x90 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713507] [reiserfs:journal_mark_dirty+0xfe/0x2a0] :reiserfs:journal_mark_dirty+0xfe/0x2a0 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713515] [reiserfs:inode2sd+0xcc/0x110] :reiserfs:inode2sd+0xcc/0x110 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713522] [reiserfs:pathrelse+0x30/0x50] :reiserfs:pathrelse+0x30/0x50 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713528] [reiserfs:reiserfs_update_sd_size+0x1c5/0x2b0] :reiserfs:reiserfs_update_sd_size+0x1c5/0x2b0 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713535] [reiserfs:do_journal_end+0x369/0xdb0] :reiserfs:do_journal_end+0x369/0xdb0 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713540] [] autoremove_wake_function+0x0/0x30 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713543] [file_read_actor+0x138/0x160] file_read_actor+0x138/0x160 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713546] [do_generic_mapping_read+0x16c/0x3c0] do_generic_mapping_read+0x16c/0x3c0 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713549] [enqueue_entity+0x37/0x70] enqueue_entity+0x37/0x70 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713551] [enqueue_task_fair+0x38/0x50] enqueue_task_fair+0x38/0x50 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713554] [core_sys_select+0x209/0x300] core_sys_select+0x209/0x300 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713558] [signal_wake_up+0x1e/0x30] signal_wake_up+0x1e/0x30 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713560] [__group_send_sig_info+0x75/0xa0] __group_send_sig_info+0x75/0xa0 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713562] [group_send_sig_info+0x6e/0x90] group_send_sig_info+0x6e/0x90 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713564] [kill_pid_info+0x51/0x90] kill_pid_info+0x51/0x90 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713567] [sys_select+0xd1/0x1c0] sys_select+0xd1/0x1c0 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713570] [system_call+0x7e/0x83] system_call+0x7e/0x83 Nov 18 08:28:51 ubuntu64 kernel: [ 4648.713573] Nov 18 08:28:51 ubuntu64 kernel: [ 4660.492982] CPU 0: Nov 18 08:28:51 ubuntu64 kernel: [ 4660.492984] Modules linked in: iptable_filter ip_tables x_tables ipv6 lp loop af_packet evdev container parport_pc button serio_raw ac parport shpchp i2c_piix4 i2c_core psmouse pcspkr pci_hotplug intel_agp reiserfs sr_mod cdrom sg sd_mod ata_piix ata_generic floppy pata_acpi mptspi mptscsih mptbase scsi_transport_spi libata e1000 scsi_mod thermal processor fan fbcon tileblit font bitblit softcursor fuse Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493005] Pid: 4516, comm: postgres Not tainted 2.6.24-19-server #1 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493007] RIP: 0010:[floppy:_spin_lock_irqsave+0x15/0x30] [floppy:_spin_lock_irqsave+0x15/0x30] _spin_lock_irqsave+0x15/0x30 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493012] RSP: 0018:ffff81001e8bb960 EFLAGS: 00000286 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493013] RAX: 0000000000000286 RBX: ffff81001d7ac000 RCX: 00000000c0000100 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493015] RDX: ffff81001e8ba000 RSI: ffff81001e8bb9a8 RDI: ffff81001d7ac000 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493016] RBP: ffff81001cc4a340 R08: ffff81001e8ba000 R09: 0000000000000000 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493017] R10: ffff81000100cc60 R11: 0000000000000001 R12: 0000000000000000 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493018] R13: ffff81001f582d00 R14: 0000000000000000 R15: ffff81001e852000 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493021] FS: 00007f47f55d8700(0000) GS:ffffffff805c4000(0000) knlGS:0000000000000000 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493023] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493024] CR2: 00000000009a2f90 CR3: 000000001ccda000 CR4: 00000000000006e0 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493029] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493033] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493034] Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493035] Call Trace: Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493038] [lock_timer_base+0x34/0x70] lock_timer_base+0x34/0x70 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493041] [try_to_del_timer_sync+0x18/0x60] try_to_del_timer_sync+0x18/0x60 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493043] [shpchp:del_timer_sync+0x10/0x70] del_timer_sync+0x10/0x20 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493046] [shpchp:schedule_timeout+0x67/0x350] schedule_timeout+0x67/0xd0 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493047] [process_timeout+0x0/0x10] process_timeout+0x0/0x10 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493049] [shpchp:schedule_timeout+0x5a/0x350] schedule_timeout+0x5a/0xd0 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493052] [do_select+0x468/0x570] do_select+0x468/0x570 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493056] [do_page_fault+0x1d0/0x840] do_page_fault+0x1d0/0x840 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493058] [__pollwait+0x0/0x130] __pollwait+0x0/0x130 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493069] [reiserfs:get_cnode+0x84/0x90] :reiserfs:get_cnode+0x84/0x90 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493075] [reiserfs:journal_mark_dirty+0xfe/0x2a0] :reiserfs:journal_mark_dirty+0xfe/0x2a0 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493081] [reiserfs:inode2sd+0xcc/0x110] :reiserfs:inode2sd+0xcc/0x110 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493088] [reiserfs:pathrelse+0x30/0x50] :reiserfs:pathrelse+0x30/0x50 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493094] [reiserfs:reiserfs_update_sd_size+0x1c5/0x2b0] :reiserfs:reiserfs_update_sd_size+0x1c5/0x2b0 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493101] [reiserfs:do_journal_end+0x369/0xdb0] :reiserfs:do_journal_end+0x369/0xdb0 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493105] [] autoremove_wake_function+0x0/0x30 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493108] [file_read_actor+0x138/0x160] file_read_actor+0x138/0x160 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493111] [do_generic_mapping_read+0x16c/0x3c0] do_generic_mapping_read+0x16c/0x3c0 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493117] [enqueue_entity+0x37/0x70] enqueue_entity+0x37/0x70 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493120] [enqueue_task_fair+0x38/0x50] enqueue_task_fair+0x38/0x50 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493122] [core_sys_select+0x209/0x300] core_sys_select+0x209/0x300 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493126] [signal_wake_up+0x1e/0x30] signal_wake_up+0x1e/0x30 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493128] [__group_send_sig_info+0x75/0xa0] __group_send_sig_info+0x75/0xa0 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493130] [group_send_sig_info+0x6e/0x90] group_send_sig_info+0x6e/0x90 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493132] [kill_pid_info+0x51/0x90] kill_pid_info+0x51/0x90 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493135] [sys_select+0xd1/0x1c0] sys_select+0xd1/0x1c0 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493139] [system_call+0x7e/0x83] system_call+0x7e/0x83 Nov 18 08:28:51 ubuntu64 kernel: [ 4660.493142] Nov 17 15:12:40 ubuntu64 -- MARK -- Oct 31 14:33:25 ubuntu64 -- MARK -- Feb 26 22:52:45 ubuntu64 -- MARK -- Apr 27 16:03:06 ubuntu64 kernel: [ 7697.159173] time.c: can't update CMOS clock from 57 to 3 Apr 27 16:03:07 ubuntu64 kernel: [ 7698.156470] time.c: can't update CMOS clock from 57 to 3