Richard Hughes
Richard Hughes
@dhalbert received, thanks. There's certainly something funky going on with the BOS descriptors.
I'm not saying this is the problem we're seeing, but this is a bit odd: $ sudo wc -c /sys/devices/pci0000:00/0000:00:08.1/0000:c5:00.3/usb1/1-2/bos_descriptors 65535 /sys/devices/pci0000:00/0000:00:08.1/0000:c5:00.3/usb1/1-2/bos_descriptors $ sudo cp /sys/devices/pci0000:00/0000:00:08.1/0000:c5:00.3/usb1/1-2/bos_descriptors . $ wc -c...
It might be the scsi request. The backtrace looks like this: #0 0x00007ffff730936d in ioctl () at /lib64/libc.so.6 #1 0x00007ffff789a153 in fu_udev_device_ioctl (self=0x9fc400, request=8837, buf=0x7fffffffd220 "S", bufsz=88, rc=0x0, timeout=5000, flags=FU_IOCTL_FLAG_NONE,...
The 1.9.x versions are too old unfortunately; you need 2.0._something_. Maybe check out the git main branch and then do ./contrib/setup to get a local build for debugging.
> How are you seeing the backtrace you posted above? That's a good question, and it's difficult to explain. It's seemingly difficult to trigger; I had to try quite a...
> do you see the backtrace in syslog No, I did it manually, e.g. running `sudo gdb --args ./src/fwupd -vv` -- inserting the device and then ctrlc'ing -- then `bt`...
@Sean-StarLabs can you zoom out a bit and give us the 30,000ft idea of what's happening here please?
Also @josh-chen-elan
17% now. @jinglewu can you provide some emulation data please? e.g. https://github.com/fwupd/fwupd/blob/main/docs/device-emulation.md
Issue was ignored, closing.