#17259: AA r41803 has bad file descriptor errors
-------------------------+-----------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: highest | Milestone: Attitude Adjustment 12.09.1
Component: base system | Version: Attitude Adjustment 12.09
Keywords: |
-------------------------+-----------------------------------------
Something changed between r41503 and r41803 that triggers a bunch of file
descriptor errors on startup. This is the syslog:
{{{
Sep 8 23:44:01 router kern.notice kernel: [ 66.020000] JFFS2 notice:
(423) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of
xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Sep 8 23:44:04 router daemon.warn netifd: You have delegated
IPv6-prefixes but haven't assigned them to any interface. Did you forget
to set option ip6assign on your lan-interfaces?
Sep 8 23:44:04 router daemon.notice netifd: Interface 'lan' is now up
Sep 8 23:44:04 router daemon.notice netifd: Interface 'loopback' is now
up
Sep 8 23:44:04 router daemon.notice netifd: wan (745): udhcpc (v1.19.4)
started
Sep 8 23:44:04 router user.notice firewall: Reloading firewall due to
ifup of lan (br-lan)
Sep 8 23:44:05 router daemon.notice netifd: wan (745): Sending
discover...
Sep 8 23:44:05 router daemon.err 6relayd[826]: Unable to open interface
br-lan (Bad file descriptor)
Sep 8 23:44:08 router daemon.notice netifd: wan (745): Sending
discover...
Sep 8 23:44:08 router daemon.notice netifd: wan (745): Sending select for
43.253.231.176...
Sep 8 23:44:08 router daemon.notice netifd: wan (745): Lease of
43.253.231.176 obtained, lease time 259200
Sep 8 23:44:08 router daemon.notice netifd: Interface 'wan' is now up
Sep 8 23:44:08 router user.notice firewall: Reloading firewall due to
ifup of wan (eth1)
Sep 8 23:44:09 router daemon.err odhcp6c[1047]: failed to initialize: Bad
file descriptor
Sep 8 23:44:09 router daemon.notice netifd: Interface 'wan6' is now down
Sep 8 23:44:09 router daemon.err odhcp6c[1175]: failed to initialize: Bad
file descriptor
Sep 8 23:44:09 router daemon.notice netifd: Interface 'wan6' is now down
Sep 8 23:44:10 router daemon.err odhcp6c[1313]: failed to initialize: Bad
file descriptor
Sep 8 23:44:10 router daemon.notice netifd: Interface 'wan6' is now down
Sep 8 23:44:11 router daemon.err odhcp6c[1450]: failed to initialize: Bad
file descriptor
Sep 8 23:44:11 router daemon.notice netifd: Interface 'wan6' is now down
Sep 8 23:44:11 router daemon.err odhcp6c[1477]: failed to initialize: Bad
file descriptor
Sep 8 23:44:11 router daemon.notice netifd: Interface 'wan6' is now down
Sep 8 23:44:12 router daemon.err odhcp6c[1534]: failed to initialize: Bad
file descriptor
Sep 8 23:44:12 router daemon.notice netifd: Interface 'wan6' is now down
}}}
Nothing works because other services doesn't start. Downgrading to r41503
fixes the problem. I see only changes to mac80211 so I'm not sure how it
affected netif or odhcp6c. Can you replicate the issue on r41803 and
confirm if it's patch issue?
--
Ticket URL: <https://dev.openwrt.org/ticket/17259>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets