Skip to contentSkip to conversation

2.6.36-rc1 on zaurus: bluetooth regression

DISCUSSION Pavel Machek 3 participants 3 messages Aug 21, 2010 – Aug 25, 2010 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi!

Good news is that it boots, suspends and resumes.

Bad news is that bluetooth broke for me. I'm using CF bluetooth card.

Socket 0 Bridge: [pxa2xx-pcmcia] (bus ID: pxa2xx-pcmcia)

	Configuration:	state: on	ready: yes
			Voltage: 3.3V Vcc: 3.3V Vpp: 0.0V
Socket 0 Device 0:	[serial_cs]		(bus ID: 0.0)
	Configuration:	state: on
	Product Name:   Compact Flash Bluetooth Card 
	Identification:	manf_id: 0x0279	card_id: 0x950b
			function: 2 (serial)
			prod_id(1): "Compact Flash" (0x95521410)
			prod_id(2): "Bluetooth Card" (0x7664fb1d)
			prod_id(3): --- (---)
			prod_id(4): --- (---)
Socket 1 Bridge:   	[pxa2xx-pcmcia] 	(bus ID: pxa2xx-pcmcia)
	Configuration:	state: on	ready: yes
			Voltage: 3.3V Vcc: 3.3V Vpp: 0.0V
Socket 1 Device 0:	[ide-cs]		(bus ID: 1.0)
	Configuration:	state: on
	Product Name:   HITACHI microdrive 
	Identification:	manf_id: 0x0319	card_id: 0x0000
			function: 4 (fixed disk)
			prod_id(1): "HITACHI" (0xf4f43949)
			prod_id(2): "microdrive" (0xa6d76178)
			prod_id(3): --- (---)
			prod_id(4): --- (---)

In 2.6.35, I have lots of messages in the syslog, and speed is slow, but it works.

Aug 19 08:01:06 toy kernel: bcsp_recv: Out-of-order packet arrived, got 3 expected 2
Aug 19 08:01:06 toy kernel: bcsp_recv: Out-of-order packet arrived, got 4 expected 2
Aug 19 08:01:11 toy kernel: bcsp_recv: Short BCSP packet
Aug 19 08:01:11 toy kernel: bcsp_recv: Out-of-order packet arrived, got 3 expected 2
Aug 19 08:01:11 toy kernel: bcsp_recv: Out-of-order packet arrived, got 4 expected 2
Aug 19 08:01:12 toy kernel: bcsp_recv: Out-of-order packet arrived, got 5 expected 2
Aug 19 08:01:16 toy kernel: bcsp_recv: Short BCSP packet
Aug 19 08:01:16 toy kernel: bcsp_recv: Out-of-order packet arrived, got 2 expected 1
Aug 19 08:01:16 toy kernel: bcsp_recv: Out-of-order packet arrived, got 3 expected 1
Aug 19 08:01:16 toy kernel: bcsp_recv: Out-of-order packet arrived, got 4 expected 1

In 2.6.36-rc1, I get:

Aug 20 08:38:27 toy bluetoothd[1318]: HCI dev 0 down
Aug 20 08:38:27 toy bluetoothd[1318]: Adapter /org/bluez/1318/hci0 has been disabled
Aug 20 08:38:27 toy bluetoothd[1318]: Stopping security manager 0
Aug 20 08:38:27 toy kernel: pcmcia_socket pcmcia_socket0: pccard: card ejected from slot 0
Aug 20 08:38:27 toy kernel: PM: Removing info for pcmcia:0.0
Aug 20 08:38:27 toy kernel: PM: Removing info for No Bus:ttyS0
Aug 20 08:38:27 toy bluetoothd[1318]: HCI dev 0 unregistered
Aug 20 08:38:27 toy bluetoothd[1318]: Unregister path: /org/bluez/1318/hci0
Aug 20 08:38:27 toy kernel: PM: Removing info for No Bus:hci0
Aug 20 08:38:27 toy kernel: PM: Adding info for No Bus:ttyS0
Aug 20 08:38:31 toy kernel: pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
Aug 20 08:38:31 toy kernel: pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 201)
Aug 20 08:38:31 toy kernel: PM: Adding info for pcmcia:0.0
Aug 20 08:38:31 toy kernel: PM: Removing info for No Bus:ttyS0
Aug 20 08:38:31 toy kernel: 0.0: ttyS0 at I/O 0xc48402f8 (irq = 201) is a 16C950/954
Aug 20 08:38:31 toy kernel: PM: Adding info for No Bus:ttyS0
Aug 20 08:38:36 toy bluetoothd[1318]: HCI dev 0 registered
Aug 20 08:38:36 toy kernel: PM: Adding info for No Bus:hci0
Aug 20 08:38:36 toy kernel: bcsp_recv: Out-of-order packet arrived, got 1 expected 0
Aug 20 08:38:37 toy bluetoothd[1318]: accept: Socket operation on non-socket (88)
Aug 20 08:38:37 toy bluetoothd[1318]: HCI dev 0 up
Aug 20 08:38:37 toy bluetoothd[1318]: Starting security manager 0
Aug 20 08:38:37 toy kernel: bcsp_recv: Short BCSP packet
Aug 20 08:38:39 toy kernel: PM: Removing info for No Bus:rfcomm1
Aug 20 08:38:39 toy kernel: PM: Adding info for No Bus:rfcomm1
Aug 20 08:38:40 toy pand[1546]: Bluetooth PAN daemon version 4.66
Aug 20 08:38:40 toy pand[1546]: Connecting to 00:21:BA:FF:2D:37
Aug 20 08:38:40 toy kernel: hci_cmd_task: hci0 command tx timeout
Aug 20 08:38:42 toy bluetoothd[1318]: Can't read version info for /org/bluez/1318/hci0: Connection timed out (110)
Aug 20 08:38:44 toy modprobe: FATAL: Could not load /lib/modules/2.6.36-rc1/modules.dep: No such file or directory 

Any ideas?
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw

Dne So 21. srpna 2010 17:24:45 Pavel Machek napsal(a):

Quoted 83 lines

Hi!

Good news is that it boots, suspends and resumes.

Bad news is that bluetooth broke for me. I'm using CF bluetooth card.

Socket 0 Bridge: [pxa2xx-pcmcia] (bus ID: pxa2xx-pcmcia)

	Configuration:	state: on	ready: yes
			Voltage: 3.3V Vcc: 3.3V Vpp: 0.0V
Socket 0 Device 0:	[serial_cs]		(bus ID: 0.0)
	Configuration:	state: on
	Product Name:   Compact Flash Bluetooth Card
	Identification:	manf_id: 0x0279	card_id: 0x950b
			function: 2 (serial)
			prod_id(1): "Compact Flash" (0x95521410)
			prod_id(2): "Bluetooth Card" (0x7664fb1d)
			prod_id(3): --- (---)
			prod_id(4): --- (---)
Socket 1 Bridge:   	[pxa2xx-pcmcia] 	(bus ID: pxa2xx-pcmcia)
	Configuration:	state: on	ready: yes
			Voltage: 3.3V Vcc: 3.3V Vpp: 0.0V
Socket 1 Device 0:	[ide-cs]		(bus ID: 1.0)
	Configuration:	state: on
	Product Name:   HITACHI microdrive
	Identification:	manf_id: 0x0319	card_id: 0x0000
			function: 4 (fixed disk)
			prod_id(1): "HITACHI" (0xf4f43949)
			prod_id(2): "microdrive" (0xa6d76178)
			prod_id(3): --- (---)
			prod_id(4): --- (---)

In 2.6.35, I have lots of messages in the syslog, and speed is slow, but it works.

Aug 19 08:01:06 toy kernel: bcsp_recv: Out-of-order packet arrived, got 3
expected 2 Aug 19 08:01:06 toy kernel: bcsp_recv: Out-of-order packet
arrived, got 4 expected 2 Aug 19 08:01:11 toy kernel: bcsp_recv: Short
BCSP packet
Aug 19 08:01:11 toy kernel: bcsp_recv: Out-of-order packet arrived, got 3

expected 2 Aug 19 08:01:11 toy kernel: bcsp_recv: Out-of-order packet arrived, got 4 expected 2 Aug 19 08:01:12 toy kernel: bcsp_recv:
Out-of-order packet arrived, got 5 expected 2 Aug 19 08:01:16 toy kernel:
bcsp_recv: Short BCSP packet

Aug 19 08:01:16 toy kernel: bcsp_recv: Out-of-order packet arrived, got 2

expected 1 Aug 19 08:01:16 toy kernel: bcsp_recv: Out-of-order packet arrived, got 3 expected 1 Aug 19 08:01:16 toy kernel: bcsp_recv:
Out-of-order packet arrived, got 4 expected 1

In 2.6.36-rc1, I get:

Aug 20 08:38:27 toy bluetoothd[1318]: HCI dev 0 down
Aug 20 08:38:27 toy bluetoothd[1318]: Adapter /org/bluez/1318/hci0 has been
disabled Aug 20 08:38:27 toy bluetoothd[1318]: Stopping security manager 0
Aug 20 08:38:27 toy kernel: pcmcia_socket pcmcia_socket0: pccard: card
ejected from slot 0 Aug 20 08:38:27 toy kernel: PM: Removing info for
pcmcia:0.0
Aug 20 08:38:27 toy kernel: PM: Removing info for No Bus:ttyS0
Aug 20 08:38:27 toy bluetoothd[1318]: HCI dev 0 unregistered
Aug 20 08:38:27 toy bluetoothd[1318]: Unregister path: /org/bluez/1318/hci0
Aug 20 08:38:27 toy kernel: PM: Removing info for No Bus:hci0
Aug 20 08:38:27 toy kernel: PM: Adding info for No Bus:ttyS0
Aug 20 08:38:31 toy kernel: pcmcia_socket pcmcia_socket0: pccard: PCMCIA
card inserted into slot 0 Aug 20 08:38:31 toy kernel: pcmcia 0.0: pcmcia:
registering new device pcmcia0.0 (IRQ: 201) Aug 20 08:38:31 toy kernel:
PM: Adding info for pcmcia:0.0
Aug 20 08:38:31 toy kernel: PM: Removing info for No Bus:ttyS0
Aug 20 08:38:31 toy kernel: 0.0: ttyS0 at I/O 0xc48402f8 (irq = 201) is a
16C950/954 Aug 20 08:38:31 toy kernel: PM: Adding info for No Bus:ttyS0
Aug 20 08:38:36 toy bluetoothd[1318]: HCI dev 0 registered
Aug 20 08:38:36 toy kernel: PM: Adding info for No Bus:hci0
Aug 20 08:38:36 toy kernel: bcsp_recv: Out-of-order packet arrived, got 1
expected 0 Aug 20 08:38:37 toy bluetoothd[1318]: accept: Socket operation
on non-socket (88) Aug 20 08:38:37 toy bluetoothd[1318]: HCI dev 0 up
Aug 20 08:38:37 toy bluetoothd[1318]: Starting security manager 0
Aug 20 08:38:37 toy kernel: bcsp_recv: Short BCSP packet
Aug 20 08:38:39 toy kernel: PM: Removing info for No Bus:rfcomm1
Aug 20 08:38:39 toy kernel: PM: Adding info for No Bus:rfcomm1
Aug 20 08:38:40 toy pand[1546]: Bluetooth PAN daemon version 4.66
Aug 20 08:38:40 toy pand[1546]: Connecting to 00:21:BA:FF:2D:37
Aug 20 08:38:40 toy kernel: hci_cmd_task: hci0 command tx timeout
Aug 20 08:38:42 toy bluetoothd[1318]: Can't read version info for
Quoted 6 lines

/org/bluez/1318/hci0: Connection timed out (110) Aug 20 08:38:44 toy
modprobe: FATAL: Could not load /lib/modules/2.6.36-rc1/modules.dep: No such file or directory

Any ideas?
Pavel

Could it be due to the PCMCIA timings changes on pxa I did? Try reverting that change and retry.

#2 lore raw
In reply to Pavel Machek
Quoted 83 lines · On sobota, 21 sierpnia 2010 o 17:24:45 Pavel Machek wrote:

Hi!

Good news is that it boots, suspends and resumes.

Bad news is that bluetooth broke for me. I'm using CF bluetooth card.

Socket 0 Bridge: [pxa2xx-pcmcia] (bus ID: pxa2xx-pcmcia)

	Configuration:	state: on	ready: yes
			Voltage: 3.3V Vcc: 3.3V Vpp: 0.0V
Socket 0 Device 0:	[serial_cs]		(bus ID: 0.0)
	Configuration:	state: on
	Product Name:   Compact Flash Bluetooth Card
	Identification:	manf_id: 0x0279	card_id: 0x950b
			function: 2 (serial)
			prod_id(1): "Compact Flash" (0x95521410)
			prod_id(2): "Bluetooth Card" (0x7664fb1d)
			prod_id(3): --- (---)
			prod_id(4): --- (---)
Socket 1 Bridge:   	[pxa2xx-pcmcia] 	(bus ID: pxa2xx-pcmcia)
	Configuration:	state: on	ready: yes
			Voltage: 3.3V Vcc: 3.3V Vpp: 0.0V
Socket 1 Device 0:	[ide-cs]		(bus ID: 1.0)
	Configuration:	state: on
	Product Name:   HITACHI microdrive
	Identification:	manf_id: 0x0319	card_id: 0x0000
			function: 4 (fixed disk)
			prod_id(1): "HITACHI" (0xf4f43949)
			prod_id(2): "microdrive" (0xa6d76178)
			prod_id(3): --- (---)
			prod_id(4): --- (---)

In 2.6.35, I have lots of messages in the syslog, and speed is slow, but it works.

Aug 19 08:01:06 toy kernel: bcsp_recv: Out-of-order packet arrived, got 3
expected 2 Aug 19 08:01:06 toy kernel: bcsp_recv: Out-of-order packet
arrived, got 4 expected 2 Aug 19 08:01:11 toy kernel: bcsp_recv: Short
BCSP packet
Aug 19 08:01:11 toy kernel: bcsp_recv: Out-of-order packet arrived, got 3

expected 2 Aug 19 08:01:11 toy kernel: bcsp_recv: Out-of-order packet arrived, got 4 expected 2 Aug 19 08:01:12 toy kernel: bcsp_recv:
Out-of-order packet arrived, got 5 expected 2 Aug 19 08:01:16 toy kernel:
bcsp_recv: Short BCSP packet

Aug 19 08:01:16 toy kernel: bcsp_recv: Out-of-order packet arrived, got 2

expected 1 Aug 19 08:01:16 toy kernel: bcsp_recv: Out-of-order packet arrived, got 3 expected 1 Aug 19 08:01:16 toy kernel: bcsp_recv:
Out-of-order packet arrived, got 4 expected 1

In 2.6.36-rc1, I get:

Aug 20 08:38:27 toy bluetoothd[1318]: HCI dev 0 down
Aug 20 08:38:27 toy bluetoothd[1318]: Adapter /org/bluez/1318/hci0 has been
disabled Aug 20 08:38:27 toy bluetoothd[1318]: Stopping security manager 0
Aug 20 08:38:27 toy kernel: pcmcia_socket pcmcia_socket0: pccard: card
ejected from slot 0 Aug 20 08:38:27 toy kernel: PM: Removing info for
pcmcia:0.0
Aug 20 08:38:27 toy kernel: PM: Removing info for No Bus:ttyS0
Aug 20 08:38:27 toy bluetoothd[1318]: HCI dev 0 unregistered
Aug 20 08:38:27 toy bluetoothd[1318]: Unregister path: /org/bluez/1318/hci0
Aug 20 08:38:27 toy kernel: PM: Removing info for No Bus:hci0
Aug 20 08:38:27 toy kernel: PM: Adding info for No Bus:ttyS0
Aug 20 08:38:31 toy kernel: pcmcia_socket pcmcia_socket0: pccard: PCMCIA
card inserted into slot 0 Aug 20 08:38:31 toy kernel: pcmcia 0.0: pcmcia:
registering new device pcmcia0.0 (IRQ: 201) Aug 20 08:38:31 toy kernel:
PM: Adding info for pcmcia:0.0
Aug 20 08:38:31 toy kernel: PM: Removing info for No Bus:ttyS0
Aug 20 08:38:31 toy kernel: 0.0: ttyS0 at I/O 0xc48402f8 (irq = 201) is a
16C950/954 Aug 20 08:38:31 toy kernel: PM: Adding info for No Bus:ttyS0
Aug 20 08:38:36 toy bluetoothd[1318]: HCI dev 0 registered
Aug 20 08:38:36 toy kernel: PM: Adding info for No Bus:hci0
Aug 20 08:38:36 toy kernel: bcsp_recv: Out-of-order packet arrived, got 1
expected 0 Aug 20 08:38:37 toy bluetoothd[1318]: accept: Socket operation
on non-socket (88) Aug 20 08:38:37 toy bluetoothd[1318]: HCI dev 0 up
Aug 20 08:38:37 toy bluetoothd[1318]: Starting security manager 0
Aug 20 08:38:37 toy kernel: bcsp_recv: Short BCSP packet
Aug 20 08:38:39 toy kernel: PM: Removing info for No Bus:rfcomm1
Aug 20 08:38:39 toy kernel: PM: Adding info for No Bus:rfcomm1
Aug 20 08:38:40 toy pand[1546]: Bluetooth PAN daemon version 4.66
Aug 20 08:38:40 toy pand[1546]: Connecting to 00:21:BA:FF:2D:37
Aug 20 08:38:40 toy kernel: hci_cmd_task: hci0 command tx timeout
Aug 20 08:38:42 toy bluetoothd[1318]: Can't read version info for
Quoted 6 lines

/org/bluez/1318/hci0: Connection timed out (110) Aug 20 08:38:44 toy
modprobe: FATAL: Could not load /lib/modules/2.6.36-rc1/modules.dep: No such file or directory

Any ideas?
Pavel

I created a Bugzilla entry at
https://bugzilla.kernel.org/show_bug.cgi?id=17061
for your bug report, please add your address to the CC list in there, thanks!

Signature · 2 lines
Maciej Rutecki
http://www.maciek.unixy.pl