[PVE-User] Using ip6tables in VE --> kernel oops with PVE 1.9 latest

lst_hoe02 at kwsoft.de lst_hoe02 at kwsoft.de
Mon Nov 21 17:18:16 CET 2011


Zitat von Martin Maurer <martin at proxmox.com>:

> Setup a http://wiki.openvz.org/Remote_console_setup#Netconsole to  
> get more info about the kernel panic.
> Martin

This is what 2.6.32-50 reports:

console [netcon0] enabled
netconsole: network logging started
CT: 2131646785: started
BUG: unable to handle kernel paging request at 0000000100000057
IP: [<ffffffffa0328c10>] compat_do_ip6t_set_ctl+0xb60/0xdc0 [ip6_tables]
PGD 4321f1067 PUD 0
Oops: 0000 [#1] SMP
last sysfs file: /sys/kernel/mm/ksm/run
CPU 3
Modules linked in: netconsole configfs vhost_net macvtap macvlan tun  
kvm_intel kvm vzethdev vznetdev simfs vzrst nf_nat nf_conntrack_ipv4  
nf_defrag_ipv4 vzcpt nfs lockd fscache nfs_acl auth_rpcgss sunrpc  
vzdquota vzmon vzdev xt_state ip6t_REJECT ip6table_mangle  
ip6table_filter ip6_tables xt_recent nf_conntrack_ftp nf_conntrack  
xt_length xt_hl xt_tcpmss xt_TCPMSS iptable_mangle iptable_filter  
xt_multiport xt_limit xt_dscp ipt_REJECT ip_tables vzevent ib_iser  
rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr


This is 2.6.32-52 (test)

console [netcon0] enabled
netconsole: network logging started
CT: 2131646785: started
BUG: unable to handle kernel paging request at 0000000100000057
IP: [<ffffffffa0375c10>] compat_do_ip6t_set_ctl+0xb60/0xdc0 [ip6_tables]
PGD 236b92067 PUD 0
Oops: 0000 [#1] SMP
last sysfs file: /sys/kernel/mm/ksm/run
CPU 0
Modules linked in: netconsole configfs vhost_net macvtap macvlan tun  
kvm_amd kvm vzethdev vznetdev simfs vzrst nf_nat nf_conntrack_ipv4  
nf_conntrack nf_defrag_ipv4 vzcpt nfs lockd fscache nfs_acl  
auth_rpcgss sunrpc vzdquota vzmon vzdev ip6t_REJECT ip6table_mangle  
ip6table_filter ip6_tables xt_length xt_hl xt_tcpmss xt_TCPMSS  
iptable_mangle iptable_filter xt_multiport xt_limit xt_dscp ipt_REJECT  
ip_tables vzevent ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core  
ib_addr ipv6 iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi  
bridge stp llc snd_pcm snd_timer snd soundcore amd64_edac_mod  
i2c_piix4 snd_page_alloc tpm_tis tpm tpm_bios k8temp hwmon edac_core  
edac_mce_amd shpchp i2c_core pcspkr ext3 jbd mbcache dm_mirror  
dm_region_hash dm_log dm_snapshot sg pata_acpi ata_generic floppy gdth  
e1000 pata_serverworks [last unloaded: scsi_wait_scan]

Modules linked in: netconsole configfs vhost_net macvtap macvlan tun  
kvm_amd kvm vzethdev vznetdev simfs vzrst nf_nat nf_conntrack_ipv4  
nf_conntrack nf_defrag_ipv4 vzcpt nfs lockd fscache nfs_acl  
auth_rpcgss sunrpc vzdquota vzmon vzdev ip6t_REJECT ip6table_mangle  
ip6table_filter ip6_tables xt_length xt_hl xt_tcpmss xt_TCPMSS  
iptable_mangle iptable_filter xt_multiport xt_limit xt_dscp ipt_REJECT  
ip_tables vzevent ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core  
ib_addr ipv6 iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi  
bridge stp llc snd_pcm snd_timer snd soundcore amd64_edac_mod  
i2c_piix4 snd_page_alloc tpm_tis tpm tpm_bios k8temp hwmon edac_core  
edac_mce_amd shpchp i2c_core pcspkr ext3 jbd mbcache dm_mirror  
dm_region_hash dm_log dm_snapshot sg pata_acpi ata_generic floppy gdth  
e1000 pata_serverworks [last unloaded: scsi_wait_scan]
Pid: 3331, comm: ip6tables Not tainted 2.6.32-6-pve #1 042stab042 To  
Be Filled By O.E.M.
RIP: 0010:[<ffffffffa0375c10>]  [<ffffffffa0375c10>]  
compat_do_ip6t_set_ctl+0xb60/0xdc0 [ip6_tables]
RSP: 0000:ffff880235c91c48  EFLAGS: 00010246
RAX: 00000000ffffffff RBX: ffff880236b0d0a8 RCX: 0000000000000000
RDX: 000000000000006c RSI: ffff880236b0d0d2 RDI: ffff88023c3af800
RBP: ffff880235c91de8 R08: 00000000000000a8 R09: ffffffff81bfb7e0
R10: ffff88023d10a000 R11: 0000000000000003 R12: ffff880235c91d48
R13: ffff88023b5271c0 R14: ffff880236b0d000 R15: 00000000fffffffe
FS:  00007f6f08e2b6e0(0000) GS:ffff880028200000(0063) knlGS:00000000b77c36c0
CS:  0010 DS: 002b ES: 002b CR0: 000000008005003b
CR2: 0000000100000057 CR3: 000000023b109000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process ip6tables (pid: 3331, veid=2131646785, threadinfo  
ffff880235c90000, task ffff880236e75160)
Stack:
  ffff880235c91e58 ffff880236b0d000 ffff88023f2abc80 000000050000000e
<0> ffff88023d10a358 ffff88023b5271c0 ffff880235c91d38 ffffffff8114d53e
<0> 0000000035c91cd8 ffff880236b0d4e8 ffff880236b0d0d0 000000d000000001
Call Trace:
  [<ffffffff8114d53e>] ? __do_fault+0x4be/0x620
  [<ffffffff81467be9>] compat_nf_sockopt+0x69/0xf0
  [<ffffffff81467cb1>] compat_nf_setsockopt+0x21/0x30
  [<ffffffffa025bb32>] compat_ipv6_setsockopt+0xe2/0x110 [ipv6]
  [<ffffffffa0263bd3>] compat_rawv6_setsockopt+0x53/0x150 [ipv6]
  [<ffffffff8142c53c>] compat_sock_common_setsockopt+0x1c/0x30
  [<ffffffff81456b16>] compat_sys_setsockopt+0x66/0x220
  [<ffffffff81456dba>] compat_sys_socketcall+0xea/0x210
  [<ffffffff81048ff3>] ia32_sysret+0x0/0x5
Code: 0f 87 ea f6 ff ff e9 fa fc ff ff 8b 8d c4 fe ff ff 49 8d 9e a8  
00 00 00 41 b8 a8 00 00 00 83 e9 01 89 8d ec fe ff ff 48 8b 43 08 <48>  
8b 78 58 44 89 85 60 fe ff ff e8 80 40 d4 e0 0f b7 03 44 8b
RIP  [<ffffffffa0375c10>] compat_do_ip6t_set_ctl+0xb60/0xdc0 [ip6_tables]
  RSP <ffff880235c91c48>
CR2: 0000000100000057
---[ end trace 3479d35536abf8af ]---
Kernel panic - not syncing: Fatal exception
Pid: 3331, comm: ip6tables Tainted: G      D    ----------------    
2.6.32-6-pve #1
Call Trace:
  [<ffffffff814f5cb6>] ? panic+0xa5/0x189
  [<ffffffff810c58ce>] ? crash_kexec+0x7e/0x110
  [<ffffffff81099b6a>] ? up+0x3a/0x50
  [<ffffffff8100be4e>] ? apic_timer_interrupt+0xe/0x20
  [<ffffffff8106b59f>] ? kmsg_dump+0x13f/0x150
  [<ffffffff814fa1bb>] ? oops_end+0xbb/0x100
  [<ffffffff81041e69>] ? no_context+0xf9/0x270
  [<ffffffff81042125>] ? __bad_area_nosemaphore+0x145/0x1f0
  [<ffffffff81146549>] ? zone_statistics+0x99/0xc0
  [<ffffffff8104223e>] ? bad_area+0x4e/0x60
  [<ffffffff814fc65b>] ? do_page_fault+0x4ab/0x4f0
  [<ffffffff81176097>] ? cache_alloc_refill+0x177/0x2b0
  [<ffffffff811758f0>] ? ub_slab_ptr+0x20/0x90
  [<ffffffff814f9515>] ? page_fault+0x25/0x30
  [<ffffffffa0375c10>] ? compat_do_ip6t_set_ctl+0xb60/0xdc0 [ip6_tables]
  [<ffffffffa037599e>] ? compat_do_ip6t_set_ctl+0x8ee/0xdc0 [ip6_tables]
  [<ffffffff8114d53e>] ? __do_fault+0x4be/0x620
  [<ffffffff81467be9>] ? compat_nf_sockopt+0x69/0xf0
  [<ffffffff81467cb1>] ? compat_nf_setsockopt+0x21/0x30
  [<ffffffffa025bb32>] ? compat_ipv6_setsockopt+0xe2/0x110 [ipv6]
  [<ffffffffa0263bd3>] ? compat_rawv6_setsockopt+0x53/0x150 [ipv6]
  [<ffffffff8142c53c>] ? compat_sock_common_setsockopt+0x1c/0x30
  [<ffffffff81456b16>] ? compat_sys_setsockopt+0x66/0x220
  [<ffffffff81456dba>] ? compat_sys_socketcall+0xea/0x210
  [<ffffffff81048ff3>] ? ia32_sysret+0x0/0x5


The original kernel is on Intel CPU, the test on AMD...

Regards

Andreas





More information about the pve-user mailing list