Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Activation of network card drivers in the kernel
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
leuenberger
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2003
Posts: 147
Location: Zurich, ZH, Schweiz

PostPosted: Sun Feb 16, 2014 1:47 pm    Post subject: Activation of network card drivers in the kernel Reply with quote

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


Joined: 06 Mar 2007
Posts: 21489

PostPosted: Sun Feb 16, 2014 4:33 pm    Post subject: Reply with quote

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


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Sun Feb 16, 2014 6:50 pm    Post subject: Re: Activation of network card drivers in the kernel Reply with quote

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:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
leuenberger
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2003
Posts: 147
Location: Zurich, ZH, Schweiz

PostPosted: Mon Feb 17, 2014 8:12 pm    Post subject: Reply with quote

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
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