I was wondering of anyone could help out on this, just found an oopse
when trying to start rhel4 on i386 box. I was wondering if anyone else
has seen this with kvm-18 and if I should submit a bug for it.

[10937.520000] BUG: unable to handle kernel NULL pointer dereference
at virtual address 00000023
[10937.520000]  printing eip:
[10937.520000] f9004eec
[10937.520000] *pde = 00000000
[10937.520000] Oops: 0000 [#1]
[10937.520000] SMP
[10937.520000] Modules linked in: tun fuse kvm_intel kvm bridge i915
drm ipv6 arc4 ecb ieee80211_crypt_wep binfmt_misc snd_pcm_oss
snd_mixer_oss ext2 mbcache configfs ipw3945 capability commoncap
cpufreq_stats cpufreq_ondemand cpufreq_powersave cpufreq_userspace
cpufreq_conservative acpi_cpufreq freq_table processor eth1394 pcmcia
ieee80211 ieee80211_crypt ata_generic ata_piix tg3 ohci1394
yenta_socket rsrc_nonstatic iTCO_wdt iTCO_vendor_support joydev libata
intel_agp rtc tsdev sdhci mmc_core ieee1394 pcmcia_core scsi_mod
generic shpchp pci_hotplug agpgart rng_core psmouse serio_raw ehci_hcd
i2c_i801 i2c_core uhci_hcd usbcore snd_hda_intel snd_hda_codec snd_pcm
snd_timer snd soundcore snd_page_alloc evdev reiserfs dm_crypt aes
suspend_encrypt suspend_compress suspend_file suspend_swap
suspend_block_io suspend_core ide_disk piix ide_core dm_mod
[10937.520000] CPU:    0
[10937.520000] EIP:    0060:[<f9004eec>]    Not tainted VLI
[10937.520000] EFLAGS: 00010292   (2.6.20.7 #1)
[10937.520000] EIP is at mmu_page_remove_parent_pte+0xc/0xf0 [kvm]
[10937.520000] eax: c4568464   ebx: 000209bf   ecx: e8480000   edx: ffffffff
[10937.520000] esi: 00000002   edi: e8480000   ebp: ffffffff   esp: c918fbbc
[10937.520000] ds: 007b   es: 007b   ss: 0068
[10937.520000] Process qemu (pid: 15999, ti=c918e000 task=c1a88560
task.ti=c918e000)
[10937.520000] Stack: c4568464 000209bf 00000002 e8480000 c456ac50
f9005441 c4568464 0000957a
[10937.520000]        c456a568 00000fff 00000000 00000000 00000ff8
c4568464 0000957a 00000000
[10937.520000]        00000001 f9001929 00000001 0957afff 00000000
c12fa980 000094ba 00000000
[10937.520000] Call Trace:
[10937.520000]  [<f9005441>] kvm_mmu_pre_write+0x121/0x1f0 [kvm]
[10937.520000]  [<f9001929>] emulator_write_emulated+0x119/0x180 [kvm]
[10937.520000]  [<f90097cf>] x86_emulate_memop+0x17ef/0x3130 [kvm]
[10937.520000]  [<f900665b>] paging32_walk_addr+0x25b/0x310 [kvm]
[10937.520000]  [<f90056cb>] gpa_to_hpa+0x3b/0xc0 [kvm]
[10937.520000]  [<c01884a3>] d_splice_alias+0x53/0x100
[10937.520000]  [<c01884a2>] d_splice_alias+0x52/0x100
[10937.520000]  [<f9003969>] emulate_instruction+0x109/0x230 [kvm]
[10937.520000]  [<f8db28f8>] handle_exception+0x1d8/0x240 [kvm_intel]
[10937.520000]  [<f8db1b8a>] kvm_vmx_return+0xed/0x593 [kvm_intel]
[10937.520000]  [<c026b7f8>] sock_wfree+0x38/0x40
[10937.520000]  [<c010d036>] cacheinfo_cpu_callback+0x286/0x3b0
[10937.520000]  [<f9003a90>] kvm_vcpu_ioctl+0x0/0xb90 [kvm]
[10937.520000]  [<f900406d>] kvm_vcpu_ioctl+0x5dd/0xb90 [kvm]
[10937.520000]  [<c02d1cdd>] unix_stream_recvmsg+0x23d/0x560
[10937.520000]  [<c0182c8d>] core_sys_select+0x22d/0x2c0
[10937.520000]  [<c0108ae2>] save_i387+0x142/0x190
[10937.520000]  [<c0102424>] setup_sigcontext+0x104/0x1b0
[10937.520000]  [<c01c731a>] avc_has_perm+0x5a/0x70
[10937.520000]  [<c01c7bf7>] inode_has_perm+0x47/0x90
[10937.520000]  [<c0102b9d>] do_notify_resume+0x44d/0x720
[10937.520000]  [<c01c7cea>] file_has_perm+0xaa/0xb0
[10937.521000]  [<f9003a90>] kvm_vcpu_ioctl+0x0/0xb90 [kvm]
[10937.521000]  [<c01817eb>] do_ioctl+0x2b/0x90
[10937.521000]  [<c01818ac>] vfs_ioctl+0x5c/0x2a0
[10937.521000]  [<c0181b62>] sys_ioctl+0x72/0x90
[10937.521000]  [<c0103224>] syscall_call+0x7/0xb
[10937.521000]  =======================
[10937.521000] Code: 89 03 8b 44 83 04 e8 24 c8 16 c7 8b 03 85 c0 75
ee 5b c3 8d b6 00 00 00 00 8d bf 00 00 00 00 55 89 d5 57 56 53 83 ec
04 89 04 24 <8b> 7a 24 85 ff 0f 84 c9 00 00 00 8b 52 2c 85 d2 0f 84 b6
00 00
[10937.521000] EIP: [<f9004eec>] mmu_page_remove_parent_pte+0xc/0xf0
[kvm] SS:ESP 0068:c918fbbc
[10937.521000]

This locked up the rhel4 guest.

[EMAIL PROTECTED]:~# uname -a
Linux dmlb2010-lappy 2.6.20.7 #1 SMP Sat Apr 14 16:55:05 PDT 2007 i686 GNU/Linux

[EMAIL PROTECTED]:~# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 14
model name      : Genuine Intel(R) CPU           U2500  @ 1.20GHz
stepping        : 8
cpu MHz         : 1200.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
constant_tsc pni monitor vmx est tm2 xtpr
bogomips        : 2396.90
clflush size    : 64

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 14
model name      : Genuine Intel(R) CPU           U2500  @ 1.20GHz
stepping        : 8
cpu MHz         : 1200.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
constant_tsc pni monitor vmx est tm2 xtpr
bogomips        : 2394.67
clflush size    : 64

here's the script that I use to start rhel4, made it a little generic
so I can start/install different things.

[EMAIL PROTECTED]:~# cat bin/start-rhel4
#!/bin/bash

KVER="2.6.9-42.0.10.EL"
INITRD_BASE="initrd"
INITRD_APPEND=".img"
APPEND="ro root=/dev/hda1"
DEV=mapper/VolGroup00-rhel4
BOOT=mapper/VolGroup00-rhel4--boot

qemu -kernel "/root/boot/vmlinuz-${KVER}" \
    -initrd "/root/boot/${INITRD_BASE}-${KVER}${INITRD_APPEND}" \
    -append "${APPEND}" \
    -m 256 -no-rtc \
    \
    -usb \
    -soundhw es1370 \
    -net nic,vlan0,macaddr=52:54:56:34:12:01 \
    -net tap,vlan=0,ifname=tap1 \
    -hdb "/dev/$BOOT" \
    /dev/$DEV

and here's sdl's env
[EMAIL PROTECTED]:~# env | grep SDL
SDL_VIDEODRIVER=x11

Thanks for any help.

- David Brown

-------------------------------------------------------------------------
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/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to