From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linserver.romuald.net.eu.org ([63.228.150.209]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1HzjXb-0005Ct-00 for ; Sat, 16 Jun 2007 21:26:55 -0400 Received: (qmail 25608 invoked by uid 1000); 16 Jun 2007 18:26:24 -0700 Date: Sat, 16 Jun 2007 18:26:24 -0700 From: Gregory Nowak To: "Speakup is a screen review system for Linux." Subject: Re: moving from amd to p3? Message-ID: <20070617012623.GA24480@localhost.localdomain> References: <007901c7b065$01102810$9501a8c0@yellobow> <002d01c7b076$5a9ff390$ab00a8c0@tenstac> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <002d01c7b076$5a9ff390$ab00a8c0@tenstac> X-PGP-Key: http://www.romuald.net.eu.org/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.9 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2007 01:26:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Jun 16, 2007 at 07:27:57PM -0500, Doug Sutherland wrote: > Before you begin, do this to save your old .config > and make sure you have a clean source tree > > cd /usr/src/linux > cp .config .config.SAVE This will only be the case if you're recompiling a kernel source tree again. When you untar a fresh kernel source for the first time, the /usr/src/linux/.config file won't exist. You can however move another .config file to /usr/src/linux/.config, if you want to start with whatever is already configured in that .config file, instead of starting completely from scratch. Personally, when building a new kernel for a new machine, I grab a .config file for the kernel/distro I'm already using, and change that to suit my needs, instead of starting from scratch. > make mrproper > > If you were installing speakup, at this point you would do > the speakup patching of the kernel source. Actually, as far as I know, and this is what I've always done, you're supposed to untar the kernel, patch with speakup, run make mrproper clean, then copy a .config file into place if any. Also, if you're just building a freshly untared kernel from kernel.org without speakup, or any other patches, you don't need to do make mrproper, I never did that in those cases. > If you want to configure using your old configuration > as a start and just change a few things, you can do > make oldconfig Before doing make oldconfig, make sure you have an existing /usr/src/linux/.config, or /boot/config-2.6.21.5, if compiling a 2.6.21.5 kernel. If you don't have either of these, make oldconfig will just use the defaults for your architecture. For the x86 architecture, this is /usr/src/linux/arch/i386/defconfig. > make dep Note that you don't need to run make dep if building a 2.6.x kernel. > make bzImage > make modules If running debian, and if you've got kernelpackage installed, doing make-kpkg kernel_image at this point will run the 2 above make commands for you, and build a package that you can install. When installing that package, it may also install the kernel in the boot loader for you as well. Other distros may have a similar shortcut. - -- web site: http://www.romuald.net.eu.org gpg public key: http://www.romuald.net.eu.org/pubkey.asc skype: gregn1 (authorization required, add me to your contacts list first) - -- Free domains: http://www.eu.org/ or mail dns-manager@EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGdI2/7s9z/XlyUyARApoFAJ99rmzVSGmmYHpUn8+aGbnG+rGjwwCeK6GP ssV+B6eyesc5mBx66NZr+J4= =mk3U -----END PGP SIGNATURE-----