Re: [SOLUTION] Works in 2.6.26, broken in 2.6.27 & 2.6.28 [WAS: Re: bnep module in 2.6.27 fails to provide bnep0 device]

Mck
2009-06-28T18:40:47Z

[-- Attachment #1: Type: text/plain, Size: 5313 bytes --]

> > I'm using the following combination on gentoo:
> >
> > linux-2.6.27 (64-bit)
> > bluez-libs-3.36
> > bluez-utils-3.36
>
> The problem exists the same after an upgrade to kernel-2.6.28
>
> Downgrading to 2.6.26 everything works well.
> The same environment is being used so the userspace seems not at
> fault.

Ok, 6 months down the track i lose my phone and buy a new Sony Ericsson
C901. I get the same behaviour but have found by luck a work around.

If i "Browse files on device..." (using gnome's bluetooth-applet) and
connect to my phone (creating a obex connection) then run
pand -c <bdaddr>

everything works fine, and it played well with NetworkManager.

The successful system log looked like:

> Jun 25 15:30:31 [pand] Connecting to 00:25:E7:0D:5E:6D
> Jun 25 15:30:32 [pand] bnep0 connected
> Jun 25 15:30:32 [NetworkManager] <info> (bnep0): driver 'btusb' does not support carrier detection.__You must switch to it manually._
> Jun 25 15:30:32 [NetworkManager] <info> (bnep0): new Ethernet device (driver: 'btusb')_
> Jun 25 15:30:32 [NetworkManager] <info> (bnep0): exported as /org/freedesktop/Hal/devices/net_00_03_7a_dc_47_18_
> Jun 25 15:30:37 [NetworkManager] <info> (bnep0): device state change: 1 -> 2_
> Jun 25 15:30:37 [NetworkManager] <info> (bnep0): bringing up device._
> Jun 25 15:30:37 [NetworkManager] <info> (bnep0): preparing device._
> Jun 25 15:30:37 [NetworkManager] <info> (bnep0): deactivating device (reason: 2)._
> Jun 25 15:30:37 [NetworkManager] <info> (bnep0): device state change: 2 -> 3_
> Jun 25 15:30:37 [nm-system-settings] Added default wired connection 'Auto bnep0' for /org/freedesktop/Hal/devices/net_00_03_7a_dc_47_18
> Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) starting connection 'Auto bnep0'_
> Jun 25 15:30:37 [NetworkManager] <info> (bnep0): device state change: 3 -> 4_
> Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 1 of 5 (Device Prepare) scheduled..._
> Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 1 of 5 (Device Prepare) started..._
> Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 2 of 5 (Device Configure) scheduled..._
> Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 1 of 5 (Device Prepare) complete._
> Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 2 of 5 (Device Configure) starting..._
> Jun 25 15:30:37 [NetworkManager] <info> (bnep0): device state change: 4 -> 5_
> Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 2 of 5 (Device Configure) successful._
> Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 3 of 5 (IP Configure Start) scheduled._
> Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 2 of 5 (Device Configure) complete._
> Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 3 of 5 (IP Configure Start) started..._
> Jun 25 15:30:37 [NetworkManager] <info> (bnep0): device state change: 5 -> 7_
> Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Beginning DHCP transaction._
> Jun 25 15:30:37 [NetworkManager] <info> dhcpcd started with pid 20383_
> Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 3 of 5 (IP Configure Start) complete._
> Jun 25 15:30:37 [dhcpcd] bnep0: dhcpcd 4.0.13 starting
> Jun 25 15:30:37 [NetworkManager] <info> DHCP: device bnep0 state changed normal exit -> preinit_
> Jun 25 15:30:37 [dhcpcd] bnep0: broadcasting for a lease
> Jun 25 15:30:37 [dhcpcd] bnep0: offered ... from 10.252.177.241
> Jun 25 15:30:37 [dhcpcd] bnep0: acknowledged ... from 10.252.177.241
> Jun 25 15:30:37 [dhcpcd] bnep0: checking ... is available on attached networks
> Jun 25 15:30:42 [dhcpcd] bnep0: leased ... for 300 seconds
> Jun 25 15:30:42 [NetworkManager] <info> DHCP: device bnep0 state changed preinit -> bound_
> Jun 25 15:30:42 [NetworkManager] <info> Activation (bnep0) Stage 4 of 5 (IP Configure Get) scheduled..._
> Jun 25 15:30:42 [NetworkManager] <info> Activation (bnep0) Stage 4 of 5 (IP Configure Get) started..._
> Jun 25 15:30:42 [NetworkManager] <info> address ..._
> Jun 25 15:30:42 [NetworkManager] <info> prefix 29 (255.255.255.248)_
> Jun 25 15:30:42 [NetworkManager] <info> gateway 10.252.177.243_
> Jun 25 15:30:42 [NetworkManager] <info> nameserver '212.169.123.67'_
> Jun 25 15:30:42 [NetworkManager] <info> nameserver '212.45.188.254'_
> Jun 25 15:30:42 [NetworkManager] <info> Activation (bnep0) Stage 5 of 5 (IP Configure Commit) scheduled..._
> Jun 25 15:30:42 [NetworkManager] <info> Activation (bnep0) Stage 4 of 5 (IP Configure Get) complete._
> Jun 25 15:30:42 [NetworkManager] <info> Activation (bnep0) Stage 5 of 5 (IP Configure Commit) started..._
> Jun 25 15:30:43 [NetworkManager] <info> (bnep0): device state change: 7 -> 8_
> Jun 25 15:30:43 [NetworkManager] <info> Policy set 'Auto bnep0' (bnep0) as default for routing and DNS._
> Jun 25 15:30:43 [NetworkManager] <info> Activation (bnep0) successful, device activated._
> Jun 25 15:30:43 [NetworkManager] <info> Activation (bnep0) Stage 5 of 5 (IP Configure Commit) complete._

~mck

--
"Some husbands are living proof that a woman can take a joke."
| semb.wever.org | sesat.no | finn.no |

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]