2004-10-22 21:21:55

by Erwin Authried

[permalink] [raw]
Subject: [Bluez-users] lockup problem with larger packets

I have cross-compiled bluez for uClinux-2.4.20 for ARM7, with the bluez
kernel patch applied, and bluez-utils 2.10. I'm using the Conceptronic
CBT100C PCMCIA card on the system. The card is initialized with
"hciattach ttyS2 bcsp". Basically, the system works fine, but I see
occasional overrun errors on the UART, maybe because the ARM7 is running
with 40MHz only. When I transmit larger packets (l2ping -s 300 ...), the
number of overrun errors increases, and sometimes the system locks up.
I'm getting an endless sequence of:

bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
...

Regards,
Erwin




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2004-10-23 13:55:50

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] lockup problem with larger packets

Hi Erwin,

> I have cross-compiled bluez for uClinux-2.4.20 for ARM7, with the bluez
> kernel patch applied, and bluez-utils 2.10. I'm using the Conceptronic
> CBT100C PCMCIA card on the system. The card is initialized with
> "hciattach ttyS2 bcsp". Basically, the system works fine, but I see
> occasional overrun errors on the UART, maybe because the ARM7 is running
> with 40MHz only. When I transmit larger packets (l2ping -s 300 ...), the
> number of overrun errors increases, and sometimes the system locks up.
> I'm getting an endless sequence of:
>
> bcsp_pkt_cull: Peer acked invalid packet
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_pkt_cull: Peer acked invalid packet
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_pkt_cull: Peer acked invalid packet
> ...

I am not a BCSP or uClinux expert so I think that I can't help you here,
but from my testing with the BCSP part of the hci_uart driver I never
saw any problems like this.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users