LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Upgrading kernel causes kernel panic (https://www.linuxquestions.org/questions/linux-newbie-8/upgrading-kernel-causes-kernel-panic-483179/)

Neloth 09-13-2006 01:52 PM

Upgrading kernel causes kernel panic
 
Hi, have some trouble with upgrading my kernel, after many attempts to fix this, with all ending in having to reinstall everything, I still can't sort it out.
I need the latest kernel(according to many guides) to get my geForce and wireless network to work (kmod-nvidia driver and kmod-ndiswrapper from livna)

Here's what I've done:

1: Installed a clean FC5 from the iso DVD (have done media check)

2: ran: yum update kernel

3: got this problem

I tried to search the web for any clues,and read through the bugzilla posts, tried a few things that other people said fixed their issues, but still it does not help.

Fresh install, tried (top post, the bottom note) this, “dmraid -a n && dmraid -a y” didn't help

New fresh install, tried this, which gave me a new problem, “dmraid -a n && dmraid -a y” didn't help


yumex do the install, I reboot, and nothing has changed? Same core, same everything?

I can "yum install kernel-smp" so that I have both kernels.

Please, help me, a guide to how to fix this bug in "plain english" would be most appreciated, becomming very tired of my fedora not working...

if it matters, I have the Shuttle SN25P, nForce4 Ultra, 2x WDC Raptor in Raid0, AMD Athlon 64 X2 3800

Thanx in advance

Neloth 09-14-2006 03:04 PM

where can I find the boot logs? Think it would help if I posted them

Neloth 09-14-2006 03:27 PM

Tried something else that gave me a new error

In case I've been unclear, have the 2.6.15-1.2054_FC5smp kernel
trying to upgrade to 2.6.15-1.2174_FC5smp

Here's what I did:

1: Clean install from FC5 DVD
2: installed "dmraid-1.0.0.rc11-pre1-1.i386.rpm"
Read in some post that it was the dmraid that caused an error in the raid size

3:did this:
Code:

mkdir initrd
cd initrd
cp /boot/initrdXXX.img ./
gunzip <initrdXXX.img >initrd.img
cpio -i <initrd.img
rm initrd.img

edit the init file->dm create entry so it has divisible size.
(Note that I only lost 6 sectors)

find . | cpio -o -c | gzip -9 > ./initrd-new.img
cp initrd-new.img /boot/

edit grub.conf to use initrd-new.img

which fixed my original problem with the raid size

4: "yum install kernel-smp"

but now my system hangs when booting, when doing the

(...)
Loading dm-mirror.ko module
Loading dm-zero.ko module
Loading dm-snapshot.ko module
Making device-mapper control node <---stops at this command

Neloth 09-16-2006 05:20 PM

someone? anyone? help please :(

gmbastos 04-16-2007 07:56 PM

Tried to recompile kernel with "safe" choices?
 
Greetings, Neloth.

It seems of no use trying to help you, but I believe the silence is kind of worst than a dummy help.

Have you attempted recompile the kernel with "safe" choices (like "make allmodconfig", then hacking the .config with "make menuconfig" or "make xconfig" in order to include ext3, reiserfs, jfs and jdb into the kernel)?

It may require some hacking , but the less you hack the more likely it will work alright, although it will not be that much fun. :Pengy:

Kernel compilation may be a not so daunting task, if you are careful.

I have never run Fedora, but I think it could be useful to check the following links, if you are interested in more in depth information:

How_to_Compile_2_6_kernel_for_RedHat_9_8
Compiling_kernel_2_6_10_on_a_Slackware_10_1

More general tutorials are available from Kernel Newbies Website:

http://kernelnewbies.org/FAQ/WhereDoIBegin
http://kernelnewbies.org/FAQ/KernelCompilation
http://kernelnewbies.org/FAQ/HowToApplyAPatch
http://kernelnewbies.org/FAQ/KernelCrossCompilation

Best regards.

Quakeboy02 04-16-2007 08:04 PM

"In case I've been unclear"

You've been very unclear. Your thread title doesn't give anyone any clue as to what your problem is, and for some reason you expect us to be interested enough to follow links to read about it on some other site. If you want help, make your thread titles relevant to your actual problem. I get the idea that your problem might be in some way related to dmraid. But, I'm not going to go read a bunch of threads somewhere else to try to figure out what your problem actually is.


All times are GMT -5. The time now is 04:09 AM.