Installing Gentoo on a Sun Ultra Sparc 5 (PCI& IDE version).
The problem:
When I use iptables with any limit command e.g.
$IPTABLES -A OUTPUT -m limit --limit 3/minute --limit-burst 3 -j LOG \
--log-level DEBUG --log-prefix "IPT OUTPUT packet died: "
iptables reacts with:
invalid argument.
I tried this also with a Debian Woody installation on the same sparc and also got a "invalid argument". On the internet I found one guy having the same problem (still not solved) (see: http://lists.debian.org/debian-sparc/20 ... 00116.html )
I already tried several things:
-) recompiled ipt_limit modules several times
-) recompiled iptables several times
-) switched from iptables 1.26a to 1.27a and vice versa
-) tried Gentoo (great distribution; as you see every nasty thing, brings something nice
However the problem still remains.
After experimenting several nights I thought the problem could be with the internal clock. Since, in my opinion, the limit option has to make contact to the internal clock to know what 3 times a minute is.
Whenever I start Debian or Gentoo, it says something like: RTC no PC_RTC found. In contrast to this message, for some strange reason it's capable of displaying time and date correct, even after power-off.
Another funny thing is that when I try to boot OpenBSD, the startup-script of OpenBSD mentions that the date and time are 373 days ago (somewhere in 2001) and that I should reset and check time and date. (the "somewhere in 2001" is when I removed solaris i geuss). Thus, in my opinion OpenBSD is able to see two times&dates, since it is able to talk about 373 days ?!
So,
Now I was wondering:
1) Could it be the hardware clock which makes the limit option within iptables a problem or did I just smoke too much? (please don't blame me for not talking C-tech-talk, I am a statistician, not a programmer
2) Is anyone familiar with this problem?
3) Does it occur on other sparcs?
4) Has anyone the foggiest idea how to correctly set the hardware clock in the kernel (till know I found out that I should enable the Mostek driver, however it also mentions to set "enhanced real time clock support" in character devices, but the "enhanced real time clock support" is unfortunately not mentioned anywhere in the kernel)
5) Does the ultra sparc 5 have two clock devices? In other words how does it come that OpenBSD sees another time&date than Debian or Gentoo.
hope someone can help me.
grtz Yoda2

