I have a Gigabyte 970 family motherboard, AMD fx8350, 32 GB DDR3 RAM, GTx 2070, two SSDs and an old platter drive. I'm running Kubuntu 22.04.4 with the HWE stack, current kernel 6.5.0-35-generic, and had this fixed for a while before upgrading from 20.04 HWE to 22.04. Unfortunately, as is usually the case, my attempt to upgrade turned into a repartition and clean install for the system partitions (hence why I keep /home on a different partition, so I don't have to nuke it along with the OS when this happens) -- meaning the settings I had previously were lost, and I haven't found the solution I used again.
The issue is that none of my USB 3.0 ports work (even to supply 5V power to charge my phone, for instance), and during boot I get ten copies of a message about "ehci_hcd something something [IO_PAGE_FAULT etc.]", and the ten copies repeats three or four times for the first nineteen or so seconds of startup before timing out and allowing boot to continue. If needed, I can pull the exact message(s) out of the system log, but it appears that the same message with different details comes up on different motherboards.
Solutions I've found suggest setting IOMMU to "disabled" in UEFI settings, then adding "iommu=soft" to the GRUB config -- but when I've tried doing that manually (editing the startup command in GRUB), I get a different list of errors and none of my USB ports work -- including the ones that service keyboard and mouse. Another solution I found was to leave IOMMU enabled in UEFI, but set "iommu=pt" in grub startup -- which gives the same errors as doing nothing.
Can anyone point me to the correct solution (short of replacing my CPU/ motherboard/RAM with $500 or more of new hardware) to getting rid of the error messages (hence shortening booth time by 15 seconds or more and restoring use of USB 3.0 ports)? If it involves adding commands to GRUB, please also include how to do that, as grub.cfg carries a warning not to edit the file (presumably because the file gets nuked every time update-grub runs) and the files in /etc/grub.d (such as 10_linux) are very long and appear complex, and I'm not a Linux guru.
The issue is that none of my USB 3.0 ports work (even to supply 5V power to charge my phone, for instance), and during boot I get ten copies of a message about "ehci_hcd something something [IO_PAGE_FAULT etc.]", and the ten copies repeats three or four times for the first nineteen or so seconds of startup before timing out and allowing boot to continue. If needed, I can pull the exact message(s) out of the system log, but it appears that the same message with different details comes up on different motherboards.
Solutions I've found suggest setting IOMMU to "disabled" in UEFI settings, then adding "iommu=soft" to the GRUB config -- but when I've tried doing that manually (editing the startup command in GRUB), I get a different list of errors and none of my USB ports work -- including the ones that service keyboard and mouse. Another solution I found was to leave IOMMU enabled in UEFI, but set "iommu=pt" in grub startup -- which gives the same errors as doing nothing.
Can anyone point me to the correct solution (short of replacing my CPU/ motherboard/RAM with $500 or more of new hardware) to getting rid of the error messages (hence shortening booth time by 15 seconds or more and restoring use of USB 3.0 ports)? If it involves adding commands to GRUB, please also include how to do that, as grub.cfg carries a warning not to edit the file (presumably because the file gets nuked every time update-grub runs) and the files in /etc/grub.d (such as 10_linux) are very long and appear complex, and I'm not a Linux guru.