All of lore.kernel.org
 help / color / mirror / Atom feed
From: KOVACS Krisztian <hidden@sch.bme.hu>
To: Vass Viktor <vass.viktor@zuriel.hu>
Cc: "'Gáspár Lajos'" <swifty@freemail.hu>,
	"'Netfilter list'" <netfilter@vger.kernel.org>
Subject: Re: Iptables complains about kernel after filesystem damage
Date: Wed, 3 Oct 2007 16:45:58 +0200	[thread overview]
Message-ID: <20071003144557.GB6865@sch.bme.hu> (raw)
In-Reply-To: <000401c805c4$b2bb7e20$0946010a@IBM26B52F62DB0>

Hi,

On sze, okt 03, 2007 at 03:52:54 +0200, Vass Viktor wrote:
> KOVACS Krisztian wrote:
> > Have you tried stracing the iptables binary to find out where 
> > it goes wrong?
> 
> I've just made one (thought this would be an easier question...):
> 
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
> directory)
> open("/lib/tls/libc.so.6", O_RDONLY)    = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`Z\1\000"..., 512) =
> 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1254660, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0x50ea6000
> old_mmap(NULL, 1264972, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x50d71000
> old_mmap(0x50e9b000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
> 0x129000) = 0x50e9b000
> old_mmap(0x50ea4000, 7500, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x50ea4000
> close(3)                                = 0
> set_thread_area({entry_number:-1 -> 6, base_addr:0x50ea6900, limit:1048575,
> seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
> seg_not_present:0, useable:1}) = 0
> munmap(0x50ebe000, 15300)               = 0
> socket(PF_INET, SOCK_RAW, IPPROTO_RAW)  = 3
> getsockopt(3, SOL_IP, 0x40 /* IP_??? */, 0x5f873f30, 0x5f873f2c) = -1
> ENOPROTOOPT (Protocol not available)
> open("/proc/sys/kernel/modprobe", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> 
> So it fails at getsockopt. Does thid definitely mean, it is a kernel issue
> somehow?

It means that you have no iptables support in your kernel. (0x40 is
IPT_BASE_CTL.)

-- 
KOVACS Krisztian

      reply	other threads:[~2007-10-03 14:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-02  9:29 Iptables complains about kernel after filesystem damage Vass Viktor
2007-10-02 11:08 ` KOVACS Krisztian
2007-10-02 11:47   ` Vass Viktor
2007-10-02 11:56     ` Gáspár Lajos
2007-10-02 12:43       ` Vass Viktor
2007-10-02 13:53         ` Gáspár Lajos
2007-10-02 21:42           ` Vass Viktor
2007-10-03 11:35             ` KOVACS Krisztian
2007-10-03 13:52               ` Vass Viktor
2007-10-03 14:45                 ` KOVACS Krisztian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071003144557.GB6865@sch.bme.hu \
    --to=hidden@sch.bme.hu \
    --cc=netfilter@vger.kernel.org \
    --cc=swifty@freemail.hu \
    --cc=vass.viktor@zuriel.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.