Modify

Opened 8 years ago

Closed 8 years ago

#7070 closed defect (worksforme)

iw: cannot resolv symbol on bcrm63xx

Reported by: anonymous Owned by: nbd
Priority: high Milestone: Backfire 10.03.1
Component: base system Version: Backfire 10.03 RC3
Keywords: Cc:

Description

On backfire-rc3/brcm63xx

root@OpenWrt:/# iw 
iw: can't resolve symbol 'xtables_register_target'

under strace

root@OpenWrt:/# strace iw
execve("/usr/sbin/iw", ["iw"], [/* 7 vars */]) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaad000
stat("/etc/ld.so.cache", 0x7fe68c40)    = -1 ENOENT (No such file or directory)
open("/lib/libm.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=101667, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\0250\0\0\0004"..., 4096) = 4096
old_mmap(NULL, 167936, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabe000
old_mmap(0x2aabe000, 101180, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aabe000
old_mmap(0x2aae6000, 3363, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x18000) = 0x2aae6000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libnl-tiny.so", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libnl-tiny.so", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/lib/libnl-tiny.so", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=29608, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\6\20\0\0\0004"..., 4096) = 4096
old_mmap(NULL, 69632, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aae7000
old_mmap(0x2aae7000, 3312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aae7000
old_mmap(0x2aaf7000, 3616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aaf7000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=64956, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\33\340\0\0\0004"..., 4096) = 4096
old_mmap(NULL, 131072, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaf8000
old_mmap(0x2aaf8000, 62876, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aaf8000
old_mmap(0x2ab17000, 3516, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x2ab17000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405460, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000

read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\252\300\0\0\0004"..., 4096) = 4096
old_mmap(NULL, 491520, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab18000
old_mmap(0x2ab18000, 397248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab18000
old_mmap(0x2ab89000, 8148, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x61000) = 0x2ab89000
old_mmap(0x2ab8b000, 19456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab8b000
close(3)                                = 0

munmap(0x2aaae000, 4096)                = 0

open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405460, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405460, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405460, ...}) = 0
close(3)                                = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=20708, ...}) = 0
mprotect(0x2ab89000, 4096, PROT_READ)   = 0
mprotect(0x2aabc000, 4096, PROT_READ)   = 0
ioctl(0, TIOCNXCL, {B115200 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B115200 opost isig icanon echo ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
write(2, "", 0)                         = 0
write(2, "iw", 2iw)                       = 2
write(2, ": can't resolve symbol '", 24: can't resolve symbol ') = 24

write(2, "xtables_register_target", 23xtables_register_target) = 23
write(2, "'\n", 2'
)                      = 2
munmap(0x2aaae000, 4096)                = 0
exit(1)                                 = ?
root@OpenWrt:/# 
root@OpenWrt:/# opkg list_installed
base-files - 41-r20642
busybox - 1.15.3-1
crda - 1.1.0-2
dnsmasq - 2.52-1
dropbear - 0.52-4
firewall - 1-10
gpioctl - 1.0-1
hotplug2 - 1.0-beta-1
iptables - 1.4.6-2
iptables-mod-conntrack - 1.4.6-2
iptables-mod-conntrack-extra - 1.4.6-2
iptables-mod-nat - 1.4.6-2
iw - 0.9.19-1
kernel - 2.6.32.10-1
kmod-b43 - 2.6.32.10+2010-03-24-4
kmod-cfg80211 - 2.6.32.10+2010-03-24-4
kmod-crc-ccitt - 2.6.32.10-1
kmod-crypto-aes - 2.6.32.10-1
kmod-crypto-arc4 - 2.6.32.10-1
kmod-crypto-core - 2.6.32.10-1
kmod-ipt-conntrack - 2.6.32.10-1
kmod-ipt-conntrack-extra - 2.6.32.10-1
kmod-ipt-core - 2.6.32.10-1
kmod-ipt-extra - 2.6.32.10-1
kmod-ipt-nat - 2.6.32.10-1
kmod-ipt-nathelper - 2.6.32.10-1
kmod-mac80211 - 2.6.32.10+2010-03-24-4
kmod-nf-conntrack-netlink - 2.6.32.10-1
kmod-nfnetlink - 2.6.32.10-1
kmod-ppp - 2.6.32.10-1
kmod-pppoe - 2.6.32.10-1
kmod-switch - 2.6.32.10-2
libc - 0.9.30.1-41
libgcc - 4.3.3+cs-41
libiptc - 1.4.6-2
liblua - 5.1.4-6
libnetfilter-conntrack - 0.0.101-1
libnfnetlink - 1.0.0-2
libnl-tiny - 0.1-1
libuci - 12012009.5-1
libuci-lua - 12012009.5-1
libxtables - 1.4.6-2
lua - 5.1.4-6
luci - 0.9+svn5992-1
luci-admin-core - 0.9+svn5992-1
luci-admin-full - 0.9+svn5992-1
luci-admin-mini - 0.9+svn5992-1
luci-app-firewall - 0.9+svn5992-1
luci-app-initmgr - 0.9+svn5992-1
luci-cbi - 0.9+svn5992-1
luci-core - 0.9+svn5992-1
luci-http - 0.9+svn5992-1
luci-i18n-english - 0.9+svn5992-1
luci-ipkg - 0.9+svn5992-1
luci-lmo - 0.9+svn5992-1
luci-nixio - 0.9+svn5992-1
luci-sgi-cgi - 0.9+svn5992-1
luci-sys - 0.9+svn5992-1
luci-theme-base - 0.9+svn5992-1
luci-theme-openwrt - 0.9+svn5992-1
luci-uci - 0.9+svn5992-1
luci-uvl - 0.9+svn5992-1
luci-web - 0.9+svn5992-1
mtd - 12
opkg - 513-1
ppp - 2.4.4-5
ppp-mod-pppoe - 2.4.4-5

strace - 4.5.19-3
uci - 12012009.5-1
udevtrigger - 106-1
uhttpd - 6
wireless-tools - 29-4
wpad-mini - 20100309-1

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by thepeople

  • Owner changed from developers to nbd
  • Status changed from new to assigned

comment:2 Changed 8 years ago by nbd

  • Resolution set to worksforme
  • Status changed from assigned to closed

I'm pretty sure that's some kind of filesystem corruption. iw doesn't even use any xtables stuff, nor should it.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.