Skip to contentSkip to conversation

Oops at boot - kernel 2.6.22.1

DISCUSSION Fix 3 participants 9 messages Jul 23, 2007 – Jul 26, 2007 7 messages not in the archive KVM

lore
Share & tools
lore

Fix

author
#0 lore raw

Host system: Linux
Processor: Athlon64 X2 3600+
Kernel: 2.6.22.1
KVM version: 31

Guest system: Linux
Kernel: 2.6.22.1

$ kvm -hda linux.img -boot c -m 256

Host system freeze immediately after pressing <Enter> in LILO

/var/log/messages:

Jul 23 11:57:10 linux kernel: Unable to handle kernel NULL 
pointer dereference
at 0000000000000000 RIP:
Jul 23 11:57:13 linux kernel:
[_end+136405197/2130576028] 
:kvm:x86_emulate_memop+0x16c1/0x3cb0
Jul 23 11:57:13 linux kernel: PGD 6753067 PUD 5258067 PMD 
0
Jul 23 11:57:13 linux kernel: Oops: 0002 [1] PREEMPT SMP
Jul 23 11:57:13 linux kernel: CPU 0
Jul 23 11:57:13 linux kernel: Modules linked in: kvm_amd 

kvm dm_mod loop
xt_tcpudp ipt_LOG xt_state nf_conntrack_ftp iptable_nat nf_nat
nf_conntrack_ipv4 nf_conntrack iptable_mangle iptable_filter ip_tables
x_tables nvidiafb fb_ddc i2c_algo_bit vgastate snd_intel8x0 nvidia(P)
snd_ac97_codec ac97_bus k8temp hwmon snd_pcm snd_timer snd snd_page_alloc
r8169

Jul 23 11:57:13 linux kernel: Pid: 2004, comm: kvm31 
Tainted: P
2.6.22.1-1 #1
Jul 23 11:57:13 linux kernel: RIP: 
0010:[_end+136405197/2130576028]
[_end+136405197/2130576028] 
:kvm:x86_emulate_memop+0x16c1/0x3cb0
Jul 23 11:57:13 linux kernel: RSP: 0018:ffff81000ae959a8 
 EFLAGS: 00010246
Jul 23 11:57:13 linux kernel: RAX: 0000000000000000 RBX: 
0000000000000000 RCX:
ffff810018d10000
Jul 23 11:57:13 linux kernel: RDX: 0100000000000000 RSI: 
0000000000000000 RDI:
ffff81000b1fa138
Jul 23 11:57:13 linux kernel: RBP: 0000000000000023 R08: 
ffff8100383aa2c0 R09:
0000000000000004
Jul 23 11:57:13 linux kernel: R10: 0000000000000000 R11: 
ffffffff88840320 R12:
ffff81000ae95b68
Jul 23 11:57:13 linux kernel: R13: 0000000000000008 R14: 
0000000000000000 R15:
ffffffff8883d7e0
Jul 23 11:57:13 linux kernel: FS:  0000000000000000(0000) 
GS:ffffffff80586000
(0000) knlGS:0000000000000000
Jul 23 11:57:13 linux kernel: CS:  0010 DS: 0000 ES: 0000 
CR0:
000000008005003b
Jul 23 11:57:13 linux kernel: CR2: 0000000000000000 CR3: 
0000000007699000 CR4:
00000000000006e0
Jul 23 11:57:13 linux kernel: Process kvm31 (pid: 2004, 
threadinfo
ffff81000ae94000, task ffff81002e9150e0)
Jul 23 11:57:13 linux kernel: Stack:  000000000000008b 
ffffffff8882dce5
0000000000000023 0003ffff8882ddaf
Jul 23 11:57:13 linux kernel:  000000000000008b 
030001ff00000040
0000000000000000 ffff81000ae95bb8
Jul 23 11:57:13 linux kernel:  0000000000000008 
00ffffff88834d1a
0000000000000000 0000000800000004
Jul 23 11:57:13 linux kernel: Call Trace:
Jul 23 11:57:13 linux kernel:
[_end+136372097/2130576028] 
:kvm:emulator_read_std+0xa5/0x130
Jul 23 11:57:13 linux kernel:
[_end+136391052/2130576028] :kvm:gpa_to_hpa+0x10/0x60
Jul 23 11:57:13 linux kernel:
[_end+136390799/2130576028] :kvm:rmap_add+0x23/0xf0
Jul 23 11:57:13 linux kernel:
[_end+136398940/2130576028] 
:kvm:paging64_page_fault+0x2d0/0x310
Jul 23 11:57:13 linux kernel:
[_end+136378515/2130576028] 
:kvm:emulate_instruction+0x137/0x290
Jul 23 11:57:13 linux kernel:
[_end+136447420/2130576028] 
:kvm_amd:svm_get_segment_base+0x0/0x10
Jul 23 11:57:13 linux kernel:
[_end+136450971/2130576028] 
:kvm_amd:emulate_on_interception+0xf/0x40
Jul 23 11:57:13 linux kernel:
[_end+136453714/2130576028] 
:kvm_amd:svm_vcpu_run+0x2c6/0x660
Jul 23 11:57:13 linux kernel:
[_end+136381451/2130576028] 
:kvm:kvm_vcpu_ioctl+0xa1f/0xe80
Jul 23 11:57:13 linux kernel:  [sock_aio_write+369/384]
sock_aio_write+0x171/0x180
Jul 23 11:57:13 linux kernel:  [sock_aio_read+371/384]
sock_aio_read+0x173/0x180
Jul 23 11:57:13 linux kernel:  [core_sys_select+693/848]
core_sys_select+0x2b5/0x350
Jul 23 11:57:13 linux kernel:  [__dequeue_signal+272/464]
__dequeue_signal+0x110/0x1d0
Jul 23 11:57:13 linux kernel:  [recalc_sigpending+14/48]
recalc_sigpending+0xe/0x30
Jul 23 11:57:13 linux kernel:  [dequeue_signal+107/384]
dequeue_signal+0x6b/0x180
Jul 23 11:57:13 linux kernel:  [do_ioctl+53/224] 
do_ioctl+0x35/0xe0
Jul 23 11:57:13 linux kernel:  [vfs_ioctl+116/720] 
vfs_ioctl+0x74/0x2d0
Jul 23 11:57:13 linux kernel:  [sys_ioctl+149/176] 
sys_ioctl+0x95/0xb0
Jul 23 11:57:13 linux kernel:  [system_call+126/131] 
system_call+0x7e/0x83
Jul 23 11:57:13 linux kernel:
Jul 23 11:57:13 linux kernel:
Jul 23 11:57:13 linux kernel: Code: 66 89 10 e9 c4 ee ff 
ff 8b 54 24 60 85 d2
0f 84 10 02 00 00
Jul 23 11:57:13 linux kernel: RIP
[_end+136405197/2130576028] 
:kvm:x86_emulate_memop+0x16c1/0x3cb0
Jul 23 11:57:13 linux kernel:  RSP <ffff81000ae959a8>
Jul 23 11:57:13 linux kernel: CR2: 0000000000000000
Jul 23 11:57:13 linux kernel: note: kvm31[2004] exited 
with preempt_count 1
Jul 23 11:57:13 linux kernel: BUG: scheduling while 
atomic:
kvm31/0x00000001/2004
Jul 23 11:57:13 linux kernel:
Jul 23 11:57:13 linux kernel: Call Trace:
Jul 23 11:57:13 linux kernel:  [release_pages+341/400]
release_pages+0x155/0x190
Jul 23 11:57:13 linux kernel:  [thread_return+542/1746]
thread_return+0x21e/0x6d2
Jul 23 11:57:13 linux kernel:  [free_pages_bulk+182/704]
free_pages_bulk+0xb6/0x2c0
Jul 23 11:57:13 linux kernel: 
 [__mutex_lock_slowpath+105/176]
__mutex_lock_slowpath+0x69/0xb0
Jul 23 11:57:13 linux kernel:  [mutex_lock+10/16] 
mutex_lock+0xa/0x10
Jul 23 11:57:13 linux kernel:
[_end+136373433/2130576028] :kvm:vcpu_load+0xd/0x20
Jul 23 11:57:13 linux kernel:
[_end+136375773/2130576028] :kvm:kvm_destroy_vm+0x81/0x110
Jul 23 11:57:13 linux kernel:
[_end+136376636/2130576028] :kvm:kvm_vm_release+0x10/0x20
Jul 23 11:57:13 linux kernel:  [__fput+177/464] 
__fput+0xb1/0x1d0
Jul 23 11:57:13 linux kernel:
[_end+136373510/2130576028] 
:kvm:kvm_vcpu_release+0x1a/0x30
Jul 23 11:57:13 linux kernel:  [__fput+177/464] 
__fput+0xb1/0x1d0
Jul 23 11:57:13 linux kernel:  [filp_close+84/144] 
filp_close+0x54/0x90
Jul 23 11:57:13 linux kernel:  [put_files_struct+233/288]
put_files_struct+0xe9/0x120
Jul 23 11:57:13 linux kernel:  [do_exit+401/2368] 
do_exit+0x191/0x940
Jul 23 11:57:13 linux kernel: 
 [_spin_unlock_irqrestore+8/64]
_spin_unlock_irqrestore+0x8/0x40
Jul 23 11:57:13 linux kernel:  [do_page_fault+1453/2240]
do_page_fault+0x5ad/0x8c0
Jul 23 11:57:13 linux kernel:
[_end+136393541/2130576028] :kvm:safe_gpa_to_hpa+0x9/0x30
Jul 23 11:57:13 linux kernel:
[_end+136397800/2130576028] 
:kvm:paging64_walk_addr+0x26c/0x3a0
Jul 23 11:57:13 linux kernel:
[_end+136369231/2130576028] :kvm:gfn_to_page+0x23/0x50
Jul 23 11:57:13 linux kernel:
[_end+136369231/2130576028] :kvm:gfn_to_page+0x23/0x50
Jul 23 11:57:13 linux kernel:
[_end+136391052/2130576028] :kvm:gpa_to_hpa+0x10/0x60
Jul 23 11:57:13 linux kernel:
[_end+136393541/2130576028] :kvm:safe_gpa_to_hpa+0x9/0x30
Jul 23 11:57:13 linux kernel:
[_end+136397800/2130576028] 
:kvm:paging64_walk_addr+0x26c/0x3a0
Jul 23 11:57:13 linux kernel:  [error_exit+0/132] 
error_exit+0x0/0x84
Jul 23 11:57:13 linux kernel:
[_end+136447420/2130576028] 
:kvm_amd:svm_get_segment_base+0x0/0x10
Jul 23 11:57:13 linux kernel:
[_end+136405197/2130576028] 
:kvm:x86_emulate_memop+0x16c1/0x3cb0
Jul 23 11:57:13 linux kernel:
[_end+136410213/2130576028] 
:kvm:x86_emulate_memop+0x2a59/0x3cb0
Jul 23 11:57:13 linux kernel:
[_end+136372097/2130576028] 
:kvm:emulator_read_std+0xa5/0x130
Jul 23 11:57:13 linux kernel:
[_end+136391052/2130576028] :kvm:gpa_to_hpa+0x10/0x60
Jul 23 11:57:13 linux kernel:
[_end+136390799/2130576028] :kvm:rmap_add+0x23/0xf0
Jul 23 11:57:13 linux kernel:
[_end+136398940/2130576028] 
:kvm:paging64_page_fault+0x2d0/0x310
Jul 23 11:57:13 linux kernel:
[_end+136378515/2130576028] 
:kvm:emulate_instruction+0x137/0x290
Jul 23 11:57:13 linux kernel:
[_end+136447420/2130576028] 
:kvm_amd:svm_get_segment_base+0x0/0x10
Jul 23 11:57:13 linux kernel:
[_end+136450971/2130576028] 
:kvm_amd:emulate_on_interception+0xf/0x40
Jul 23 11:57:13 linux kernel:
[_end+136453714/2130576028] 
:kvm_amd:svm_vcpu_run+0x2c6/0x660
Jul 23 11:57:13 linux kernel:
[_end+136381451/2130576028] 
:kvm:kvm_vcpu_ioctl+0xa1f/0xe80
Jul 23 11:57:13 linux kernel:  [sock_aio_write+369/384]
sock_aio_write+0x171/0x180
Jul 23 11:57:13 linux kernel:  [sock_aio_read+371/384]
sock_aio_read+0x173/0x180
Jul 23 11:57:13 linux kernel:  [core_sys_select+693/848]
core_sys_select+0x2b5/0x350
Jul 23 11:57:13 linux kernel:  [__dequeue_signal+272/464]
__dequeue_signal+0x110/0x1d0
Jul 23 11:57:13 linux kernel:  [recalc_sigpending+14/48]
recalc_sigpending+0xe/0x30
Jul 23 11:57:13 linux kernel:  [dequeue_signal+107/384]
dequeue_signal+0x6b/0x180
Jul 23 11:57:13 linux kernel:  [do_ioctl+53/224] 
do_ioctl+0x35/0xe0
Jul 23 11:57:13 linux kernel:  [vfs_ioctl+116/720] 
vfs_ioctl+0x74/0x2d0
Jul 23 11:57:13 linux kernel:  [sys_ioctl+149/176] 
sys_ioctl+0x95/0xb0
Jul 23 11:57:13 linux kernel:  [system_call+126/131] 
system_call+0x7e/0x83
Jul 23 11:57:13 linux kernel:
Jul 23 11:57:13 linux kernel: double fault: 0000 [2] 
PREEMPT SMP
Jul 23 11:57:13 linux kernel: CPU 0
Jul 23 11:57:13 linux kernel: Modules linked in: kvm_amd 

kvm dm_mod loop
xt_tcpudp ipt_LOG xt_state nf_conntrack_ftp iptable_nat nf_nat
nf_conntrack_ipv4 nf_conntrack iptable_mangle iptable_filter ip_tables
x_tables nvidiafb fb_ddc i2c_algo_bit vgastate snd_intel8x0 nvidia(P)
snd_ac97_codec ac97_bus k8temp hwmon snd_pcm snd_timer snd snd_page_alloc
r8169

Jul 23 11:57:13 linux kernel: Pid: 1696, comm: konsole 
Tainted: P
2.6.22.1-1 #1
Jul 23 11:57:13 linux kernel: RIP: 
0010:[error_entry+45/98]
[error_entry+45/98] error_entry+0x2d/0x62
Jul 23 11:57:13 linux kernel: RSP: 0018:00007ffff04d8fc8 
 EFLAGS: 00010002
Jul 23 11:57:13 linux kernel: RAX: ffffffff8021d040 RBX: 
0000000000000001 RCX:
0000000000671ac4
Jul 23 11:57:13 linux kernel: RDX: 0000000000001000 RSI: 
ffffffff8021d040 RDI:
00007ffff04d9178
Jul 23 11:57:13 linux kernel: RBP: 000000008020a0ec R08: 
0000000000671a28 R09:
0000000000000000
Jul 23 11:57:13 linux kernel: R10: 0000000000000000 R11: 
0000000000000246 R12:
0000000000000000
Jul 23 11:57:13 linux kernel: R13: 0000000000670ba0 R14: 
0000000000000000 R15:
00007ffff04d9178
Jul 23 11:57:13 linux kernel: FS:  00002b74c2053690(0000) 
GS:ffffffff80586000
(0000) knlGS:0000000000000000
Jul 23 11:57:13 linux kernel: CS:  0010 DS: 0000 ES: 0000 
CR0:
000000008005003b
Jul 23 11:57:13 linux kernel: CR2: 00007ffff04d8fb8 CR3: 
0000000034576000 CR4:
00000000000006e0
Jul 23 11:57:13 linux kernel: Process konsole (pid: 1696, 
threadinfo
ffff810035862000, task ffff81003cccc9b0)
Jul 23 11:57:13 linux kernel: Stack:  0000000000780550 
00007ffff04db1d0
0000000000000000 0000000000000001
Jul 23 11:57:13 linux kernel:  0000000000000009 
00007ffff04d9220
00002b74bdbb690c 0000000000000000
Jul 23 11:57:13 linux kernel:  0000000000000000 
0000000000671a28
ffffffff8021d040 0000000000671ac4
Jul 23 11:57:13 linux kernel: Call Trace:
Jul 23 11:57:13 linux kernel:
Jul 23 11:57:13 linux kernel:
Jul 23 11:57:13 linux kernel: Code: 4c 89 5c 24 30 48 89 
5c 24 28 48 89 6c 24
20 4c 89 64 24 18
Jul 23 11:57:13 linux kernel: RIP  [error_entry+45/98] 
error_entry+0x2d/0x62
Jul 23 11:57:13 linux kernel:  RSP <00007ffff04d8fc8>
Jul 23 11:57:13 linux kernel: double fault: 0000 [3] 
PREEMPT SMP
Jul 23 11:57:13 linux kernel: CPU 0
Jul 23 11:57:13 linux kernel: Modules linked in: kvm_amd 

kvm dm_mod loop
xt_tcpudp ipt_LOG xt_state nf_conntrack_ftp iptable_nat nf_nat
nf_conntrack_ipv4 nf_conntrack iptable_mangle iptable_filter ip_tables
x_tables nvidiafb fb_ddc i2c_algo_bit vgastate snd_intel8x0 nvidia(P)
snd_ac97_codec ac97_bus k8temp hwmon snd_pcm snd_timer snd snd_page_alloc
r8169

Jul 23 11:57:13 linux kernel: Pid: 1678, comm: ksmserver 
Tainted: P
2.6.22.1-1 #1
Jul 23 11:57:13 linux kernel: RIP: 
0010:[do_page_fault+45/2240]
[do_page_fault+45/2240] do_page_fault+0x2d/0x8c0
Jul 23 11:57:13 linux kernel: RSP: 0018:00007ffff04d8f38 
 EFLAGS: 00010012
