LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   More RedHat kernel problems (https://www.linuxquestions.org/questions/linux-general-1/more-redhat-kernel-problems-35459/)

Tuzinor 11-14-2002 11:49 AM

More RedHat kernel problems
 
RedHat 8.0 with stock 2.4.18.14 kernel > will not log into the dvd & hard drive that I have connected to my Audigy Firewire connector > ieee1394/sbp2.o problem.It sees the actual connection devices (Oxford Tech & ADS Tech).

I have Mandrake 9.0 also > all devices work fine > Mandrake kernel > 2.4.19-16mdk.

So I tried to compile a new kernel from Kernel.org > 2.4.19 & I even tried the Mandrake kernel also.
For 2.4.19 I cd into /usr/src/linux-2.4.
For Mandrake kernel rpm after installing I cd into /usr/src/linux,
I perform the following steps:
make mrproper
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
make install

I use Grub as my boot loader.
Checked the /boot directory > there would be a new vmlinuz file but not as an executable.Went to the /usr/src/linux & /usr/src/linux-2.4 directories > found the 3mb vmlinux executables > copied to the /boot directory & renamed them.
Made sure the new entries in grub.conf were correct.

In the stock 2.4.18.14 install I used the RedHat Update agent > now at 2.4.18-17.8.0 > no problems booting into it > still same problem with my Firewire devices.

When I try to boot into either the 2.4.19 or 2.4.19.16custom installs I get the following message:

vmlinuz-2.4.19NEW
Root (HD0,4)
File system is ext2fs partition type 0x83
Kernel /vmlinuz-2.4.19NEW ro root=LABEL=/ hcd=ise-scsi
Error 13: Invalid or unsupported executable format

Below is my Grub.conf file. I have Windows XP Pro on the first partition and RedHat 8.0 on the 2nd partition with a /boot > / & swap partitions.I don't understand why this is not working > each entry is pointing to the same partition. I formatted the /boot & root partitions as EXT3 during install.

I really want to learn how to do this correctly.

Grub.conf:

# 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,4)
# kernel /vmlinuz-version ro root=/dev/hdb6
# initrd /initrd-version.img
#boot=/dev/hdb
default=0
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-17.8.0) ( WORKS NO PROBLEM)
root (hd0,4)
kernel /vmlinuz-2.4.18-17.8.0 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-17.8.0.img
title Red Hat Linux (2.4.19-16mdkcustom)(DOES NOT WORK)
root (hd0,4)
kernel /vmlinuz-2.4.19-16mdkcustom ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.19-16mdkcustom.img
title Red Hat Linux (2.4.19NEW) (DOES NOT WORK)
root (hd0,4)
kernel /vmlinuz-2.4.19NEW ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.19NEW.img
title Red Hat Linux (2.4.18-14) (WORKS NO PROBLEM)
root (hd0,4)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14.img
title Windows XP Professional 1
rootnoverify (hd0,0)
chainloader +1

DavidPhillips 12-06-2002 05:10 PM

it sounds like your saying you did not use the bzImage

cat arch/i386/boot/bzImage > /vmlinuz-2.4.19NEW

mkinitrd /initrd-2.4.19NEW.img 2.4.19


lilo


All times are GMT -5. The time now is 12:31 PM.