From: Guido Guenther Subject: Re: Oops on 2.6.23.11 with KVM 57 Date: Thu, 27 Dec 2007 10:41:36 +0100 Message-ID: <20071227094136.GB824@bogon.ms20.nix> References: <20071221132611.GA11812@bogon.ms20.nix> <476D6CAF.2030009@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Avi Kivity Return-path: Content-Disposition: inline In-Reply-To: <476D6CAF.2030009-atKUWr5tajBWk0Htik3J/w@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 On Sat, Dec 22, 2007 at 09:59:43PM +0200, Avi Kivity wrote: > Guido Guenther wrote: > > Hi, > > I got the Oops below on an Dual CPU Dual-Core AMD Opteron(tm) Processor > > 2220 running a 32bit kernel. Kernel is 2.6.23.11, kvm version 57. > > Doesn't happen all the time but usually right at VM startup. Seems to be > > easier to trigger when starting up several VMs in row. > > What guest are you running? smp or uni? Uniprocessor Linux, standard etch 2.6.18 kernel. kvm commandline was: -M pc -m 512 -smp 1 -monitor pty -boot c -hda /dev/mapper/foo -hdb /dev/mapper/bar -net nic,macaddr=54:52:00:1b:9b:10,vlan=0 -net tap,fd=11,script=,vlan=0 -usb -usbdevice tablet -vnc 127.0.0.1:0 > > Call Trace: > > [] pic_update_irq+0x68/0x80 [kvm] > > [] kvm_pic_read_irq+0x6e/0xe0 [kvm] > > > > Please do > > gdb /path/to/kvm.ko > disassemble pic_update_irq > > and post the results. If you recompiled the module since getting the > oops, please generate a fresh oops. (gdb) disassemble pic_update_irq Dump of assembler code for function pic_update_irq: 0x0000d870 : push %ebx 0x0000d871 : mov %eax,%ebx 0x0000d873 : lea 0x14(%eax),%eax 0x0000d876 : call 0xd7a0 0x0000d87b : test %eax,%eax 0x0000d87d : js 0xd899 0x0000d87f : testb $0x4,0xe(%ebx) 0x0000d883 : je 0xd8b1 0x0000d885 : orb $0x4,0x1(%ebx) 0x0000d889 : orb $0x4,(%ebx) 0x0000d88c : testb $0x4,0xe(%ebx) 0x0000d890 : je 0xd8c2 0x0000d892 : andb $0xfb,0x1(%ebx) 0x0000d896 : andb $0xfb,(%ebx) 0x0000d899 : mov %ebx,%eax 0x0000d89b : call 0xd7a0 0x0000d8a0 : test %eax,%eax 0x0000d8a2 : js 0xd8d0 0x0000d8a4 : mov 0x2c(%ebx),%eax 0x0000d8a7 : mov $0x1,%edx 0x0000d8ac : call *0x28(%ebx) 0x0000d8af : pop %ebx 0x0000d8b0 : ret 0x0000d8b1 : testb $0x4,(%ebx) 0x0000d8b4 : je 0xd8e0 0x0000d8b6 : orb $0x4,(%ebx) 0x0000d8b9 : testb $0x4,0xe(%ebx) 0x0000d8bd : lea 0x0(%esi),%esi 0x0000d8c0 : jne 0xd892 0x0000d8c2 : andb $0xfb,(%ebx) 0x0000d8c5 : mov %ebx,%eax 0x0000d8c7 : call 0xd7a0 0x0000d8cc : test %eax,%eax 0x0000d8ce : jns 0xd8a4 0x0000d8d0 : mov 0x2c(%ebx),%eax 0x0000d8d3 : xor %edx,%edx 0x0000d8d5 : call *0x28(%ebx) 0x0000d8d8 : pop %ebx 0x0000d8d9 : ret 0x0000d8da : lea 0x0(%esi),%esi 0x0000d8e0 : orb $0x4,0x1(%ebx) 0x0000d8e4 : orb $0x4,(%ebx) 0x0000d8e7 : jmp 0xd8b9 0x0000d8e9 : lea 0x0(%esi),%esi End of assembler dump. Cheers, -- Guido ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/