linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Kernel Panic while upgrading from 2.4.20 to 2.5.70
       [not found] <fa.o798dld.25grp5@ifi.uio.no>
@ 2003-06-18 12:55 ` walt
  0 siblings, 0 replies; 4+ messages in thread
From: walt @ 2003-06-18 12:55 UTC (permalink / raw)
  To: Sourabh Ladha (EED); +Cc: linux-kernel

Sourabh Ladha (EED) wrote:
> Hi,
> 
> [I know this has been discussed before but I tried the previous fixes proposed without luck..so]
> 
> I was trying to upgrade my kernel from 2.4.20 to 2.5.70. (I am running RedHat 9). After getting the sources I did:
> 
> make clean; make mrproper; make distclean; make menuconfig; make bzImage; make modules; make modules_install; make install   (got past all of these)
> 
> The make install updated my grub.conf as well...

Just a wild guess:  did you upgrade modutils to module-init-tools?  2.5.x won't be happy
until you do.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Kernel Panic while upgrading from 2.4.20 to 2.5.70
@ 2003-06-18 21:48 Thomas Molina
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Molina @ 2003-06-18 21:48 UTC (permalink / raw)
  To: linux-kernel

>Sourabh Ladha (EED) wrote:
>> Hi,
>>
>> [I know this has been discussed before but I tried the previous fixes
proposed without luck..so]
>>
>> I was trying to upgrade my kernel from 2.4.20 to 2.5.70. (I am running
RedHat 9). After getting the sources I did:
>>
>> make clean; make mrproper; make distclean; make menuconfig; make bzImage;
make modules; make modules_install; make install   >(got past all of these)
>>
>> The make install updated my grub.conf as well...
>
>Just a wild guess:  did you upgrade modutils to module-init-tools?  2.5.x
won't be happy
>until you do.


Actually, I have seen similar before.  It happens when you install a new
kernel on a RedHat system which requires an initrd to boot.  It happens
specifically because you upgrade module-init-tools.  The upgraded
module-init-tools replaces files used by the previous version of the
utilities and creating links to them.  It appears that the RedHat system
fails to find the proper version of the files it needs to build the initrd
image and therefor fails when it tries to load the ext3 modules.  It then
can't find the init on the disk because it can't read the filesystem and
gives the error seen.

The two options are either build a kernel with everything required to boot
built in rather than modular, or else reinstll the old module tools, install
the new kernel (this allows RedHat to create a good initrd image), and then
reinstall the new module init tools.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Kernel Panic while upgrading from 2.4.20 to 2.5.70
@ 2003-06-18 13:23 Sourabh Ladha (EED)
  0 siblings, 0 replies; 4+ messages in thread
From: Sourabh Ladha (EED) @ 2003-06-18 13:23 UTC (permalink / raw)
  To: 'UMC Moderator'; +Cc: linux-kernel

My mistake .. I had   CONFIG_EXT3_FS  as  a  module..uhh

Works fine now.

-Sourabh


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Kernel Panic while upgrading from 2.4.20 to 2.5.70
@ 2003-06-18 11:19 Sourabh Ladha (EED)
  0 siblings, 0 replies; 4+ messages in thread
From: Sourabh Ladha (EED) @ 2003-06-18 11:19 UTC (permalink / raw)
  To: linux-kernel

Hi,

[I know this has been discussed before but I tried the previous fixes proposed without luck..so]

I was trying to upgrade my kernel from 2.4.20 to 2.5.70. (I am running RedHat 9). After getting the sources I did:

make clean; make mrproper; make distclean; make menuconfig; make bzImage; make modules; make modules_install; make install   (got past all of these)

The make install updated my grub.conf as well. When I reboot the system tries to boot up but I get a kernel panic with the error:

mount: error 19 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 224k freed
Kernel panic: No init found. Try passing init= option to kernel

Some random, no-clue attempts of fixing included: removing the ext3 support and then rebuilding the kernel, making my old config file's (2.4.20) filesystem options same as the new one and then rebuilding..but no luck.

Could anyone please let me know what can I do to get 2.5.70 working ?


Thanks,
Sourabh

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-06-18 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <fa.o798dld.25grp5@ifi.uio.no>
2003-06-18 12:55 ` Kernel Panic while upgrading from 2.4.20 to 2.5.70 walt
2003-06-18 21:48 Thomas Molina
  -- strict thread matches above, loose matches on Subject: below --
2003-06-18 13:23 Sourabh Ladha (EED)
2003-06-18 11:19 Sourabh Ladha (EED)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).