Bug 1230461 - Bluetooth tethering fails most of the time
Summary: Bluetooth tethering fails most of the time
Keywords:
Status: CLOSED DUPLICATE of bug 1255284
Alias: None
Product: Fedora
Classification: Fedora
Component: bluez
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Don Zickus
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-11 01:33 UTC by Andy Lutomirski
Modified: 2015-11-13 17:20 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-11 15:12:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 748357 0 None None None Never

Description Andy Lutomirski 2015-06-11 01:33:31 UTC
Almost every time I try to tether to my Moto X running Cyanogenmod 12.1 nightly, it fails.  (It worked once.)  The failure looks like:

Jun 10 18:19:47 antithesis gnome-control-center.desktop[7143]: Agent unregistration failed: GDBus.Error:org.bluez.Error.DoesNotExist: Does Not Exist 'g-io-error-quark'
Jun 10 18:19:51 antithesis NetworkManager[1016]: <info>  ([redacted]): Activation: starting connection 'Moto X Network'
Jun 10 18:19:51 antithesis NetworkManager[1016]: <info>  ([redacted]): Activation: Stage 1 of 5 (Device Prepare) scheduled...
Jun 10 18:19:51 antithesis NetworkManager[1016]: <info>  ([redacted]): Activation: Stage 1 of 5 (Device Prepare) started...
Jun 10 18:19:51 antithesis NetworkManager[1016]: <info>  ([redacted]): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Jun 10 18:19:51 antithesis NetworkManager[1016]: <info>  NetworkManager state is now CONNECTING
Jun 10 18:19:51 antithesis NetworkManager[1016]: <info>  ([redacted]): Activation: Stage 2 of 5 (Device Configure) scheduled...
Jun 10 18:19:51 antithesis NetworkManager[1016]: <info>  ([redacted]): Activation: Stage 1 of 5 (Device Prepare) complete.
Jun 10 18:19:51 antithesis NetworkManager[1016]: <info>  ([redacted]): Activation: Stage 2 of 5 (Device Configure) starting...
Jun 10 18:19:51 antithesis NetworkManager[1016]: <info>  ([redacted]): device state change: prepare -> config (reason 'none') [40 50 0]
Jun 10 18:19:51 antithesis NetworkManager[1016]: <info>  ([redacted]): Activation: Stage 2 of 5 (Device Configure) complete.
Jun 10 18:19:51 antithesis bluetoothd[7531]: connected
Jun 10 18:19:51 antithesis dnsmasq[1210]: no servers found in /etc/resolv.conf, will retry
Jun 10 18:19:51 antithesis dnsmasq[1065]: no servers found in /etc/resolv.conf, will retry
Jun 10 18:19:51 antithesis systemd-udevd[7778]: Error changing net interface name 'bnep0' to 'enp0s26u1u4': Device or resource busy
Jun 10 18:19:51 antithesis systemd-udevd[7778]: could not rename interface '7' from 'bnep0' to 'enp0s26u1u4': Device or resource busy
Jun 10 18:19:51 antithesis NetworkManager[1016]: <info>  (bnep0): driver 'unknown' does not support carrier detection.
Jun 10 18:19:54 antithesis ModemManager[941]: <warn>  Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.4': not supported by any plugin
Jun 10 18:19:55 antithesis ntpd[1026]: Listen normally on 22 bnep0 fe80::ee55:f9ff:fef7:cfd8 UDP 123
Jun 10 18:19:55 antithesis ntpd[1026]: new interface(s) found: waking up resolver
Jun 10 18:20:21 antithesis NetworkManager[1016]: <info>  ([redacted]): device state change: config -> failed (reason 'bluetooth-failed') [50 120 44]
Jun 10 18:20:21 antithesis NetworkManager[1016]: <info>  NetworkManager state is now CONNECTED_LOCAL
Jun 10 18:20:21 antithesis NetworkManager[1016]: <warn>  ([redacted]): Activation: failed for connection 'Moto X Network'
Jun 10 18:20:21 antithesis NetworkManager[1016]: <info>  Connectivity check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with 'Error resolving 'fedoraproject.org': No address associated with hostname'.
Jun 10 18:20:21 antithesis NetworkManager[1016]: <info>  ([redacted]): device state change: failed -> disconnected (reason 'none') [120 30 0]
Jun 10 18:20:21 antithesis NetworkManager[1016]: <info>  ([redacted]): deactivating device (reason 'none') [0]

The usb device at '/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.4' is:

Bus 003 Device 006: ID 0a5c:217f Broadcom Corp. BCM2045B (BDC-2.1)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0a5c Broadcom Corp.
  idProduct          0x217f BCM2045B (BDC-2.1)
  bcdDevice            7.48
  iManufacturer           1 Broadcom Corp
  iProduct                2 Broadcom Bluetooth Device
  iSerial                 3 EC55F9F7CFD8
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          216
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       254 Application Specific Interface
      bInterfaceSubClass      1 Device Firmware Update
      bInterfaceProtocol      1 
      iInterface              0 
      Device Firmware Upgrade Interface Descriptor:
        bLength                             7
        bDescriptorType                    33
        bmAttributes                        7
          Will Not Detach
          Manifestation Tolerant
          Upload Supported
          Download Supported
        wDetachTimeout                   5000 milliseconds
        wTransferSize                      64 bytes
Device Status:     0x0001
  Self Powered

Comment 1 Andy Lutomirski 2015-06-11 03:58:37 UTC
I think this is a BlueZ 5.30 regression, so I'm reassigning this.

FWIW, there are some other error messages in the logs I posted that might indicate NetworkManager or udev bugs.

Comment 2 Andy Lutomirski 2015-06-11 03:59:03 UTC
Whoops, I forgot to include the link.

https://bbs.archlinux.org/viewtopic.php?id=195681

Comment 3 Lubomir Rintel 2015-06-11 15:12:59 UTC
Thanks for the report.

Should be fixed in Rawhide now.

Comment 4 Andy Lutomirski 2015-06-11 15:42:40 UTC
Are you planning an update for F22?

Comment 5 Olivier Crête 2015-11-12 23:52:14 UTC
This still happens on Fedora 23.

Comment 6 Dan Williams 2015-11-13 17:20:43 UTC
This should be fixed in the future 1.0.x updates to F22 and F23.

*** This bug has been marked as a duplicate of bug 1255284 ***


Note You need to log in before you can comment on or make changes to this bug.