Bluetooth: hci0 failed to open Intel firmware file

Bug #1331149 reported by Patrik Lundquist
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Loading the Bluetooth firmware doesn't always work after resume. There are examples of both success and failure in the dmesg.

$ ls -l /lib/firmware/intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
-rw-r--r-- 1 root root 17917 jan 30 14:13 /lib/firmware/intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq

[44897.486087] Bluetooth: hci0: read Intel version: 370710018002030d00
[44897.486095] ------------[ cut here ]------------
[44897.486102] WARNING: CPU: 0 PID: 381 at /build/buildd/linux-3.13.0/drivers/base/firmware_class.c:1089 _request_firmware+0x5d9/0xb10()
[44897.473636] Restarting tasks ...
[44897.486104] Modules linked in: ctr ccm arc4 iwlmvm mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi coretemp snd_hda_codec_realtek kvm_intel bnep rfcomm snd_hda_intel kvm snd_hda_codec snd_hwdep joydev snd_pcm serio_raw snd_page_alloc iwlwifi snd_seq_midi thinkpad_acpi snd_seq_midi_event nvram lpc_ich snd_rawmidi cfg80211 btusb snd_seq snd_seq_device rtsx_pci_ms snd_timer intel_smartconnect mac_hid memstick bluetooth snd soundcore parport_pc ppdev nls_iso8859_1 lp parport dm_crypt rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw i915 gf128mul glue_helper ablk_helper cryptd psmouse i2c_algo_bit e1000e drm_kms_helper ahci drm libahci ptp rtsx_pci pps_core wmi video
[44897.486160] CPU: 0 PID: 381 Comm: kworker/u17:1 Not tainted 3.13.0-29-generic #53-Ubuntu
[44897.486162] Hardware name: LENOVO 20AM009DMS/20AM009DMS, BIOS GIET74WW (2.24 ) 05/13/2014
[44897.486176] Workqueue: hci0 hci_power_on [bluetooth]
[44897.486179] 0000000000000009 ffff880232315bc8 ffffffff8171a214 0000000000000000
[44897.486183] ffff880232315c00 ffffffff810676bd ffff880232315d28 ffff880231408b80
[44897.486187] ffff880168b1ee40 00000000fffffff5 ffff880232315d20 ffff880232315c10
[44897.486190] Call Trace:
[44897.486197] [<ffffffff8171a214>] dump_stack+0x45/0x56
[44897.486201] [<ffffffff810676bd>] warn_slowpath_common+0x7d/0xa0
[44897.486204] [<ffffffff8106779a>] warn_slowpath_null+0x1a/0x20
[44897.486208] [<ffffffff814a3229>] _request_firmware+0x5d9/0xb10
[44897.486212] [<ffffffff814a3794>] request_firmware+0x34/0x50
[44897.486217] [<ffffffffa0272e44>] btusb_setup_intel+0x1b4/0x7f0 [btusb]
[44897.486229] [<ffffffffa028bbd5>] hci_dev_do_open+0x275/0x760 [bluetooth]
[44897.486239] [<ffffffffa028c6b0>] hci_power_on+0x40/0x180 [bluetooth]
[44897.486243] [<ffffffff810838a2>] process_one_work+0x182/0x450
[44897.486246] [<ffffffff81084641>] worker_thread+0x121/0x410
[44897.486250] [<ffffffff81084520>] ? rescuer_thread+0x3e0/0x3e0
[44897.486253] [<ffffffff8108b322>] kthread+0xd2/0xf0
[44897.486256] [<ffffffff8108b250>] ? kthread_create_on_node+0x1d0/0x1d0
[44897.486260] [<ffffffff8172ab3c>] ret_from_fork+0x7c/0xb0
[44897.486263] [<ffffffff8108b250>] ? kthread_create_on_node+0x1d0/0x1d0
[44897.486266] ---[ end trace dc2cb2f3b632ce87 ]---
[44897.486270] bluetooth hci0: firmware: intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq will not be loaded
[44897.486274] Bluetooth: hci0 failed to open Intel firmware file: intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq(-11)
[44897.486277] ------------[ cut here ]------------
[44897.486280] WARNING: CPU: 0 PID: 381 at /build/buildd/linux-3.13.0/drivers/base/firmware_class.c:1089 _request_firmware+0x5d9/0xb10()
[44897.486282] Modules linked in: ctr ccm arc4 iwlmvm mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi coretemp snd_hda_codec_realtek kvm_intel bnep rfcomm snd_hda_intel kvm snd_hda_codec snd_hwdep joydev snd_pcm serio_raw snd_page_alloc iwlwifi snd_seq_midi thinkpad_acpi snd_seq_midi_event nvram lpc_ich snd_rawmidi cfg80211 btusb snd_seq snd_seq_device rtsx_pci_ms snd_timer intel_smartconnect mac_hid memstick bluetooth snd soundcore parport_pc ppdev nls_iso8859_1 lp parport dm_crypt rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw i915 gf128mul glue_helper ablk_helper cryptd psmouse i2c_algo_bit e1000e drm_kms_helper ahci drm libahci ptp rtsx_pci pps_core wmi video
[44897.486322] CPU: 0 PID: 381 Comm: kworker/u17:1 Tainted: G W 3.13.0-29-generic #53-Ubuntu
[44897.486323] Hardware name: LENOVO 20AM009DMS/20AM009DMS, BIOS GIET74WW (2.24 ) 05/13/2014
[44897.486337] Workqueue: hci0 hci_power_on [bluetooth]
[44897.486339] 0000000000000009 ffff880232315bc8 ffffffff8171a214 0000000000000000
[44897.486343] ffff880232315c00 ffffffff810676bd ffff880232315d28 ffff880231408b80
[44897.486346] ffff880168b1ee40 00000000fffffff5 ffff880232315d20 ffff880232315c10
[44897.486350] Call Trace:
[44897.486354] [<ffffffff8171a214>] dump_stack+0x45/0x56
[44897.486358] [<ffffffff810676bd>] warn_slowpath_common+0x7d/0xa0
[44897.486361] [<ffffffff8106779a>] warn_slowpath_null+0x1a/0x20
[44897.486365] [<ffffffff814a3229>] _request_firmware+0x5d9/0xb10
[44897.486368] [<ffffffff814a3794>] request_firmware+0x34/0x50
[44897.486373] [<ffffffffa02730fd>] btusb_setup_intel+0x46d/0x7f0 [btusb]
[44897.486383] [<ffffffffa028bbd5>] hci_dev_do_open+0x275/0x760 [bluetooth]
[44897.486393] [<ffffffffa028c6b0>] hci_power_on+0x40/0x180 [bluetooth]
[44897.486397] [<ffffffff810838a2>] process_one_work+0x182/0x450
[44897.486400] [<ffffffff81084641>] worker_thread+0x121/0x410
[44897.486403] [<ffffffff81084520>] ? rescuer_thread+0x3e0/0x3e0
[44897.486408] [<ffffffff8108b322>] kthread+0xd2/0xf0
[44897.486410] [<ffffffff8108b250>] ? kthread_create_on_node+0x1d0/0x1d0
[44897.486415] [<ffffffff8172ab3c>] ret_from_fork+0x7c/0xb0
[44897.486418] [<ffffffff8108b250>] ? kthread_create_on_node+0x1d0/0x1d0
[44897.486421] ---[ end trace dc2cb2f3b632ce88 ]---
[44897.486424] bluetooth hci0: firmware: intel/ibt-hw-37.7.bseq will not be loaded
[44897.486427] Bluetooth: hci0 failed to open default Intel fw file: intel/ibt-hw-37.7.bseq

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-29-generic 3.13.0-29.53
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: plu 2187 F.... pulseaudio
 /dev/snd/pcmC1D0p: plu 2187 F...m pulseaudio
 /dev/snd/controlC0: plu 2187 F.... pulseaudio
