New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB becomes disabled on boot with 4.x kernel (r3.1) #1517

Closed
nrgaway opened this Issue Dec 15, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@nrgaway

nrgaway commented Dec 15, 2015

When booting the PC, USB ports are active until a kernel version is selected in menu, or automatically selected kernel proceeds at which point USB ports become disabled. I am experiencing this with Qubes r3.1, but also was unable to run 4.x kernels on r3.0 for the same reason. The rd.qubes.hide_all_usb option is also not set on the kernel command line in grub.

It seems like the existing dracut application that shipped with the older fc20 dom0 is too old and does not have the required configuration scripts to properly build initramfs.

Since I only have a USB keyboard and no other option, I have come up with a work-around that works for me:

Make backup copy of current dracut configurations

cp -rp /usr/lib/dracut /usr/lib/dracut.orig

Install dracut from Fedora 23

yum install dracut-043-61.git20151120.fc23.x86_64.rpm

Restore Qubes specific modules and extra-modules

sudo cp -rp /usr/lib/dracut.orig/modules.d/90qubes-pciback /usr/lib/dracut/modules.d
sudo cp -rp /usr/lib/dracut.orig/modules.d/90extra-modules /usr/lib/dracut/modules.d

Rebuild initramfs

dracut -H -f --kver 4.1.13-6.pvops.qubes.x86_64

Reboot and select 4.1 kernel

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 26, 2015

Member

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.1.5-1.fc20 has been pushed to the r3.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Member

marmarek commented Dec 26, 2015

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.1.5-1.fc20 has been pushed to the r3.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 12, 2016

Member

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.1.6-1.fc20 has been pushed to the r3.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Member

marmarek commented Jan 12, 2016

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.1.6-1.fc20 has been pushed to the r3.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

marmarek added a commit to marmarek/qubes-core-admin-linux that referenced this issue Jan 15, 2016

dracut: include all USB controllers drivers
dracut in Fedora 20 doesn't know about *-pci modules (which were split
of *-hcd). So add them manually, in all flavors (ehci, ohci, xhci).

Fixes QubesOS/qubes-issues#1517

(cherry picked from commit f66be6c)
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 15, 2016

Member

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.0.18-1.fc20 has been pushed to the r3.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Member

marmarek commented Jan 15, 2016

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.0.18-1.fc20 has been pushed to the r3.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 13, 2016

Member

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.0.19-1.fc20 has been pushed to the r3.0 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Member

marmarek commented Mar 13, 2016

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.0.19-1.fc20 has been pushed to the r3.0 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment