[2008.12] Anyone get iptables working?

Nick Van Fossen stix213 at hotmail.com
Thu Jan 8 21:45:49 CET 2009


>>Which instruction is it? Use the following to find out
>>
>>1) gdb --args iptables -v -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
>>2) run
>>3) backtrace
>>4) x/5i $pc
>>5) info register

>>Better Cc: me on your reply since I might not notice your reply on the
>>mailing list due to heavy traffic :-)

---

Thanks for the response.  Below is the output.  

-Nick

root at om-gta02:~# gdb --args iptables -v -A POSTROUTING -t nat -j MASQUERADE -s 1
92.168.0.0/24
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-angstrom-linux-gnueabi"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/sbin/iptables -v -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGILL, Illegal instruction.
0x00009834 in ?? ()
(gdb) backtrace
#0  0x00009834 in ?? ()
Cannot access memory at address 0x2
(gdb) x/5i $pc
0x9834 <__strtoull_internal+1088>:	teqeq	pc, r5, asr r6
0x9838 <__strtoull_internal+1092>:	cfstrsne	mvf4, [r0], #-316
0x983c <__strtoull_internal+1096>:	ldcne	6, cr2, [r12]
0x9840 <__strtoull_internal+1100>:	ldrtmi	r3, [r4], r12, lsl #8
0x9844 <__strtoull_internal+1104>:	blcc	0x3108d8
(gdb) info register
r0             0x2b048	176200
r1             0x2895c	166236
r2             0x80000002	2147483650
r3             0x19084	102532
r4             0x2a1f8	172536
r5             0x2876c	165740
r6             0x2	2
r7             0x1f0	496
r8             0x2a1e4	172516
r9             0x2b048	176200
r10            0x1f	31
r11            0x2	2
r12            0x10	16
sp             0xbe866ab8	0xbe866ab8
lr             0x67	103
pc             0x9834	0x9834 <__strtoull_internal+1088>
fps            0x1001000	16781312
cpsr           0x40000010	1073741840
(gdb) 


_________________________________________________________________
Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_howitworks_012009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090108/d7eb4f86/attachment.htm 


More information about the community mailing list