• Bug#1091517: linux: xhci regression breaks fastboot usb communication w

    From Forest@21:1/5 to All on Fri Dec 27 21:50:01 2024
    XPost: linux.debian.kernel

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Forest@21:1/5 to All on Fri Dec 27 22:20:01 2024
    XPost: linux.debian.kernel

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Forest@21:1/5 to All on Sat Dec 28 04:40:01 2024
    XPost: linux.debian.kernel

    Reported upstream:

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

    Tracked by regzbot:

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)