public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] make oldconfig behaviour
@ 2007-06-16 16:50 Galevsky
  2007-06-16 17:09 ` [gentoo-user] " Alexander Skwar
  0 siblings, 1 reply; 3+ messages in thread
From: Galevsky @ 2007-06-16 16:50 UTC (permalink / raw
  To: gentoo-user

Hi all,

I faced an ethernet driver miss during my kernel configuration,
because I had a wrong idea of what 'make oldconfig' did. I thought the
oldconfig target build up a new .config file starting from the
/proc/config.gz one then asking for new options.

But It was not the case here:

sd-4421 linux-2.6.20-gentoo-r8 # gunzip -c /proc/config.gz | grep VIA
CONFIG_MVIAC3_2=y
CONFIG_BLK_DEV_VIA82CXXX=y
CONFIG_SCSI_SATA_VIA=y
CONFIG_VIA_RHINE=y
# CONFIG_VIA_RHINE_MMIO is not set
# CONFIG_VIA_RHINE_NAPI is not set
CONFIG_VIA_VELOCITY=y
CONFIG_HW_RANDOM_VIA=y
CONFIG_I2C_VIA=m
CONFIG_I2C_VIAPRO=m
# CONFIG_SENSORS_VIA686A is not set

sd-4421 linux-2.6.20-gentoo-r8 # make mrproper oldconfig
[snip]

sd-4421 linux-2.6.20-gentoo-r8 # grep VIA .config
# CONFIG_MVIAC3_2 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
CONFIG_SATA_VIA=y
# CONFIG_PATA_VIA is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_VIA_VELOCITY is not set
CONFIG_HW_RANDOM_VIA=y
# CONFIG_AGP_VIA is not set
# CONFIG_SOUND_VIA82CXXX is not set

So, I did not build up the VIA RHINE and VELOCITY drivers.
Now I have to build my conf again since the whole configuration may
not suit what I was looking for.

Anyone to tell me what oldconfig target does ?


Many thanks for your support,

Gal'
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user]  Re: make oldconfig behaviour
  2007-06-16 16:50 [gentoo-user] make oldconfig behaviour Galevsky
@ 2007-06-16 17:09 ` Alexander Skwar
  2007-06-16 17:48   ` Galevsky
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Skwar @ 2007-06-16 17:09 UTC (permalink / raw
  To: gentoo-user

· Galevsky <galevsky@gmail.com>:

> Now I have to build my conf again since the whole configuration may
> not suit what I was looking for.

Take your old .config as a base.

> Anyone to tell me what oldconfig target does ?

It takes the .config it finds in the source directory and
builds the config from there. If there are new "selections"
in the new kernel, you'll be asked for the value they should
get.

In short: Before running "make oldconfig", copy the .config
from your old kernel to your new kernel tree and then run
make oldconfig.

Alexander Skwar
-- 
Linux!  Guerrilla UNIX Development     Venimus, Vidimus, Dolavimus.
        -- Mark A. Horton KA4YBR, mah@ka4ybr.com


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Re: make oldconfig behaviour
  2007-06-16 17:09 ` [gentoo-user] " Alexander Skwar
@ 2007-06-16 17:48   ` Galevsky
  0 siblings, 0 replies; 3+ messages in thread
From: Galevsky @ 2007-06-16 17:48 UTC (permalink / raw
  To: gentoo-user

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8; format=flowed, Size: 1000 bytes --]

Many thanks Alexander, I misunderstood what oldconfig means..... just
any existing .config file into ... into the src dir. LOL. Thanks
again.

Gal'


2007/6/16, Alexander Skwar <listen@alexander.skwar.name>:
> · Galevsky <galevsky@gmail.com>:
>
> > Now I have to build my conf again since the whole configuration may
> > not suit what I was looking for.
>
> Take your old .config as a base.
>
> > Anyone to tell me what oldconfig target does ?
>
> It takes the .config it finds in the source directory and
> builds the config from there. If there are new "selections"
> in the new kernel, you'll be asked for the value they should
> get.
>
> In short: Before running "make oldconfig", copy the .config
> from your old kernel to your new kernel tree and then run
> make oldconfig.
>
> Alexander Skwar
> --
> Linux!  Guerrilla UNIX Development     Venimus, Vidimus, Dolavimus.
>         -- Mark A. Horton KA4YBR, mah@ka4ybr.com
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>
éí¢‹¬z¸\x1ežÚ(¢¸&j)bž	b²

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-16 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-16 16:50 [gentoo-user] make oldconfig behaviour Galevsky
2007-06-16 17:09 ` [gentoo-user] " Alexander Skwar
2007-06-16 17:48   ` Galevsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox