Hi Alf,

On Mon, Feb 24, 2025 at 05:52:33PM +0100, Salvatore Bonaccorso wrote:
> Hi,
> 
> On Mon, Feb 24, 2025 at 10:57:39PM +0700, Alf Nilsson wrote:
> > Hello Salvatore,
> > 
> > This is the info about the linux-image-6.1.0-31-and64 package:
> > Package: linux-image-6.1.0-31-amd64
> > Version: 6.1.128-1
> > New: yes
> > State: installed
> > Automatically installed: yes
> > Priority: optional
> > Section: kernel
> > Maintainer: Debian Kernel Team <debian-ker...@lists.debian.org>
> > Architecture: amd64
> > Uncompressed Size: 409 M
> > Depends: kmod, linux-base (>= 4.3~), initramfs-tools (>= 0.120+deb8u2) |
> > linux-initramfs-tool
> > Recommends: firmware-linux-free, apparmor
> > Suggests: linux-doc-6.1, debian-kernel-handbook, grub-pc | grub-efi-amd64 |
> > extlinux
> > Conflicts: linux-image-6.1.0-31-amd64-unsigned
> > Breaks: fwupdate (< 12-7), fwupdate:i386 (< 12-7), initramfs-tools (<
> > 0.120+deb8u2), initramfs-tools:i386 (< 0.120+deb8u2), wireless-regdb (<
> > 2019.06.03-1~), wireless-regdb:i386 (< 2019.06.03-1~)
> > Replaces: linux-image-6.1.0-31-amd64-unsigned
> > Provides: $kernel (= 6.1.128-1)
> > Description: Linux 6.1 for 64-bit PCs (signed)
> >  The Linux kernel 6.1 and modules for use on PCs with AMD64, Intel 64 or
> > VIA Nano processors.
> > 
> >  The kernel image and modules are signed for use with Secure Boot.
> > Homepage: https://www.kernel.org/
> > 
> > Notice this:
> > Version: 6.1.128-1
> > 
> > That makes me assume that if I download the linux-kernel 6.1.128-1 code I
> > should have the code that this is compiled from.
> > 
> > So I check: linux_source-6.1:
> > Package: linux-source-6.1
> > Version: 6.1.128-1
> > State: installed
> > Automatically installed: yes
> > Multi-Arch: foreign
> > Priority: optional
> > Section: kernel
> > Maintainer: Debian Kernel Team <debian-ker...@lists.debian.org>
> > Architecture: all
> > Uncompressed Size: 139 M
> > Depends: binutils, xz-utils
> > Recommends: build-essential, bc, rsync, kmod, cpio, bison, flex,
> > libelf-dev, libssl-dev, linux-config-6.1
> > Suggests: libncurses-dev | ncurses-dev, qtbase5-dev, pkg-config
> > Provides: linux-source-6.1:i386 (= 6.1.128-1)
> > Description: Linux kernel source for version 6.1 with Debian patches
> >  This package provides source code for the Linux kernel version 6.1. This
> > source closely tracks official Linux kernel releases.  Debian's
> > modifications to that source consist of security fixes, bug fixes, and
> >  features that have already been (or are believed to be) accepted by the
> > upstream maintainers.
> > Homepage: https://www.kernel.org/
> > 
> > So I go to the file: llinux-source-6.1/drivers/media/usb/uvc/uvc_video.c
> > 
> > And do a grep for : "Found multiple Units"
> > And no hits, which is correct, the rollback removed the code that added the
> > "Found multiple Units"
> > 
> > If I go back to a previous version of the kernel code: 6.1.124-1
> > And do the same grep: "Found multiple Units"
> > 774: dev_err(&dev->udev->dev, "Found multiple Units with ID %u\n", id);
> > 
> > So here we clearly have the code.
> > 
> > So back to my log from journalctl:
> > 
> > Feb 11 23:25:31 lenovo-m83 kernel: Run /init as init process
> > Feb 11 23:25:31 lenovo-m83 kernel:   with arguments:
> > Feb 11 23:25:31 lenovo-m83 kernel:     /init
> > Feb 11 23:25:31 lenovo-m83 kernel:   with environment:
> > Feb 11 23:25:31 lenovo-m83 kernel:     HOME=/
> > Feb 11 23:25:31 lenovo-m83 kernel:     TERM=linux
> > Feb 11 23:25:31 lenovo-m83 kernel:
> >  BOOT_IMAGE=/boot/vmlinuz-6.1.0-31-amd64
> > ........
> > Feb 11 23:25:33 lenovo-m83 kernel: usb 2-1: Found multiple Units with ID 5
> > 
> > Kernel 6.1.0-31-amd64.....which should be built from linux-source
> > 6.1.128-1 that does not have that version of the driver, as far as I
> > understand.
> > 
> > The last kernel that worked good was : 6.1.0-28-amd64.
> > 
> > 
> > So am I understanding the version number wrong in the kernel package?
> 
> dpkg-query -W -f '${Package}\t${Version}\n' linux-source-6.1
> linux-source-6.1        6.1.128-1
> 
> it is present in the /usr/src/linux-source-6.1.tar.xz:
> 
> grep -R 'Found multiple Units'
> linux-source-6.1/drivers/media/usb/uvc/uvc_driver.c:            
> dev_err(&dev->udev->dev, "Found multiple Units with ID %u\n", id);

If we want to tackle the webcam issue:

> Is this a regression? Which is the last 6.1.y kernel which worked?
>
> Can you test recent kernels from unstable (6.12.16-1) or experimental
> (6.13.4-1~exp1), does the issue replicate there as well?
>
> Can you attach the USB webcam and then post as well the full kernel
> log?

Regards,
Salvatore

Reply via email to