From: Matteo Petracca <matteo.petracca@sssup.it>
To: linux-wpan@vger.kernel.org
Subject: Ieee802154 socket problem with SIOCGIFADDR
Date: Sat, 09 May 2015 16:41:22 +0200 [thread overview]
Message-ID: <554E1C92.7040306@sssup.it> (raw)
Dear all,
I am working on a BeagleboneBlack with transceiver at86rf233.
When using ieee802154 sockets in my code I have:
ret = ioctl(socketfd, SIOCGIFADDR, &ifr);
and everything works fine with kernel 3.8.13.
In kernel 4.0.1 the request fails with the following kernel messages:
[ 846.038365] RTNL: assertion failed at net/mac802154/iface.c (65)
[ 846.044629] CPU: 0 PID: 2350 Comm: test Not tainted 4.0.1-bone1 #1
[ 846.044653] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 846.044747] [<c0011f35>] (unwind_backtrace) from [<c00101b5>]
(show_stack+0x11/0x14)
[ 846.044876] [<c00101b5>] (show_stack) from [<bf8502f3>]
(mac802154_wpan_ioctl+0xb6/0x100 [mac802154])
[ 846.044972] [<bf8502f3>] (mac802154_wpan_ioctl [mac802154]) from
[<bf8b738f>] (ieee802154_sock_ioctl+0xf6/0x14c [ieee802154_socket])
[ 846.045044] [<bf8b738f>] (ieee802154_sock_ioctl [ieee802154_socket])
from [<c05195fb>] (sock_ioctl+0xd3/0x1bc)
[ 846.045094] [<c05195fb>] (sock_ioctl) from [<c00fca4d>]
(do_vfs_ioctl+0x2cd/0x400)
[ 846.045133] [<c00fca4d>] (do_vfs_ioctl) from [<c00fcbcd>]
(SyS_ioctl+0x4d/0x58)
[ 846.045172] [<c00fcbcd>] (SyS_ioctl) from [<c000d641>]
(ret_fast_syscall+0x1/0x44)
Do you have any idea how to solve the problem?
Best,
Matteo
next reply other threads:[~2015-05-09 14:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-09 14:41 Matteo Petracca [this message]
2015-05-09 16:42 ` Ieee802154 socket problem with SIOCGIFADDR Alexander Aring
2015-05-11 16:43 ` Matteo Petracca
2015-05-11 16:51 ` Alexander Aring
2015-05-11 16:58 ` Matteo Petracca
2015-05-11 17:29 ` Alexander Aring
2015-05-11 17:37 ` Alexander Aring
2015-05-11 17:51 ` Alexander Aring
2015-05-12 8:32 ` Matteo Petracca
2015-05-12 8:39 ` Alexander Aring
2015-05-12 9:48 ` Matteo Petracca
2015-05-12 10:33 ` Alexander Aring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=554E1C92.7040306@sssup.it \
--to=matteo.petracca@sssup.it \
--cc=linux-wpan@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.