getifaddrs() and CONFIG_PAGE_SIZE_16KB=y

Nenad Kljajić <[email protected]>
Newsgroups gmane.comp.lib.uclibc.general
Message-ID <CAHjYbdGfWn6K1R=SR3WDD0-9NZZ=j8cvqBhHqFSkj=JyxFJ5wg@mail.gmail.com>
When I compiled MIPS32 kernel with option CONFIG_PAGE_SIZE_16KB=y
 getifaddrs() fails with 'Device or resource busy'.

Here is a trace:

open("/lib/ld-uClibc.so.0", O_RDONLY)   = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=28968, ...}) = 0
close(3)                                = 0
brk(0x420000)                           = 0x420000
brk(0x424000)                           = 0x424000
rt_sigaction(SIGPIPE, {0x10000000, [RT_65], SA_NOCLDSTOP}, {SIG_DFL, [RT_70
RT_72 RT_73 RT_74 RT_75 RT_78 RT_79 RT_80 RT_82 RT_84 RT_85 RT_86 RT_87
RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], SA_NOCLDSTOP}, 16) = 0
rt_sigaction(SIGINT, {0x10000000, [RT_66], 0}, {0x10000000, [RT_69 RT_70],
0x400f10 /* SA_??? */}, 16) = 0
rt_sigaction(SIGINT, {0x10000000, [RT_66], 0x400f10 /* SA_??? */},
{0x10000000, [RT_70 RT_72 RT_73 RT_74 RT_75 RT_78 RT_79 RT_80 RT_82 RT_84
RT_85 RT_86 RT_87 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], 0}, 16) = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 3
bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(3, {sa_family=AF_NETLINK, pid=2302, groups=00000000}, [12]) = 0
time(NULL)                              = 1427616256
sendto(3, "\0\0\0\24\0\22\3\1U\27\262\0\0\0\0\0\0\0\0\0", 20, 0,
{sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000},
msg_iov(1)=[{"\0\0\3\344\0\20\0\2U\27\262\0\0\0\10\376\0\0\3\4\0\0\0\1\0\1\0I\0\0\0\0"...,
4096}], msg_controllen=0, msg_flags=MSG_TRUNC}, 0) = 4096
sendto(3, "\0\0\0\24\0\22\3\1U\27\262\1\0\0\0\0\0\0\0\0", 20, 0,
{sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000},
msg_iov(1)=[{"\0\0\3\370\0\20\0\2U\27\262\0\0\0\10\376\0\0\0\1\0\0\0\10\0\1\20C\0\0\0\0"...,
8192}], msg_controllen=0, msg_flags=0}, 0) = 7232
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000},
msg_iov(1)=[{"\0\0\0(\0\2\0\0U\27\262\1\0\0\10\376\377\377\377\360\0\0\0\24\0\22\3\1U\27\262\1"...,
8192}], msg_controllen=0, msg_flags=0}, 0) = 40
close(3)                                = 0
write(1, "nil\t16\tDevice or resource busy\n", 31nil    16      Device or
resource busy
) = 31
rt_sigaction(SIGINT, {0x10000000, [RT_66], 0}, {0x10000000, [RT_69 RT_70],
0x400f10 /* SA_??? */}, 16) = 0
munmap(0x77e60000, 229376)              = 0
munmap(0x77e3c000, 147456)              = 0
exit_group(0)                           = ?
+++ exited with 0 +++
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.