LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 07-08-2016, 06:31 PM   #1
unassailable
Member
 
Registered: May 2012
Distribution: gentoo, debian, qubes, openELEC
Posts: 42

Rep: Reputation: 2
Unable to build device driver modules in kernel 4.4.6 using genkernel


Normally I configure my kernel by hand, but I am trying out using genkernel with menuconfig for simplicity's sake on a new laptop.

Here's my process:
Code:
# make defconfig
# genkernel --menuconfig all
Once menuconfig comes up, I am unable to select Y for any device drivers, I can only cycle through N and M.

Running
Code:
make menuconfig
on this new .config yeilds the same results as above.

If I
Code:
# make defconfig
# make menuconfig
I can select Y, N and M.

This leads me to think that genkernel is configuring the kernel in a way that prevents this option from being set.

I ran
Code:
# diff -C0
on the two .configs to see if I could see anything that would be causing this. The result was 6000 lines.

Before I spend hours going through this diff, I wanted to ask if anyone knows what could be causing this?

Thanks.
 
Old 07-08-2016, 07:34 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You can not use Y if any parent option is set as M. You could use make localmodconfig instead of make defconfig. See /usr/src/linux/README for other make targets.
 
Old 07-19-2016, 02:59 PM   #3
unassailable
Member
 
Registered: May 2012
Distribution: gentoo, debian, qubes, openELEC
Posts: 42

Original Poster
Rep: Reputation: 2
Thanks

Thanks for pointing me towards the readme, never knew that existed. I played around with the various options but in the end every time I used genkernel it still caused the same result (even the parent itmes could not be set to Y). I decided to ditch genkernel because of this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NVIDIA 64Bit 304.131 Driver unable to build kernel module - help please Mobile1 Slackware 4 06-09-2016 06:02 PM
problem while building a driver /lib/modules/'kernel-ver-default'/build: No such file dslara Linux - Newbie 2 11-23-2009 04:04 AM
Unable to build kernel modules outside the kernel tree Rovalk Programming 2 01-19-2008 01:18 AM
Unable to boot after using Genkernel caleb star Linux - Software 5 09-12-2007 06:40 PM
threads in device driver or kernel modules kilambi Linux - Software 2 02-27-2007 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 06:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration