lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 11 Jan 2011 10:13:52 +0200
From:	"Kirill A. Shutemov" <kirill@...temov.name>
To:	mingo@...hat.com, hpa@...or.com, linux-kernel@...r.kernel.org,
	andi@...stfloor.org, johnstul@...ibm.com, williams@...hat.com,
	schwidefsky@...ibm.com, tglx@...utronix.de, mingo@...e.hu
Cc:	linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/tsc] x86: Improve TSC calibration using a delayed
 workqueue

On Sun, Dec 05, 2010 at 11:18:53AM +0000, tip-bot for John Stultz wrote:
> Commit-ID:  08ec0c58fb8a05d3191d5cb6f5d6f81adb419798
> Gitweb:     http://git.kernel.org/tip/08ec0c58fb8a05d3191d5cb6f5d6f81adb419798
> Author:     John Stultz <johnstul@...ibm.com>
> AuthorDate: Tue, 27 Jul 2010 17:00:00 -0700
> Committer:  John Stultz <john.stultz@...aro.org>
> CommitDate: Thu, 2 Dec 2010 16:48:37 -0800
> 
> x86: Improve TSC calibration using a delayed workqueue

This commit breaks booting the kernel in qemu with enabled KVM on my machine.
.config attached.

[    0.424013] divide error: 0000 [#1] 
[    0.424013] last sysfs file: 
[    0.424013] Modules linked in:
[    0.424013] 
[    0.424013] Pid: 4, comm: kworker/0:0 Not tainted 2.6.37+ #86 /Bochs
[    0.424013] EIP: 0060:[<c1042a73>] EFLAGS: 00010246 CPU: 0
[    0.424013] EIP is at clocks_calc_mult_shift+0xb3/0xf0
[    0.424013] EAX: 000f4240 EBX: 00000020 ECX: 000f4240 EDX: 00000000
[    0.424013] ESI: 00000000 EDI: 00000000 EBP: c78e3eb4 ESP: c78e3e7c
[    0.424013]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[    0.424013] Process kworker/0:0 (pid: 4, ti=c78e2000 task=c78d1980 task.ti=c78e2000)
[    0.424013] Stack:
[    0.424013]  c78d1ca8 0000024f c1412508 c1412504 00000000 00000000 000f4240 00000000
[    0.424013]  00000020 00000000 000f4240 c14124e0 c78c7000 c1412508 c78e3ed8 c1042aeb
[    0.424013]  000f4240 00001388 000003e8 c1412504 c14124e0 c78c7000 c78e6200 c78e3ee4
[    0.424013] Call Trace:
[    0.424013]  [<c1042aeb>] __clocksource_updatefreq_scale+0x3b/0x60
[    0.424013]  [<c1042b1b>] __clocksource_register_scale+0xb/0x40
[    0.424013]  [<c10074f5>] tsc_refine_calibration_work+0x85/0x2a0
[    0.424013]  [<c1034580>] ? process_one_work+0xe0/0x390
[    0.424013]  [<c10345eb>] process_one_work+0x14b/0x390
[    0.424013]  [<c1034580>] ? process_one_work+0xe0/0x390
[    0.424013]  [<c101cdff>] ? wake_up_process+0xf/0x20
[    0.424013]  [<c1007470>] ? tsc_refine_calibration_work+0x0/0x2a0
[    0.424013]  [<c103536e>] worker_thread+0x10e/0x2a0
[    0.424013]  [<c1035260>] ? worker_thread+0x0/0x2a0
[    0.424013]  [<c1038884>] kthread+0x74/0x80
[    0.424013]  [<c1038810>] ? kthread+0x0/0x80
[    0.424013]  [<c1003096>] kernel_thread_helper+0x6/0x10
[    0.424013] Code: 4d dc 0f 45 d0 0f 45 c6 89 55 f0 8b 55 d8 89 45 ec 01 55 ec 11 4d f0 8b 45 ec 8b 55 f0 89 d1 31 d2 85 c9 89 c6 74 08 89 c8 31 d2 <f7> f7 89 c1 89 f0 31 f6 f7 f7 89 ca 0f b6 4d e8 89 45 c8 89 55 
[    0.424013] EIP: [<c1042a73>] clocks_calc_mult_shift+0xb3/0xf0 SS:ESP 0068:c78e3e7c
[    0.465178] ---[ end trace 6d450e935ee1897c ]---
[    0.465178] BUG: unable to handle kernel paging request at fffffffc
[    0.465178] IP: [<c10389aa>] kthread_data+0xa/0x10
[    0.465178] *pde = 0148e067 *pte = 00000000 
[    0.465178] Oops: 0000 [#2] 
[    0.465178] last sysfs file: 
[    0.465178] Modules linked in:
[    0.465178] 
[    0.465178] Pid: 4, comm: kworker/0:0 Tainted: G      D     2.6.37+ #86 /Bochs
[    0.465178] EIP: 0060:[<c10389aa>] EFLAGS: 00010046 CPU: 0
[    0.465178] EIP is at kthread_data+0xa/0x10
[    0.465178] EAX: 00000000 EBX: 00000000 ECX: c78d1980 EDX: 00000000
[    0.465178] ESI: c1416980 EDI: c78d1980 EBP: c78e3c8c ESP: c78e3c80
[    0.465178]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[    0.465178] Process kworker/0:0 (pid: 4, ti=c78e2000 task=c78d1980 task.ti=c78e2000)
[    0.465178] Stack:
[    0.465178]  c1035541 c78d1ae4 00000001 c78e3d10 c12f5fbf c7fedb00 c78e3cb0 c12eed9d
[    0.465178]  c78d8ac0 c7fedb00 c7ef12f4 c7805380 c78e3cc0 c78e3d10 c78d1980 c78d1980
[    0.465178]  00000046 c140e180 c78d1980 c78d1980 c78d8ac0 c78e3cdc 00000246 c78e3d10
[    0.465178] Call Trace:
[    0.465178]  [<c1035541>] ? wq_worker_sleeping+0x11/0x70
[    0.465178]  [<c12f5fbf>] schedule+0x26f/0x460
[    0.465178]  [<c12eed9d>] ? kmemleak_free+0x2d/0x70
[    0.465178]  [<c1023777>] ? release_task+0x217/0x360
[    0.465178]  [<c102356b>] ? release_task+0xb/0x360
[    0.465178]  [<c104796e>] ? debug_check_no_locks_held+0x1e/0x90
[    0.465178]  [<c1024ec0>] do_exit+0x460/0x660
[    0.465178]  [<c102301a>] ? kmsg_dump+0x10a/0x120
[    0.465178]  [<c100562e>] oops_end+0x6e/0x90
[    0.465178]  [<c100579f>] die+0x4f/0x70
[    0.465178]  [<c1003136>] do_trap+0x96/0xd0
[    0.465178]  [<c1003170>] ? do_divide_error+0x0/0xa0
[    0.465178]  [<c10031f3>] do_divide_error+0x83/0xa0
[    0.465178]  [<c1042a73>] ? clocks_calc_mult_shift+0xb3/0xf0
[    0.465178]  [<c1046055>] ? __lock_acquire.clone.16+0x2f5/0xad0
[    0.465178]  [<c1046055>] ? __lock_acquire.clone.16+0x2f5/0xad0
[    0.465178]  [<c104c54b>] ? __module_text_address+0xb/0x50
[    0.465178]  [<c104fab8>] ? is_module_text_address+0x8/0x10
[    0.465178]  [<c10362b7>] ? __kernel_text_address+0x37/0x60
[    0.465178]  [<c12f8714>] error_code+0x58/0x60
[    0.465178]  [<c12f007b>] ? pci_read_bridge_bases+0x1d9/0x404
[    0.465178]  [<c1003170>] ? do_divide_error+0x0/0xa0
[    0.465178]  [<c1042a73>] ? clocks_calc_mult_shift+0xb3/0xf0
[    0.465178]  [<c1042aeb>] __clocksource_updatefreq_scale+0x3b/0x60
[    0.465178]  [<c1042b1b>] __clocksource_register_scale+0xb/0x40
[    0.465178]  [<c10074f5>] tsc_refine_calibration_work+0x85/0x2a0
[    0.465178]  [<c1034580>] ? process_one_work+0xe0/0x390
[    0.465178]  [<c10345eb>] process_one_work+0x14b/0x390
[    0.465178]  [<c1034580>] ? process_one_work+0xe0/0x390
[    0.465178]  [<c101cdff>] ? wake_up_process+0xf/0x20
[    0.465178]  [<c1007470>] ? tsc_refine_calibration_work+0x0/0x2a0
[    0.465178]  [<c103536e>] worker_thread+0x10e/0x2a0
[    0.465178]  [<c1035260>] ? worker_thread+0x0/0x2a0
[    0.465178]  [<c1038884>] kthread+0x74/0x80
[    0.465178]  [<c1038810>] ? kthread+0x0/0x80
[    0.465178]  [<c1003096>] kernel_thread_helper+0x6/0x10
[    0.465178] Code: e5 2f c1 31 d2 e8 37 58 fe ff 0f ba 25 04 bf 2f c1 00 19 c0 8b 45 c8 c9 c3 90 8d b4 26 00 00 00 00 55 8b 80 38 01 00 00 89 e5 5d <8b> 40 fc c3 66 90 55 ba c8 59 3a c1 89 e5 57 56 53 8b 3d d0 28 
[    0.465178] EIP: [<c10389aa>] kthread_data+0xa/0x10 SS:ESP 0068:c78e3c80
[    0.465178] CR2: 00000000fffffffc
[    0.465178] ---[ end trace 6d450e935ee1897d ]---
[    0.465178] Fixing recursive fault but reboot is needed!


-- 
 Kirill A. Shutemov

View attachment ".config" of type "text/plain" (35597 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