View previous topic :: View next topic |
Author |
Message |
leuenberger Tux's lil' helper
Joined: 13 Jul 2003 Posts: 147 Location: Zurich, ZH, Schweiz
|
Posted: Sun Feb 16, 2014 1:47 pm Post subject: Activation of network card drivers in the kernel |
|
|
Hi all,
I'm using genkernal to configure, compile and distribute my kernel. Like this:
Code: |
genkernel --kernel-config='/root/config/kernel/3.2.12-gentoo-2012-04-27' 'all'
|
For new versions I'm using the --oldconfig option and for recompilation --mrproper.
I just need one network card driver: CONFIG_JME=y
But everytime I create a new kernel I get all the available network card drivers. Has anybody an idea where that happen and how it can be switched off?
Thanks,
Ray
/etc/genkernel.conf
Code: |
OLDCONFIG="no"
MENUCONFIG="yes"
CLEAN="no"
MRPROPER="no"
MOUNTBOOT="yes"
SAVE_CONFIG="yes"
USECOLOR="yes"
LVM="yes"
DISKLABEL="yes"
SPLASH="no"
GK_SHARE="${GK_SHARE:-/usr/share/genkernel}"
CACHE_DIR="/var/cache/genkernel"
DISTDIR="${CACHE_DIR}/src"
LOGFILE="/var/log/genkernel.log"
LOGLEVEL=1
DEFAULT_KERNEL_SOURCE="/usr/src/linux"
|
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Sun Feb 16, 2014 4:33 pm Post subject: |
|
|
Please state what kernel versions you are using where you get all drivers, what version(s) of the configuration you upgraded from, and whether a clean config created from nothing has this problem. Quite a while back, the layout of the network driver menu was changed. Upgrading across that boundary caused the same result for me, but it is easy to fix in menuconfig. |
|
Back to top |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Sun Feb 16, 2014 6:50 pm Post subject: Re: Activation of network card drivers in the kernel |
|
|
leuenberger wrote: | OLDCONFIG="no"
MENUCONFIG="yes"
CLEAN="no"
MRPROPER="no" |
Code: | genkernel --clean --mrproper --oldconfig --kernel-config='/root/config/kernel/3.2.12-gentoo-2012-04-27' all | remember than --no-clean implies --no-mrproper so if you have set /etc/genkernel.conf: | CLEAN="no" | you need --clean too. _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
leuenberger Tux's lil' helper
Joined: 13 Jul 2003 Posts: 147 Location: Zurich, ZH, Schweiz
|
Posted: Mon Feb 17, 2014 8:12 pm Post subject: |
|
|
Hi all,
I had the problem when I upgraded to 3.5.7, 3.8.13, 3.10.7 and 3.10.17.
I always used the configuration from the previous version and run genkernal --oldconfig.
@Hu: I never tried to compile a kernel with a clean config. It doesn't make sense in my opinion, does it?
I thought the --oldconfig always activates the drivers. But why?
Regards,
Reto |
|
Back to top |
|
|
|