bluetooth headset stops working

Bug #1114516 reported by Kiwinote
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I have a Dell mini 9 with a usb bluetooth adapter and a bluetooth headset. For the last while (possibly since the 3.8 kernel has been in raring) I can pair the headset, but within a minute bluetooth stops working and a black screen with white text flashes up briefly. Hereafter the sound indicator --> sound settings no longer shows any audio devices. /var/log/kern.log for this session is attached. Please let me know if you need any additional info.

Feb 3 19:15:36 fourish kernel: [23400.481233] BUG: unable to handle kernel NULL pointer dereference at 00000280
Feb 3 19:15:36 fourish kernel: [23400.481454] IP: [<f8646774>] hci_send_sco+0x14/0x80 [bluetooth]
Feb 3 19:15:36 fourish kernel: [23400.481646] *pdpt = 00000000217fc001 *pde = 0000000000000000
Feb 3 19:15:36 fourish kernel: [23400.481821] Oops: 0000 [#1] SMP
Feb 3 19:15:36 fourish kernel: [23400.481933] Modules linked in: btusb ath3k coretemp joydev(F) hid_logitech ff_memless arc4(F) b43 snd_hda_codec_realtek bcma mac80211 dell_laptop compal_laptop dcdbas snd_hda_intel i915 cfg80211 snd_hda_codec snd_hwdep(F) microcode(F) snd_pcm(F) uvcvideo snd_page_alloc(F) videobuf2_vmalloc videobuf2_memops videobuf2_core snd_seq_midi(F) snd_seq_midi_event(F) drm_kms_helper videodev jmb38x_ms snd_rawmidi(F) usbhid hid drm lpc_ich psmouse(F) serio_raw(F) snd_seq(F) i2c_algo_bit memstick snd_seq_device(F) snd_timer(F) snd(F) soundcore(F) rfcomm bnep bluetooth parport_pc(F) ppdev(F) video(F) mac_hid binfmt_misc(F) lp(F) parport(F) r8169 ssb sdhci_pci sdhci
Feb 3 19:15:36 fourish kernel: [23400.484012] Pid: 5066, comm: bluetooth Tainted: GF 3.8.0-4-generic #8-Ubuntu Dell Inc. Inspiron 910/
Feb 3 19:15:36 fourish kernel: [23400.484025] EIP: 0060:[<f8646774>] EFLAGS: 00010286 CPU: 0
Feb 3 19:15:36 fourish kernel: [23400.484025] EIP is at hci_send_sco+0x14/0x80 [bluetooth]
Feb 3 19:15:36 fourish kernel: [23400.484025] EAX: 00000000 EBX: f6abca00 ECX: e14183e0 EDX: f3f5e500
Feb 3 19:15:36 fourish kernel: [23400.484025] ESI: 00000030 EDI: f3f3fe98 EBP: f3f3fd88 ESP: f3f3fd74
Feb 3 19:15:36 fourish kernel: [23400.484025] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Feb 3 19:15:36 fourish kernel: [23400.484025] CR0: 80050033 CR2: 00000280 CR3: 1edcc000 CR4: 000007e0
Feb 3 19:15:36 fourish kernel: [23400.484025] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
Feb 3 19:15:36 fourish kernel: [23400.484025] DR6: ffff0ff0 DR7: 00000400
Feb 3 19:15:36 fourish kernel: [23400.484025] Process bluetooth (pid: 5066, ti=f3f3e000 task=c1c08cd0 task.ti=f3f3e000)
Feb 3 19:15:36 fourish kernel: [23400.484025] Stack:
Feb 3 19:15:36 fourish kernel: [23400.484025] c152560f f3f5e438 f6abca00 00000030 f3f3fe98 f3f3fdac f86646aa f3f3fd9c
Feb 3 19:15:36 fourish kernel: [23400.484025] e14183e0 f3f5e500 00000000 e86fd980 00000030 f8668d00 f3f3fe84 c151abbc
Feb 3 19:15:36 fourish kernel: [23400.484025] 00000030 f3f3fea0 f3f3fe00 f3f3fe18 c108446b f73f3710 00000030 e86fd980
Feb 3 19:15:36 fourish kernel: [23400.484025] Call Trace:
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c152560f>] ? memcpy_fromiovec+0x3f/0x70
Feb 3 19:15:36 fourish kernel: [23400.484025] [<f86646aa>] sco_sock_sendmsg+0xfa/0x180 [bluetooth]
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c151abbc>] sock_sendmsg+0x9c/0xd0
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c108446b>] ? enqueue_entity+0x4db/0xd40
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c151bc8d>] sys_sendto+0xfd/0x140
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c107c56f>] ? wake_up_state+0xf/0x20
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c10a3945>] ? wake_futex+0x65/0x80
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c10a3a4e>] ? futex_wake+0xee/0x110
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c10a5bbb>] ? do_futex+0xeb/0x550
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c151bd0b>] sys_send+0x3b/0x40
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c151c655>] sys_socketcall+0x185/0x2d0
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c12f2091>] ? copy_to_user+0x41/0x60
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c106af28>] ? sys_clock_gettime+0x48/0x70
Feb 3 19:15:36 fourish kernel: [23400.484025] [<c161758d>] sysenter_do_call+0x12/0x28
Feb 3 19:15:36 fourish kernel: [23400.484025] Code: ff e9 19 ff ff ff 90 89 fa 89 f0 e8 77 bc ed c8 eb 9a 90 8d 74 26 00 55 89 e5 83 ec 14 89 5d f4 89 75 f8 89 7d fc 3e 8d 74 26 00 <8b> b0 80 02 00 00 0f b7 48 14 89 c7 8b 42 50 89 d3 ba 03 00 00
Feb 3 19:15:36 fourish kernel: [23400.484025] EIP: [<f8646774>] hci_send_sco+0x14/0x80 [bluetooth] SS:ESP 0068:f3f3fd74
Feb 3 19:15:36 fourish kernel: [23400.484025] CR2: 0000000000000280
Feb 3 19:15:36 fourish kernel: [23400.543629] ---[ end trace f521fe079a905b72 ]---
---
ApportVersion: 2.8-0ubuntu4
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pgg 1914 F.... pulseaudio
DistroRelease: Ubuntu 13.04
HibernationDevice: RESUME=UUID=6ef9dd85-75be-4404-b1a7-fee5feae9030
InstallationDate: Installed on 2011-10-18 (474 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
MachineType: Dell Inc. Inspiron 910
MarkForUpload: True
Package: linux 3.8.0.4.17
PackageArchitecture: i386
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-4-generic root=UUID=683a337d-62e1-4db0-95a8-b6d7c554141f ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.8.0-4.8-generic 3.8.0-rc6
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-4-generic N/A
 linux-backports-modules-3.8.0-4-generic N/A
 linux-firmware 1.100
Tags: raring running-unity
Uname: Linux 3.8.0-4-generic i686
UpgradeStatus: Upgraded to raring on 2012-12-18 (47 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/29/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A06
dmi.board.vendor: Dell Inc.
dmi.board.version: A06
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A06
dmi.modalias: dmi:bvnDellInc.:bvrA06:bd12/29/2009:svnDellInc.:pnInspiron910:pvrA06:rvnDellInc.:rn:rvrA06:cvnDellInc.:ct8:cvrA06:
dmi.product.name: Inspiron 910
dmi.product.version: A06
dmi.sys.vendor: Dell Inc.

Revision history for this message
Kiwinote (kiwinote) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1114516

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: raring
Revision history for this message
Kiwinote (kiwinote) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected running-unity
description: updated
Revision history for this message
Kiwinote (kiwinote) wrote : BootDmesg.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : CRDA.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : Dependencies.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : IwConfig.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : Lspci.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : Lsusb.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : ProcEnviron.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : ProcModules.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : PulseList.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : RfKill.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : UdevDb.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : UdevLog.txt

apport information

Revision history for this message
Kiwinote (kiwinote) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: hci-send-sco
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.8 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc6-raring/

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Kiwinote (kiwinote) wrote :
Download full text (4.9 KiB)

The issue persists with the mainline kernel:

Feb 5 09:59:56 fourish kernel: [ 93.307359] BUG: unable to handle kernel NULL pointer dereference at 00000280
Feb 5 09:59:56 fourish kernel: [ 93.307587] IP: [<f868f7b4>] hci_send_sco+0x14/0x80 [bluetooth]
Feb 5 09:59:56 fourish kernel: [ 93.307780] *pdpt = 0000000020d51001 *pde = 0000000000000000
Feb 5 09:59:56 fourish kernel: [ 93.307945] Oops: 0000 [#1] SMP
Feb 5 09:59:56 fourish kernel: [ 93.308019] Modules linked in: btusb snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm coretemp snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi dell_laptop arc4 compal_laptop uvcvideo snd_seq videobuf2_vmalloc dcdbas b43 videobuf2_memops bcma i915 videobuf2_core snd_seq_device mac80211 psmouse ath3k snd_timer videodev drm_kms_helper microcode lpc_ich joydev snd jmb38x_ms drm serio_raw memstick cfg80211 soundcore i2c_algo_bit video mac_hid bnep rfcomm bluetooth parport_pc ppdev binfmt_misc lp parport hid_logitech ff_memless usbhid hid ssb r8169 sdhci_pci sdhci
Feb 5 09:59:56 fourish kernel: [ 93.308019] Pid: 2091, comm: bluetooth Not tainted 3.8.0-030800rc6-generic #201301312135 Dell Inc. Inspiron 910/
Feb 5 09:59:56 fourish kernel: [ 93.308019] EIP: 0060:[<f868f7b4>] EFLAGS: 00010282 CPU: 0
Feb 5 09:59:56 fourish kernel: [ 93.308019] EIP is at hci_send_sco+0x14/0x80 [bluetooth]
Feb 5 09:59:56 fourish kernel: [ 93.308019] EAX: 00000000 EBX: e0fc8c00 ECX: da7422a0 EDX: e0fc8c00
Feb 5 09:59:56 fourish kernel: [ 93.308019] ESI: 00000030 EDI: da679eac EBP: da679d68 ESP: da679d54
Feb 5 09:59:56 fourish kernel: [ 93.308019] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Feb 5 09:59:56 fourish kernel: [ 93.308019] CR0: 80050033 CR2: 00000280 CR3: 2172c000 CR4: 000007e0
Feb 5 09:59:56 fourish kernel: [ 93.308019] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
Feb 5 09:59:56 fourish kernel: [ 93.308019] DR6: ffff0ff0 DR7: 00000400
Feb 5 09:59:56 fourish kernel: [ 93.308019] Process bluetooth (pid: 2091, ti=da678000 task=da63b340 task.ti=da678000)
Feb 5 09:59:56 fourish kernel: [ 93.308019] Stack:
Feb 5 09:59:56 fourish kernel: [ 93.308019] c153092f e0fc8838 e0fc8c00 00000030 da679eac da679d8c f86ae7b3 da679d7c
Feb 5 09:59:56 fourish kernel: [ 93.308019] da679e98 da7422a0 00000000 e0e0fc00 da679e90 ffffff95 da679da4 f86aef23
Feb 5 09:59:56 fourish kernel: [ 93.308019] 00000030 f86b2d00 d7fa0780 da679e34 da679e80 c1524d41 00000030 00000030
Feb 5 09:59:56 fourish kernel: [ 93.308019] Call Trace:
Feb 5 09:59:56 fourish kernel: [ 93.308019] [<c153092f>] ? memcpy_fromiovec+0x3f/0x70
Feb 5 09:59:56 fourish kernel: [ 93.308019] [<f86ae7b3>] sco_send_frame.isra.2+0xc3/0x120 [bluetooth]
Feb 5 09:59:56 fourish kernel: [ 93.308019] [<f86aef23>] sco_sock_sendmsg+0x73/0x90 [bluetooth]
Feb 5 09:59:56 fourish kernel: [ 93.308019] [<c1524d41>] sock_sendmsg+0xd1/0xf0
Feb 5 09:59:56 fourish kernel: [ 93.308019] [<c10875ec>] ? enqueue_task_fair+0x5cc/0x7b0
Feb 5 09:59:56 fourish kernel: [ 93.308019] [<c10bca19>] ? __stop_machine+0x99/0xd0
Feb 5 09:59:56 fourish kernel: [ 93.308019] [<c1526a9e>] sys_sendto+...

Read more...

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I'd like to perform a bisect to figure out what commit caused this regression. It would be very helpful to know the earliest kernel where the issue started happening as well as the latest kernel that did not have this issue.

Can you test the following kernels and report back? We are looking for the first kernel version that exhibits this bug:

v3.6 final: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/
v3.7 final: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7-raring/
v3.8-rc1: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc1-raring/

You don't have to test every kernel, just up until the kernel that first has this bug.

Thanks in advance!

tags: added: performing-bisect
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Kiwinote (kiwinote) wrote :

Hi! I tested the mainline kernels 3.7, 3.7.1, 3.7.2, 3.7.6 and they all seem to work, so it would seem that the 3.7 line never regressed. I tested the mainline kernel 3.8-rc1 (and earlier also 3.8-rc6) and they both hit this issue.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I started a kernel bisect between v3.7 final and v3.8-rc1. The kernel bisect will require testing of about 7-10 test kernels.

I built the first test kernel, up to the following commit:
6be35c700f742e911ecedd07fcc43d4439922334

The test kernel can be downloaded from:
http://people.canonical.com/~jsalisbury/lp1114516

Can you test that kernel and report back if it has the bug or not. I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
Kiwinote (kiwinote) wrote :

Is there any chance you might be able to provide packages for i386? Thanks

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Sorry for the delay. I was able to build a 32 bit kernel, which can be downloaded from:
http://people.canonical.com/~jsalisbury/lp1114516

Can you test that kernel and report back if it has the bug or not. I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.