I've put my flk2 away for half a year, and now i can't make it working:
‰ fl2k_test -s 162e6 Allocating 6 zero-copy buffers libusb: error [submit_bulk_transfer] submiturb failed error -1 errno=2 Failed to submit transfer 0 Please increase your allowed usbfs buffer size with the following command: echo 0 > /sys/module/usbcore/parameters/usbfs_memory_mb
/sys/module/usbcore/parameters/usbfs_memory_mb is zero ofc. strace tells me:
[pid 9711] openat(AT_FDCWD, "/dev/bus/usb/001/007", O_RDWR|O_CLOEXEC) = 9 ... [pid 9711] ioctl(9, USBDEVFS_SUBMITURB, 0x558af7769f80) = 0 ... [pid 9711] write(2, "Allocating 6 zero-copy buffers\n", 31Allocating 6 zero-copy buffers ) = 31 [pid 9711] mmap(NULL, 3932160, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7ff5f7faa000 [pid 9711] mmap(NULL, 3932160, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7ff5f7bea000 [pid 9711] mmap(NULL, 3932160, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7ff5f782a000 [pid 9711] mmap(NULL, 3932160, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7ff5f746a000 [pid 9711] mmap(NULL, 3932160, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7ff5f70aa000 [pid 9711] mmap(NULL, 3932160, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7ff5f6cea000 [pid 9711] ioctl(9, USBDEVFS_SUBMITURB, 0x558af776a5a0) = -1 ENOENT (No such file or directory)
Linux 5.5.0-rc6 and osmo-fl2k master here. What am i doing wrong?
Hi,
On 2020-01-18 4:57, L29Ah wrote:
libusb: error [submit_bulk_transfer] submiturb failed error -1 errno=2 Failed to submit transfer 0 Linux 5.5.0-rc6 and osmo-fl2k master here. What am i doing wrong?
I had the same issue yesterday with Kernel 5.5.0-rc6, with 5.5.0-rc5 everything is working fine. I guess we need to hurry up if we want to have that fixed for 5.5, so any help is welcome. Will try to further investigate later today.
Regards, Steve
Hi,
so after some further investigation I put wrote to the linux-usb mailing list:
https://marc.info/?l=linux-usb&m=157939170104145
Let's hope for the best to get this fixed for 5.5.
Regards, Steve