From: Luca Tettamanti <kronos.it-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: kvm-devel-TtF/mJH4Jtrk1uMJSBkQmQ@public.gmane.org
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [BUG] Oops with KVM-27
Date: Sun, 3 Jun 2007 23:34:32 +0200 [thread overview]
Message-ID: <20070603213432.GA3075@dreamland.darkstar.lan> (raw)
Hello,
my kernel just exploded :)
The host is running 2.6-git-current, with KVM modules from KVM-27
package. kernel is 32bit, SMP, with PREEMPT enabled, no HIGHMEM (but I'm
using CONFIG_VMSPLIT_3G_OPT=y). The CPU is a Core2 (hence I'm using
kvm-intel).
Guest was a Fedora7 setup DVD, which died somewhere during the
installation (anaconda was already active at that point). Bad news is
that I cannot reproduce the bug :|
This is the OOPS:
kvm: emulating exchange as write
------------[ cut here ]------------
kernel BUG at /root/kvm-27/kernel/mmu.c:276!
invalid opcode: 0000 [#1]
PREEMPT SMP
Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack ip_tables x_tables rtc_core rtc_lib tun kvm_intel kvm radeon drm binfmt_misc nfs button cpufreq_stats cpufreq_userspace cpufreq_powersave cpufreq_conservative cls_u32 cls_route sch_sfq sch_cbq des cbc blkcipher sha1 md5 hmac crypto_hash cryptomgr crypto_algapi nfsd exportfs lockd sunrpc vfat fat nls_base fuse cpufreq_ondemand acpi_cpufreq freq_table i2c_isa ipv6 snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_timer ohci1394 snd intel_agp ieee1394 parport_pc atl1 uhci_hcd ehci_hcd i2c_i801 agpgart soundcore snd_page_alloc parport e100 usbcore mii dm_snapshot dm_mod thermal processor fan pata_ali sata_uli reiserfs xfs
CPU: 0
EIP: 0060:[<f24ad9b6>] Not tainted VLI
EFLAGS: 00010246 (2.6.22-rc3-libata-gf285e3d3-dirty #67)
EIP is at mmu_memory_cache_alloc+0xd/0x36 [kvm]
eax: 00000000 ebx: 00000000 ecx: db19f2f4 edx: 0000002c
esi: 00000322 edi: db19e528 ebp: 00003d1d esp: ca73fc80
ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0068
Process qemu (pid: 2680, ti=ca73f000 task=cc3160f0 task.ti=ca73f000)
Stack: f24aa0e2 00000000 db19e528 f24ae1eb db19f0b4 00000000 e21458e8 b129b4a0
db19f0b4 00003d1d 00000018 c0000000 f24ae3ea 00000002 00000000 00000000
00000000 00000003 db19f0b4 00003d1d 00000003 00000003 f24ae4b6 db19f0b4
Call Trace:
[<f24aa0e2>] gfn_to_page+0x14/0x27 [kvm]
[<f24ae1eb>] kvm_mmu_get_page+0x1b2/0x31c [kvm]
[<f24ae3ea>] mmu_alloc_roots+0x95/0xf0 [kvm]
[<f24ae4b6>] paging_new_cr3+0x21/0x48 [kvm]
[<f24aab16>] set_cr3+0x82/0x8c [kvm]
[<f249b51d>] handle_cr+0xf8/0x253 [kvm_intel]
[<f249b1b5>] handle_exception+0x120/0x208 [kvm_intel]
[<f249af6c>] vmx_vcpu_run+0x59d/0x6c6 [kvm_intel]
[<b02f2bb6>] __mutex_lock_slowpath+0x259/0x261
[<f2499f34>] vmx_vcpu_load+0x2a/0xcc [kvm_intel]
[<f24ac7d1>] kvm_vcpu_ioctl+0x29a/0xcff [kvm]
[<b0294ea5>] sock_common_recvmsg+0x3e/0x54
[<b029396f>] sock_recvmsg+0xcf/0xe8
[<b0293a44>] sock_sendmsg+0xbc/0xd4
[<b0131c35>] autoremove_wake_function+0x0/0x35
[<b0172133>] core_sys_select+0x234/0x30f
[<b0103189>] setup_sigcontext+0x105/0x189
[<b02f41cf>] _spin_unlock_irq+0x20/0x41
[<b013b1ee>] trace_hardirqs_on+0x11a/0x13d
[<b0103a56>] do_notify_resume+0x5d1/0x611
[<b02f41da>] _spin_unlock_irq+0x2b/0x41
[<b01039b4>] do_notify_resume+0x52f/0x611
[<b010898b>] convert_fxsr_from_user+0x26/0xe6
[<f24ac537>] kvm_vcpu_ioctl+0x0/0xcff [kvm]
[<b0171007>] do_ioctl+0x1f/0x62
[<b0171281>] vfs_ioctl+0x237/0x249
[<b01712c6>] sys_ioctl+0x33/0x4d
[<b0103e78>] syscall_call+0x7/0xb
=======================
Code: 01 00 00 e8 ce ff ff ff 8d 83 ec 01 00 00 81 c3 40 02 00 00 e8 bd ff ff ff 89 d8 5b eb b8 57 89 c1 53 83 ec 04 8b 00 85 c0 75 04 <0f> 0b eb fe 48 8b 5c 81 04 89 01 89 d1 31 c0 c1 e9 02 89 df f3
EIP: [<f24ad9b6>] mmu_memory_cache_alloc+0xd/0x36 [kvm] SS:ESP 0068:ca73fc80
note: qemu[2680] exited with preempt_count 2
BUG: sleeping function called from invalid context at /home/kronos/src/linux-2.6.git/kernel/rwsem.c:20
in_atomic():1, irqs_disabled():0
INFO: lockdep is turned off.
[<b01348ca>] down_read+0x15/0x49
[<b013e800>] futex_wake+0x19/0xb3
[<b013e919>] do_futex+0x7f/0xaad
[<b01caa47>] vsnprintf+0x450/0x48c
[<b02f4197>] _spin_unlock_irqrestore+0x40/0x58
[<b01218f0>] release_console_sem+0x1a0/0x1b9
[<b0121d88>] vprintk+0x2b7/0x305
[<b011c716>] try_to_wake_up+0x325/0x32f
[<b013f40f>] sys_futex+0xc8/0xda
[<b011f578>] mm_release+0x81/0x87
[<b0122cf7>] exit_mm+0x13/0xd6
[<b012410a>] do_exit+0x1bc/0x69b
[<b01053f1>] die+0x1e5/0x211
[<b0105784>] do_invalid_op+0x0/0x8a
[<b0105805>] do_invalid_op+0x81/0x8a
[<f24ad9b6>] mmu_memory_cache_alloc+0xd/0x36 [kvm]
[<f24ae61f>] page_header_update_slot+0x1e/0x4b [kvm]
[<f24ae8b5>] paging32_set_pte_common+0x269/0x2a1 [kvm]
[<b02f4432>] error_code+0x72/0x78
[<f24ad9b6>] mmu_memory_cache_alloc+0xd/0x36 [kvm]
[<f24aa0e2>] gfn_to_page+0x14/0x27 [kvm]
[<f24ae1eb>] kvm_mmu_get_page+0x1b2/0x31c [kvm]
[<f24ae3ea>] mmu_alloc_roots+0x95/0xf0 [kvm]
[<f24ae4b6>] paging_new_cr3+0x21/0x48 [kvm]
[<f24aab16>] set_cr3+0x82/0x8c [kvm]
[<f249b51d>] handle_cr+0xf8/0x253 [kvm_intel]
[<f249b1b5>] handle_exception+0x120/0x208 [kvm_intel]
[<f249af6c>] vmx_vcpu_run+0x59d/0x6c6 [kvm_intel]
[<b02f2bb6>] __mutex_lock_slowpath+0x259/0x261
[<f2499f34>] vmx_vcpu_load+0x2a/0xcc [kvm_intel]
[<f24ac7d1>] kvm_vcpu_ioctl+0x29a/0xcff [kvm]
[<b0294ea5>] sock_common_recvmsg+0x3e/0x54
[<b029396f>] sock_recvmsg+0xcf/0xe8
[<b0293a44>] sock_sendmsg+0xbc/0xd4
[<b0131c35>] autoremove_wake_function+0x0/0x35
[<b0172133>] core_sys_select+0x234/0x30f
[<b0103189>] setup_sigcontext+0x105/0x189
[<b02f41cf>] _spin_unlock_irq+0x20/0x41
[<b013b1ee>] trace_hardirqs_on+0x11a/0x13d
[<b0103a56>] do_notify_resume+0x5d1/0x611
[<b02f41da>] _spin_unlock_irq+0x2b/0x41
[<b01039b4>] do_notify_resume+0x52f/0x611
[<b010898b>] convert_fxsr_from_user+0x26/0xe6
[<f24ac537>] kvm_vcpu_ioctl+0x0/0xcff [kvm]
[<b0171007>] do_ioctl+0x1f/0x62
[<b0171281>] vfs_ioctl+0x237/0x249
[<b01712c6>] sys_ioctl+0x33/0x4d
[<b0103e78>] syscall_call+0x7/0xb
=======================
Luca
--
Il coraggio non mi manca.
E` la paura che mi frega...
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
next reply other threads:[~2007-06-03 21:34 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-03 21:34 Luca Tettamanti [this message]
[not found] ` <20070603213432.GA3075-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org>
2007-06-04 9:35 ` [BUG] Oops with KVM-27 Avi Kivity
[not found] ` <4663DCE9.3000107-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-04 20:22 ` Luca Tettamanti
[not found] ` <20070604202248.GA18668@dreamland.darkstar.lan>
[not found] ` <20070604202248.GA18668-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org>
2007-06-04 20:51 ` Avi Kivity
[not found] ` <46647B3E.2090205@qumranet.com>
[not found] ` <46647B3E.2090205-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-04 21:22 ` Luca Tettamanti
[not found] ` <20070604212207.GA22365-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org>
2007-06-05 7:27 ` Avi Kivity
[not found] ` <46651069.5040003-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-07 19:16 ` Luca
[not found] ` <68676e00706071216i4bd051c5hb1c114f3c13ab97f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-06-10 12:22 ` Avi Kivity
[not found] ` <466BED18.5040708@qumranet.com>
[not found] ` <466BED18.5040708-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-10 20:54 ` Luca
[not found] ` <68676e00706101354n5fe7e1a9y12cb690cae2924e3@mail.gmail.com>
[not found] ` <68676e00706101354n5fe7e1a9y12cb690cae2924e3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-06-11 7:44 ` Avi Kivity
[not found] ` <466CFD6D.2080201@qumranet.com>
[not found] ` <466CFD6D.2080201-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-11 21:06 ` Luca
2007-06-12 17:52 ` Luca Tettamanti
[not found] ` <68676e00706111406r16eafd0eseaf1fb24f5c0d075@mail.gmail.com>
[not found] ` <68676e00706111406r16eafd0eseaf1fb24f5c0d075-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-06-12 6:44 ` Avi Kivity
[not found] ` <20070612175246.GA5864@dreamland.darkstar.lan>
[not found] ` <20070612175246.GA5864-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org>
2007-06-13 8:59 ` Avi Kivity
[not found] ` <466FB1ED.3090905@qumranet.com>
[not found] ` <466FB1ED.3090905-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-13 20:49 ` Luca Tettamanti
[not found] ` <20070613204948.GA14710-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org>
2007-06-14 8:26 ` Avi Kivity
[not found] ` <4670FBB5.70707-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-14 22:33 ` Luca Tettamanti
2007-06-14 22:53 ` [kvm-devel] " Luca Tettamanti
2007-06-14 23:13 ` Luca Tettamanti
2007-06-14 23:27 ` Luca
[not found] ` <68676e00706141627s3cb87391sa0ee6711d2f7933f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-06-15 9:06 ` Avi Kivity
2007-06-15 21:49 ` [kvm-devel] " Luca Tettamanti
[not found] ` <20070615214915.GA10536-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org>
2007-06-16 7:43 ` Avi Kivity
[not found] ` <4673949B.1070505-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-17 15:14 ` Luca Tettamanti
2007-06-17 15:24 ` [kvm-devel] " Avi Kivity
2007-06-17 16:52 ` [PATCH 1/2] kvm: Fix x86 emulator writeback Luca Tettamanti
[not found] ` <20070617165201.GA23885-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org>
2007-06-17 16:58 ` Avi Kivity
2007-06-18 10:07 ` Avi Kivity
[not found] ` <46765954.60102-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-18 11:32 ` Avi Kivity
[not found] ` <46766D57.8040206-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-19 20:25 ` Luca Tettamanti
[not found] ` <20070619202524.GA17672-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org>
2007-06-19 20:41 ` Luca Tettamanti
[not found] ` <20070619204120.GA18800-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org>
2007-06-20 7:47 ` Avi Kivity
2007-06-19 20:41 ` [PATCH 2/2] kvm: avoid useless memory write when possible Luca Tettamanti
2007-06-17 16:52 ` Luca Tettamanti
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=20070603213432.GA3075@dreamland.darkstar.lan \
--to=kronos.it-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=kvm-devel-TtF/mJH4Jtrk1uMJSBkQmQ@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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