Re: Kernel Panic + Intel SATA

From: Márcio Oliveira
Date: Thu Oct 27 2005 - 12:57:25 EST


Alan Cox wrote:

If you are using LVM2 or MD you just need to be sure you have the right
config options enabled (the Red Hat src.rpm is a good guide).

Alan




I'm not using lvm or raid in the /root or the /boot partition. All partitions was made directly in the disk and formated with ext3 file system. I think all needed options was compiled in the new kernel, since I copied the /boot/config-2.6.12-1.1456_FC4 (config file from the kernel that works fine) and compiled the kernel.src.rpm without any modifications in the config file, and it still not working.



You also created a new initrd with mkinitrd ?


Yes, I created it. I also extracted the initrd image and compared it with a initrd that works fine (the initrd-2.6.12-1.1456_FC4.img initrd image provided by the kernel-2.6.12-1.1456_FC4.i386.rpm kernel package) and the images have the same files.

I got the mkinitrd-5.0.8-1 package and the kernel-devel-2.6.12-1.1456_FC4.i686.rpm package too. I compiled the mkinitrd package with the command:

# rpmbuild --rebuild mkinitrd-5.0.8-1.src.rpm
# rpm -ivh /usr/src/redhat/RPMS/i386/mkinitrd-5.0.8-1.i386.rpm

I also changed parameters in the kernel.spec file and recompiled it. The parameters was changed from:

%define buildsmp 1
...
%patch800 -p1

To:

%define buildsmp 0
...
# %patch800 -p1

(the nonint patch was generating error messages during the kernel rpm compilation)

# rpmbuild --target i686 -ba /usr/src/redhat/SPECS/kernel.spec
# rpm -ivh /usr/src/redhat/RPMS/i686/kernel-2.6.12.ext3-2.i686.rpm

After I finished the process, I booted the machine and got the same error message. I also rebuilt the initrd image and built a new 2.6.13 fedora core src.rpm kernel, but it still not working... any more idea??

Thank you.

Márcio.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/