[Sussex] Kernel re-compile?

Steve Dobson steve at dobson.org
Thu Feb 19 00:48:39 UTC 2004


Gavin

On Thu, Feb 19, 2004 at 12:28:24AM -0000, Gavin Stevens wrote:
> On Wed, 18 Feb 2004 03:41:02 +0000, Steve Dobson <steve at dobson.org> wrote:
> Thanks, I'll give this a try (although I've a sneaking feeling that I did 
> this before & it couldn't find it). Worth another go, though.
> 
> >Before re-compiling have a look for module sr_mod.
> >$ locate sr_mod

This is also a nice little trick:

# apt-get install apt-file
$ apt-file search sr_mod

For me this shows that the sr_mod.o driver is part of the kernel-image.*
packages.  If you can't find it on you're system then try re-installing
the package.

IIRC the command is:
# apt-get install --reinstall <package-name>
 
> Sadly, I've never made it to a meeting, although I would dearly love to. 
> Maybe when baby is a bit older, I can get to one.

Bring him/her along too.  She won't be the only little one that is there.
Mark brings his two "little" girls, and only one of them is his wife :-)
 
> I've read about re-compiling & it doesn't look too bad, although I would 
> hate to finish up with a "bad penguin" day like poor John C last weekend.
> 
> Thanks for help so far - I'll let you know about my sr_mod. Need bed now.

Two tricks that are well worth checking out first.

1). Make sure that you have you have a recover CD or floppy to hand (and
that you can use it).  The Debian install will work that way.  Boot of
the CD using the hard disk as the root partition.  That way you can 
repair the damage.

The most like think to do, and we have all done it, is delete the "old"
kernel image, install the "new" one and forgot to run lilo to install
a boot loader that will load the new kernel image.  The boot loader is
referring to a image that you have now deleted.

2). Configure lilo so that you can boot either to the old kernel or
you can boot the safe on as well as the new one under test.

Good luck

Steve




More information about the Sussex mailing list