<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>おれ最前線ねっと &#187; iptables</title>
	<atom:link href="http://ore.saizensen.net/archives/tag/iptables/feed" rel="self" type="application/rss+xml" />
	<link>http://ore.saizensen.net</link>
	<description>イェ〜〜ィ。見てる〜〜〜？？</description>
	<lastBuildDate>Tue, 12 Jul 2011 06:31:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/tag/iptables/feed" />
		<item>
		<title>[CentOS4.7]CentOS4.7でKernel panicが起こる件。[Bug]</title>
		<link>http://ore.saizensen.net/archives/93</link>
		<comments>http://ore.saizensen.net/archives/93#comments</comments>
		<pubDate>Tue, 14 Oct 2008 02:00:10 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[Kernel panic]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/archives/93</guid>
		<description><![CDATA[社内サーバーにCentOS4.7(kernel-2.6.9-78.0.1)を置いているのですが、頻繁にKernel panicを起こすようになりました。 ・/var/log/messages 抜粋 Oct 14 10:0 [...]]]></description>
			<content:encoded><![CDATA[				<p>社内サーバーに<strong>CentOS4.7(kernel-2.6.9-78.0.1)</strong>を置いているのですが、頻繁に<strong>Kernel panic</strong>を起こすようになりました。<br />
				・/var/log/messages 抜粋</p>
				<pre>
Oct 14 10:03:45 centos iptables:  succeeded
Oct 14 10:03:45 centos iptables:  succeeded
Oct 14 10:03:45 centos kernel: Unable to handle kernel paging request at virtual address e09a8168
Oct 14 10:03:45 centos kernel:  printing eip:
Oct 14 10:03:45 centos kernel: c02d4877
Oct 14 10:03:45 centos kernel: *pde = 014ee067
Oct 14 10:03:45 centos kernel: Oops: 0000 [#1]
Oct 14 10:03:45 centos kernel: Modules linked in: loop vga16fb vgastate md5 ipv6 parport_pc lp parport autofs4 tun sunrpc ip_conntrack cpufreq_powersave button battery ac uhci_hcd ehci_hcd i3000_edac edac_mc tg3 dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod ata_piix libata sd_mod scsi_mod
Oct 14 10:03:45 centos kernel: CPU:    0
Oct 14 10:03:45 centos kernel: EIP:    0060:[<c02d4877>]    Not tainted VLI
Oct 14 10:03:45 centos kernel: EFLAGS: 00010212   (2.6.9-78.0.1.EL)
Oct 14 10:03:45 centos kernel: EIP is at nf_unregister_sockopt+0x47/0x81
Oct 14 10:03:45 centos kernel: eax: 00000002   ebx: c03a2020   ecx: de650e80   edx: e09a8160
Oct 14 10:03:45 centos kernel: esi: e0af9380   edi: 00000000   ebp: c8f58000   esp: c8f58f5c
Oct 14 10:03:45 centos kernel: ds: 007b   es: 007b   ss: 0068
Oct 14 10:03:45 centos kernel: Process modprobe (pid: 20703, threadinfo=c8f58000 task=d3d78bd0)
Oct 14 10:03:45 centos kernel: Stack: 00000000 c037d800 e0af0732 e0af9880 c014030d 00000000 635f7069 746e6e6f
Oct 14 10:03:46 centos kernel:        6b636172 00000000 d3ec7b80 b7f85000 b7f86000 c01602d6 d3ec7b80 d406b954
Oct 14 10:03:46 centos kernel:        c016067b d406baf8 d3ec7b80 d3ec7bb0 00000000 c8f58000 089d4820 00000000
Oct 14 10:03:46 centos kernel: Call Trace:
Oct 14 10:03:46 centos kernel:  [<e0af0732>] init_or_cleanup+0x1e6/0x1ea [ip_conntrack]
Oct 14 10:03:46 centos kernel:  [<c014030d>] sys_delete_module+0x139/0x180
Oct 14 10:03:46 centos kernel:  [<c01602d6>] unmap_vma_list+0xe/0x17
Oct 14 10:03:46 centos kernel:  [<c016067b>] do_munmap+0x1a7/0x1b1
Oct 14 10:03:46 centos kernel:  [<c0327973>] syscall_call+0x7/0xb
Oct 14 10:03:46 centos kernel: Code: 17 05 00 89 d9 ff 0d 20 20 3a c0 0f 88 40 0d 00 00 8b 0d 48 20 3a c0 8b 01 0f 18 00 90 81 f9 48 20 3a c0 74 2f 8b 51 08 8b 46 08 &lt;39> 42 08 8b 11 75 1e 8b 41 04 89 42 04 89 10 89 c8 c7 01 00 01
Oct 14 10:03:46 centos kernel:  &lt;0>Fatal exception: panic in 5 seconds
</c0327973></c016067b></c01602d6></c014030d></e0af0732></c02d4877></pre>
				<p>取り敢えず、Google先生に聞いてみたらすぐ見つかりました。</p>
				<ul>
				<li><a href="https://bugzilla.redhat.com/show_bug.cgi?id=456664">Bug 456664 &#8211;  Kernel panic when unloading ip conntrack modules</a></li>
				<li><a href="http://bugs.centos.org/view.php?id=3131">0003131: kernel-2.6.9-78.0.1 panics when unloading iptables (via service iptables stop or shutdown)</a></li>
				</ul>
				<p>どうやら、<strong>kernel-2.6.9-78.0.1</strong> で<strong>iptables</strong>をstopやrestartさせると<strong>Kernel panic</strong>を起こすバグのようです。<br />
				<strong>kernel-2.6.9-78.13.EL</strong>ではバグも治っているようなので、<br />
				<a href="http://people.redhat.com/vgoyal/rhel4/RPMS.kernel/">http://people.redhat.com/vgoyal/rhel4/RPMS.kernel/</a><br />
				から<a href="http://people.redhat.com/vgoyal/rhel4/RPMS.kernel/kernel-2.6.9-78.13.EL.i686.rpm">kernel-2.6.9-78.13.EL.i686.rpm</a><br />
				を取ってきて手動で入れました。</p>
				<pre>
[root@centos ~]# cd /usr/local/src
[root@centos ~]# wget http://people.redhat.com/vgoyal/rhel4/RPMS.kernel/kernel-2.6.9-78.13.EL.i686.rpm
[root@centos ~]# rpm -ivh kernel-2.6.9-78.13.EL.i686.rpm
</pre>
				<p>で再起動して終了。</p>
				<p>もしくは、手動でkernelを入れたくないyumで全て管理したい人は、yumに最新のkernelが来るまで一つ古いkernelを使うというのもアリかと。以下、手順↓</p>
				<pre>
[root@centos ~]# vi /boot/grub/grub.conf
default=0
↓
default=1　←　2.6.9-67(私の環境では一つ古いkernelは2.6.9-67でした。)
</pre>
				<p>で再起動して完了。</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/93/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/93" />
	</item>
	</channel>
</rss>