CurrentDesktop: GNOME
Date: Tue Jun 17 21:08:09 2014
HibernationDevice: RESUME=UUID=11727aa1-1af3-4936-9956-936b91971c1f
InstallationDate: Installed on 2014-05-09 (39 days ago)
InstallationMedia: Ubuntu-GNOME 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
MachineType: LENOVO 20AM009DMS
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-29-generic.efi.signed root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash pcie_aspm=force vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-29-generic N/A
 linux-backports-modules-3.13.0-29-generic N/A
 linux-firmware 1.127.2
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/13/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: GIET74WW (2.24 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20AM009DMS
dmi.board.vendor: LENOVO
dmi.board.version: 0B98401 PRO
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrGIET74WW(2.24):bd05/13/2014:svnLENOVO:pn20AM009DMS:pvrThinkPadX240:rvnLENOVO:rn20AM009DMS:rvr0B98401PRO:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 20AM009DMS
dmi.product.version: ThinkPad X240
dmi.sys.vendor: LENOVO

Revision history for this message
Patrik Lundquist (patrik-lundquist) wrote :
description: updated
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue occur in a previous version of Ubuntu, or is this a new issue?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.15 kernel[0].

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.15-utopic/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Patrik Lundquist (patrik-lundquist) wrote :

It's a rather new laptop so I've only had Trusty installed on it and can't say if it's a new issue. Haven't been using Bluetooth so I didn't notice it until now.

Ten suspend/resume cycles have worked so far with kernel v3.15.1-utopic but it's too early to say if it's fixed since it seems to be a timing/race condition. Will keep on trying.

I haven't looked at the firmware loading code but the disks resume asynchronously in Linux 3.15 which might affect the timing required to trigger the bug.

penalvch (penalvch)
tags: added: latest-bios-2.24
tags: added: needs-upstream-testing
Revision history for this message
Patrik Lundquist (patrik-lundquist) wrote :

It took 15 tries but the bug is in kernel 3.15.1 too.

tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Robert Jordens (jordens) wrote :

Still and the same here on kernel 4.4.0-15-generic, xenial.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

How about bionic and later?

Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
Patrik Lundquist (patrik-lundquist) wrote :

I searched my disco kernel log files and didn't find the error. I haven't used Bluetooth much on the laptop so I don't know when it stopped being a problem or if it's completely gone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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