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


Groups > linux.debian.kernel > #84956 > unrolled thread

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

Started byForest <forestix@nom.one>
First post2024-12-27 21:50 +0100
Last post2025-02-18 20:10 +0100
Articles 7 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  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

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

FromForest <forestix@nom.one>
Date2024-12-27 21:50 +0100
SubjectBug#1091517: linux: xhci regression breaks fastboot usb communication with android bootloader
Message-ID<JYprr-3hBw-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#84957 — Processed: Re: Bug#1091517: linux: xhci regression breaks fastboot usb communication with android bootloader

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-12-27 22:20 +0100
SubjectProcessed: Re: Bug#1091517: linux: xhci regression breaks fastboot usb communication with android bootloader
Message-ID<JYpUt-3i9q-1@gated-at.bofh.it>
In reply to#84956
Processing control commands:

> found -1 6.11.9+1
Bug #1091517 [src:linux] linux: xhci regression breaks fastboot usb communication with android bootloader
The source 'linux' and version '6.11.9+1' do not appear to match any binary packages
Marked as found in versions linux/6.11.9+1.

-- 
1091517: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091517
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#84958

FromForest <forestix@nom.one>
Date2024-12-27 22:20 +0100
Message-ID<JYpUt-3i9q-3@gated-at.bofh.it>
In reply to#84956
Control: found -1 6.11.9+1

This is still broken in upstream kernel 6.13-rc4.

The last working Debian kernel I've used was 6.9.12.

[toc] | [prev] | [next] | [standalone]


#84959

FromForest <forestix@nom.one>
Date2024-12-28 04:40 +0100
Message-ID<JYvQd-3mfK-1@gated-at.bofh.it>
In reply to#84956
Reported upstream:

https://lore.kernel.org/stable/hk8umj9lv4l4qguftdq1luqtdrpa1gks5l@sonic.net/

Tracked by regzbot:

https://linux-regtracking.leemhuis.info/regzbot/regression/lore/hk8umj9lv4l4qguftdq1luqtdrpa1gks5l@sonic.net/

[toc] | [prev] | [next] | [standalone]


#85505

FromForest <forestix@nom.one>
Date2025-02-14 10:30 +0100
Message-ID<Kg0bf-gHrV-3@gated-at.bofh.it>
In reply to#84956
A patch for this has been submitted upstream:

https://lore.kernel.org/linux-usb/20250206151836.51742-1-mathias.nyman@linux.intel.com/T/#u

Current status:

On Fri, 14 Feb 2025 09:27:21 +0100, <gregkh@linuxfoundation.org> wrote:

>This is a note to let you know that I've just added the patch titled
>
>    USB: Add USB_QUIRK_NO_LPM quirk for sony xperia xz1 smartphone
>
>to my usb git tree which can be found at
>    git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
>in the usb-linus branch.
>
>The patch will show up in the next release of the linux-next tree
>(usually sometime within the next 24 hours during the week.)
>
>The patch will hopefully also be merged in Linus's tree for the
>next -rc kernel release.

[toc] | [prev] | [next] | [standalone]


#85531 — Bug#1091517: marked as done (linux: xhci regression breaks fastboot usb communication with android bootloader)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-02-18 13:40 +0100
SubjectBug#1091517: marked as done (linux: xhci regression breaks fastboot usb communication with android bootloader)
Message-ID<Khv3j-8nE-11@gated-at.bofh.it>
In reply to#84956

[Multipart message — attachments visible in raw view] — view raw

Your message dated Tue, 18 Feb 2025 12:30:35 +0000
with message-id <E1tkMkF-004lwa-O5@fasolo.debian.org>
and subject line Bug#1091517: fixed in linux 6.13.3-1~exp1
has caused the Debian Bug report #1091517,
regarding linux: xhci regression breaks fastboot usb communication with android bootloader
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1091517: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091517
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#85568 — Bug#1091517: marked as done (linux: xhci regression breaks fastboot usb communication with android bootloader)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-02-18 20:10 +0100
SubjectBug#1091517: marked as done (linux: xhci regression breaks fastboot usb communication with android bootloader)
Message-ID<KhB8L-coX-29@gated-at.bofh.it>
In reply to#84956

[Multipart message — attachments visible in raw view] — view raw

Your message dated Tue, 18 Feb 2025 19:00:16 +0000
with message-id <E1tkSpM-0068Vk-KP@fasolo.debian.org>
and subject line Bug#1091517: fixed in linux 6.12.15-1
has caused the Debian Bug report #1091517,
regarding linux: xhci regression breaks fastboot usb communication with android bootloader
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1091517: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091517
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web