From: Kumba <kumba@gentoo.org>
To: Jim Gifford <maillist@jg555.com>
Cc: Linux MIPS List <linux-mips@linux-mips.org>
Subject: Re: IPTables 1.3.x fails on RaQ2
Date: Tue, 08 Mar 2005 00:40:25 -0500 [thread overview]
Message-ID: <422D3AC9.4020601@gentoo.org> (raw)
In-Reply-To: <422D2801.2060903@jg555.com>
Jim Gifford wrote:
> I just don't understand why iptables needs that file at all, I can't
> find anything in it that uses it. I'm going to search again, and I will
> post my results once I figure it out.
iptables doesn't need it. It's one of those funky #include chains. include A
includes B which includes C which includes Q and so on until it tries
including a file it can't find. This is because there are a series of mach-*
machine subdirs in include/asm-mips that each contain headers specific to a
particular machine type (like spaces.h, among other things). I haven't delved
into the specifics (someone else here can explain it more), but when the
kernel builds, based upon the configuration of the kernel, it knows which
include/asm-mips/mach-* directory to look in to snag the headers it needs.
Userland doesn't know this, so for headers used in userland, you need to patch
things abit. Otherwise, they break.
http://tinyurl.com/5grah <-- appCompat patch used in Gentoo's linux-headers
2.6.10 ebuild. It lacks mips-specific bits, but you can look at how x86
handles some of its include/asm-i386/mach-* sections for how we're working
around these issues. It's all a hack really, until someone either fixes
userland to never use kernel headers, or the kernel-side finds a way to create
userland-friendly headers (but I don't see any of this happening anytime soon).
--Kumba
--
"Such is oft the course of deeds that move the wheels of the world: small
hands do them because they must, while the eyes of the great are elsewhere."
--Elrond
next prev parent reply other threads:[~2005-03-08 5:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-07 17:20 IPTables 1.3.x fails on RaQ2 Jim Gifford
2005-03-07 17:37 ` freshy98
2005-03-08 2:26 ` Kumba
2005-03-08 4:20 ` Jim Gifford
2005-03-08 5:40 ` Kumba [this message]
2005-03-08 6:46 ` freshy98
2005-03-08 7:35 ` Jim Gifford
2005-03-08 13:24 ` Ralf Baechle
2005-03-08 16:30 ` Jim Gifford
2005-03-08 16:37 ` Ralf Baechle
2005-03-08 13:46 ` Kumba
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=422D3AC9.4020601@gentoo.org \
--to=kumba@gentoo.org \
--cc=linux-mips@linux-mips.org \
--cc=maillist@jg555.com \
/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.