Some errors on SNAPSHOT r2028+527 (SIGSEGV to odhcpd and can't initialize iptables table `raw')

Hi,
just reporting, not sure it's for bug report or rather for discussion, are these errors OK ?

LEDE Reboot SNAPSHOT r2028+527-aa2bfb4 / LuCI Master (git-16.351.39912-0cd14a0)
TP-Link Archer C7 v2

Sat Dec 17 09:00:43 2016 kern.info kernel: [   55.129600] 
Sat Dec 17 09:00:43 2016 kern.info kernel: [   55.129600] do_page_fault(): sending SIGSEGV to odhcpd for invalid read access from 00000000
Sat Dec 17 09:00:43 2016 kern.info kernel: [   55.138200] epc = 00406e81 in odhcpd[400000+b000]
Sat Dec 17 09:00:43 2016 kern.info kernel: [   55.142986] ra  = 004057bd in odhcpd[400000+b000]
Sat Dec 17 09:00:43 2016 kern.info kernel: [   55.147871] 

............

Sat Dec 17 09:01:00 2016 user.notice : iptables v1.4.21: can't initialize iptables table `raw': Table does not exist (do you need to insmod?)
Sat Dec 17 09:01:00 2016 user.notice : Perhaps iptables or your kernel needs to be upgraded.

Thank you

I have same problem on Archer C50, just revert back to stock firmware, flash newest stock firmware using stock gui and then flash lede. It works for me.

Thank you, but I think I got this just with the most recent version.
So you are 100% sure it has disappeared after full reset, stock revert and re-flash ? Hmmm....

Same issue here on a wrt1900acv1 "mamba"
Tried the insmod to see if anything changed no go.
root@LEDE:~# insmod /usr/sbin/iptables (It does exist here)
failed to insert /usr/sbin/iptables

iptables 1.4.21-2

root@LEDE:/# lsmod | grep table
ip6_tables 9877 2 ip6table_mangle,ip6table_filter
ip6table_filter 830 1
ip6table_mangle 1214 1
ip_tables 10135 3 iptable_nat,iptable_mangle,iptable_filter
iptable_filter 892 1
iptable_mangle 1020 1
iptable_nat 1169 1
nf_nat_ipv4 3699 1 iptable_nat
x_tables 11003 28 ipt_REJECT,ipt_MASQUERADE,xt_time,xt_tcpudp,xt_state,xt_recent,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_helper,xt_hashlimit,xt_conntrack,xt_connmark,xt_connlimit,xt_connbytes,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG,iptable_mangle,iptable_filter,ip_tables,ip6t_REJECT,ip6table_mangle,ip6table_filter,ip6_tables
Hmm. :slight_smile:

1 Like

iptables v1.4.21: can't initialize iptables table `raw': Table does not exist (do you need to insmod?)

"raw" table was split off from the default config a week ago. That error message is likely due to that change: https://git.lede-project.org/?p=source.git;a=commit;h=970dd4dd58c1f1c1b4cde69a732483aacdc0236a

I have not noticed any harm from that, but apparently some (iptables/firewall) component still expects to find that table.

I filed a bug report. Let's see if devs respond somehow:
https://bugs.lede-project.org/index.php?do=details&task_id=342

1 Like

This iptables error is coming from LuCI iptables parsing code. The error gets triggered e.g. by visiting the Firewall status page in LuCI, and it also gets triggered by the LuCI Statistics module's config generation during boot time.

Discussion in FS#342

EDIT: And it should now be fixed with https://github.com/openwrt/luci/commit/b56d1a85e2fa2ba50b2253e07e41b421a2c20fca

does this means not having the raw table is normal, and have no harm?

Yes. It was removed intentionally.