[Sussex] Kernel re-compile?
Gavin Stevens
starshine at gavmusic.uklinux.net
Fri Feb 20 00:19:20 UTC 2004
Thanks for these fine tips - very helpful indeed.
I tried "locate sr_mod" & it just displayed another command line -
unusually uninformative. "insmod sr_mod" produced a message "cannot locate
module sr_mod" or very similar.
Gavin.
BTW: Baby Megan is only 3 months old, so is a bit young just yet (& at
evening time is usually transforming from her usual jolly self into Miss
Grumpy-Grizzlechops 'cos she's tired). However, she is bonding very well
with the fluffy penguin I bought her.
On Thu, 19 Feb 2004 00:46:41 +0000, Steve Dobson <steve at dobson.org> wrote:
> 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
>
> _______________________________________________
> Sussex mailing list
> Sussex at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/sussex
>
>
More information about the Sussex
mailing list