From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: lost ticks in linux Date: Thu, 21 Dec 2006 17:43:33 +0200 Message-ID: <458AABA5.1040007@qumranet.com> References: <767986.54825.qm@web51004.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel Return-path: To: Emil Tantilov In-Reply-To: <767986.54825.qm-v0vK/1KhsBWA/QwVtaZbd3CJp6faPEW9@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Emil Tantilov wrote: > Yep - that is corect. init 0 works OK, but init 6 > panics. > > EIP points to delay_tsc, so I think it might be > related to the issue with the clock (TSC running > slow). > > Well, the EIP points at a sub instruction, which has no business generating divide exceptions. b: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 11: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 17: 53 push %ebx 18: 8b 5c 24 08 mov 0x8(%esp),%ebx 1c: 0f 31 rdtsc 1e: 89 c1 mov %eax,%ecx 20: 8d b4 26 00 00 00 00 lea 0x0(%esi),%esi 27: f3 90 pause 29: 0f 31 rdtsc exception here --> 2b: 29 c8 sub %ecx,%eax 2d: 39 d8 cmp %ebx,%eax 2f: 72 f6 jb 0x27 31: 5b pop %ebx 32: c3 ret -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV