New: Unable to transfer big files to Nokia N9 and Jolla phone
https://bugzilla.kernel.org/show_bug.cgi?id=215594
Bug ID: 215594
Summary: Unable to transfer big files to Nokia N9 and Jolla
phone
Product: Drivers
Version: 2.5
Kernel Version: 5.16-rc1
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Bluetooth
Assignee: [email protected]
Reporter: [email protected]
Regression: NoCreated attachment 300440
--> https://bugzilla.kernel.org/attachment.cgi?id=300440&action=edit
Output of btmon --write /dev/shm/btmon-trace.log
Created Bugzilla issue to upload log files.
Unfortunately, I do not know, how to capture obexd logs. obexd -d did not print any messages to the terminal. obexctl --monitor also did not get it more verbose.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
[Bug 215594] Unable to transfer big files to Nokia N9 and Jolla phone
https://bugzilla.kernel.org/show_bug.cgi?id=215594
Luiz Von Dentz ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Luiz Von Dentz ([email protected]) ---
Quoted 3 lines
ACL Data RX: Handle 256 flags
0x02dlen 15#102[hci0] 40.702432
Channel: 65 len 11 [PSM 3 mode Basic (0x00)] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x49 cr 0 dlci 0x12
Control: 0xef poll/final 0
Length: 7
FCS: 0x14
a0 00 07 10 00 7f ff 14 ........ = obexctl: [^A^BNEW^A^B] Session /org/bluez/obex/client/session0 [default]
40.703445
= obexctl: [^A^BNEW^A^B] ObjectPush /org/bluez/obex/client/session0
40.703761
= obexctl: Connection successful
40.703803
= obexctl: send /lib/systemd/systemd
46.405464
= obexctl: Attempting to send /lib/systemd/systemd to /org/bluez/obex/client/session0
46.405516
= obexctl: [^A^BNEW^A^B] Transfer /org/bluez/obex/client/session0/transfer0
46.407098
= obexctl: Transfer /org/bluez/obex/client/session0/transfer0
46.407161
= obexctl: Status: queued
46.40>
= obexctl: Name: systemd
46.40>
= obexctl: Size: 1845808
46.40>
= obexctl: Filename: /lib/systemd/systemd
46.40>
= obexctl: Session: /org/bluez/obex/client/session0
46.40>
= obexctl: [^A^BCHG^A^B] Transfer /org/bluez/obex/client/session0/transfer0
Status: active
47.629711
= obexctl: [^A^BCHG^A^B] Transfer /org/bluez/obex/client/session0/transfer0
Transferred: 32737 (@32KB/s 00:55)
47.630411
= obexctl: [^A^BCHG^A^B] Transfer /org/bluez/obex/client/session0/transfer0
Status: error
106.630035
= obexctl: [^A^BDEL^A^B] Transfer /org/bluez/obex/client/session0/transfer0
So the transfer apparently didn't even start, with what system are you traying to communicate to?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
[Bug 215594] Unable to transfer big files to Nokia N9 and Jolla phone
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=215594
--- Comment #2 from Paul Menzel ([email protected]) --- Thank you for looking into this.
Quoted 2 lines
So the transfer apparently didn't even start, with what system are you traying to communicate to?
Nokia N9 (MeeGo/Harmattan)
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
[Bug 215594] Unable to transfer big files to Nokia N9 and Jolla phone
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=215594
--- Comment #3 from Paul Menzel ([email protected]) --- Just to also document it here, commit 81be03e026dc (Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg) introduced that regression, and reverting this fixes the issue.
[1]:
https://lore.kernel.org/linux-bluetooth/[email protected]/T/#m04445e920610d42a9510d0f6d97afa5376e4a3ca
[2]:
https://lore.kernel.org/linux-bluetooth/[email protected]/
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
[Bug 215594] Unable to transfer big files to Nokia N9 and Jolla phone
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=215594
Paul Menzel ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pmenzel+bugzilla.kernel.org
| |@molgen.mpg.de--- Comment #4 from Paul Menzel ([email protected]) --- Created attachment 300441
--> https://bugzilla.kernel.org/attachment.cgi?id=300441&action=edit
Output of btmon --write /dev/shm/btmon-trace-small-file.log
btmon log, when sending a small file (3 bytes):
$ more test.txt
btSignature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
[Bug 215594] Unable to transfer big files to Nokia N9 and Jolla phone
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=215594
Tedd An ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #5 from Tedd An ([email protected]) ---
I tested with latest BlueZ(HEAD:
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=002c0c9eda0052a834ddd4b63026f534b7d52f14)
without reverting the commits in #3(https://bugzilla.kernel.org/show_bug.cgi?id=215594#c3) and RFCOMM worked fine.
I tested both Windows 10 and MAC OS and was able to send and receive the files.
Please try it with the latest BlueZ and see if it makes any difference.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
[Bug 215594] Unable to transfer big files to Nokia N9 and Jolla phone
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=215594
--- Comment #6 from Paul Menzel ([email protected]) --- Thank you for looking into this. Did you test with MeeGo/Harmattan or Sailfish OS?
Also, it wouldn’t make a difference, as Linux’ no-regression-policy requires, that the everything keeps working with the existing user space.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
[Bug 215594] Unable to transfer big files to Nokia N9 and Jolla phone
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=215594
--- Comment #7 from Paul Menzel ([email protected]) --- (As written in the mailing list thread, with the Android phone Galaly M32 the file transfer succeeded.)
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
[Bug 215594] Unable to transfer big files to Nokia N9 and Jolla phone
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=215594
--- Comment #8 from Luiz Von Dentz ([email protected]) --- (In reply to Paul Menzel from comment #6)
Quoted 5 lines
Thank you for looking into this. Did you test with MeeGo/Harmattan or Sailfish OS?
Also, it wouldn’t make a difference, as Linux’ no-regression-policy requires, that the everything keeps working with the existing user space.
How about getting some logs from obexd then? Stop obexd.service and start with obexd/src/obexd -dn
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
[Bug 215594] Unable to transfer big files to Nokia N9 and Jolla phone
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=215594
--- Comment #9 from Paul Menzel ([email protected]) --- Created attachment 300461
--> https://bugzilla.kernel.org/attachment.cgi?id=300461&action=edit
Output of /usr/libexec/bluetooth/obexd -dn
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.