Hello,
First of all, apologies if this post it is not in the right place, but I'm new on the forum and i don't know if it is the right place.
I need to build a ubuntu kernel without usb3 for this issue:
I've been trying using ubuntu 19.10 and 20.04 and following this topic over a virtualbox since i don't have yet the computer where this kernel will be placed:
But I'm facing some difficulties:
- If i setup my .config without usb3 pops ups the next error message:
- FAIL (m != y): CONFIG_USB_XHCI_HCD policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'i386': 'y', 'ppc64el': 'y'}> mark<ENFORCED> note<ensures USB 2.0/1.1 probe ordering> flag<REVIEW> (related to annotations file)
- If you remove this conditions, then appears another error related to some missing modules that I've ignored using this compiling command:
- LANG=C fakeroot debian/rules DEB_BUILD_OPTIONS=parallel=4 binary-headers binary-generic skipmodule=true skipabi=true
- For ubuntu 19.10 it gives me the next error related to abi, that I've not been able to solve it:
- EE: Previous or current ABI file missing!
- For ubuntu 20.04, i had to remove the CONFIG_USB_XHCI from the common files (if not it was still using usb3 driver)
- debian.master/config/config.common.ubuntu
- Once the 4.1 step is done it compiles. But then any usb is recognized, ehci drivers is not taking over for usb devices
I don't know if it is possible to do what i have to do or maybe should i go to an older ubuntu version. But it is important that i get rid of it of the usb3 limitations.
I hope that you can guide me about this issue, but it is important for our current situation.
Best Regards,
Ps. I would like to attach 3 txt files, but i can not do it and i don't know why.
Ps2:
It is failing the attach manager so i'll post the changes directly in the comment.
annotation changes:
Code:
+linux (5.4.0-51.57) focal; urgency=medium
+ * Remove xhcdi
config.common.amd64:
Code:
+CONFIG_USB_ROLES_INTEL_XHCI=n
+#
+# USB Host Controller Drivers
+#
+CONFIG_USB_C67X00_HCD=m
+CONFIG_USB_XHCI_HCD=n
+CONFIG_USB_XHCI_DBGCAP=n
+CONFIG_USB_XHCI_PCI=n
+CONFIG_USB_XHCI_PLATFORM=n
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_ROOT_HUB_TT=y
+CONFIG_USB_EHCI_TT_NEWSCHED=y
+CONFIG_USB_EHCI_PCI=y
+CONFIG_USB_EHCI_FSL=m
+CONFIG_USB_EHCI_HCD_PLATFORM=y
config.common.ubuntu:
Code:
-CONFIG_USB_ROLES_INTEL_XHCI=m
+CONFIG_USB_ROLES_INTEL_XHCI=n
...
-CONFIG_USB_XHCI_DBGCAP=y
-CONFIG_USB_XHCI_HCD=y
-CONFIG_USB_XHCI_HISTB=m
-CONFIG_USB_XHCI_MTK=m
-CONFIG_USB_XHCI_MVEBU=m
-CONFIG_USB_XHCI_PCI=y
-CONFIG_USB_XHCI_PLATFORM=m
-CONFIG_USB_XHCI_RCAR=m
-CONFIG_USB_XHCI_TEGRA=m
+CONFIG_USB_XHCI_DBGCAP=n
+CONFIG_USB_XHCI_HCD=n
+CONFIG_USB_XHCI_HISTB=n
+CONFIG_USB_XHCI_MTK=n
+CONFIG_USB_XHCI_MVEBU=n
+CONFIG_USB_XHCI_PCI=n
+CONFIG_USB_XHCI_PLATFORM=n
+CONFIG_USB_XHCI_RCAR=n
+CONFIG_USB_XHCI_TEGRA=n