Skip to contentSkip to conversation

Using same .config on different machines

DISCUSSION Arun M Kumar 2 participants 2 messages Aug 27, 2013

lore
Share & tools
lore
#0 lore raw

Is it OK to use same .config file on different machines.
I had a Dell Optiplex running OpenSuSE 11.3, KV: 2.6.32 for development purpose during my college days,
can i use the same config file now on KV: 3.9.10

The command

$ make -j 8
completed sucessfully but

#make modules_install

gives the following error

-------------------------------------------------------------
ln: target ?Drivers/source? is not a directory
make: *** [_modinst_] Error 1
-------------------------------------------------------------

#1 lore raw
Quoted 1 line · Arun M Kumar

Is it OK to use same .config file on different machines.

As long as the .config includes all the moduled needed for all the machines in question. That's basically what a distro kernel does - include all the drivers for all supported hardware, and that's why a distro will usually boot on damn near anything.

Quoted 3 lines

I had a Dell Optiplex running OpenSuSE 11.3, KV: 2.6.32 for development purpose during my college days,
can i use the same config file now on KV: 3.9.10

You really want to do a 'make oldconfig' to update it for all the config variables that got added/changed between .32 and 3.9.

Quoted 10 lines

The command

$ make -j 8
completed sucessfully but

#make modules_install

gives the following error

-------------------------------------------------------------
ln: target ?Drivers/source? is not a directory

That looks suspiciously like in fact the build did *not* complete successfully.

If you do a *second* 'make' - does it attempt to rebuild anything? Often an error message will scroll away un-noticed.;

And I'm not sure where it got 'Drivers/source' from, that sounds like a busted
build or install environment. You didn't have any M= or O= variables that you didn't tell us about, did you?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130827/f899b438/attachment.bin