Hi,

Thank you for your quick reply, Michael.

On Sun, Nov 12, 2023 at 09:05:19PM +0000, Michael Kjörling wrote:
>
> What kernel, systemd and udev versions are installed and running in
> the Bookworm install?

kernel version 6.1 and systemd and udev version 252:

$ uname -a
Linux xxxxxxxx 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 
(2023-09-29) x86_64 GNU/Linux

$ LANG=C dpkg-query --list systemd
[...]
||/ Name           Version          Architecture Description
+++-==============-================-============-=================================
ii  systemd        252.17-1~deb12u1 amd64        system and service manager

$ LANG=C dpkg-query --list udev
[...]
||/ Name           Version          Architecture Description
+++-==============-================-============-===================================
ii  udev           252.17-1~deb12u1 amd64        /dev/ and hotplug management 
daemon

> Just how _did_ you "upgrade" the system while retaining the ability to
> boot the older install? [...]

I followed chapter 4 "Upgrades from Debian 11 (bullseye)" from the "Release
Notes for Debian 12 (bookworm), 64-bit PC" manual.

With regard to the ability to boot the older install, I keep two systems
installed on the machine, on different file system partitions (I will
call one of them the "TEST" system and the other one the "PROD" system).
Normally, both of them are Debian stable systems.

The grub menu contains entries to boot either system.

When I am ready to upgrade to a new version, first I upgrade the "TEST"
system and I verify that everything is working fine. If it is not, I try
to solve any problem I have before upgrading the "PROD" system.

Currently I have upgraded the "TEST" system to bookworm, while the
"PROD" system is still at bullseye.

This is how I am able to boot to either system.

> [...] please
> specify more exactly what you mean by "boot bullseye" and "boot
> bookworm".

In the current configuration, "boot bullseye" means boot the "PROD"
system and "boot bookworm" means boot the "TEST" system.

> Do you see any difference if you hook up a USB 2 device to a port
> which is physically USB 2 or USB 3?

When using a USB2 port I get error messages in dmesg, and cannot use the
device. When using a USB3 port, instead, messages in dmesg seem to be ok
and I can mount the device and work with it normally.

------

# dmesg -w

(plug a USB2 device into a USB2 port)

[  918.226025] usb 7-1: new full-speed USB device number 53 using ohci-pci
[  918.386029] usb 7-1: device descriptor read/64, error -32
[  918.654039] usb 7-1: device descriptor read/64, error -32
[  918.946053] usb 7-1: new full-speed USB device number 54 using ohci-pci
[  919.106056] usb 7-1: device descriptor read/64, error -32
[  919.374063] usb 7-1: device descriptor read/64, error -32
[  919.482114] usb usb7-port1: attempt power cycle
[  919.718072] usb 2-1: new high-speed USB device number 80 using ehci-pci
[  919.846076] usb 2-1: device descriptor read/64, error -32
[  920.086086] usb 2-1: device descriptor read/64, error -32
[  920.322096] usb 2-1: new high-speed USB device number 81 using ehci-pci
[  920.450099] usb 2-1: device descriptor read/64, error -32
[  920.686105] usb 2-1: device descriptor read/64, error -32
[  920.794138] usb usb2-port1: attempt power cycle
[  920.998137] usb 2-1: new high-speed USB device number 82 using ehci-pci
[  921.414135] usb 2-1: device not accepting address 82, error -32
[  921.542137] usb 2-1: new high-speed USB device number 83 using ehci-pci
[  921.958185] usb 2-1: device not accepting address 83, error -32
[  921.958233] usb usb2-port1: unable to enumerate USB device
[  922.342175] usb 7-1: new full-speed USB device number 56 using ohci-pci
[  922.502170] usb 7-1: device descriptor read/64, error -32
[  922.770180] usb 7-1: device descriptor read/64, error -32
[  923.062191] usb 7-1: new full-speed USB device number 57 using ohci-pci
[  923.222194] usb 7-1: device descriptor read/64, error -32
[  923.490206] usb 7-1: device descriptor read/64, error -32
[  923.598258] usb usb7-port1: attempt power cycle
[  923.834214] usb 2-1: new high-speed USB device number 84 using ehci-pci
[  923.962255] usb 2-1: device descriptor read/64, error -32
[  924.198226] usb 2-1: device descriptor read/64, error -32
[  924.434235] usb 2-1: new high-speed USB device number 85 using ehci-pci
[  924.562241] usb 2-1: device descriptor read/64, error -32
[  924.798250] usb 2-1: device descriptor read/64, error -32
[  924.906283] usb usb2-port1: attempt power cycle
[  925.110259] usb 2-1: new high-speed USB device number 86 using ehci-pci
[  925.526270] usb 2-1: device not accepting address 86, error -32
[  925.654276] usb 2-1: new high-speed USB device number 87 using ehci-pci
[  926.070290] usb 2-1: device not accepting address 87, error -32
[  926.070335] usb usb2-port1: unable to enumerate USB device
[  926.426303] usb 7-1: new full-speed USB device number 59 using ohci-pci
[  926.586306] usb 7-1: device descriptor read/64, error -32
[  926.854316] usb 7-1: device descriptor read/64, error -32
[  927.118326] usb 7-1: new full-speed USB device number 60 using ohci-pci
[  927.278334] usb 7-1: device descriptor read/64, error -32
[  927.546345] usb 7-1: device descriptor read/64, error -32
[  927.654393] usb usb7-port1: attempt power cycle

(...)

------

# dmesg -w

(plug the same USB2 device into a USB3 port)

[ 1017.196371] usb 3-1.3: new high-speed USB device number 8 using xhci_hcd
[ 1017.308213] usb 3-1.3: New USB device found, idVendor=13fe, idProduct=4200, 
bcdDevice= 1.10
[ 1017.308224] usb 3-1.3: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[ 1017.308230] usb 3-1.3: Product: USB DISK 2.0
[ 1017.308234] usb 3-1.3: Manufacturer:         
[ 1017.308238] usb 3-1.3: SerialNumber: 070A5A62E0831395
[ 1017.309497] usb-storage 3-1.3:1.0: USB Mass Storage device detected
[ 1017.309806] scsi host6: usb-storage 3-1.3:1.0
[ 1018.339384] scsi 6:0:0:0: Direct-Access              USB DISK 2.0     PMAP 
PQ: 0 ANSI: 6
[ 1018.339945] sd 6:0:0:0: Attached scsi generic sg3 type 0
[ 1018.340293] sd 6:0:0:0: [sdc] 60530688 512-byte logical blocks: (31.0 
GB/28.9 GiB)
[ 1018.340585] sd 6:0:0:0: [sdc] Write Protect is off
[ 1018.340592] sd 6:0:0:0: [sdc] Mode Sense: 45 00 00 00
[ 1018.340873] sd 6:0:0:0: [sdc] Write cache: disabled, read cache: enabled, 
doesn't support DPO or FUA
[ 1018.478114]  sdc: sdc1
[ 1018.478578] sd 6:0:0:0: [sdc] Attached SCSI removable disk

------

Thanks.

Rafa.

Attachment: signature.asc
Description: PGP signature

Reply via email to