Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrade kernel 4.9.34 -> 4.12.12 usbfs issues [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
alvatar
n00b
n00b


Joined: 20 Sep 2017
Posts: 4

PostPosted: Wed Sep 20, 2017 10:36 pm    Post subject: Upgrade kernel 4.9.34 -> 4.12.12 usbfs issues [SOLVED] Reply with quote

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
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 568

PostPosted: Thu Sep 21, 2017 7:58 am    Post subject: Reply with quote

See here: https://forums.gentoo.org/viewtopic-t-1065780.html
Back to top
View user's profile Send private message
alvatar
n00b
n00b


Joined: 20 Sep 2017
Posts: 4

PostPosted: Fri Sep 22, 2017 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 568

PostPosted: Fri Sep 22, 2017 4:04 pm    Post subject: Reply with quote

I'm guessing you copied your .config from one /usr/src/linux-n directory to the other, did you run
Code:
make oldconfig
before compiling?
Back to top
View user's profile Send private message
alvatar
n00b
n00b


Joined: 20 Sep 2017
Posts: 4

PostPosted: Fri Sep 22, 2017 4:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
alvatar
n00b
n00b


Joined: 20 Sep 2017
Posts: 4

PostPosted: Fri Sep 22, 2017 4:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum