From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Theurer Subject: Re: domU can't start, Non-priv warnings Date: Wed, 17 Aug 2005 14:53:04 -0500 Message-ID: <430395A0.2030806@us.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt Cc: David F Barrera , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ian Pratt wrote: > > > Do you not get a couple of lines from Xen imediately preceeding the > crash? Might be worth a debug=y build. I'll make sure debug=y is on. I also noticed I did not limit this system to 3g (it has 4g). I recall this being a problem recently. I'll limit my memory and try again. the xen output: (XEN) (file=traps.c, line=880) Non-priv domain attempted RDMSR(00000000c0000080. (XEN) DOM2: (file=mm.c, line=461) Non-privileged attempt to map I/O space 000000 (XEN) Domain 2 (vcpu#0) crashed on cpu#3: (XEN) CPU: 3 BTW, has anyone tried compiling xenU x86_64 kernels with debug on? I error out on, hmm, can't recall the file right now, maybe entry.S. More info on that shortly. -Andrew > > Ian > >>> Please could you lookup the symbols for the eip and maybe the first >>> couple of text addresses on the stack. >>> >> I reproduced with a recent pull: >> >> Latest ChangeSet: Wed Aug 17 13:22:18 2005 >> fbdbe4fc218de40d5176e0104908e05fb6e2c6ce >> >> Looks like we are stuck in xen_l1_entry_update(): >> >> void xen_l1_entry_update(pte_t *ptr, pte_t val) { >> mmu_update_t u; >> u.ptr = virt_to_machine(ptr); >> u.val = pte_val_ma(val); >> BUG_ON(HYPERVISOR_mmu_update(&u, 1, NULL, DOMID_SELF) < 0); } >> >> ...assuming we are hitting the BUG >> >> stack trace: >> >> xen_l1_entry_update >> __set_fixmap >> acpi_find_rsdp >> acpi_table_init >> acpi_boot_table_init >> setup_arch >> level3_kernel_pgt >> init_task >> start_kernel >> >> (XEN) Domain 3 (vcpu#0) crashed on cpu#3: >> (XEN) CPU: 3 >> (XEN) EIP: e033:[] ??? >> (XEN) EFLAGS: 0000000000000282 >> (XEN) rax: 00000000ffffffea rbx: ffffffffff578000 rcx: >> ffffffff8011ee8d r0 >> (XEN) rsi: 0000000000000001 rdi: ffffffff80599e90 rbp: >> 8000000000000067 r8 >> (XEN) r8: 0000000000000100 r9: 0000000000020000 r10: >> 0000000000007ff0 r6 >> (XEN) r12: ffff880001703fd0 r13: ffff880001704bc0 r14: >> 8000000000000067 r0 >> (XEN) Guest stack trace from rsp=ffffffff80599e58: >> (XEN) ffffffff8011ee8d 0000000000000206 ffffffff8011ee91 >> 000000010000e030 00 >> (XEN) 8000000000000067 00000000001eb000 ffffffff8011c9aa >> 0000000000000000 00 >> (XEN) ffffffff805c226e 0000000000000e00 ffffffff805cab75 >> 0000000000001000 00 >> (XEN) ffffffff805c22a3 0000000000000e00 ffffffff805c1115 >> 00000000d7c93830 ff >> (XEN) ffffffff80103000 ffffffff0000000f 0000000007020800 >> ffffffff8047cc00 ff >> (XEN) ffffffff805ba558 ffffffff80537740 ffffffff805ba193 >> 80108e0000100038 00 >> (XEN) 0000000000000000 0000000000000000 0000000000000000 >> 0000000000000000 00 >> >> >