advice needed on kernel compiling

Chuck Hallenbeck chuckh at ftml.net
Thu Sep 28 15:40:51 EDT 2006


Thanks. That gives me several possible routes to follow.


On Thu, Sep 28, 2006 at 12:05:18PM -0700, Shane wrote:
> Hi Chuck,
> 
> On Thu, Sep 28, 2006 at 05:43:17AM -0400, Chuck Hallenbeck wrote:
> > I would like to make a smooth upgrade from Shane's 2.6.17-speakup 
> > package to the new 2.6.18 kernel, and could use some advice doing this. 
> 
> Well if you want to stick with the package, I'll probably
> have one shortly.  Just gotta get the amd64 system back up
> so I can compile for that arch.
> 
> > If I patch the 2.6.18 source tree with speakup (already done), do a make 
> > mrproper (already done), copy over the existing 2.6.17-speakup 
> > configuration into the new source directory and run make oldconfig 
> > (already done), and then run make (running while I am typing this),
> 
> Assuming you haven't installed already, the suggested way
> of doing this is the following:
> as root:
> apt-get build-dep linux-2.6
> exit root shell
> That will install any packages needed to compile the kernel
> assuming you have appropriate deb-src lines in sources.list
> 
> Grab kernel, unpack and setup the .config file as you've
> done
> then:
> make-kpkg --revision=1:custom.1 --rootcmd fakeroot \
> --us --uc --initrd kernel-image
> 
> That should generate a linux-image-xxx.deb which you can
> just install with dpkg -i and should take care of the
> initrd image.
> 
> As an alternative, someone else suggested going without an
> initrd which you can certainly do and avoid the deb stuff. 
> If you do that however, you need to go through the configs
> and make sure your root FS and support drivers are compiled
> directly into the kernel and not as modules as they are by
> default under Debian.  For example, ext3, ide core support. 
> Basically any module which is needed to mount the root FS.
> 
> S
> 
> -- 
> http://www.cm.nu/~shane/
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waxing Crescent (33% of Full)
Only 10 kinds of people: those who do binary, and those who do not.
But you can get a few downloads from http://www.mhcable.com/~chuckh




More information about the Speakup mailing list