linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* x86_64 allyesconfig has screwed up voffset and blows up KVM
@ 2014-05-05 18:41 Andy Lutomirski
  2014-05-05 20:31 ` H. Peter Anvin
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Lutomirski @ 2014-05-05 18:41 UTC (permalink / raw)
  To: X86 ML, kvm list, linux-kernel

I'm testing 39bfe90706ab0f588db7cb4d1c0e6d1181e1d2f9.  I'm not sure
what's going on here.

voffset.h contains:

#define VO__end 0xffffffff8111c7a0
#define VO__end 0xffffffff8db9a000
#define VO__text 0xffffffff81000000

because

$ nm vmlinux|grep ' _end'
ffffffff8111c7a0 t _end
ffffffff8db9a000 B _end


Booting the resulting image says:

KVM internal error. Suberror: 1
emulation failure
EAX=80000001 EBX=00000000 ECX=c0000080 EDX=00000000
ESI=00014630 EDI=0b08f000 EBP=00100000 ESP=038f14b8
EIP=00100119 EFL=00010046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0018 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
CS =0010 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA]
SS =0018 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
DS =0018 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
FS =0018 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
GS =0018 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
LDT=0000 00000000 ffffffff 00c00000
TR =0020 00000000 00000fff 00808b00 DPL=0 TSS64-busy
GDT=     00000000038e5320 00000030
IDT=     0000000000000000 00000000
CR0=80000011 CR2=0000000000000000 CR3=000000000b089000 CR4=00000020
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000
DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000500
Code=?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? <??>
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? ?? ??

Linus's tree from today doesn't seem any better.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: x86_64 allyesconfig has screwed up voffset and blows up KVM
  2014-05-05 18:41 x86_64 allyesconfig has screwed up voffset and blows up KVM Andy Lutomirski
@ 2014-05-05 20:31 ` H. Peter Anvin
  0 siblings, 0 replies; 2+ messages in thread
From: H. Peter Anvin @ 2014-05-05 20:31 UTC (permalink / raw)
  To: Andy Lutomirski, X86 ML, kvm list, linux-kernel

On 05/05/2014 11:41 AM, Andy Lutomirski wrote:
> I'm testing 39bfe90706ab0f588db7cb4d1c0e6d1181e1d2f9.  I'm not sure
> what's going on here.
> 
> voffset.h contains:
> 
> #define VO__end 0xffffffff8111c7a0
> #define VO__end 0xffffffff8db9a000
> #define VO__text 0xffffffff81000000
> 
> because
> 
> $ nm vmlinux|grep ' _end'
> ffffffff8111c7a0 t _end
> ffffffff8db9a000 B _end
> 

The "t _end" implies there is a local symbol _end which I guess the
scripts are incorrectly picking up.  Taking a look now.

	-hpa



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-05 20:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-05 18:41 x86_64 allyesconfig has screwed up voffset and blows up KVM Andy Lutomirski
2014-05-05 20:31 ` H. Peter Anvin

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).