From: Dan Gora <dan.gora@gmail.com>
To: "Jiang, Yunhong" <yunhong.jiang@intel.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Re: Panic on boot on Sun Blade 6270
Date: Fri, 12 Mar 2010 01:01:27 -0300 [thread overview]
Message-ID: <4779de451003112001k4edfce39ra28a668230c7a0a6@mail.gmail.com> (raw)
In-Reply-To: <789F9655DD1B8F43B48D77C5D30659731D3D6BB3@shsmsx501.ccr.corp.intel.com>
On Thu, Mar 11, 2010 at 10:35 PM, Jiang, Yunhong
<yunhong.jiang@intel.com> wrote:
> Why it will fail on 0xffff828bfffff0e0 ? I try to build 19913 and seems it should be 0xffff828bffffe0e0.
> If you can paste your objdump output for init_apic_ldr_phys, maybe it will be helpful.
Here is init_apic_ldr_phys from 'objdump -d xen-syms-3.4.3-rc4-pre':
ffff828c80183d48 <init_apic_ldr_flat>:
ffff828c80183d48: 55 push %rbp
ffff828c80183d49: 48 89 e5 mov %rsp,%rbp
ffff828c80183d4c: 83 3d cd 73 09 00 00 cmpl
$0x0,0x973cd(%rip) # ffff828c8021b120 <x2apic_enabled>
ffff828c80183d53: 74 4d je
ffff828c80183da2 <init_apic_ldr_flat+0x5a>
ffff828c80183d55: ba 00 00 00 00 mov $0x0,%edx
ffff828c80183d5a: b8 ff ff ff ff mov $0xffffffff,%eax
ffff828c80183d5f: b9 0e 08 00 00 mov $0x80e,%ecx
ffff828c80183d64: 0f 30 wrmsr
ffff828c80183d66: b1 0d mov $0xd,%cl
ffff828c80183d68: 0f 32 rdmsr
ffff828c80183d6a: 48 89 c2 mov %rax,%rdx
ffff828c80183d6d: 81 e2 ff ff ff 00 and $0xffffff,%edx
ffff828c80183d73: 48 c7 c0 00 80 ff ff mov $0xffffffffffff8000,%rax
ffff828c80183d7a: 48 21 e0 and %rsp,%rax
ffff828c80183d7d: 48 0d 28 7f 00 00 or $0x7f28,%rax
ffff828c80183d83: 8b 88 c8 00 00 00 mov 0xc8(%rax),%ecx
ffff828c80183d89: b8 00 00 00 01 mov $0x1000000,%eax
ffff828c80183d8e: 48 d3 e0 shl %cl,%rax
ffff828c80183d91: 48 09 d0 or %rdx,%rax
ffff828c80183d94: ba 00 00 00 00 mov $0x0,%edx
ffff828c80183d99: b9 0d 08 00 00 mov $0x80d,%ecx
ffff828c80183d9e: 0f 30 wrmsr
ffff828c80183da0: eb 43 jmp
ffff828c80183de5 <init_apic_ldr_flat+0x9d>
ffff828c80183da2: b8 ff ff ff ff mov $0xffffffff,%eax
ffff828c80183da7: a3 e0 f0 ff ff 8b 82 mov %eax,0xffff828bfffff0e0
ffff828c80183dae: ff ff
ffff828c80183db0: 48 be d0 f0 ff ff 8b mov $0xffff828bfffff0d0,%rsi
ffff828c80183db7: 82 ff ff
ffff828c80183dba: 8b 16 mov (%rsi),%edx
ffff828c80183dbc: 81 e2 ff ff ff 00 and $0xffffff,%edx
ffff828c80183dc2: 48 c7 c0 00 80 ff ff mov $0xffffffffffff8000,%rax
ffff828c80183dc9: 48 21 e0 and %rsp,%rax
ffff828c80183dcc: 48 0d 28 7f 00 00 or $0x7f28,%rax
ffff828c80183dd2: 8b 88 c8 00 00 00 mov 0xc8(%rax),%ecx
ffff828c80183dd8: b8 00 00 00 01 mov $0x1000000,%eax
ffff828c80183ddd: 48 d3 e0 shl %cl,%rax
ffff828c80183de0: 48 09 d0 or %rdx,%rax
ffff828c80183de3: 89 06 mov %eax,(%rsi)
ffff828c80183de5: c9 leaveq
ffff828c80183de6: c3 retq
I don't quite understand why we have such different addresses. I'm
thinking maybe I built it wrong or something. I built it with debug
set to 'y' in Config.mk, then just did 'make dist', copied the
resultant 'dist' directory to the test machine and ran 'sh
./install.sh' on the target machine, and rebooted with:
title Xen-3.4.3-rc1.dan -- SUSE Linux Enterprise Server 11 -
2.6.27.19-5 (xen).dan
root (hd0,0)
kernel /xen-3.4.3-rc4-pre.gz crashkernel=128M@16M iommu=1
loglvl=all guest_loglvl=all console=vga,com1 com1=auto
module /vmlinuz-2.6.27.19-5-xen.dan root=/dev/dm-5
resume=/dev/dm-2 splash=silent showopts console=ttyS0,115200 quiet
module /initrd-2.6.27.19-5-xen.dan
> BTW, if SLES 11 works for you, why not continue that?
ugh.. long story. It works in the sense that it boots and can run
VMs. My problem is that I'm trying to get the board that our company
makes to work in an HVM guest properly.. *something* is messing with
my board's PCI bar registers and I cannot figure out what it is. I
added printks to all the kernel functions which touch the BAR
registers and to the pciback driver as well, but neither of these is
occurring, so I figured the problem is in qemu, but to test that I
need to be able to compile it. I thought that the easiest path there
would simply to compile the latest stuff, but it panicked early in the
hypervisor so I thought that I'd report it...
thanks,
dan
next prev parent reply other threads:[~2010-03-12 4:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-11 21:40 Panic on boot on Sun Blade 6270 Dan Gora
2010-03-11 21:55 ` Dan Gora
2010-03-12 1:35 ` Jiang, Yunhong
2010-03-12 4:01 ` Dan Gora [this message]
2010-03-12 6:20 ` Jiang, Yunhong
2010-03-12 13:37 ` Dan Gora
2010-03-12 7:13 ` Keir Fraser
2010-03-12 13:37 ` Dan Gora
2010-03-12 13:43 ` Dan Gora
2010-03-12 16:44 ` Pasi Kärkkäinen
2010-03-12 17:37 ` Dan Gora
2010-03-15 9:21 ` Jan Beulich
2010-03-16 2:39 ` Dan Gora
2010-03-16 10:17 ` Jan Beulich
2010-03-16 11:48 ` Dan Gora
2010-03-16 12:56 ` Jan Beulich
2010-03-12 17:21 ` Dan Gora
2010-03-11 22:42 ` Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4779de451003112001k4edfce39ra28a668230c7a0a6@mail.gmail.com \
--to=dan.gora@gmail.com \
--cc=xen-devel@lists.xensource.com \
--cc=yunhong.jiang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).