hello all,
mainly for experimentation with various kernel patches i
keep trying to build my own kernels. right now i'm working
on one based on vanilla 2.4.19.
my problem is, even without any patches (i.e., 2.4.19 vanilla),
when i build the kernel (with essentially the same .config file
as from the linux-mandrake kernel-source-2.4.19), some iptables
commands don't work. nat doesn't work, and neither does
transparent-proxy to squid.
base distribution: Mandrake 9.1
nothing installed from source, everything from official Mandrake RPMs.
gcc 2.96 (via /etc/alternatives, i've also got gcc-3.2.2-3mdk installed,
and ian says that's fine, but just to take one more factor out of the
picture, i decided to use 2.96 for compiling).
after compiling and rebooting, depmod -a shows no problems,
ipvs doesn't work at reboot, but that was added by mandrake
patches, i don't think it's in the vanilla kernel, and i don't use it
anyway. all the relevant modules are loaded (ipt_REDIRECT,
iptable_nat, and all that they depend on), but when i do:
iptables -t nat -A PREROUTING -s 202.84.105.0/24 -p tcp --dport 80 -j REDIRECT
--to-port 3128
i get:
iptables: Invalid argument
booting from (A) any standard mandrake kernel (2.4.19, 2.4.21) or
(B) any mandrake-win4lin kernel shows no problems with iptables
nat or transparent proxy. it's just with ANY kernel i compile.
as i note above, it's not something due to missing items in .config
either. i installed the 2.4.19 mandrake kernel-source and used the
.config from there (adding only CONFIG_MKI=y, for win4lin support,
because my 2.4.19 vanilla is patched with the win4lin patches).
i've previously tried pure vanilla 2.4.19 without win4lin or openmosix
patches and those show exactly the same problem.
does anyone have any suggestions? things to look into?
tiger
--
Gerald Timothy Quimpo gquimpo*hotmail.com tiger*sni*ph
http://bopolissimus.sni.ph an xcdngl nntrstng jrnl
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"
I'm so miserable without you, it's almost like you're here.
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie