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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <504F93F1.2060005@suse.cz>
Date:	Tue, 11 Sep 2012 21:41:37 +0200
From:	Jiri Slaby <jslaby@...e.cz>
To:	Marcelo Tosatti <mtosatti@...hat.com>
CC:	Avi Kivity <avi@...hat.com>, kvm@...r.kernel.org,
	LKML <linux-kernel@...r.kernel.org>,
	Jiri Slaby <jirislaby@...il.com>
Subject: Re: qemu-kvm loops after kernel udpate

On 09/11/2012 09:03 PM, Marcelo Tosatti wrote:
> On Tue, Sep 11, 2012 at 08:11:36PM +0200, Jiri Slaby wrote:
>> Hi,
>>
>> it looks like an update from next-20120824 to next-20120910 makes kvm
>> defunct. When I try to run qemu, it loops forever without printing
>> anything on the monitor.
>>
>> -no-kvm makes it indeed work.
>>
>> Cmdline I use:
>> qemu-kvm -k en-us -usbdevice tablet -balloon virtio -hda IMAGE -smp 2 -m
>> 1000M -net user -net nic,model=e1000 -usb -serial pty
>>
>> Before I start investigating further, like biscection, is this a known
>> issue already and fix available somewhere?
> 
> Its not a known issue. 'info registers' (for both vcpus) and
> 'x /20i $eip' might help track it down. 

I don't think it's in a state with something loaded.

(qemu) cpu 0
(qemu) info registers
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000623
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
EIP=0000fff0 EFL=00010002 [-------] CPL=3 II=0 A20=1 SMM=0 HLT=0
ES =0000 00000000 0000ffff 00009300
CS =f000 000f0000 0000ffff 0000f300
SS =0000 00000000 0000ffff 0000f300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT=     00000000 0000ffff
IDT=     00000000 0000ffff
CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000
DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000
XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000
XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000
XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000
XMM07=00000000000000000000000000000000
(qemu) cpu 1
(qemu) info registers
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000623
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
EIP=0000fff0 EFL=00000002 [-------] CPL=3 II=0 A20=1 SMM=0 HLT=0
ES =0000 00000000 0000ffff 00009300
CS =f000 000f0000 0000ffff 0000f300
SS =0000 00000000 0000ffff 0000f300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT=     00000000 0000ffff
IDT=     00000000 0000ffff
CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000
DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000
XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000
XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000
XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000
XMM07=00000000000000000000000000000000

(qemu) x /20i $eip
0x000000000000fff0:  add    %al,(%bx,%si)
0x000000000000fff2:  add    %al,(%bx,%si)
0x000000000000fff4:  add    %al,(%bx,%si)
0x000000000000fff6:  add    %al,(%bx,%si)
0x000000000000fff8:  add    %al,(%bx,%si)
0x000000000000fffa:  add    %al,(%bx,%si)
0x000000000000fffc:  add    %al,(%bx,%si)
0x000000000000fffe:  add    %al,(%bx,%si)
0x0000000000010000:  add    %al,(%bx,%si)
0x0000000000010002:  add    %al,(%bx,%si)
0x0000000000010004:  add    %al,(%bx,%si)
0x0000000000010006:  add    %al,(%bx,%si)
0x0000000000010008:  add    %al,(%bx,%si)
0x000000000001000a:  add    %al,(%bx,%si)
0x000000000001000c:  add    %al,(%bx,%si)
0x000000000001000e:  add    %al,(%bx,%si)
0x0000000000010010:  add    %al,(%bx,%si)
0x0000000000010012:  add    %al,(%bx,%si)
0x0000000000010014:  add    %al,(%bx,%si)
0x0000000000010016:  add    %al,(%bx,%si)

thanks,
-- 
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