LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-14-2002, 11:49 AM   #1
Tuzinor
Member
 
Registered: Feb 2001
Posts: 102

Rep: Reputation: 15
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
 
Old 12-06-2002, 05:10 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing redhat kernel clem_c_rock Linux - Enterprise 1 08-13-2004 09:52 AM
Problems compiling 2.6.x kernel on RedHat 8.0 africantiger Linux - Newbie 0 07-13-2004 09:42 PM
Redhat 9 kernel problems Uchiha sasuke Linux - General 5 10-28-2003 10:02 PM
recompling a kernel in redhat, with problems riddlebox80 Linux - Distributions 2 08-11-2003 10:29 AM
RedHat 8.0 kernel 2.4.19 problems Tuzinor Linux - General 4 11-16-2002 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration