LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2021, 09:42 AM   #1
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Bluetooth freezes the boot process


I have a Lenovo Thinkpad T15 Gen2 20W4000NUK laptop. It's about 5 months old. It works fine for what I need.
I have not used windows since 1998, so I tried to install Debian10 when I bought it, but there were multiple failures. So I tried Ubuntu 20.04 [kernel 5.11.0-38-generic] and.. . it worked!
But I really don't like Ubuntu (long story) and am trying to get Debian11 [kernel 5.10.0-9.amd64] installed. I downloaded debian-live-11.1.0-amd64-gnome+nonfree.iso which is supposed to have the firmware blobs for closed-source hardware and booted from it.
The installation process went fine, the problem starts when I try to boot Debian11.

The boot process stalls with

Reached target Bluetooth...
Intel read version failed (-22)


repeated forever, and I have to power it off.

My bluetooth chipset is Intel:
(This listing was generated whilst I was running Ubuntu)
Code:
tred@lenovot:~$ hwinfo --bluetooth
07: USB 00.0: 11500 Bluetooth Device                            
  [Created at usb.122]
  Unique ID: t1E6.TVFYDojFh73
  Parent ID: uIhY.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0
  SysFS BusID: 3-10:1.0
  Hardware Class: bluetooth
  Model: "Intel Bluetooth Device"
  Hotplug: USB
  Vendor: usb 0x8087 "Intel Corp."
  Device: usb 0x0032 
  Driver: "btusb"
  Driver Modules: "btusb"
  Speed: 12 Mbps
  Module Alias: "usb:v8087p0032d0000dcE0dsc01dp01icE0isc01ip01in00"
  Driver Info #0:
    Driver Status: btusb is active
    Driver Activation Cmd: "modprobe btusb"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #5 (Hub)
tred@lenovot:~$
So, I would like to disable bluetooth at boot for Debian11.

If I could boot to a terminal I could try systemctl disable bluetooth.service but the boot process stalls before I can get to a terminal.

I have tried mounting the Debian11 partition and renaming /usr/lib/systemd/system/bluetooth.service to /usr/lib/systemd/system/bluetooth.service.disabled and renaming /etc/systemd/system/dbus-org.bluez.service (which is a link to the above) to /etc/systemd/system/dbus-org.bluez.service.disabled but I still get the same error messages at boot, and have to power it off.

I have tried to disable bluetooth in the UEFI "BIOS" but there is no such option.

Is there something I can pass to the kernel via grub, that'll disable any attempts to install bluetooth stuff?

EDIT An update:
If I wait several minutes, I can eventually log into gnome, and open a terminal.
I did systemctl disable bluetooth.service (as root), applied all the updates (mainly openoffice stuff) and rebooted.
The problem still exists.

Any suggestions welcome. I hate bluetooth, and don't need it at all.
/EDIT

Last edited by tredegar; 10-27-2021 at 10:16 AM. Reason: Additional information
 
Old 10-27-2021, 10:57 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,899

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
I'm not really sure if it was bluetooth related. see for example here: https://www.reddit.com/r/NixOS/comme...shly_finished/
 
Old 10-27-2021, 11:03 AM   #3
RebeccaHill
LQ Newbie
 
Registered: Oct 2021
Posts: 4

Rep: Reputation: 0
Nice update as usual. Thank you so much for sharing this information.
 
Old 10-27-2021, 11:26 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Original Poster
Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Progress, at last.

I saw this in Debian's /var/log/kern.log repeated again and again.

Code:
Oct 27 15:59:11 lenovo kernel: [  631.440594] usb 3-10: USB disconnect, device number 84
Oct 27 15:59:12 lenovo kernel: [  631.877382] usb 3-10: new full-speed USB device number 85 using xhci_hcd
Oct 27 15:59:12 lenovo kernel: [  632.027682] usb 3-10: New USB device found, idVendor=8087, idProduct=0032, bcdDevice= 0.00
Oct 27 15:59:12 lenovo kernel: [  632.027686] usb 3-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Oct 27 15:59:12 lenovo kernel: [  632.031157] Bluetooth: hci0: Reading Intel version information failed (-22)
Oct 27 15:59:12 lenovo kernel: [  632.031166] Bluetooth: hci0: Intel Read version failed (-22)
Oct 27 15:59:12 lenovo kernel: [  632.031225] Bluetooth: hci0: Intel reset sent to retry FW download
Oct 27 15:59:12 lenovo kernel: [  632.031929] usb 3-10: USB disconnect, device number 85
So, maybe it's a firmware version problem? Ubuntu's kernel is a little newer than Debian's, but firmware is firmware, right?
I did mv Debian11:/lib/firmware Debian11:/lib/firmware.Deb and then cp -a Ubuntu:/usr/lib/firmware Debian:/usr/lib/

Rebooted Debian11 and success! Fast boot, no error messages.

I don't know which exactly of all those firmware blobs was at fault, but the problem is solved for now.
Thanks for your interest.
Hope I can now work out how to mark this as solved...

Last edited by tredegar; 10-27-2021 at 11:58 AM. Reason: syntax
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bluetooth Stopped Working "Unknown Bluetooth Controller in /etc/bluetooth/main.conf" PasBern Linux - Hardware 5 06-15-2021 10:39 AM
API for current running process details like process name, process id, amount of memory used anki123 Linux - General 1 01-20-2019 02:06 AM
[SOLVED] bluetooth dongle + bluetooth speaker but no sound on the bluetooth speaker vonbiber Slackware 4 05-11-2017 09:53 AM
Finding the Process ID of a Process While Initiating the Process senthilmuthiah Linux - Newbie 7 04-02-2009 10:37 AM
fedora core 2 (FC2) freezes while running. Cannot boot into KDE it freezes mraswan Fedora 0 05-25-2004 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration