public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* kernel BUG at include/linux/kvm_host.h:603!
@ 2011-10-07 21:10 Jörg Sommer
  2011-10-10  8:09 ` Alexander Graf
  0 siblings, 1 reply; 3+ messages in thread
From: Jörg Sommer @ 2011-10-07 21:10 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti, kvm

[-- Attachment #1: Type: text/plain, Size: 4421 bytes --]

Hi,

I've got this backtrace:

[130902.709711] ------------[ cut here ]------------
[130902.709747] kernel BUG at include/linux/kvm_host.h:603!
[130902.709778] Oops: Exception in kernel mode, sig: 5 [#1]
[130902.709788] PowerMac
[130902.709796] Modules linked in: kvm nfs lockd auth_rpcgss sunrpc ppp_async crc_ccitt ppp_generic slhc ipv6 fus
[130902.709947] NIP: eb589934 LR: eb5898cc CTR: 00000000
[130902.709964] REGS: c138fa10 TRAP: 0700   Not tainted  (3.1.0-rc8.ledtest-00743-gf72a209-dirty)
[130902.709976] MSR: 02029032 <EE,VEC,ME,CE,IR,DR>  CR: 24000462  XER: 00000000
[130902.710011] TASK = c0f33700[22334] 'qemu-system-ppc' THREAD: c138e000
[130902.710021] GPR00: 00000001 c138fac0 c0f33700 c138fbe0 c0f33c3c 00000000 c138fddc 00000000 
[130902.710051] GPR08: 00000000 00000000 00000000 00000000 00000000 1034181c bfa35843 10297f20 
[130902.710080] GPR16: 10297f2c 10943ea0 00000000 00000000 10340000 00000000 10340000 0000d032 
[130902.710108] GPR24: 82004000 00000900 ffffffff e69d5000 00000001 c0f33700 eb5a1000 c138fac0 
[130902.710199] NIP [eb589934] kvmppc_vcpu_run+0x11c/0x1f4 [kvm]
[130902.710225] LR [eb5898cc] kvmppc_vcpu_run+0xb4/0x1f4 [kvm]
[130902.710235] Call Trace:
[130902.710264] [c138fe20] [eb583eec] kvm_arch_vcpu_ioctl_run+0x350/0x37c [kvm]
[130902.710296] [c138fe50] [eb57e13c] kvm_vcpu_ioctl+0x158/0xa08 [kvm]
[130902.710320] [c138fea0] [c0118dac] do_vfs_ioctl+0x730/0x7a8
[130902.710337] [c138ff10] [c0118e8c] sys_ioctl+0x68/0x8c
[130902.710356] [c138ff40] [c0013a10] ret_from_syscall+0x0/0x38
[130902.710385] --- Exception: c01 at 0xf66cf38
[130902.710391]     LR = 0xf66ce9c
[130902.710399] Instruction dump:
[130902.710412] 41a20014 7fc3f378 38800800 38a02000 4bffe9ad 54290024 38000000 8129000c 
[130902.710442] 2f890000 409e000c 7c0000a6 54008ffe <0f000000> 8002000c 7f63db78 7fc4f378 
[130902.710481] ---[ end trace 193d4a72a409c31f ]---
[130902.710512] BUG: sleeping function called from invalid context at kernel/rwsem.c:21
[130902.710528] in_atomic(): 0, irqs_disabled(): 1, pid: 22334, name: qemu-system-ppc
[130902.710540] Call Trace:
[130902.710555] [c138f7d0] [c000bba4] show_stack+0xbc/0x194 (unreliable)
[130902.710587] [c138f820] [c0480344] dump_stack+0x30/0x38
[130902.710608] [c138f830] [c00325e8] __might_sleep+0xf8/0x100
[130902.710625] [c138f840] [c04789c0] down_read+0x38/0x64
[130902.710643] [c138f850] [c007e744] acct_collect+0x48/0x17c
[130902.710661] [c138f870] [c003fd1c] do_exit+0x1ac/0x710
[130902.710680] [c138f8c0] [c000edf8] die+0x238/0x244
[130902.710697] [c138f8f0] [c000eec4] _exception+0x64/0x10c
[130902.710714] [c138f9e0] [c04797a8] program_check_exception+0x1dc/0x1e4
[130902.710732] [c138fa00] [c0014070] ret_from_except_full+0x0/0x4c
[130902.710780] --- Exception: 700 at kvmppc_vcpu_run+0x11c/0x1f4 [kvm]
[130902.710787]     LR = kvmppc_vcpu_run+0xb4/0x1f4 [kvm]
[130902.710800] [c138fac0] [00000000]   (null) (unreliable)
[130902.710832] [c138fe20] [eb583eec] kvm_arch_vcpu_ioctl_run+0x350/0x37c [kvm]
[130902.710862] [c138fe50] [eb57e13c] kvm_vcpu_ioctl+0x158/0xa08 [kvm]
[130902.710879] [c138fea0] [c0118dac] do_vfs_ioctl+0x730/0x7a8
[130902.710895] [c138ff10] [c0118e8c] sys_ioctl+0x68/0x8c
[130902.710910] [c138ff40] [c0013a10] ret_from_syscall+0x0/0x38
[130902.710931] --- Exception: c01 at 0xf66cf38
[130902.710937]     LR = 0xf66ce9c

% uname -r
3.1.0-rc8.ledtest-00743-gf72a209-dirty

% cat /proc/cpuinfo
processor       : 0
cpu             : 7455, altivec supported
clock           : 606.000000MHz
revision        : 3.3 (pvr 8001 0303)
bogomips        : 36.86
timebase        : 18432000
platform        : PowerMac
model           : PowerBook6,3
machine         : PowerBook6,3
motherboard     : PowerBook6,3 MacRISC3 Power Macintosh
detected as     : 287 (iBook G4)
pmac flags      : 0000001b
L2 cache        : 256K unified
pmac-generation : NewWorld
Memory          : 640 MB

It happend while running this command:

% qemu-system-ppc -m 512 -cpu 7455 -k de -enable-kvm -kernel /boot/vmlinuz-2.6.39.ledtest-dirty

% qemu-system-ppc --version
QEMU emulator version 0.15.0 (Debian 0.15.0+dfsg-1), Copyright (c) 2003-2008 Fabrice Bellard

Bye, Jörg.
-- 
> Ich kenn mich mit OpenBSD kaum aus, was sind denn da so die
> Vorteile gegenueber Linux und iptables?
Der Fuchsschwanzeffekt ist größer. :->
Message-ID: <slrnb11064.54g.hschlen@humbert.ddns.org>

[-- Attachment #2: Digital signature http://en.wikipedia.org/wiki/OpenPGP --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: kernel BUG at include/linux/kvm_host.h:603!
  2011-10-07 21:10 kernel BUG at include/linux/kvm_host.h:603! Jörg Sommer
@ 2011-10-10  8:09 ` Alexander Graf
  2011-10-31 10:28   ` Jörg Sommer
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Graf @ 2011-10-10  8:09 UTC (permalink / raw)
  To: Jörg Sommer; +Cc: Avi Kivity, Marcelo Tosatti, kvm list, kvm-ppc

Hi Jörg,

On 07.10.2011, at 23:10, Jörg Sommer wrote:

> Hi,
> 
> I've got this backtrace:
> 
> [130902.709711] ------------[ cut here ]------------
> [130902.709747] kernel BUG at include/linux/kvm_host.h:603!

Ouch. This means that preemption is broken in KVM for PPC. To quickly get things working on your side, please recompile your kernel with CONFIG_PREEMPT_NONE. I'll take a look at fixing it for real ASAP.


Alex

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

* Re: kernel BUG at include/linux/kvm_host.h:603!
  2011-10-10  8:09 ` Alexander Graf
@ 2011-10-31 10:28   ` Jörg Sommer
  0 siblings, 0 replies; 3+ messages in thread
From: Jörg Sommer @ 2011-10-31 10:28 UTC (permalink / raw)
  To: Alexander Graf; +Cc: Avi Kivity, Marcelo Tosatti, kvm list, kvm-ppc

[-- Attachment #1: Type: text/plain, Size: 755 bytes --]

Hi Alexander,

Alexander Graf hat am Mon 10. Oct, 10:09 (+0200) geschrieben:
> On 07.10.2011, at 23:10, Jörg Sommer wrote:
> 
> > Hi,
> > 
> > I've got this backtrace:
> > 
> > [130902.709711] ------------[ cut here ]------------
> > [130902.709747] kernel BUG at include/linux/kvm_host.h:603!
> 
> Ouch. This means that preemption is broken in KVM for PPC. To quickly
> get things working on your side, please recompile your kernel with
> CONFIG_PREEMPT_NONE. I'll take a look at fixing it for real ASAP.

Did you look for it? I still get this message for 3.1.0-02829.

Bye, Jörg.
-- 
Es gibt nichts schöneres als dem Schweigen eines Dummkopfes zuzuhören.
                                                        (Helmut Quatlinger)

[-- Attachment #2: Digital signature http://en.wikipedia.org/wiki/OpenPGP --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2011-10-31 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-07 21:10 kernel BUG at include/linux/kvm_host.h:603! Jörg Sommer
2011-10-10  8:09 ` Alexander Graf
2011-10-31 10:28   ` Jörg Sommer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox