Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #84956

Bug#1091517: linux: xhci regression breaks fastboot usb communication with android bootloader

From Forest <forestix@nom.one>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1091517: linux: xhci regression breaks fastboot usb communication with android bootloader
Date 2024-12-27 21:50 +0100
Message-ID <JYprr-3hBw-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Source: linux
Version: 6.12.6-1
Severity: normal
X-Debbugs-Cc: forestix@nom.one

Dear Maintainer,

After upgrading from the 6.6.x kernel to the 6.11 series, fastboot (the
tool for communicating with Android bootloaders) fails to perform
various operations over USB.

I use fastboot to install kernels on LineageOS phones. Without it, I am
no longer able to apply security updates to these devices.
The problem also manifests with simpler operations like reading a
variable from the bootloader. For example:

  fastboot getvar kernel

A typical error message when the failure occurs:

  getvar:kernel  FAILED (remote: 'GetVar Variable Not found')

I can reproduce this at will. It happens about 50% of the time when I
run the above getvar command, and almost all the time when I try to push
a new kernel to the device.

This is an upstream bug. I have not yet reported it upstream, but I
intend to once I figure out whom to include in the email. (If someone
here knows the best upstream lists & individual contacts to include,
please tell me.)

Git bisect reveals this as the offending commit:
63a1f8454962a64746a59441687dc2401290326c
xhci: stored cached port capability values in one place

-- System Information:
Debian Release: 12.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (1, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.6-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1091517: linux: xhci regression breaks fastboot usb communication with android bootloader Forest <forestix@nom.one> - 2024-12-27 21:50 +0100
  Processed: Re: Bug#1091517: linux: xhci regression breaks  fastboot usb communication with android bootloader "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-12-27 22:20 +0100
  Bug#1091517: linux: xhci regression breaks fastboot usb communication with android bootloader Forest <forestix@nom.one> - 2024-12-27 22:20 +0100
  Bug#1091517: linux: xhci regression breaks fastboot usb communication with android bootloader Forest <forestix@nom.one> - 2024-12-28 04:40 +0100
  Bug#1091517: linux: xhci regression breaks fastboot usb communication with android bootloader Forest <forestix@nom.one> - 2025-02-14 10:30 +0100
  Bug#1091517: marked as done (linux: xhci regression breaks  fastboot usb communication with android bootloader) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-18 13:40 +0100
  Bug#1091517: marked as done (linux: xhci regression breaks  fastboot usb communication with android bootloader) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-18 20:10 +0100

csiph-web