Jul 23 11:57:13 linux kernel: RAX: ffffffff8021d040 RBX: 
0000000000000001 RCX:
00000000006c60b0
Jul 23 11:57:13 linux kernel: RDX: 0000000000000008 RSI: 
0000000000000000 RDI:
00007ffff04d9038
Jul 23 11:57:13 linux kernel: RBP: 000000008020a0ec R08: 
0000000000000000 R09:
00002b74c15180e0
Jul 23 11:57:13 linux kernel: R10: 000000000069d530 R11: 
0000000000000246 R12:
00000000006c5fd0
Jul 23 11:57:13 linux kernel: R13: 0000000000000000 R14: 
0000000000000000 R15:
00007ffff04d9038
Jul 23 11:57:13 linux kernel: FS:  00002b74c2053690(0000) 
GS:ffffffff80586000
(0000) knlGS:0000000000000000
Jul 23 11:57:13 linux kernel: CS:  0010 DS: 0000 ES: 0000 
CR0:
000000008005003b
Jul 23 11:57:13 linux kernel: CR2: 00007ffff04d8f28 CR3: 
00000000346dd000 CR4:
00000000000006e0
Jul 23 11:57:13 linux kernel: Process ksmserver (pid: 
1678, threadinfo
ffff810035d9a000, task ffff81003f40d850)
Jul 23 11:57:13 linux kernel: Stack:  0000000000000000 
0000000000000000
0000000000000000 0000000000000000
Jul 23 11:57:13 linux kernel:  0000000000000000 
0000000000000000
0000000000000000 0000000000000000
Jul 23 11:57:13 linux kernel:  0000000000000000 
0000000000000000
0000000000000000 0000000000000000
Jul 23 11:57:13 linux kernel: Call Trace:
Jul 23 11:57:13 linux kernel:
Jul 23 11:57:13 linux kernel:
Jul 23 11:57:13 linux kernel: Code: 65 48 8b 04 25 00 00 
00 00 48 89 ac 24 d0
00 00 00 4c 89 ac
Jul 23 11:57:13 linux kernel: RIP  [do_page_fault+45/2240]
do_page_fault+0x2d/0x8c0
Jul 23 11:57:13 linux kernel:  RSP <00007ffff04d8f38>
Jul 23 11:57:13 linux kernel: double fault: 0000 [4] 
PREEMPT SMP
Jul 23 11:57:13 linux kernel: CPU 0
Jul 23 11:57:13 linux kernel: Modules linked in: kvm_amd 

kvm dm_mod loop
xt_tcpudp ipt_LOG xt_state nf_conntrack_ftp iptable_nat nf_nat
nf_conntrack_ipv4 nf_conntrack iptable_mangle iptable_filter ip_tables
x_tables nvidiafb fb_ddc i2c_algo_bit vgastate snd_intel8x0 nvidia(P)
snd_ac97_codec ac97_bus k8temp hwmon snd_pcm snd_timer snd snd_page_alloc
r8169

Jul 23 11:57:13 linux kernel: Pid: 1703, comm: bash 
Tainted: P
2.6.22.1-1 #1
Jul 23 11:57:13 linux kernel: RIP: 
0010:[do_page_fault+45/2240]
[do_page_fault+45/2240] do_page_fault+0x2d/0x8c0
Jul 23 11:57:13 linux kernel: RSP: 0018:00007fff6cc8fff8 
 EFLAGS: 00010012
Jul 23 11:57:13 linux kernel: RAX: ffffffff8021d040 RBX: 
0000000000000001 RCX:
0000000000000000
Jul 23 11:57:13 linux kernel: RDX: 00007fff6cc90f20 RSI: 
0000000000000000 RDI:
00007fff6cc900f8
Jul 23 11:57:13 linux kernel: RBP: 000000008020a0ec R08: 
00000000006c5410 R09:
00000000006c5440
Jul 23 11:57:13 linux kernel: R10: 0000000000000000 R11: 
0000000000000246 R12:
00000000ffffffff
Jul 23 11:57:13 linux kernel: R13: 0000000000000700 R14: 
0000000000000000 R15:
00007fff6cc900f8
Jul 23 11:57:13 linux kernel: FS:  00002baa3ec1a6f0(0000) 
GS:ffffffff80586000
(0000) knlGS:0000000000000000
Jul 23 11:57:13 linux kernel: CS:  0010 DS: 0000 ES: 0000 
CR0:
000000008005003b
Jul 23 11:57:13 linux kernel: CR2: 00007fff6cc8ffe8 CR3: 
00000000308f0000 CR4:
00000000000006e0
Jul 23 11:57:13 linux kernel: Process bash (pid: 1703, 
threadinfo
ffff81003094e000, task ffff81003d7055d0)
Jul 23 11:57:13 linux kernel: Stack:  00002baa3e8e05d8
Jul 23 11:57:13 linux kernel: Call Trace:
Jul 23 11:57:13 linux kernel:
Jul 23 11:57:13 linux kernel:
Jul 23 11:57:13 linux kernel: Code: 65 48 8b 04 25 00 00 
00 00 48 89 ac 24 d0
00 00 00 4c 89 ac
Jul 23 11:57:13 linux kernel: RIP  [do_page_fault+45/2240]
do_page_fault+0x2d/0x8c0
Jul 23 11:57:13 linux kernel:  RSP <00007fff6cc8fff8>
Jul 23 11:57:13 linux kernel: double fault: 0000 [5] 
PREEMPT SMP
Jul 23 11:57:13 linux kernel: CPU 0
Jul 23 11:57:13 linux kernel: Modules linked in: kvm_amd 

