On Mon, Sep 29, 2008 at 3:37 PM, Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote: > Em Mon, Sep 29, 2008 at 03:33:44PM -0300, Leandro Sales escreveu: >> Hello folks, >> I'm getting this message while using 2.6.27: >> >> Can not create DCCP socket (Protocol driver not attached) > > What is the source of such messages? VLC? What? Try strace to see what > is the syscall that fails just before this message is printed, etc. > >> "uname -a" output: >> Linux localhost 2.6.27-rc4-44301-g8269be1 #7 SMP Sun Sep 28 17:02:25 >> BRT 2008 i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux >> >> Anything wrong? I tried compile DCCP using both static and module >> methods and it produces the same effect. > > - Arnaldo > Hello Arnaldo, I'm just running tests with iperf to later use gstreamer plugin that I developed. Here it is the output provided by strace while executing iperf. I'm sorry for the long message. In addition, I'm providing support for a guy from China that wants to use my gstreamer plugin and he is facing similar problem, getting a permission denied message while using the plugin, even then he run the plugin as root. execve("/usr/local/bin/iperf", ["iperf", "-s", "-d", "-l", "1424", "-i", "1"], [/* 32 vars */]) = 0 brk(0) = 0x8057000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=79675, ...}) = 0 mmap2(NULL, 79675, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fce000 close(3) = 0 open("/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\30\4\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=925472, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fcd000 mmap2(NULL, 951972, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ee4000 mmap2(0xb7fc2000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xdd) = 0xb7fc2000 mmap2(0xb7fc7000, 22180, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fc7000 close(3) = 0 open("/lib/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p4\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=149256, ...}) = 0 mmap2(NULL, 151680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ebe000 mmap2(0xb7ee2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) = 0xb7ee2000 close(3) = 0 open("/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\30\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=42348, ...}) = 0 mmap2(NULL, 45508, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7eb2000 mmap2(0xb7ebc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0xb7ebc000 close(3) = 0 open("/lib/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 H\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=118677, ...}) = 0 mmap2(NULL, 90592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e9b000 mmap2(0xb7eae000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb7eae000 mmap2(0xb7eb0000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eb0000 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\3\0\1\0\0\0@a\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1237276, ...}) = 0 mmap2(NULL, 1242576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d6b000 mmap2(0xb7e95000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12a) = 0xb7e95000 mmap2(0xb7e98000, 9680, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e98000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d6a000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d69000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d696d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7e95000, 8192, PROT_READ) = 0 mprotect(0xb7eae000, 4096, PROT_READ) = 0 mprotect(0xb7ebc000, 4096, PROT_READ) = 0 mprotect(0xb7ee2000, 4096, PROT_READ) = 0 mprotect(0xb7fc2000, 16384, PROT_READ) = 0 mprotect(0x8055000, 4096, PROT_READ) = 0 mprotect(0xb7ffc000, 4096, PROT_READ) = 0 munmap(0xb7fce000, 79675) = 0 set_tid_address(0xb7d69718) = 11228 set_robust_list(0xb7d69720, 0xc) = 0 rt_sigaction(SIGRTMIN, {0xb7e9f320, [], SA_SIGINFO}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0xb7e9f3a0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 uname({sys="Linux", node="localhost", ...}) = 0 futex(0xb7fc84fc, FUTEX_WAKE, 2147483647) = 0 rt_sigaction(SIGTERM, {0x80509e0, [], SA_RESTART}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {0x80509e0, [], SA_RESTART}, {SIG_DFL}, 8) = 0 brk(0) = 0x8057000 brk(0x8078000) = 0x8078000 mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7568000 mprotect(0xb7568000, 4096, PROT_NONE) = 0 clone(child_stack=0xb7d684a4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb7d68bd8, {entry_number:6, base_addr:0xb7d68b90, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb7d68bd8) = 11229 mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d67000 mprotect(0xb6d67000, 4096, PROT_NONE) = 0 clone(child_stack=0xb75674a4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb7567bd8, {entry_number:6, base_addr:0xb7567b90, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb7567bd8) = 11234 futex(0x8056364, FUTEX_WAIT, 1, NULL) = 0 futex(0x8056390, FUTEX_WAKE, 1) = 0 futex(0x8056364, FUTEX_WAIT, 3, NULLCan not create DCCP socket (Protocol driver not attached) <unfinished ... exit status 1> Thanks, Leandro. -- To unsubscribe from this list: send the line "unsubscribe dccp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html