Search Linux Wireless

Re: brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)

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

 



Hi Arend,

On Di, 2015-06-23 at 14:08 +0200, Arend van Spriel wrote:
> On 06/23/15 13:31, Jörg Krause wrote:
> > Hi Arend,
> > 
> > On So, 2015-06-21 at 23:18 +0200, Arend van Spriel wrote:
> > > 
> > > My bad. The patch removes p2pdev from interface modes, but it is
> > > still
> > > listed in the interface combinations and cfg80211 will complain 
> > > about
> > > it. Have to extend the patch. I better do that after a good 
> > > nights
> > > sleep.
> > 
> > Never mind! Did you had a good night sleep already :-) ?
> 
> Several ;-) Did not get to this earlier. Thanks for the reminder.
> 
> Had a closer look at wiphy_verify_combinations() and I am hopeful the 
> 
> attached patch will fix the wiphy_register() failure.
> 

Sorry for late reply! I was busy on another topic...

I've applied your patch, but p2p interface is still not working. I
attached the debug log from wpa_supplicant.

I tested with Linux Kernel 4.0.7 and wpa_supplicant 2.4.

This is my p2p_supplicant.conf:
    ctrl_interface=/var/run/p2p_supplicant
    update_config=1

    device_name=HBM10
    device_type=1-0050F204-1

    p2p_go_ht40=1

Test with the p2p_find command:
    # wpa_cli -p /var/run/p2p_supplicant p2p_find
    Selected interface 'p2p0'
    1928.165036: p2p0: Control interface command 'P2P_FIND'
    FAIL

Best regards
Jörg Krause
# wpa_supplicant -Dnl80211 -ip2p0 -c /etc/p2p_supplicant.conf -N -Dnl80211 -iwlan0 -c /etc/wpa_supplicant.conf -ddt &
# 1880.197427: wpa_supplicant v2.4
1880.198259: random: Trying to read entropy from /dev/random
1880.198628: Successfully initialized wpa_supplicant
1880.198911: Initializing interface 'p2p0' conf '/etc/p2p_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
1880.199268: Configuration file '/etc/p2p_supplicant.conf' -> '/etc/p2p_supplicant.conf'
1880.199552: Reading configuration file '/etc/p2p_supplicant.conf'
1880.200181: ctrl_interface='/var/run/p2p_supplicant'
1880.200556: update_config=1
1880.200854: device_name='HBM10'
1880.201246: p2p_go_ht40=1
1880.213530: rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
1880.216921: nl80211: Using driver-based roaming
1880.217331: nl80211: Supported cipher 00-0f-ac:1
1880.217606: nl80211: Supported cipher 00-0f-ac:5
1880.217901: nl80211: Supported cipher 00-0f-ac:2
1880.218145: nl80211: Supported cipher 00-0f-ac:4
1880.218377: nl80211: Supported cipher 00-0f-ac:6
1880.219038: nl80211: Using driver-based off-channel TX
1880.219513: nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1
1880.220076: nl80211: Use separate P2P group interface (driver advertised support)
1880.220351: nl80211: use P2P_DEVICE support
1880.220630: nl80211: interface p2p0 in phy phy0
1880.221642: nl80211: Set mode ifindex 5 iftype 2 (STATION)
1880.231926: nl80211: Subscribe to mgmt frames with non-AP handle 0xb6f77db0
1880.232946: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=040a
1880.233959: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=040b
1880.234876: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=040c
1880.235772: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=040d
1880.236732: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=090a
1880.237628: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=090b
1880.238520: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=090c
1880.239466: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=090d
1880.240371: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=0409506f9a09
1880.241279: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=7f506f9a09
1880.243067: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=06
1880.244021: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=0a07
1880.245000: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=0a11
1880.245902: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=1101
1880.246805: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=1102
1880.247755: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=0505
1880.264277: netlink: Operstate: ifindex=5 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
1880.278151: nl80211: driver param='(null)'
1880.278510: Add interface p2p0 to a new radio phy0
1880.283315: nl80211: Regulatory information - country=00
1880.283634: nl80211: 2402-2472 @ 40 MHz 20 mBm
1880.283971: nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR)
1880.284256: nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
1880.284597: nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR)
1880.284882: nl80211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR)
1880.285212: nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
1880.285497: nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
1880.285767: nl80211: 57240-63720 @ 2160 MHz 0 mBm
1880.286421: nl80211: Added 802.11b mode based on 802.11g information
1880.312870: p2p0: Own MAC address: 02:90:4c:07:71:12
1880.313795: wpa_driver_nl80211_set_key: ifindex=5 (p2p0) alg=0 addr=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
1880.315155: wpa_driver_nl80211_set_key: ifindex=5 (p2p0) alg=0 addr=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
1880.316491: wpa_driver_nl80211_set_key: ifindex=5 (p2p0) alg=0 addr=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
1880.317791: wpa_driver_nl80211_set_key: ifindex=5 (p2p0) alg=0 addr=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
1880.318734: p2p0: RSN: flushing PMKID list in the driver
1880.319023: nl80211: Flush PMKIDs
1880.328215: p2p0: State: DISCONNECTED -> INACTIVE
1880.328813: p2p0: WPS: UUID based on MAC address: cfeab444-dd68-5bd3-93a6-3beddeaa0b40
1880.329303: EAPOL: SUPP_PAE entering state DISCONNECTED
1880.329617: EAPOL: Supplicant port status: Unauthorized
1880.329879: nl80211: Skip set_supp_port(unauthorized) while not associated
1880.330120: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
1880.330400: EAPOL: SUPP_BE entering state INITIALIZE
1880.330643: EAP: EAP entering state DISABLED
1880.333329: p2p0: Added interface p2p0
1880.333687: p2p0: State: INACTIVE -> DISCONNECTED
1880.334013: nl80211: Set p2p0 operstate 0->0 (DORMANT)
1880.334274: netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
1880.334883: nl80211: Create interface iftype 10 (P2P_DEVICE)
1880.335897: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)
1880.336194: nl80211: Failed to create a P2P Device interface p2p-dev-p2p0
1880.336431: P2P: Failed to create P2P Device interface
1880.336707: P2P: Failed to enable P2P Device interface
1880.336973: Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
1880.337312: Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
1880.672518: Reading configuration file '/etc/wpa_supplicant.conf'
1880.673212: ctrl_interface='/var/run/wpa_supplicant'
1880.673544: update_config=1
1880.673822: eapol_version=1
1880.674169: ap_scan=1
1880.674990: rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
1880.678353: nl80211: Using driver-based roaming
1880.678761: nl80211: Supported cipher 00-0f-ac:1
1880.679033: nl80211: Supported cipher 00-0f-ac:5
1880.679276: nl80211: Supported cipher 00-0f-ac:2
1880.681111: nl80211: Supported cipher 00-0f-ac:4
1880.681407: nl80211: Supported cipher 00-0f-ac:6
1880.683157: nl80211: Using driver-based off-channel TX
1880.683707: nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1
1880.684252: nl80211: Use separate P2P group interface (driver advertised support)
1880.684581: nl80211: use P2P_DEVICE support
1880.684817: nl80211: interface wlan0 in phy phy0
1880.685918: nl80211: Set mode ifindex 4 iftype 2 (STATION)
1880.687192: nl80211: Subscribe to mgmt frames with non-AP handle 0x251250
1880.687515: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=040a
1880.688406: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=040b
1880.689361: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=040c
1880.690256: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=040d
1880.691140: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=090a
1880.692071: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=090b
1880.693496: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=090c
1880.694390: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=090d
1880.695295: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=0409506f9a09
1880.696251: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=7f506f9a09
1880.697140: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=06
1880.698024: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=0a07
1880.698971: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=0a11
1880.699864: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=1101
1880.700768: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=1102
1880.701711: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=0505
1880.703656: netlink: Operstate: ifindex=4 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
1880.715948: nl80211: driver param='(null)'
1880.716312: Add interface wlan0 to existing radio phy0
1880.720095: nl80211: Regulatory information - country=00
1880.720465: nl80211: 2402-2472 @ 40 MHz 20 mBm
1880.720761: nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR)
1880.721038: nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
1880.721372: nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR)
1880.721647: nl80211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR)
1880.721975: nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
1880.722538: nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
1880.722838: nl80211: 57240-63720 @ 2160 MHz 0 mBm
1880.723497: nl80211: Added 802.11b mode based on 802.11g information
1880.752677: wlan0: Own MAC address: 00:23:bf:ee:bd:df
1880.753419: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
1880.754766: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
1880.756078: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
1880.757382: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
1880.758333: wlan0: RSN: flushing PMKID list in the driver
1880.758678: nl80211: Flush PMKIDs
1880.767798: wlan0: State: DISCONNECTED -> INACTIVE
1880.768248: wlan0: WPS: UUID from the first interface: cfeab444-dd68-5bd3-93a6-3beddeaa0b40
1880.768631: EAPOL: SUPP_PAE entering state DISCONNECTED
1880.768886: EAPOL: Supplicant port status: Unauthorized
1880.769189: nl80211: Skip set_supp_port(unauthorized) while not associated
1880.769428: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
1880.769703: EAPOL: SUPP_BE entering state INITIALIZE
1880.769943: EAP: EAP entering state DISABLED
1880.772055: wlan0: Added interface wlan0
1880.773013: wlan0: State: INACTIVE -> DISCONNECTED
1880.773352: nl80211: Set wlan0 operstate 0->0 (DORMANT)
1880.773615: netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
1880.774095: nl80211: Create interface iftype 10 (P2P_DEVICE)
1880.775149: Failed to create interface p2p-dev-wlan0: -28 (No space left on device)
1880.775514: nl80211: Failed to create a P2P Device interface p2p-dev-wlan0
1881.108828: P2P: Failed to create P2P Device interface
1881.109143: P2P: Failed to enable P2P Device interface
1881.110073: RTM_NEWLINK: ifi_index=5 ifname=p2p0 operstate=0 linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
1881.110997: RTM_NEWLINK: ifi_index=5 ifname=p2p0 operstate=5 linkmode=0 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP])
1881.111861: RTM_NEWLINK: ifi_index=5 ifname=p2p0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP])
1881.113315: RTM_NEWLINK: ifi_index=4 ifname=wlan0 operstate=5 linkmode=0 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP])
1881.114154: RTM_NEWLINK: ifi_index=4 ifname=wlan0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP])
1881.331690: EAPOL: disable timer tick
1881.771216: EAPOL: disable timer tick


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux