According to Paul Rogers: While burning my CPU.
> 
> Richard,
> 
> Further to your mail and previous response to me:
> 
> >> This problem also occurred when I went from 2.0.34(Original install) to
> >> 2.0.35 on another machine.  What am I doing wrong??  I did all the
> >> necessary makes etc while compiling the kernel.
> 
> >If you did make modules make modules_install then one would think all would
> >be ok, so let me explain what happens when redhat boots.
> 
> 
> <SNIP>
> 
> >You could also create a symlink yourself in /lib/modules  with;
> 
> >ln -s 2.0.36 preferred
> 
> >and comment out the line in /etc/rc.d/rc.sysinit which deletes the symlink;
> 
> >rm -f /lib/modules/preferred
> 
> >Considering the rest of the script does not create any symlink like it
> >should i cant see that it could do any harm.
> 

I found the problem in the script, you will have seen the mail about it, i
Cc'ed it to the list.

I dont know why the new file causes the error's, it seems i will have to
install 5.2 soon ;-) 
Anyway try the old script again after deleting the ! mark as i mentioned.

Maybe Brain Scaringe can shed some light on this topic for me and others of
course.

> 
> 
> Attached is file rc_sysinit.old which is the script causing the problems after my 
>upgrade to RH 5.1 2.0.35/2.0.36
> 
> In addition to your reply I also received another reply from Bryan Scaringe which 
>stated:
> 
> >There were problems with the init files that shipped
> >with RedHat 5.1.  Get the updated init-files RPM and
> >install it, and your problem should go away.
> 
> >I forget what the RPM was called; init-scripts, or
> >something like that...
> 
> 
> >Bryan Scaringe
> 
> rm -f /lib/modules/preferred
> if [ -n $USEMODULES ]; then
>     set `cat /proc/cmdline`
>     while [ $# -gt 0 ]; do
>       if echo $1 | grep '^BOOT_IMAGE=' > /dev/null ; then
>           image=`echo $1 | awk -F= '{ print $2 }'`
>           kernelfile=`/sbin/lilo -I $image`
>           if [ -n "$kernelfile" ]; then
>               kernelname=`echo $kernelfile | awk -F- '{ print $1 }'`
>               versioninfo=`echo $kernelfile | sed "s|${kernelname}-||"`
>               if [ "$kernelname" = "/boot/vmlinuz" -a \
>                    -d /lib/modules/$versioninfo -a \
>                    $versioninfo != `uname -r` ]; then
                                  ^ delete that one.

-- 
Regards Richard.
[EMAIL PROTECTED]

Merry Xmas to all, and may all your troubles be small (ones).

Reply via email to