[Comm] Как исправить причину Oops?
Di
=?iso-8859-1?q?denyago_=CE=C1_rambler=2Eru?=
Сб Фев 23 18:17:25 MSK 2008
Доброго времени суток.
Есть сервер Linux citadel.itc 2.6.18-ovz-smp-alt14 #1 SMP Wed May 2
15:41:34 MSD 2007 x86_64 GNU/Linux
В нём работает несколько контейнеров, которые длжны использовать NAT.
Соответственные настройки
вписаны в конфиги:
ovpn.itc - IPTABLES="iptable_filter iptable_nat "
proxy.itc - IPTABLES="iptable_filter iptable_nat "
При входе на proxy.itc пробуем:
[root на proxy /]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root на proxy /]# iptables -t nat -L
FATAL: Could not load /lib/modules/2.6.18-ovz-smp-alt14/modules.dep: No
such file or directory
iptables v1.3.7: can't initialize iptables table `nat': Incompatible
with this kernel
Perhaps iptables or your kernel needs to be upgraded.
При останове этих контейнеров получаю Oops (тут, тот самый proxy.itc):
Feb 22 02:59:18 citadel kernel: br0: port 2(veth100210.1) entering
disabled state
Feb 22 02:59:18 citadel kernel: device veth100210.1 left promiscuous
mode
Feb 22 02:59:18 citadel kernel: audit(1203641958.598:4):
dev=veth100210.1 prom=0 old_prom=256 auid=4294967295
Feb 22 02:59:18 citadel kernel: br0: port 2(veth100210.1) entering
disabled state
Feb 22 02:59:18 citadel /etc/net: ERROR:
/etc/net/scripts/ifdown-removable: ignored unknown interface
'veth100210.1' (lookup ALLOW_UNKNOWN option or create a usable
configuration)
Feb 22 02:59:18 citadel /etc/net: ERROR:
/etc/net/scripts/ifdown-removable: No TYPE is specified for iface
'veth100210.1' and can't guess automatically. Please fix.
Feb 22 02:59:18 citadel /etc/net: ERROR:
/etc/net/scripts/ifdown-removable: USE_HOTPLUG is disabled for
veth100210.1
Feb 22 02:59:19 citadel kernel: Unable to handle kernel NULL pointer
dereference at 0000000000000040 RIP:
Feb 22 02:59:19 citadel kernel: [<ffffffff8825ae76>]
:ip_tables:ipt_unregister_table+0xe/0x166
Feb 22 02:59:19 citadel kernel: PGD 137e0e067 PUD 0
Feb 22 02:59:19 citadel kernel: Oops: 0000 [1] SMP
Feb 22 02:59:19 citadel kernel: CPU: 3
Feb 22 02:59:19 citadel kernel: Modules linked in: iptable_nat simfs
vzethdev vznetdev vzrst ip_nat vzcpt ip_conntrack nfnetlink vzdquota
vzmon vzdev af_packet xt_tcpudp ipt_ttl ipt_TCPMSS iptable_mangle
iptable_filter ipt_tos ipt_REJECT ip_tables x_tables w83627hf eeprom
w83781d hwmon_vid hwmon i2c_isa bridge reiserfs sr_mod dm_mod joydev
usb_storage libusual usbhid tsdev i2c_i801 ide_cd parport_pc parport rtc
cdrom floppy psmouse i2c_core ehci_hcd uhci_hcd pcspkr serio_raw usbcore
e1000 sg evdev tun ext3 jbd mbcache aacraid sd_mod scsi_mod ide_disk
ide_generic piix generic ide_core
Feb 22 02:59:19 citadel kernel: Pid: 11260, comm: vzmond/100210 Not
tainted 2.6.18-ovz-smp-alt14 #1
Feb 22 02:59:19 citadel kernel: RIP: 0060:[<ffffffff8825ae76>]
[<ffffffff8825ae76>] :ip_tables:ipt_unregister_table+0xe/0x166
Feb 22 02:59:19 citadel kernel: RSP: 0068:ffff810130b75e70 EFLAGS:
00010282
Feb 22 02:59:19 citadel kernel: RAX: ffff81013a436a00 RBX:
0000000000000000 RCX: ffffffff8829812a
Feb 22 02:59:19 citadel kernel: RDX: ffff810139687110 RSI:
0000000000000006 RDI: 0000000000000000
Feb 22 02:59:19 citadel kernel: RBP: ffff81013954a000 R08:
0000000000000080 R09: ffff81013fc08080
Feb 22 02:59:19 citadel kernel: R10: 0000000000000000 R11:
0000000000000202 R12: 0000000000104003
Feb 22 02:59:19 citadel kernel: R13: ffffc200104ab4f0 R14:
ffffffff88285700 R15: ffff81013c327628
Feb 22 02:59:19 citadel kernel: FS: 00002aaaab212b00(0000)
GS:ffff81013fae2240(0000) knlGS:0000000000000000
Feb 22 02:59:19 citadel kernel: CS: 0060 DS: 0000 ES: 0000 CR0:
000000008005003b
Feb 22 02:59:19 citadel kernel: CR2: 0000000000000040 CR3:
00000001383b3000 CR4: 00000000000006e0
Feb 22 02:59:19 citadel kernel: Process vzmond/100210 (pid: 11260,
veid=0, threadinfo ffff810130b74000, task ffff81013edd8d10)
Feb 22 02:59:19 citadel kernel: Stack: ffff81013954a000
0000000000000000 ffff81013954a000 0000000000104003
Feb 22 02:59:19 citadel kernel: ffffc200104ab4f0 ffffffff88285700
ffff81013c327628 ffffffff882ff352
Feb 22 02:59:19 citadel kernel: 0000000000104003 ffffffff882ff6cf
ffff81013954a000 ffffffff8827ba9a
Feb 22 02:59:19 citadel kernel: Call Trace:
Feb 22 02:59:19 citadel kernel: [<ffffffff882ff352>]
:iptable_nat:ip_nat_rule_cleanup+0x55/0x79
Feb 22 02:59:19 citadel kernel: [<ffffffff882ff6cf>]
:iptable_nat:fini_iptable_nat+0x1a/0x63
Feb 22 02:59:19 citadel kernel: [<ffffffff8827ba9a>]
:vzmon:do_ve_iptables+0x94d/0xbed
Feb 22 02:59:19 citadel kernel: [<ffffffff8827cc5b>]
:vzmon:env_cleanup+0xa0/0x157
Feb 22 02:59:19 citadel kernel: [<ffffffff8827cd47>]
:vzmon:vzmond_helper+0x35/0x43
Feb 22 02:59:19 citadel kernel: [<ffffffff8025c400>] child_rip+0xa/0x12
Feb 22 02:59:19 citadel kernel: DWARF2 unwinder stuck at
child_rip+0xa/0x12
Feb 22 02:59:19 citadel kernel: Leftover inexact backtrace:
Feb 22 02:59:19 citadel kernel: [<ffffffff8827cd12>]
:vzmon:vzmond_helper+0x0/0x43
Feb 22 02:59:19 citadel kernel: [<ffffffff8025c3f6>] child_rip+0x0/0x12
Feb 22 02:59:19 citadel kernel:
Feb 22 02:59:19 citadel kernel:
Feb 22 02:59:19 citadel kernel: Code: 4c 8b 77 40 e8 08 7e ff ff 49 89
c5 65 8b 04 25 2c 00 00 00
Feb 22 02:59:19 citadel kernel: RIP [<ffffffff8825ae76>]
:ip_tables:ipt_unregister_table+0xe/0x166
Feb 22 02:59:19 citadel kernel: RSP <ffff810130b75e70>
Feb 22 02:59:19 citadel kernel: CR2: 0000000000000040
Feb 22 03:00:01 citadel crond[12309]: (root) CMD
(/usr/share/vzctl/scripts/vpsreboot)
Собственно, как исправить причину такого Oops?
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя : denyago.vcf
Тип : text/x-vcard
Размер : 364 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url : <http://lists.altlinux.org/pipermail/community/attachments/20080223/a6236f21/attachment-0002.vcf>
Подробная информация о списке рассылки community