KB: Debian 11 (Bullseye) udev bug - No board or serial found

Basic Information:

Printer Model: LDO Voron v0S1r2
Host Controller: Raspi 3B+ (1GB)
MCU / Printerboard: BTT SKR-Pico + LDO picobilical
klippy.log

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

I came across topic this in the Knowledge Base and since I have the problem, I thought I would check it out. Sure enough I have the 247.3-7+rpi1+deb11u2 version of debian installed.

So I ran the suggested script as sudo and all appeared to be going well. Loads of files were downloaded and backups made etc. However when all had finished, there was no log in /tmp (just 2 systemd private logs).

I then started to try the manual method
pi@VoronV0:~ $ sudo apt edit-sources
Select an editor. To change later, run ‘select-editor’.

  1. /bin/nano <---- easiest
  2. /usr/bin/vim.tiny
  3. /bin/ed

This contained

deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

so I added

deb Index of /debian bullseye-backports main non-free contrib

at the end as stated. However on saving the file I got the following messages:

Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/bullseye-backports.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/bullseye-backports.list:1
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/bullseye-backports.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/bullseye-backports.list:1
W: Target Packages (non-free/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/bullseye-backports.list:1
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/bullseye-backports.list:1
W: Target Translations (non-free/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/bullseye-backports.list:1
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/bullseye-backports.list:1
W: Target Packages (contrib/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/bullseye-backports.list:1
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/bullseye-backports.list:1
W: Target Translations (contrib/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/bullseye-backports.list:1
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/bullseye-backports.list:1
Failed to parse /etc/apt/sources.list. Edit again?  [Y/n] y
Your '/etc/apt/sources.list' file changed, please run 'apt-get update'.

Needless to say, I haven’t run apt-get update again as I think I neeed to fix the multiple configurations first.

My question is this: “Is it safe to comment out the first line of the sources file?” I assume this is what is causing the multiple config warnings.
[edit]
Added klippy.log even though this is a system problem not printing.
klippy.log.zip (32.6 KB)

Your klippy.log is always needed to help you
udev_bug

Good luck, hcet14

2 Likes

Please attach your /etc/apt/sources.list file here and I’ll have a look.

The website tells me this is already above but here it is anyway.

pi@VoronV0:~ $ cat /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
deb http://ftp.debian.org/debian bullseye-backports main non-free contrib

Thanks for offer of help.

Please also /etc/apt/sources.list.d/bullseye-backports.list

pi@VoronV0:~ $ cat /etc/apt/sources.list.d/bullseye-backports.list
deb [signed-by=/usr/share/keyrings/debian11-backports-archive-keyring.gpg] http://ftp.debian.org/debian bullseye-backports main non-free contrib
pi@VoronV0:~ $
  • Remove the last line from /etc/apt/sources.list (the one containing bullseye-backports)
  • Run sudo apt update
  • Run sudo apt install udev -t bullseye-backports
1 Like

No errors while upgrading but just did a dmesg and noted some usb errors:


[    9.380851] usb 1-1.3: new full-speed USB device number 12 using dwc_otg
[    9.442626] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    9.616454] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    9.642535] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[    9.820658] usb 1-1.3: device not accepting address 12, error -32
[    9.920702] usb 1-1.3: new full-speed USB device number 13 using dwc_otg
[   10.021002] brcmfmac: F1 signature read @0x18000000=0x15264345
[   10.061102] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   10.062146] usbcore: registered new interface driver brcmfmac
[   10.354247] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[   10.360635] usb 1-1.3: device not accepting address 13, error -32
[   10.360862] usb 1-1-port3: unable to enumerate USB device
[   10.582557] Console: switching to colour dummy device 80x30
[   10.598509] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])

Ignore last message - all errors gone away by blipping the power button ie. cold boot

I will keep an eye on it for the next few days. Thanks very much for you help :+1:

1 Like

Unlikely that this comes from updated udev.
What device is connected to usb 1-1.3? Maybe show the output of lsusb -t

as requested

pi@VoronV0:~ $ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M
            |__ Port 3: Dev 5, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 3: Dev 5, If 1, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 1: Dev 7, If 0, Class=Vendor Specific Class, Driver=lan78xx, 480M
        |__ Port 2: Dev 4, If 0, Class=Communications, Driver=cdc_acm, 12M
        |__ Port 2: Dev 4, If 1, Class=CDC Data, Driver=cdc_acm, 12M
        |__ Port 3: Dev 6, If 0, Class=Communications, Driver=cdc_acm, 12M
        |__ Port 3: Dev 6, If 1, Class=CDC Data, Driver=cdc_acm, 12M

also for completeness

pi@VoronV0:~ $ ls /dev/serial/by-id
usb-Klipper_rp2040_455035712895B0D8-if00  usb-Klipper_stm32f042x6_250036000A43304146393720-if00
usb-Klipper_rp2040_4634323932141B47-if00

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.