Hi,
I have installed the bind package from optware on my Qnap TS-212.
When I try to start named, I just get a segmentation fault.
I have firmware version 3.5.0 Build 0816T.
I installed bind using:
ipkg install bind
Installing bind (9.6.1.3-4) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q1armel/cross/unstable/bind_9.6.1.3-4_arm.ipk
With "Successfully terminated".
Strace named shows a lot of "No such file or directory" messages but i'm no expert on this so I'm not sure if i'm missing anything?
[/opt/etc/named] # strace named
execve("/opt/sbin/named", ["named"], [/* 26 vars */]) = 0
brk(0) = 0x73000
uname({sys="Linux", node="NAS-JCB", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/opt/lib/tls/v5l/fast-mult/half/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/tls/v5l/fast-mult/half", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/tls/v5l/fast-mult/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/tls/v5l/fast-mult", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/tls/v5l/half/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/tls/v5l/half", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/tls/v5l/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/tls/v5l", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/tls/fast-mult/half/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/tls/fast-mult/half", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/tls/fast-mult/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/tls/fast-mult", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/tls/half/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/tls/half", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/tls/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/tls", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/v5l/fast-mult/half/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/v5l/fast-mult/half", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/v5l/fast-mult/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/v5l/fast-mult", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/v5l/half/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/v5l/half", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/v5l/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/v5l", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/fast-mult/half/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/fast-mult/half", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/fast-mult/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/fast-mult", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/half/liblwres.so.50", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/half", 0xbec9cf68) = -1 ENOENT (No such file or directory)
open("/opt/lib/liblwres.so.50", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0008#\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=59452, ...}) = 0
mmap2(NULL, 91180, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40026000
mprotect(0x40035000, 28672, PROT_NONE) = 0
mmap2(0x4003c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0x4003c000
close(3) = 0
open("/opt/lib/libdns.so.53", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0@g\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1480548, ...}) = 0
mmap2(NULL, 1513428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4003d000
mprotect(0x401a3000, 32768, PROT_NONE) = 0
mmap2(0x401ab000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x166) = 0x401ab000
close(3) = 0
open("/opt/lib/libbind9.so.50", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\244\31\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=35160, ...}) = 0
mmap2(NULL, 34060, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401af000
mmap2(0x401b7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0x401b7000
close(3) = 0
open("/opt/lib/libisccfg.so.50", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0P[\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=75624, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000
mmap2(NULL, 77648, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401b8000
mmap2(0x401c8000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10) = 0x401c8000
close(3) = 0
open("/opt/lib/libcrypto.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0pw\3\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1196200, ...}) = 0
mmap2(NULL, 1240548, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401cb000
mprotect(0x402db000, 28672, PROT_NONE) = 0
mmap2(0x402e2000, 86016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10f) = 0x402e2000
mmap2(0x402f7000, 11748, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402f7000
close(3) = 0
open("/opt/lib/libisccc.so.50", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\250\31\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=25596, ...}) = 0
mmap2(NULL, 57328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x402fa000
mprotect(0x40300000, 28672, PROT_NONE) = 0
mmap2(0x40307000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0x40307000
close(3) = 0
open("/opt/lib/libisc.so.50", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\320\223\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=315188, ...}) = 0
mmap2(NULL, 347044, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40308000
mprotect(0x40355000, 28672, PROT_NONE) = 0
mmap2(0x4035c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4c) = 0x4035c000
close(3) = 0
open("/opt/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=20407, ...}) = 0
mmap2(NULL, 20407, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001f000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0`J\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1243580, ...}) = 0
mmap2(NULL, 1257892, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4035d000
mprotect(0x40484000, 28672, PROT_NONE) = 0
mmap2(0x4048b000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x126) = 0x4048b000
mmap2(0x4048e000, 8612, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4048e000
close(3) = 0
open("/opt/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0h\"\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=49012, ...}) = 0
mmap2(NULL, 78580, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40491000
mprotect(0x4049d000, 28672, PROT_NONE) = 0
mmap2(0x404a4000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x404a4000
close(3) = 0
open("/opt/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\270\t\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=10032, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x404a5000
mmap2(NULL, 41180, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x404a6000
mprotect(0x404a8000, 28672, PROT_NONE) = 0
mmap2(0x404af000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x404af000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x404b1000
set_tls(0x404b14a0, 0x400256ec, 0x404b1b78, 0x40025050, 0x40) = 0
mprotect(0x404af000, 4096, PROT_READ) = 0
mprotect(0x4048b000, 4096, PROT_READ) = 0
munmap(0x4001f000, 20407) = 0
socket(PF_FILE, SOCK_DGRAM, 0) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_FILE, path="/dev/log"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
getuid32() = 0
syscall_9437369(0xbec9d888, 0xbec9d878, 0x19980330, 0x17fc621, 0x403649ec, 0x4001e918, 0x73c3a79, 0x9000b9, 0, 0x1, 0x6d5c0, 0xbec9daa4, 0, 0xbec9d7e8, 0x59b7c, 0x40426bf0, 0x60000010, 0xbec9d888, 0, 0, 0, 0, 0xd928, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0xbec9d888
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
Regards
Jo Christian
Saturday, September 10, 2011
[nslu2-linux] Optware named/bind segfaults on TS-212
__._,_.___
MARKETPLACE
.
__,_._,___
No comments:
Post a Comment