All of lore.kernel.org
 help / color / mirror / Atom feed
* Using same .config on different machines
@ 2013-08-27 10:45 Arun M Kumar
  2013-08-27 14:02 ` Valdis.Kletnieks at vt.edu
  0 siblings, 1 reply; 2+ messages in thread
From: Arun M Kumar @ 2013-08-27 10:45 UTC (permalink / raw)
  To: kernelnewbies

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

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

* Using same .config on different machines
  2013-08-27 10:45 Using same .config on different machines Arun M Kumar
@ 2013-08-27 14:02 ` Valdis.Kletnieks at vt.edu
  0 siblings, 0 replies; 2+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2013-08-27 14:02 UTC (permalink / raw)
  To: kernelnewbies

On Tue, 27 Aug 2013 16:15:20 +0530, Arun M Kumar said:
> 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.

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

> 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 

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

end of thread, other threads:[~2013-08-27 14:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-27 10:45 Using same .config on different machines Arun M Kumar
2013-08-27 14:02 ` Valdis.Kletnieks at vt.edu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.