kvm dm_mod loop
xt_tcpudp ipt_LOG xt_state nf_conntrack_ftp iptable_nat nf_nat
nf_conntrack_ipv4 nf_conntrack iptable_mangle iptable_filter ip_tables
x_tables nvidiafb fb_ddc i2c_algo_bit vgastate snd_intel8x0 nvidia(P)
snd_ac97_codec ac97_bus k8temp hwmon snd_pcm snd_timer snd snd_page_alloc
r8169

Jul 23 11:57:13 linux kernel: Pid: 1665, comm: kded 
Tainted: P
2.6.22.1-1 #1
Jul 23 11:57:13 linux kernel: RIP: 
0010:[error_entry+45/98]
[error_entry+45/98] error_entry+0x2d/0x62
Jul 23 11:57:13 linux kernel: RSP: 0018:00007ffff04d7fc8 
 EFLAGS: 00010002
Jul 23 11:57:13 linux kernel: RAX: ffffffff8021d040 RBX: 
0000000000000001 RCX:
00000000f04df6a0
Jul 23 11:57:13 linux kernel: RDX: 0000000000000000 RSI: 
ffffffff8021d040 RDI:
00007ffff04d8178
Jul 23 11:57:13 linux kernel: RBP: 000000008020a0ec R08: 
00007ffff04df720 R09:
00002b74c15180e0
Jul 23 11:57:13 linux kernel: R10: 0000000000000000 R11: 
0000000000000246 R12:
00007ffff04df7e0
Jul 23 11:57:13 linux kernel: R13: 00000000006a6b50 R14: 
0000000000000000 R15:
00007ffff04d8178
Jul 23 11:57:13 linux kernel: FS:  00002b74c2053690(0000) 
GS:ffffffff80586000
(0000) knlGS:0000000000000000
Jul 23 11:57:13 linux kernel: CS:  0010 DS: 0000 ES: 0000 
CR0:
000000008005003b
Jul 23 11:57:13 linux kernel: CR2: 00007ffff04d7fb8 CR3: 
0000000034945000 CR4:
00000000000006e0
Jul 23 11:57:13 linux kernel: Process kded (pid: 1665, 
threadinfo
ffff810034948000, task ffff81003d7af750)
Jul 23 11:57:13 linux kernel: Stack: <1>Unable to handle 
kernel paging request
at 00007ffff04d7fc8 RIP:
Jul 23 11:57:13 linux kernel:  [_show_stack+104/272] 
_show_stack+0x68/0x110
Jul 23 11:57:13 linux kernel: PGD 34989067 PUD 3498a067 
PMD 3498b067 PTE 0
Jul 23 11:57:13 linux kernel: Oops: 0000 [6] PREEMPT SMP
Jul 23 11:57:13 linux kernel: CPU 0
Jul 23 11:57:13 linux kernel: Modules linked in: kvm_amd 

kvm dm_mod loop
xt_tcpudp ipt_LOG xt_state nf_conntrack_ftp iptable_nat nf_nat
nf_conntrack_ipv4 nf_conntrack iptable_mangle iptable_filter ip_tables
x_tables nvidiafb fb_ddc i2c_algo_bit vgastate snd_intel8x0 nvidia(P)
snd_ac97_codec ac97_bus k8temp hwmon snd_pcm snd_timer snd snd_page_alloc
r8169

Jul 23 11:57:13 linux kernel: Pid: 1665, comm: kded 
Tainted: P
2.6.22.1-1 #1
Jul 23 11:57:13 linux kernel: RIP: 
0010:[_show_stack+104/272]
[_show_stack+104/272] _show_stack+0x68/0x110
Jul 23 11:57:13 linux kernel: RSP: 0018:ffffffff805e6e78 
 EFLAGS: 00010046
Jul 23 11:57:13 linux kernel: RAX: ffffffff80586001 RBX: 
00007ffff04d7fc8 RCX:
000000000000000c
Jul 23 11:57:13 linux kernel: RDX: 00007ffff04d7f00 RSI: 
ffffffff805e6f58 RDI:
0000000000000000
Jul 23 11:57:13 linux kernel: RBP: 0000000000000000 R08: 
00000000ffffffff R09:
0000000000000000
Jul 23 11:57:13 linux kernel: R10: 00000000ffffffff R11: 
0000000000000000 R12:
ffffffff805e4fc0
Jul 23 11:57:13 linux kernel: R13: ffffffff805e0fc0 R14: 
0000000000000000 R15:
ffffffff805e6f58
Jul 23 11:57:13 linux kernel: FS:  00002b74c2053690(0000) 
GS:ffffffff80586000
(0000) knlGS:0000000000000000
Jul 23 11:57:13 linux kernel: CS:  0010 DS: 0000 ES: 0000 
CR0:
000000008005003b
Jul 23 11:57:13 linux kernel: CR2: 00007ffff04d7fc8 CR3: 
0000000034945000 CR4:
00000000000006e0
Jul 23 11:57:13 linux kernel: Process kded (pid: 1665, 
threadinfo
ffff810034948000, task ffff81003d7af750)
Jul 23 11:57:13 linux kernel: Stack:  00007ffff04d7fc8 
ffff81003d7af750
ffffffff805e6f58 0000000000000000
Jul 23 11:57:13 linux kernel:  00007ffff04d7fc8 
0000000000000000
00007ffff04d8178 ffffffff8020b40b
Jul 23 11:57:13 linux kernel:  ffffffff805e6f58 
ffffffff805e6f58
0000000000000000 0000000000000000
Jul 23 11:57:13 linux kernel: Call Trace:
Jul 23 11:57:13 linux kernel:  <#DF> 
 [show_registers+171/272]
show_registers+0xab/0x110
Jul 23 11:57:13 linux kernel:  [__die+142/208] 
__die+0x8e/0xd0
Jul 23 11:57:13 linux kernel:  [die+64/96] die+0x40/0x60
Jul 23 11:57:13 linux kernel:  [do_double_fault+90/96]
do_double_fault+0x5a/0x60
Jul 23 11:57:13 linux kernel:  [double_fault+125/144] 
double_fault+0x7d/0x90
Jul 23 11:57:13 linux kernel:  [do_page_fault+0/2240] 
do_page_fault+0x0/0x8c0
Jul 23 11:57:13 linux kernel:  [do_page_fault+0/2240] 
do_page_fault+0x0/0x8c0
Jul 23 11:57:13 linux kernel:  [error_entry+45/98] 
error_entry+0x2d/0x62
Jul 23 11:57:13 linux kernel:  <<EOE>>
Jul 23 11:57:13 linux kernel:
Jul 23 11:57:13 linux kernel: Code: 48 8b 33 48 c7 c7 82 
77 4f 80 31 c0 ff c5
e8 75 53 02 00 e8
Jul 23 11:57:13 linux kernel: RIP  [_show_stack+104/272]
_show_stack+0x68/0x110
Jul 23 11:57:13 linux kernel:  RSP <ffffffff805e6e78>
Jul 23 11:57:13 linux kernel: CR2: 00007ffff04d7fc8
Jul 23 11:57:13 linux kernel: note: kded[1665] exited with 

preempt_count 1

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 5 lines · Fix

Host system: Linux
Processor: Athlon64 X2 3600+
Kernel: 2.6.22.1
KVM version: 31

Quoted 9 lines

Guest system: Linux
Kernel: 2.6.22.1

$ kvm -hda linux.img -boot c -m 256

Host system freeze immediately after pressing <Enter> in LILO

If the guest doesn't have any private information, can you put it somewhere for me to download?

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
#3 lore raw
In reply to a message not in the archive
Quoted 13 lines · Fix

Host system: Linux
Processor: Athlon64 X2 3600+
Kernel: 2.6.22.1
KVM version: 31

Guest system: Linux
Kernel: 2.6.22.1

$ kvm -hda linux.img -boot c -m 256

Host system freeze immediately after pressing <Enter> in LILO

Quoted 9 lines

/var/log/messages:

Jul 23 11:57:10 linux kernel: Unable to handle kernel NULL 
pointer dereference
at 0000000000000000 RIP:
Jul 23 11:57:13 linux kernel:

[_end+136405197/2130576028]
:kvm:x86_emulate_memop+0x16c1/0x3cb0

Oh, if you have CONFIG_SLUB enabled, then you need to use kvm-32.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): 46A493A8.6020204-atKUWr5tajBWk0Htik3J/[email protected]

author
#5 lore raw
Quoted 21 lines
Quoted 21 lines

Host system: Linux
Processor: Athlon64 X2 3600+
Kernel: 2.6.22.1
KVM version: 31

Guest system: Linux
Kernel: 2.6.22.1

$ kvm -hda linux.img -boot c -m 256

Host system freeze immediately after pressing <Enter> in LILO

/var/log/messages:

Jul 23 11:57:10 linux kernel: Unable to handle kernel NULL
pointer dereference
at 0000000000000000 RIP:
Jul 23 11:57:13 linux kernel:

[_end+136405197/2130576028]

Quoted 3 lines
Quoted 1 line

:kvm:x86_emulate_memop+0x16c1/0x3cb0

Oh, if you have CONFIG_SLUB enabled, then you need to use kvm-32.

No, I don't.
The same situation with kvm-33.
Here is .tar.bz2 with my bzImage, System.map and .config:
http://depositfiles.com/en/files/1296145
The following command causes hangup of my host system:

$ kvm -hda [any image] -kernel bzImage-2.6.22.1-3 -boot c -m 256

P.S.: with -no-kvm kernel boots fine

P.P.S.: host and guest are 64-bit

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 31 lines · Fix
Quoted 21 lines
Quoted 21 lines

Host system: Linux
Processor: Athlon64 X2 3600+
Kernel: 2.6.22.1
KVM version: 31

Guest system: Linux
Kernel: 2.6.22.1

$ kvm -hda linux.img -boot c -m 256

Host system freeze immediately after pressing <Enter> in LILO

/var/log/messages:

Jul 23 11:57:10 linux kernel: Unable to handle kernel NULL
pointer dereference
at 0000000000000000 RIP:
Jul 23 11:57:13 linux kernel:

[_end+136405197/2130576028]

Quoted 4 lines
Quoted 2 lines

:kvm:x86_emulate_memop+0x16c1/0x3cb0

Oh, if you have CONFIG_SLUB enabled, then you need to use kvm-32.

No, I don't.
The same situation with kvm-33.
Here is .tar.bz2 with my bzImage, System.map and .config:
http://depositfiles.com/en/files/1296145
The following command causes hangup of my host system:

Quoted 7 lines
$ kvm -hda [any image] -kernel bzImage-2.6.22.1-3 -boot c -m 256

P.S.: with -no-kvm kernel boots fine

P.P.S.: host and guest are 64-bit

Can you post the guest image (if it is free and has no private data)?

Signature · 8 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): 46A58A57.5080900-atKUWr5tajBWk0Htik3J/[email protected]

author
#9 lore raw
Quoted 1 line

Can you post the guest image (if it is free and has no private data)?

Here is the test case. Image contains kernel and bootloader:
http://depositfiles.com/en/files/1304964

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#11 lore raw
Quoted 7 lines · Fix
Quoted 2 lines

Can you post the guest image (if it is free and has no private data)?

Here is the test case. Image contains kernel and bootloader:
http://depositfiles.com/en/files/1304964

I can't get the link to work (it complains about an invalid image code). Can you put it somewhere less annoying?

Signature · 8 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): 46A6C36D.2010707-atKUWr5tajBWk0Htik3J/[email protected]

#13 lore raw
Quoted 11 lines · Avi Kivity
Quoted 7 lines · Fix
Quoted 2 lines

Can you post the guest image (if it is free and has no private data)?

Here is the test case. Image contains kernel and bootloader:
http://depositfiles.com/en/files/1304964

I can't get the link to work (it complains about an invalid image code). Can you put it somewhere less annoying?

I could get it, and it does appear to work just fine on my kvm install (kvm33 on 2.6.22-rc7)

I put the file here:
http://www.nerdnet.nl/~maniac/blog/files/2_6_22_1.img.bz2

Signature · 10 lines
Mark Janssen  --  maniac(at)maniac.nl  --  pgp: 0x357D2178 |   ,''`.  |
Unix / Linux Open-Source and Internet Consultant @ Snow.nl |  : :' :  |
Maniac.nl      MarkJanssen.nl      NerdNet.nl      Unix.nl |  `. `'   |
Skype: markmjanssen ICQ: 129696007 irc: FooBar on undernet |    `-    |

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): 531e3e4c0707242247s1cb8ea80j4c62701761736716-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#15 lore raw
Quoted 10 lines · Mark Janssen
Quoted 9 lines · Avi Kivity
Quoted 7 lines · Fix
Quoted 2 lines

Can you post the guest image (if it is free and has no private data)?

Here is the test case. Image contains kernel and bootloader:
http://depositfiles.com/en/files/1304964

Quoted 9 lines
Quoted 2 lines

I can't get the link to work (it complains about an invalid image code). Can you put it somewhere less annoying?

I could get it, and it does appear to work just fine on my kvm install (kvm33 on 2.6.22-rc7)

I put the file here:
http://www.nerdnet.nl/~maniac/blog/files/2_6_22_1.img.bz2

Works here too.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/