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