OOPS in kernel driver

Adam Majer
2007-05-16T18:55:44Z

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

Hi,

I'm using a somewhat "old" kernel with KVM (KVM included in the kernel).
I think it may be KVM-17 or something like that. Anyway, I got an OOPS
in the module while attempting to install Windows Server 2003 Standard
Edition 32-bit.

I just started it with
kvm -no-acpi -cdrom w2k3.iso w2k3.img

w2k3.img is just a 5G raw image disk.

Linux mira 2.6.21-rc6 #3 SMP Fri Apr 6 02:04:27 CDT 2007 i686 GNU/Linux

processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 75
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 2

The OOPS is attached as you probably do not want it reformatted by the
email client.

- Adam

PS. I know. I probably should have used more than 128M ram for the w2k3
server. But KVM shouldn't cause an oops regardless.

[-- Attachment #2: kvm.bug --]
[-- Type: text/plain, Size: 3595 bytes --]

KVM version included in that kernel.

kvm: emulating exchange as write
task_switch_interception: task swiche is unsupported
BUG: unable to handle kernel paging request at virtual address 8f9a4f0c
printing eip:
f8cc729d
*pde = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: kvm_amd kvm binfmt_misc nvidia(P) agpgart button ac battery ipv6 deflate zlib_deflate twofish twofish_common camellia serpent blowfish des cbc ecb blkcipher aes xcbc sha256 sha1 crypto_null af_key ext2 mbcache dm_snapshot dm_mirror dm_mod it87 hwmon_vid i2c_isa eeprom snd_hda_intel snd_hda_codec snd_pcm_oss snd_pcm snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd rtc i2c_nforce2 k8temp soundcore snd_page_alloc pcspkr tsdev eth1394 evdev i2c_core xfs raid1 md_mod ide_cd sd_mod cdrom pata_amd ata_generic usbhid hid sata_nv ohci1394 ieee1394 forcedeth ohci_hcd ehci_hcd generic usbcore amd74xx ide_core thermal processor fan
CPU: 0
EIP: 0060:[<f8cc729d>] Tainted: P VLI
EFLAGS: 00010a96 (2.6.21-rc6 #3)
EIP is at kvm_mmu_pre_write+0x133/0x17f [kvm]
eax: c1000000 ebx: 4d279067 ecx: f4cbe000 edx: ce9a4f00
esi: f4cbe000 edi: e4a2cf04 ebp: e4a2c464 esp: f53ddb40
ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Process kvm (pid: 5590, ti=f53dc000 task=f76a0540 task.ti=f53dc000)
Stack: 000006ab e4a2f508 000003fe 00000000 00000000 c1751380 000006ab 00000000
00000002 f8cc44f2 00000002 e4a2c464 006ab3fe 00000000 00000000 00000000
00000000 f8cd0ee0 00000000 f53ddc9c f8ccbb21 f53ddc9c e4a2c464 f8cc4a61
Call Trace:
[<f8cc44f2>] emulator_write_emulated+0xb4/0x197 [kvm]
[<f8ccbb21>] x86_emulate_memop+0x23a5/0x3020 [kvm]
[<f8cc4a61>] set_cr3+0x7c/0x85 [kvm]
[<f8ccc693>] x86_emulate_memop+0x2f17/0x3020 [kvm]
[<f8cc74e8>] safe_gpa_to_hpa+0xa/0x38 [kvm]
[<f8cc5c6c>] emulate_instruction+0xc9/0x23d [kvm]
[<f8c2826c>] pf_interception+0xa9/0xff [kvm_amd]
[<f8c28732>] svm_vcpu_run+0x470/0x4f7 [kvm_amd]
[<c0128754>] __mod_timer+0x90/0x9a
[<c01c3631>] cfq_arm_slice_timer+0xad/0xbc
[<f8cc5de0>] kvm_vcpu_ioctl+0x0/0x913 [kvm]
[<f8cc5f1c>] kvm_vcpu_ioctl+0x13c/0x913 [kvm]
[<c022eb5f>] scsi_run_queue+0x17a/0x189
[<c022b114>] __scsi_put_command+0x48/0x53
[<c01ba471>] elv_queue_empty+0x1d/0x1e
[<c01bd774>] blk_run_queue+0x1f/0x63
[<c022ee1b>] scsi_next_command+0x25/0x2f
[<c022efd2>] scsi_end_request+0x9e/0xa8
[<c022f19d>] scsi_io_completion+0x184/0x35d
[<c0134d13>] clocksource_get_next+0x39/0x3f
[<c012828c>] do_timer+0x4f6/0x6e1
[<c023cdd8>] ata_altstatus+0x1c/0x20
[<c0236e9a>] ata_hsm_move+0x70d/0x71d
[<c0119aae>] __activate_task+0x1c/0x29
[<c011bc36>] try_to_wake_up+0x3a1/0x3ab
[<c02b4f4f>] __sched_text_start+0x6cf/0x781
[<c016f3cf>] core_sys_select+0x283/0x2a0
[<c010861c>] convert_fxsr_to_user+0xef/0x143
[<c015799e>] find_extend_vma+0x12/0x49
[<c01376ac>] get_futex_key+0x3a/0xe3
[<c015799e>] find_extend_vma+0x12/0x49
[<c0137ae8>] futex_wake+0xa2/0xac
[<c01386b4>] do_futex+0x205/0xb50
[<c011bc40>] default_wake_function+0x0/0xc
[<f8cc5de0>] kvm_vcpu_ioctl+0x0/0x913 [kvm]
[<c016e24f>] do_ioctl+0x1f/0x62
[<c016e4de>] vfs_ioctl+0x24c/0x25e
[<c0139098>] sys_futex+0x99/0xac
[<c016e53c>] sys_ioctl+0x4c/0x64
[<c0103c94>] sysenter_past_esp+0x5d/0x81
=======================
Code: 0b 89 f2 89 e8 e8 9d f9 ff ff eb 2a 89 c8 89 da 89 f1 81 e2 ff ff 0f 00 25 00 f0 ff ff 0f ac d0 0c 89 c2 a1 80 e3 3c c0 c1 e2 05 <8b> 54 02 0c 89 e8 e8 2f fb ff ff c7 06 00 00 00 00 c7 46 04 00
EIP: [<f8cc729d>] kvm_mmu_pre_write+0x133/0x17f [kvm] SS:ESP 0068:f53ddb40

[-- Attachment #3: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #4: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org