View previous topic :: View next topic |
Author |
Message |
alvatar n00b

Joined: 20 Sep 2017 Posts: 4
|
Posted: Wed Sep 20, 2017 10:36 pm Post subject: Upgrade kernel 4.9.34 -> 4.12.12 usbfs issues [SOLVED] |
|
|
Hi,
I did an upgrade to kernel 4.12.12 and suddenly I'm getting this (with increased lisbusb verbosity):
Code: |
export LIBUSB_DEBUG=9
lsusb
|
output:
Code: |
libusb: debug [libusb_init] created default context
libusb: debug [libusb_init] libusb v1.0.19.10903
libusb: error [op_init] could not find usbfs
unable to initialize libusb: -99
|
Is anyone else experiencing this?
Doing
Code: | sudo ln -s /sys/bus /dev/bus |
will make the error go, but won't really fix it (lsusb won't show output).
Thanks.
Last edited by alvatar on Fri Sep 22, 2017 4:32 pm; edited 1 time in total |
|
Back to top |
|
 |
mrbassie Guru

Joined: 31 May 2013 Posts: 563
|
|
Back to top |
|
 |
alvatar n00b

Joined: 20 Sep 2017 Posts: 4
|
Posted: Fri Sep 22, 2017 3:45 pm Post subject: |
|
|
In my .config there is no such option: it doesn't show up in the menuconfig interface nor in the .config at all. It won't show in either one of the kernels...
Maybe my config is corrupted? Is there a way to "rebuild" it so I don't have to start from scratch with a new one in that case?
Thank you |
|
Back to top |
|
 |
mrbassie Guru

Joined: 31 May 2013 Posts: 563
|
Posted: Fri Sep 22, 2017 4:04 pm Post subject: |
|
|
I'm guessing you copied your .config from one /usr/src/linux-n directory to the other, did you run before compiling? |
|
Back to top |
|
 |
alvatar n00b

Joined: 20 Sep 2017 Posts: 4
|
Posted: Fri Sep 22, 2017 4:10 pm Post subject: |
|
|
Yes, I did use that command (I've been using Gentoo for 12 years, and only remember 1 or 2 times having an issue with config files). The 4.9.x config files don't have that option either, so that's why I'm suspicious. Maybe I did wrong in a previous upgrade, but since the 4.9.x version doesn't have tha option (not even as a commented/disabled option), I'm unsure what's going on. |
|
Back to top |
|
 |
alvatar n00b

Joined: 20 Sep 2017 Posts: 4
|
Posted: Fri Sep 22, 2017 4:31 pm Post subject: |
|
|
I had messed up the folders of the kernels. Indeed the USB_PCI option is new in 4.12.x, and needs to be manually enabled. It works now.
Thanks! |
|
Back to top |
|
 |
|