Getting link list results in NLE_OPNOTSUPP
André Prata
andreprata at ua.pt
Thu Jan 26 13:24:52 EST 2012
Thanks Thomas,
The output is attached.
André
On Thu, Jan 26, 2012 at 16:12, Thomas Graf <tgraf at infradead.org> wrote:
> On Thu, Jan 26, 2012 at 04:10:36PM +0000, André Prata wrote:
> > By the way, this is being reproduced in the same system, with
> > kernel 2.6.32.53 as well.
>
> Please run
>
> NLCB=debug ./your_program
>
> So we can see the request and response triggering the error code.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20120126/5b5eaa46/attachment.html>
-------------- next part --------------
-- Debug: Sent Message:
-------------------------- BEGIN NETLINK MESSAGE ---------------------------
[HEADER] 16 octets
.nlmsg_len = 20
.nlmsg_type = 18 <0x12>
.nlmsg_flags = 773 <REQUEST,ACK,ROOT,MATCH>
.nlmsg_seq = 1327602152
.nlmsg_pid = 1539
[PAYLOAD] 4 octets
00 00 00 00 ....
--------------------------- END NETLINK MESSAGE ---------------------------
-- Debug: Received Message:
-------------------------- BEGIN NETLINK MESSAGE ---------------------------
[HEADER] 16 octets
.nlmsg_len = 40
.nlmsg_type = 2 <ERROR>
.nlmsg_flags = 0 <>
.nlmsg_seq = 1327602152
.nlmsg_pid = 1539
[ERRORMSG] 20 octets
.error = -95 "Operation not supported"
[ORIGINAL MESSAGE] 16 octets
.nlmsg_len = 16
.nlmsg_type = 18 <0x12>
.nlmsg_flags = 773 <REQUEST,ACK,ROOT,MATCH>
.nlmsg_seq = 1327602152
.nlmsg_pid = 1539
--------------------------- END NETLINK MESSAGE ---------------------------
-- Error received: Operation not supported
-- Original message: type=0x12 length=20 flags=<REQUEST,ACK,ROOT,MATCH> sequence-nr=1327602152 pid=1539
================================= Crash Dump ==================================
Module : /usr/lib/libnl-route-3.so.200.5.2
Code : page fault
== context ==
rax = 0000000000000000 rdx = 00007F735B2B1080 rcx = 00007F735A59289D rbx = 00000000FFFFFFF6
rdi = 0000000000000002 rsi = 0000000000000000 rbp = 00007FFF551AB210 rsp = 00007FFF551AAE80
r8 = 00007F735BAE4740 r9 = 00007F735BAE4740 r10 = 00007FFF551AAC30 r11 = 00007F735B084D20
r12 = 00007FFF551AB150 r13 = 00000000016D7BF0 r14 = 0000000000000000 r15 = 00000000016D7C80
rip = 00007F735B084D2D eflags = 00010246
== stack trace ==
00 00007F735B084D2D [libnl-route-3.so.200.5.2]
01 0000000000416F05 instituto
02 00007F735A4DD38D [libc-2.15.so]
03 0000000000406EC9 instituto
===============================================================================
More information about the libnl
mailing list