OpenVZ Forum


Home » International » German » Kernel Fehler (Kernel Fehler beim VZ Container anlegen)
Kernel Fehler [message #43216] Tue, 09 August 2011 16:39 Go to next message
Sany1984 is currently offline  Sany1984
Messages: 1
Registered: August 2011
Junior Member
Hallo,

Ich habe hier ein Kuriosen Fehler:

Ich habe ein Ubuntu 10.04 LTS Server am laufen mit der Kernel Version: 2.6.32-33-server.

Ich habe das openVZ exakt nach dieser Anleitung installiert:
howtoforge.com/installing-and-using-openvz-on-ubuntu-10.04

So alles prima, Kernel alles geladen, die Kiste läuft mit dem Kernel.

Nun, wenn ich mittels vzctl ein neuen Server anlegen möchte, kommt die Kernel Fehlermeldung:

BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<(null)>] (null)
PGD 214ad1067 PUD 204c63067 PMD 0
Oops: 0010 [#1] SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:14.4/0000:01:04.0/local_cpus
CPU 1
Modules linked in: vzethdev vznetdev simfs vzrst vzcpt vzdquota vzmon vzdev ip6t_REJECT ip6table_mangle ip6table_filter ip6_tables xt_length xt_hl xt_tcpmss xt_TCPMSS iptable_mangle xt_multiport xt_limit xt_dscp kvm_amd kvm ipv6 lp serio_raw i2c_piix4 edac_core edac_mce_amd parport i2c_core ata_generic pata_acpi e1000e pata_atiixp
Pid: 4336, comm: tar Not tainted 2.6.32.14-ovz32 #1 belyayev H8SCM
RIP: 0010:[<0000000000000000>]  [<(null)>] (null)
RSP: 0018:ffff880214af99e0  EFLAGS: 00010246
RAX: ffffffffa01b6100 RBX: ffff880218ce5a80 RCX: 000000000000000c
RDX: 0000000000000000 RSI: 0000000000003000 RDI: ffff880208764c50
RBP: ffff880214af9a48 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000007e5 R11: 0000000000100cc1 R12: ffff880208764c50
R13: 0000000000000000 R14: ffff880208764ba0 R15: ffff880208764f48
FS:  00007fb586004700(0000) GS:ffff880011c40000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000214afa000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process tar (pid: 4336, veid=0, threadinfo ffff880214af8000, task ffff88021567e000)
Stack:
 ffffffff81191a12 ffff88021bed8c00 0000000000000002 0000000000000003
<0> ffffffffffff0000 ffff880208764c50 0000000000001000 ffff880214af9a48
<0> ffffea000801f180 ffff880214af9a98 0000000000001000 ffff880208764c50
Call Trace:
 [<ffffffff81191a12>] ? ext4_da_get_block_prep+0x142/0x244
 [<ffffffff8113ac29>] __block_prepare_write+0x133/0x289
 [<ffffffff811918d0>] ? ext4_da_get_block_prep+0x0/0x244
 [<ffffffff810d03de>] ? add_to_page_cache_locked+0x7a/0xc9
 [<ffffffff8113af00>] block_write_begin+0x80/0xd2
 [<ffffffff811915f0>] ext4_da_write_begin+0x192/0x221
 [<ffffffff811918d0>] ? ext4_da_get_block_prep+0x0/0x244
 [<ffffffff810d07f2>] generic_file_buffered_write+0x10b/0x28e
 [<ffffffff810d0d33>] __generic_file_aio_write+0x251/0x286
 [<ffffffff81083397>] ? __pb_add_ref+0xf5/0x100
 [<ffffffff810d0dcb>] generic_file_aio_write+0x63/0xad
 [<ffffffff81189899>] ext4_file_write+0x8e/0x95
 [<ffffffff81112c1c>] do_sync_write+0xe8/0x125
 [<ffffffff810ebc66>] ? handle_mm_fault+0x3f0/0x8fe
 [<ffffffff810709ff>] ? autoremove_wake_function+0x0/0x39
 [<ffffffff811131bf>] vfs_write+0xae/0x10b
 [<ffffffff81113335>] sys_write+0x4e/0xc3
 [<ffffffff8100be02>] system_call_fastpath+0x16/0x1b
Code:  Bad RIP value.
RIP  [<(null)>] (null)
 RSP <ffff880214af99e0>
CR2: 0000000000000000
---[ end trace e91f18ed30bbab36 ]---
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<(null)>] (null)
PGD 204e88067 PUD 204e3f067 PMD 0
Oops: 0010 [#2] SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:14.4/0000:01:04.0/local_cpus
CPU 5
Modules linked in: vzethdev vznetdev simfs vzrst vzcpt vzdquota vzmon vzdev ip6t_REJECT ip6table_mangle ip6table_filter ip6_tables xt_length xt_hl xt_tcpmss xt_TCPMSS iptable_mangle xt_multiport xt_limit xt_dscp kvm_amd kvm ipv6 lp serio_raw i2c_piix4 edac_core edac_mce_amd parport i2c_core ata_generic pata_acpi e1000e pata_atiixp
Pid: 4339, comm: vzquota Tainted: G      D    2.6.32.14-ovz32 #1 belyayev H8SCM
RIP: 0010:[<0000000000000000>]  [<(null)>] (null)
RSP: 0018:ffff880204e2bc50  EFLAGS: 00010246
RAX: ffffffffa01b6100 RBX: ffff88020840ab50 RCX: 000000000000000c
RDX: ffff88021beda000 RSI: 0000000000003000 RDI: ffff88020840ab50
RBP: ffff880204e2bc58 R08: ffffea000801fc08 R09: 0000000000000003
R10: ffff88020840ab50 R11: ffff880215e08300 R12: 0000000000000001
R13: ffff88020840aaa0 R14: ffffea000801fc00 R15: 0000000000000000
FS:  00007f85f8e6d700(0000) GS:ffff880011d40000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000204c68000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process vzquota (pid: 4339, veid=0, threadinfo ffff880204e2a000, task ffff88021a8de000)
Stack:
 ffffffff8118dd40 ffff880204e2bcb8 ffffffff8118de9f ffff880204e2bcc8
<0> ffffffff00000000 0000000000000003 ffff88021bed8c00 ffff88020840ac78
<0> ffffea000801fc00 ffff88020840ac70 ffff88020840ac70 ffff880204e2bd28
Call Trace:
 [<ffffffff8118dd40>] ? vfs_dq_release_reservation_block+0x37/0x44
 [<ffffffff8118de9f>] ext4_da_invalidatepage+0x152/0x16c
 [<ffffffff810d9169>] do_invalidatepage+0x25/0x27
 [<ffffffff810d9344>] truncate_inode_page+0x4b/0x87
 [<ffffffff810d98b7>] truncate_inode_pages_range+0xcf/0x36f
 [<ffffffff8118bccf>] ? brelse+0x13/0x15
 [<ffffffffa01b0214>] ? vzquota_inode_data+0x54/0xbe [vzdquota]
 [<ffffffff8119167f>] ? ext4_delete_inode+0x0/0x251
 [<ffffffff810d9b69>] truncate_inode_pages+0x12/0x14
 [<ffffffff811916e2>] ext4_delete_inode+0x63/0x251
 [<ffffffff8119167f>] ? ext4_delete_inode+0x0/0x251
 [<ffffffff8112916b>] generic_delete_inode+0xdb/0x169
 [<ffffffff81129215>] generic_drop_inode+0x1c/0x67
 [<ffffffff8112808c>] iput+0x66/0x6a
 [<ffffffff81124f9f>] dentry_iput+0xb8/0xca
 [<ffffffff8112507a>] d_kill+0x26/0x46
 [<ffffffff81126c91>] dput+0x1a2/0x1af
 [<ffffffff81114310>] __fput+0x1a8/0x1d4
 [<ffffffff81114356>] fput+0x1a/0x1c
 [<ffffffff81110639>] filp_close+0x68/0x73
 [<ffffffff811106e1>] sys_close+0x9d/0xd2
 [<ffffffff8100be02>] system_call_fastpath+0x16/0x1b
Code:  Bad RIP value.
RIP  [<(null)>] (null)
 RSP <ffff880204e2bc50>
CR2: 0000000000000000
---[ end trace e91f18ed30bbab37 ]---
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<(null)>] (null)
PGD 215492067 PUD 214ad6067 PMD 0
Oops: 0010 [#3] SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:14.4/0000:01:04.0/local_cpus
CPU 3
Modules linked in: vzethdev vznetdev simfs vzrst vzcpt vzdquota vzmon vzdev ip6t_REJECT ip6table_mangle ip6table_filter ip6_tables xt_length xt_hl xt_tcpmss xt_TCPMSS iptable_mangle xt_multiport xt_limit xt_dscp kvm_amd kvm ipv6 lp serio_raw i2c_piix4 edac_core edac_mce_amd parport i2c_core ata_generic pata_acpi e1000e pata_atiixp
Pid: 4308, comm: vzctl Tainted: G      D    2.6.32.14-ovz32 #1 belyayev H8SCM
RIP: 0010:[<0000000000000000>]  [<(null)>] (null)
RSP: 0018:ffff880214b21c80  EFLAGS: 00010246
RAX: ffffffffa01b6100 RBX: ffff8802086e0870 RCX: 000000000000000c
RDX: ffff88021beda000 RSI: 0000000000003000 RDI: ffff8802086e0870
RBP: ffff880214b21c88 R08: ffffea00080d9848 R09: 0000000000000003
R10: ffff880214b21e98 R11: ffff8802086e0870 R12: 0000000000000001
R13: ffff8802086e07c0 R14: ffffea00080d9840 R15: 0000000000000000
FS:  00007f9ea1dce700(0000) GS:ffff880011cc0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000214bda000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process vzctl (pid: 4308, veid=0, threadinfo ffff880214b20000, task ffff8802154b1800)
Stack:
 ffffffff8118dd40 ffff880214b21ce8 ffffffff8118de9f ffff880214b21cf8
<0> ffffffff00000000 0000000000000003 ffff88021bed8c00 ffff8802086e0998
<0> ffffea00080d9840 ffff8802086e0990 ffff8802086e0990 ffff880214b21d58
Call Trace:
 [<ffffffff8118dd40>] ? vfs_dq_release_reservation_block+0x37/0x44
 [<ffffffff8118de9f>] ext4_da_invalidatepage+0x152/0x16c
 [<ffffffff810d9169>] do_invalidatepage+0x25/0x27
 [<ffffffff810d9344>] truncate_inode_page+0x4b/0x87
 [<ffffffff810d98b7>] truncate_inode_pages_range+0xcf/0x36f
 [<ffffffff81427965>] ? mutex_lock+0x29/0x50
 [<ffffffffa01b0214>] ? vzquota_inode_data+0x54/0xbe [vzdquota]
 [<ffffffff8119167f>] ? ext4_delete_inode+0x0/0x251
 [<ffffffff810d9b69>] truncate_inode_pages+0x12/0x14
 [<ffffffff811916e2>] ext4_delete_inode+0x63/0x251
 [<ffffffff8119167f>] ? ext4_delete_inode+0x0/0x251
 [<ffffffff8112916b>] generic_delete_inode+0xdb/0x169
 [<ffffffff81129215>] generic_drop_inode+0x1c/0x67
 [<ffffffff8112808c>] iput+0x66/0x6a
 [<ffffffff8111f8cd>] do_unlinkat+0x108/0x15b
 [<ffffffff81117596>] ? sys_newlstat+0x1f/0x3d
 [<ffffffff8142ac8e>] ? do_page_fault+0x2c2/0x2f2
 [<ffffffff8111f936>] sys_unlink+0x16/0x18
 [<ffffffff8100be02>] system_call_fastpath+0x16/0x1b
Code:  Bad RIP value.
RIP  [<(null)>] (null)
 RSP <ffff880214b21c80>
CR2: 0000000000000000
---[ end trace e91f18ed30bbab38 ]---


Kann mir diesbezüglich jemand weiter helfen?
Der Server hat 6 CPUs, 8 GB Ram.

Danke im vorraus!

Re: Kernel Fehler [message #43219 is a reply to message #43216] Tue, 09 August 2011 21:36 Go to previous message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

der patch für OpenVZ ist definitiv zu alt und der verwendete Kernel sollte mit der akt. OpenVZ gebaut werden, imho würde ich den RHEL6 Patch verwenden (ist aktueller und weit besser geplegt und weitere OpenVZ Features sind hier schon eingebaut)

Versionen:

2.6.32-belyayev.1/ 31-May-2010 08:42 -
2.6.32-budarin.1/ 24-Jun-2010 07:18 -
2.6.32-bykovsky.1/ 24-Aug-2010 06:51 -
2.6.32-dobrovolskiy.1/ 03-Sep-2010 09:50 -
2.6.32-dyomin.1/ 22-Sep-2010 08:23 -
2.6.32-dzhanibekov.1/ 01-Nov-2010 08:18 -
2.6.32-feoktistov.1/ 04-Mar-2011 14:13 <--!

Siehe die Changelogs:

http://wiki.openvz.org/Download/kernel/2.6.32/2.6.32-belyaye v.1
http://wiki.openvz.org/Download/kernel/2.6.32/2.6.32-budarin .1
http://wiki.openvz.org/Download/kernel/2.6.32/2.6.32-bykovsk y.1
http://wiki.openvz.org/Download/kernel/2.6.32/2.6.32-dobrovo lskiy.1
http://wiki.openvz.org/Download/kernel/2.6.32/2.6.32-dyomin. 1
http://wiki.openvz.org/Download/kernel/2.6.32/2.6.32-dzhanib ekov.1
http://wiki.openvz.org/Download/kernel/2.6.32/2.6.32-feoktis tov.1


Gruß,
Thorsten
Previous Topic: Iptables auf dem Guest?
Next Topic: CPU Kerne Zuweisen
Goto Forum:
  


Current Time: Sat Apr 27 17:02:04 GMT 2024

Total time taken to generate the page: 0.03884 seconds