<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Ahh dang I should have checked my e-mail again earlier.&nbsp; I followed Timo's suggestion to rebuild from source, and that worked like a charm.&nbsp; But your fix would have saved me a bit of time.&nbsp; If anyone wants an ipk of iptables v1.4.2 let me know :)<br><br>Thanks everyone<br><br>-Nick<br><br>&gt; Date: Thu, 8 Jan 2009 18:15:48 -0500<br>&gt; From: freerunner@newkirk.us<br>&gt; To: community@lists.openmoko.org<br>&gt; CC: stix213@hotmail.com<br>&gt; Subject: RE: [2008.12] Anyone get iptables working?<br>&gt; <br>&gt; Try "opkg remove iptables" followed by "opkg install<br>&gt; http://downloads.openmoko.org/repository/testing/armv4t/iptables_1.3.8-r4_armv4t.opk"<br>&gt; <br>&gt; ;)<br>&gt; <br>&gt; j<br>&gt; <br>&gt; On Thu, 8 Jan 2009 13:47:56 -0800, Nick Van Fossen &lt;stix213@hotmail.com&gt;<br>&gt; wrote:<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;&gt; From: timo.lindfors@iki.fi<br>&gt; &gt;&gt; To: stix213@hotmail.com<br>&gt; &gt;&gt; CC: community@lists.openmoko.org; timo.lindfors@iki.fi<br>&gt; &gt;&gt; Subject: Re: [2008.12] Anyone get iptables working?<br>&gt; &gt;&gt; Date: Thu, 8 Jan 2009 23:23:00 +0200<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Nick Van Fossen &lt;stix213@hotmail.com&gt; writes:<br>&gt; &gt;&gt; &gt; Program received signal SIGILL, Illegal instruction.<br>&gt; &gt;&gt; &gt; 0x00009834 in ?? ()<br>&gt; &gt;&gt; &gt; (gdb) backtrace<br>&gt; &gt;&gt; &gt; #0  0x00009834 in ?? ()<br>&gt; &gt;&gt; &gt; Cannot access memory at address 0x2<br>&gt; &gt;&gt; &gt; (gdb) x/5i $pc<br>&gt; &gt;&gt; &gt; 0x9834 &lt;__strtoull_internal+1088&gt;:        teqeq        pc, r5, asr r6<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Very odd. teq should be perfectly legal instructions that is available<br>&gt; &gt;&gt; on all architecture versions and does not involve exceptions.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; &gt; 0x9838 &lt;__strtoull_internal+1092&gt;:        cfstrsne        mvf4, [r0], #-316<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; What is this? Google finds this in a list about "Cirrus Maverick<br>&gt; &gt;&gt; co-processor support for GCC".<br>&gt; &gt;&gt; <br>&gt; &gt;&gt;    "the following are patches for gas, ld, opcodes, and bfd-- for the<br>&gt; &gt;&gt;     Cirrus DSP arm copprocessor (arm9e)."<br>&gt; &gt;&gt; <br>&gt; &gt;&gt;    "/* Cirrus DSP instructions.  */"<br>&gt; &gt;&gt; <br>&gt; &gt;&gt;     "+   {"cfstrs",        0x0c000400,     NULL,   NULL,  <br>&gt; &gt; ARM_EXT_MAVERIK, do_c_ldst_1},"<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; -- http://sources.redhat.com/ml/binutils/2001-10/msg00134.html<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Where did you get these? :-) Please run<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; 1) gdb --args iptables -v -A POSTROUTING -t nat -j MASQUERADE -s<br>&gt; &gt; 192.168.0.0/24<br>&gt; &gt;&gt; 2) run<br>&gt; &gt;&gt; 3) shell cat /proc/`pidof iptables`/maps<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; so that we see what library comes with this __strtoull_internal<br>&gt; &gt;&gt; implementation.<br>&gt; &gt; <br>&gt; &gt; Like I said, I got iptables and iptables-utils from angstrom by adding<br>&gt; the<br>&gt; &gt; angstrom repo using instructions at<br>&gt; &gt; http://wiki.openmoko.org/wiki/Repositories by creating the<br>&gt; &gt; /etc/opkg/angstrom-feed.conf file per the 2008.8 instructions<br>&gt; &gt; near the top.  Then I used commands "opkg update" followed by "opkg<br>&gt; &gt; install iptables iptables-utils".  This also <br>&gt; &gt; updated the libgcc1 package, since iptables required a newer version than<br>&gt; &gt; the openmoko repo contained.  (this includes the libgcc_s.so.1 file<br>&gt; &gt; mentioned below)<br>&gt; &gt; <br>&gt; &gt; -Nick<br>&gt; &gt; <br>&gt; &gt; root@om-gta02:/etc/opkg# gdb --args iptables -v -A POSTROUTING -t nat -j<br>&gt; &gt; MASQUERADE -s 192.168.0.0/24<br>&gt; &gt; GNU gdb 6.8<br>&gt; &gt; Copyright (C) 2008 Free Software Foundation, Inc.<br>&gt; &gt; License GPLv3+: GNU GPL version 3 or later<br>&gt; &gt; &lt;http://gnu.org/licenses/gpl.html&gt;<br>&gt; &gt; This is free software: you are free to change and redistribute it.<br>&gt; &gt; There is NO WARRANTY, to the extent permitted by law.  Type "show<br>&gt; copying"<br>&gt; &gt; and "show warranty" for details.<br>&gt; &gt; This GDB was configured as "arm-angstrom-linux-gnueabi"...<br>&gt; &gt; (no debugging symbols found)<br>&gt; &gt; (gdb) run<br>&gt; &gt; Starting program: /usr/sbin/iptables -v -A POSTROUTING -t nat -j<br>&gt; &gt; MASQUERADE -s 192.168.0.0/24<br>&gt; &gt; (no debugging symbols found)<br>&gt; &gt; (no debugging symbols found)<br>&gt; &gt; (no debugging symbols found)<br>&gt; &gt; <br>&gt; &gt; Program received signal SIGILL, Illegal instruction.<br>&gt; &gt; 0x00009834 in ?? ()<br>&gt; &gt; (gdb) shell cat /proc/`pidof iptables`/maps<br>&gt; &gt; 00008000-00021000 r-xp 00000000 1f:06 14560      /usr/sbin/iptables<br>&gt; &gt; 00028000-0002b000 rw-p 00018000 1f:06 14560      /usr/sbin/iptables<br>&gt; &gt; 0002b000-0004c000 rwxp 0002b000 00:00 0          [heap]<br>&gt; &gt; 40000000-4001c000 r-xp 00000000 1f:06 582        /lib/ld-2.6.1.so<br>&gt; &gt; 40020000-40022000 rw-p 40020000 00:00 0 <br>&gt; &gt; 40023000-40025000 rw-p 0001b000 1f:06 582        /lib/ld-2.6.1.so<br>&gt; &gt; 40025000-4002f000 r-xp 00000000 1f:06 14557      /lib/libgcc_s.so.1<br>&gt; &gt; 4002f000-40036000 ---p 0000a000 1f:06 14557      /lib/libgcc_s.so.1<br>&gt; &gt; 40036000-40037000 rw-p 00009000 1f:06 14557      /lib/libgcc_s.so.1<br>&gt; &gt; 40037000-40148000 r-xp 00000000 1f:06 588        /lib/libc-2.6.1.so<br>&gt; &gt; 40148000-40150000 ---p 00111000 1f:06 588        /lib/libc-2.6.1.so<br>&gt; &gt; 40150000-40151000 r--p 00111000 1f:06 588        /lib/libc-2.6.1.so<br>&gt; &gt; 40151000-40153000 rw-p 00112000 1f:06 588        /lib/libc-2.6.1.so<br>&gt; &gt; 40153000-40156000 rw-p 40153000 00:00 0 <br>&gt; &gt; be850000-be865000 rwxp befeb000 00:00 0          [stack]<br>&gt; &gt; (gdb) <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; _________________________________________________________________<br>&gt; &gt; Windows Live™: Keep your life in sync. <br>&gt; &gt; http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009<br>&gt; -- <br>&gt; Joel Newkirk<br>&gt; http://jthinks.com      (blog)<br>&gt; http://newkirk.us/om (FR stuff)<br>&gt; <br><br /><hr />Windows Live™: Keep your life in sync. <a href='http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009' target='_new'>Check it out.</a></body>
</html>