cd /usr/src/linux
cp /path/to/x.config .config
make oldconfig
make (x|menu)config
I know the "make oldconfig" tool will attempt to configure my current kernel
using the parameters fed from an old configuration file .config.old or .config,
but if I wanted to change one or two configuration of my old kernel, can I do
it, because if I used the other tools like "make xconfig" or "make menuconfig",
I don't know what the configuration or option that must I chose. I wanted to
continue to use the "make oldconfig" tool but can I change one or two of my old
configuration kernel.
just use "make xconfig" or "make menuconfig" (but not "make config") there is
an option in the menu to "load config from file" or something like that, i am
pretty sure it's one of the last two options, can't remember which, then you
can make changes based on this file.
I usually do a "make oldconfig" first, answer questions about any of the new
options, and then do a "make menuconfig" or "make xconfig" to tweak the result.
You can not expect the .config file to be present in the linux-version
directory unless you do "make oldconfig" or "make menuconfig" and save the
changes. You can get the .config file soon after you do "make oldconfig" or
save changes from "make menuconfig".
#-------------------------------------------------------------------------------
on compile:
i note you are using a hypen in revision number make sure upstream dpkg...
cp xyz.config .config
make oldconfig
# configuration written to .config
make menuconfig
make oldconfig
http://mike.passwall.com/nblug/kernel-talk/oldconfig.html
#-------------------------------------------------------------------------------
After choosing to save an alternate configuration, there were lost options in
the menuconfig (cobalt options)...
Cobalt Options:
Device Drivers --->
Cobalt RaQ/Qube Hardware --->
[*] Cobalt RaQ/Qube Hardware Support
[*] Gen III (3000 series) system support
[ ] Gen V (5000 series) system support
[*] Create legacy /proc files
Cobalt Hardware Options --->
[*] Front panel LCD support
[*] Twiddle LCD on boot
[*] Software controlled LED support
<*> Serial number support
[*] Watchdog timer support
[*] System sensors support
<*> Memory information support
Legend:
[*] built-in [ ] excluded module < >
difference between brackets:
<*> [*]
Interesting Kernel Compile Options:
Device Drivers --->
--- Network device support
[ ] Bonding driver support
[ ] Universal TUN/TAP device driver support
[ ] Virtual ethernet pair device
[ ] Ethernet (10 or 100Mbit) --->
[ ] EtherExpressPro/100 support (eepro100, original Becker driv
<*> Intel(R) PRO/100+ support
[*] Ignore bad EEPROM checksum
<*> National Semiconductor DP8381x series PCI Ethernet support
Wireless LAN --->
[ ] Wireless LAN (pre-802.11)
[ ] Wireless LAN (IEEE 802.11)
UN-Checked!
Device Drivers --->
USB Network Adapters --->
<*> USB Pegasus/Pegasus-II based ethernet device support
<*> PPP (point-to-point protocol) support
<*> PPP MPPE compression (encryption) (EXPERIMENTAL)
<*> PPP over Ethernet (EXPERIMENTAL)
Note Options:
Device Drivers --->
Character devices --->
< > Sony Vaio Programmable I/O Control Device support (EXPERIMENT
File systems --->
CD-ROM/DVD Filesystems --->
< > ISO 9660 CDROM file system support
< > UDF file system support
DOS/FAT/NT Filesystems --->
< > MSDOS fs support
VFAT (Windows-95) fs support
(437) Default codepage for FAT (NEW)
(iso8859-1) Default iocharset for FAT (NEW)
< > NTFS file system support
[ ] Network File Systems --->
< > NFS file system support (NEW)
< > NFS server support (NEW)
< > SMB file system support (to mount Windows shares etc.) (NEW)
< > CIFS support (advanced network filesystem for Samba, Window
< > NCP file system support (to mount NetWare volumes) (NEW)
< > Coda file system support (advanced network fs) (NEW)
< > Andrew File System support (AFS) (EXPERIMENTAL) (NEW)
Network File Systems
http://oreilly.com/catalog/linag2/book/ch14.html
Research:
General setup --->
<*> Kernel .config support
[*] Enable access to .config through /proc/config.gz