Results 1 to 4 of 4

Thread: Build your own ubuntu kernel without usb3 driver.

  1. #1
    Join Date
    Sep 2020
    Beans
    2

    Question Build your own ubuntu kernel without usb3 driver.

    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:
    1. 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)

    2. 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

    3. 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!

    4. For ubuntu 20.04, i had to remove the CONFIG_USB_XHCI from the common files (if not it was still using usb3 driver)
      1. debian.master/config/config.common.ubuntu
      2. 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
    Last edited by coffeecat; November 2nd, 2020 at 12:10 PM. Reason: quote -> code tags

  2. #2
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Build your own ubuntu kernel without usb3 driver.

    Quote Originally Posted by semo1984 View Post
    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.
    Welcome to the forum. Each sub-forum has a tagline which describes its purpose. The sub-forum you posted to is for testing official ISOs. Not many people post questions about building custom kernels, so we don't have a specific place for that. Therefore I've moved this to General Help in the hope that it will come to the notice of members who can help you.

    Quote Originally Posted by semo1984 View Post
    Ps. I would like to attach 3 txt files, but i can not do it and i don't know why.
    Go to the advanced editor and either use the paperclip icon in the toolbar to open the attachment manager, or click on the manage attachments button below the advanced editor.

    Alternatively, if the text files are not too large, simply paste the text into your post, but enclose it between BBCode code tags for clarity. Link in my sig for code tags if you need it.

    Good luck.
    Ubuntu 22.04 Desktop Guide - Ubuntu 24.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  3. #3
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Build your own ubuntu kernel without usb3 driver.

    Intuitively (since I have no experience in the subject) my first thought is to look at CUBIC.
    You might be able to knockout usb3.

  4. #4
    Join Date
    Sep 2020
    Beans
    2

    Re: Build your own ubuntu kernel without usb3 driver.

    Thanks for answering my question.

    I'll check it.

    Best Regards!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •