system reboot always after upgrade kernel

Brunno Pessoa brunnopessoa at gmail.com
Wed Oct 20 04:44:46 UTC 2004


On Tue, 19 Oct 2004 21:06:24 -0700, Andrew Farris
<fedora at andrewfarris.com> wrote:
> On Wed, 2004-10-20 at 01:12 -0200, Brunno Pessoa wrote:
> > Hi Zongjun!
> >
> > I have the same problem, but I could use my system with no suprise
> > reboot. I am not able to use my wi-fi Pentium Centrino and also cannot
> > pop mail messages using Evolution.
> >
> > Seems to be a kernel problem. Check here:
> >
> > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136111
> >
> > (tks to michal from this list... he showed me this bug report)
> >
> > Seems it's needed to recover kernel with a previous version, bur as a
> > newbie, I don't know how to do that... can help me? =)
> >
> > Tks,
> > Brunno
> 
> Your previous kernel *should* still be installed.  It is never a good
> idea to install new kernels without leaving a previous working kernel
> ready to go, which is why your update programs do an rpm -i (install)
> rather than rpm -U (upgrade).  If you installed the kernel with either
> up2date or yum you should still have the kernel.  Check with rpm -q
> kernel.  Your /boot/grub/grub.conf selects which kernel will be used by
> default, make sure it is choosing the kernel that works (not the .624),
> the 'default' kernel is zero indexed, choosing default=0 means the first
> kernel listed in the config.
> 
> If you do not have a previous kernel installed, you'll need to download
> the rpm directly from one of the mirrors (hopefully you can find one
> with the 610 kernel) and install it with rpm -i.
> - andrew
> 
> > On Wed, 20 Oct 2004 10:54:48 +0800, Linux <zjsun at biigroup.com> wrote:
> > >
> > > Hi:
> > >   I use the Fedora 2 on my Intel P4 2.0G, lastday I upgraded my kernel to
> > > 2.6.8.624.
> > > But now when boot it reports /sbin/udevstart exit abnormally. and start
> > > login.
> > > After logged in less than 1 minute, the system reboot again. And I upgrade
> > > the udev to
> > > 0.39 within 1 minute, there is no change. what happens that? how Can I
> > > recover my system?
> > >
> > >
> > > thanks a lot for your  help.
> > >
> > >
> > > Sun Zongjun
> > >
> 
> -- 
> Andrew Farris (lordmorgul) <andrew at andrewfarris.com>
> - CPE student, Cal Poly SLO, pgp keyid 4430F405 pgp.mit.edu
> "..the triumph of evil is for good men to do nothing." (Edmond Burke)
> 
> 

andrew, thank you so much for your help!

yes! I do have both kernel version in my machines!

[root at localhost bcampos]# rpm -q kernel
kernel-2.6.7-1.478
kernel-2.6.8-1.624

I remember I had edited my grub.conf after kernel update, because I
thought the lines for the previous kernel version would be useless
(!!!), so I am a afraid of editing this again and commit a mistake.
This is my grub.conf file:

----------------------------------------------------------------------------
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=15
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.8-1.624)
	root (hd0,1)
	kernel /vmlinuz-2.6.8-1.624 ro root=LABEL=/ rhgb quiet
	initrd /initrd-2.6.8-1.624.img
title Windows XP
	rootnoverify (hd0,0)
	chainloader +1
----------------------------------------------------------------------------

All I have to do is to append this to the file (could be after Windows):
----------------------------------------------------------------------------
title Fedora Core (2.6.7-1.478)
	root (hd0,1)
	kernel /vmlinuz-2.6.7-1.478 ro root=LABEL=/ rhgb quiet
	initrd /initrd-2.6.7-1.478.img
----------------------------------------------------------------------------

In other words, copying and pasting the Fedora's 2.6.8-1.624
definitions to the end of the file, and replacing 2.6.8-1.624 with
2.6.7-1.478 ? The other parameters remain unchanged?

Thank you very, very much! and I'm sorry for these stupids newbie's
questions! =)

Brunno




More information about the test mailing list