public inbox for gentoo-user-br@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dalton Barreto <daltonmatos@gmail.com>
To: gentoo-user-br@lists.gentoo.org
Subject: Re: [gentoo-user-br] Usar config antiga para compilar kernel
Date: Sun, 10 Jul 2011 11:45:57 -0300	[thread overview]
Message-ID: <CALy4td1QkEQuL09ZEM6=7vQccDTU8VDhFLDRUjiQRvS_MO-=3Q@mail.gmail.com> (raw)
In-Reply-To: <4E199F3A.6010802@gmail.com>

Em 10 de julho de 2011 09:46, Cleverson Casarin Uliana
<clcaul@gmail.com> escreveu:
> Caros, pergunta básica mas não consta do Handbook nem do "kernel upgrade
> guide": queria saber qual o procedimento correto para aproveitar a
> configuração do kernel anterior para compilar o novo.
>
> Eu tenho aqui o 2.6.34,, aí dei emerge no 2.6.38 que é o atual, entrei no
> make menuconfig do 2.6.34 e usei lá aquela opção de salvar um arquivo de
> configuração. Daí peguei esse arquivo que chamei de 34.config e copiei para
> o diretório do kernel 2.6.38 sobrescrevendo o .config e dei um make && make
> modules_install, mas deu erro de não conseguiu encontrar o arquivo
> modules.order ou algo assim.


A ordem correta é:
make # Gera o bzImage
make modules # Compila os módulos
make modules_install # Copia os módulos para /lib/modules/<kernel-version>

Rode make modules antes do make modules_install e o problema deve sumir.

Valeu,


-- 
Dalton Barreto
http://daltonmatos.wordpress.com
http://wsgid.com



  parent reply	other threads:[~2011-07-10 14:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-10 12:46 [gentoo-user-br] Usar config antiga para compilar kernel Cleverson Casarin Uliana
2011-07-10 13:14 ` Fernando Boaglio
2011-07-10 19:18   ` Thiago Nunes
2011-07-10 20:26     ` Se foi a placa de rede; era " Cleverson Casarin Uliana
2011-07-11  4:45       ` Thiago Nunes
2011-07-11 12:38         ` Cleverson Casarin Uliana
2011-07-10 14:45 ` Dalton Barreto [this message]
2011-07-10 17:11   ` Cleverson Casarin Uliana
2011-07-10 19:55     ` Fernando Boaglio
2011-07-10 20:23       ` Thiago Nunes
2011-07-10 19:10   ` Thiago Nunes
2011-07-10 20:55     ` Dalton Barreto
2011-07-12 15:29       ` João Carlos
2011-07-12 15:49         ` Dalton Barreto
2011-07-12 16:01           ` Daniel da Veiga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALy4td1QkEQuL09ZEM6=7vQccDTU8VDhFLDRUjiQRvS_MO-=3Q@mail.gmail.com' \
    --to=daltonmatos@gmail.com \
    --cc=gentoo-user-br@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox