Device or resource busy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When trying to set the pan_id for a node, I keep getting device or
resource busy. the "ifdown wpan1" says "interface wpan1 not
configured". "ifconfig wpan1 down" doesn't throw an error but it seems
to be a no-op.  (wpan0 is the fake radio interface and wpan1 is the
at86rf212b module. Also, the error's the same for the wpan0
interface). There was an email on the list about a month ago with the
same problem. Have there been any updates on the issue?

I'm using the tip of the bluetooth-next kernel and the release tarball
for wpan-tools-0.3 on a raspberry pi attached to an at86rf212b module
over spi. Please let me know if I missed out on any relevant info.

Also, when I try to create a coordinator node, I get an "invalid
argument" error. I've added the netlink debug messages from this at
the bottom. Once, I can pair a node and a coordinator, I'd like to
send/receive messages between them from userland code (even broadcast
messages will do for now!). Is it too optimistic yet? Or has it been
done already? If it is already supported, even the simplest of code
samples will save me a lot of time! :)

Thanks!
-Rohit

root@raspberrypi:~#  iwpan --debug phy wpan-phy1 interface add wpan2
type coordinator 00:00:00:00:00:00:00:11
-- Debug: Sent Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 60
    .nlmsg_type = 21 <0x15>
    .nlmsg_flags = 5 <REQUEST,ACK>
    .nlmsg_seq = 1420839332
    .nlmsg_pid = 2492
  [PAYLOAD] 44 octets
    07 00 00 00 08 00 01 00 01 00 00 00 0a 00 04 00 77 70 ................wp
    61 6e 32 00 00 00 08 00 05 00 02 00 00 00 0c 00 17 00 an2...............
    11 00 00 00 00 00 00 00                               ........
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 80
    .nlmsg_type = 2 <ERROR>
    .nlmsg_flags = 0 <>
    .nlmsg_seq = 1420839332
    .nlmsg_pid = 2492
  [ERRORMSG] 20 octets
    .error = -22 "Invalid argument"
  [ORIGINAL MESSAGE] 16 octets
    .nlmsg_len = 16
    .nlmsg_type = 21 <0x15>
    .nlmsg_flags = 5 <REQUEST,ACK>
    .nlmsg_seq = 1420839332
    .nlmsg_pid = 2492
---------------------------  END NETLINK MESSAGE   ---------------------------
command failed: Invalid argument (-22)
root@raspberrypi:~#
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux