You are not logged in.

#1 2023-06-02 12:19:00

d.ALT
Member
Registered: 2019-05-10
Posts: 914

[ohci-pci] usb 4-1: device descriptor read/64, error -11

I'm unable to utilize USB devices on USB 2.0 ports on my homemade NAS.

On Windows 10 and Debian Buster Live (vmlinuz-4.19.0-21-amd64) everything's fine.

Yup, I double-checked: Windows' Fast Start is disabled.

Please tell me what logs do you need in order to further debug this issue.



# dmesg -wH (while plugging-in USB devices into motherboard's USB 2.0 ports):

[giu 2 13:38] usb 4-1: new low-speed USB device number 2 using ohci-pci
[  +0,000018] ------------[ cut here ]------------
[  +0,000002] ohci-pci 0000:00:13.0: DMA addr 0x000000010b82bb78+8 overflow (mask ffffffff, bus limit 0).
[  +0,000023] WARNING: CPU: 1 PID: 719 at kernel/dma/direct.h:103 dma_map_page_attrs+0x24d/0x2d0
[  +0,000019] Modules linked in: amdgpu gpu_sched drm_buddy rpcrdma rdma_cm iw_cm ib_cm ib_core f71882fg edac_mce_amd kvm_amd ccp kvm snd_hda_codec_realtek irqbypass ntfs3 snd_hda_codec_generic vfat fat ledtrig_audio snd_hda_codec_hdmi crct10dif_pclmul crc32_pclmul snd_hda_intel polyval_clmulni snd_intel_dspcfg polyval_generic radeon snd_intel_sdw_acpi gf128mul snd_hda_codec ghash_clmulni_intel snd_hda_core snd_hwdep video sha512_ssse3 snd_pcm drm_ttm_helper ttm r8169 mxm_wmi snd_timer aesni_intel realtek crypto_simd mdio_devres sp5100_tco drm_display_helper snd cryptd pcspkr cec soundcore libphy i2c_piix4 k10temp wmi cfg80211 acpi_cpufreq mac_hid rfkill nfsd auth_rpcgss nfs_acl lockd grace loop fuse sunrpc dm_mod bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 crc32c_intel xhci_pci xhci_pci_renesas
[  +0,000138] CPU: 1 PID: 719 Comm: kworker/1:0 Not tainted 6.1.31-1-lts #1 ac60c6ea44fa8bd23a1e0ceb3fbfc5c4672e04c7
[  +0,000008] Hardware name: MSI MS-7721/FM2-A75MA-P33 (MS-7721), BIOS V11.6 02/12/2015
[  +0,000004] Workqueue: usb_hub_wq hub_event
[  +0,000008] RIP: 0010:dma_map_page_attrs+0x24d/0x2d0
[  +0,000010] Code: 48 89 14 24 e8 d4 a8 69 00 4d 89 e1 48 89 da 48 c7 c7 a0 6f ec 94 41 55 4c 8b 44 24 08 48 89 c6 48 8d 4c 24 20 e8 03 c5 f5 ff <0f> 0b 58 48 c7 c0 ff ff ff ff e9 c0 fe ff ff 49 8b 42 08 83 78 60
[  +0,000004] RSP: 0018:ffffa4e640f47b20 EFLAGS: 00010286
[  +0,000006] RAX: 0000000000000000 RBX: ffff9797010c1fa0 RCX: 0000000000000027
[  +0,000003] RDX: ffff9798378a1668 RSI: 0000000000000001 RDI: ffff9798378a1660
[  +0,000004] RBP: ffff97970110d0d0 R08: 0000000000000000 R09: ffffa4e640f47998
[  +0,000003] R10: 0000000000000003 R11: ffffffff956cc7a8 R12: 00000000ffffffff
[  +0,000003] R13: 0000000000000000 R14: ffff97970110d0d0 R15: 0000000000000080
[  +0,000004] FS:  0000000000000000(0000) GS:ffff979837880000(0000) knlGS:0000000000000000
[  +0,000004] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  +0,000003] CR2: 0000556b54aaa6c8 CR3: 0000000105a9c000 CR4: 00000000000406e0
[  +0,000005] Call Trace:
[  +0,000004]  <TASK>
[  +0,000002]  ? dma_map_page_attrs+0x24d/0x2d0
[  +0,000008]  ? __warn+0x7d/0xd0
[  +0,000008]  ? dma_map_page_attrs+0x24d/0x2d0
[  +0,000008]  ? report_bug+0xe6/0x150
[  +0,000007]  ? handle_bug+0x3c/0x80
[  +0,000007]  ? exc_invalid_op+0x17/0x70
[  +0,000005]  ? asm_exc_invalid_op+0x1a/0x20
[  +0,000009]  ? dma_map_page_attrs+0x24d/0x2d0
[  +0,000009]  usb_hcd_map_urb_for_dma+0x19e/0x490
[  +0,000007]  usb_hcd_submit_urb+0x2d2/0xbd0
[  +0,000007]  ? dev_vprintk_emit+0x177/0x19f
[  +0,000009]  usb_start_wait_urb+0x8a/0x180
[  +0,000007]  usb_control_msg+0xef/0x150
[  +0,000007]  hub_port_init+0x25c/0xd30
[  +0,000009]  hub_event+0x9d6/0x18f0
[  +0,000008]  ? __pm_runtime_suspend+0x49/0x100
[  +0,000008]  process_one_work+0x1c4/0x3a0
[  +0,000009]  worker_thread+0x51/0x390
[  +0,000007]  ? process_one_work+0x3a0/0x3a0
[  +0,000007]  kthread+0xdb/0x110
[  +0,000006]  ? kthread_complete_and_exit+0x20/0x20
[  +0,000006]  ret_from_fork+0x1f/0x30
[  +0,000011]  </TASK>
[  +0,000002] ---[ end trace 0000000000000000 ]---
[  +0,149527] usb 4-1: device descriptor read/64, error -11
[  +0,263328] usb 4-1: device descriptor read/64, error -11
[  +0,256656] usb 4-1: new low-speed USB device number 3 using ohci-pci
[  +0,150049] usb 4-1: device descriptor read/64, error -11
[  +0,256674] usb 4-1: device descriptor read/64, error -11
[  +0,106783] usb usb4-port1: attempt power cycle
[  +0,179886] usb 4-1: new low-speed USB device number 4 using ohci-pci
[  +0,413331] usb 4-1: device not accepting address 4, error -11
[  +0,150005] usb 4-1: new low-speed USB device number 5 using ohci-pci
[  +0,413339] usb 4-1: device not accepting address 5, error -11
[  +0,000107] usb usb4-port1: unable to enumerate USB device


# dmesg -wH (while plugging-in USB devices into motherboard's USB 3.0 ports):

[giu 2 13:44] usb 6-1: new low-speed USB device number 2 using xhci_hcd
[  +0,181018] usb 6-1: New USB device found, idVendor=045e, idProduct=0734, bcdDevice= 1.00
[  +0,000013] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0,000005] usb 6-1: Product: Microsoft® Wireless Receiver 700 v2.0
[  +0,000005] usb 6-1: Manufacturer: Liteon
[  +0,054832] input: Liteon Microsoft® Wireless Receiver 700 v2.0 as /devices/pci0000:00/0000:00:10.0/usb6/6-1/6-1:1.0/0003:045E:0734.0001/input/input8
[  +0,054639] hid-generic 0003:045E:0734.0001: input,hidraw0: USB HID v1.11 Keyboard [Liteon Microsoft® Wireless Receiver 700 v2.0] on usb-0000:00:10.0-1/input0
[  +0,022583] input: Liteon Microsoft® Wireless Receiver 700 v2.0 Mouse as /devices/pci0000:00/0000:00:10.0/usb6/6-1/6-1:1.1/0003:045E:0734.0002/input/input9
[  +0,000346] input: Liteon Microsoft® Wireless Receiver 700 v2.0 System Control as /devices/pci0000:00/0000:00:10.0/usb6/6-1/6-1:1.1/0003:045E:0734.0002/input/input10
[  +0,056949] input: Liteon Microsoft® Wireless Receiver 700 v2.0 Consumer Control as /devices/pci0000:00/0000:00:10.0/usb6/6-1/6-1:1.1/0003:045E:0734.0002/input/input11
[  +0,000278] hid-generic 0003:045E:0734.0002: input,hidraw1: USB HID v1.11 Mouse [Liteon Microsoft® Wireless Receiver 700 v2.0] on usb-0000:00:10.0-1/input1
[  +0,000083] usbcore: registered new interface driver usbhid
[  +0,000003] usbhid: USB HID core driver
[  +0,028685] mousedev: PS/2 mouse device common for all mice


# LC_ALL=C pacman -Qs ^linux-

local/liburing 2.3-1
    Linux-native io_uring I/O access library
local/linux-api-headers 6.3-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20230404.2e92a49f-1
    Firmware files for Linux
local/linux-firmware-whence 20230404.2e92a49f-1
    Firmware files for Linux - contains the WHENCE license file which documents the vendor license details
local/linux-lts 6.1.31-1
    The LTS Linux kernel and modules
local/linux-lts-headers 6.1.31-1
    Headers and scripts for building modules for the LTS Linux kernel


# lsusb -t

/:  Bus 09.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M


dmidecode_-q


journalctl_-b0_-r


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#2 2023-07-04 20:50:26

d.ALT
Member
Registered: 2019-05-10
Posts: 914

Re: [ohci-pci] usb 4-1: device descriptor read/64, error -11

<EDIT>
Reporting some updates...

UEFI Settings:
HPET Timer enabled or disabled > solves nothing


Kernel Parameters:

acpi_osi=Linux

goes a little bit further in the boot phase while printing out a lot of ohci errors, but then computers reboots itself.
Once restarted, the USB keyboard is no more responding. I need to restart the machine using the RESET BUTTON.



pci=nomsi

it seems to loads fine, but then the kernel won't be able to initialize hard drives, see uploaded image.



pcie_aspm=off

same as when trying to boot without parameter(s): goes until Triggering uevents... and then immediately reboots (with no-more working USB keyboard).



nohz=off

Tested with linux and linux-lts, everything works (?) as intended... No problems I can see so far at the moment.

useful links:

</EDIT>

Today my computer went into bootloop.
I was not even be able to use my USB keyboard on GRUB any more.

So I unplugged the power cord, let it turned off for about 5 minutes and the I turned on the PC again.

I got my USB keyboard working again into GRUB and found a (temporarily) WORKAROUND: boot with acpi=off nohz=off kernel parameter.

Last edited by d.ALT (2023-07-07 21:44:59)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2023-12-25 10:07:17

d.ALT
Member
Registered: 2019-05-10
Posts: 914

Re: [ohci-pci] usb 4-1: device descriptor read/64, error -11

(another) WORKAROUND:

  • Disable KMS

  • Remove nohz=off kernel parameter

  • Keep C6-State enabled in UEFI's Settings

cat /etc/modprobe.d/blacklist.conf

#install uas /bin/true
#install ntfs3 /bin/true
install radeon /bin/true
install amdgpu /bin/true

cat /etc/modprobe.d/noradeon.conf

options radeon si_support=0
options radeon cik_support=0

cat /etc/modprobe.d/noamdgpu.conf

options amdgpu si_support=0
options amdgpu cik_support=0

grep MODULES\= /etc/mkinitcpio.conf

#     MODULES=(usbhid xhci_hcd)
MODULES=()

grep _DEFAULT\= /etc/default/grub

GRUB_DEFAULT=0
GRUB_CMDLINE_LINUX_DEFAULT="nowatchdog tsc=nowatchdog nmi_watchdog=0 radeon.modeset=0 nomodeset cpufreq.default_governor=conservative video=1920x1080-24@60"
# setting 'GRUB_DEFAULT=saved' above.

<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

Board footer

Powered by FluxBB