LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   Unable to build device driver modules in kernel 4.4.6 using genkernel (https://www.linuxquestions.org/questions/gentoo-87/unable-to-build-device-driver-modules-in-kernel-4-4-6-using-genkernel-4175584133/)

unassailable 07-08-2016 06:31 PM

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.

Emerson 07-08-2016 07:34 PM

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.

unassailable 07-19-2016 02:59 PM

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.


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