Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 02-15-2007, 04:23 PM   #1
LQ Newbie
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
Question Install error on FC6 real time kernel using linux- and rtai-3.4


I'm traying to compile a real time kernel in FC6. I downloaded the linux- kernel and rtai-3,4.tar.bz2 following the next procedure to compile and patch it:

cd usr/src/
tar xjf linux-
ln -s linux- linux
tar xjf rtai-3.4.tar.bz2
cd linux (usr/src/linux)
patch -p1 </usr/src/rtai-3.4/base/arch/i386/patches/hal-linux-2.6.17-i386-1.3-0.8.patch
make mrproper
cp /boot/config-2.6.18-1.2798.fc6 ./.config
make menuconfig
make all
make modules_install
make install

In the last instruction is when the error occurs, showing the next message:
[root@localhost linux]# make install
sh /usr/src/linux- 2.6.17.kernel- arch/i386/boot/bzImage "/boot"
/sbin/installkernel: line 58: /boot/vmlinuz-2.6.17.kernel- No such file or directory
cp: cannot create regular file `/boot/': No such file or directory
FATAL: Could not open '/boot/': No such file or directory
/sbin/mkinitrd: line 1290: /boot/initrd-2.6.17.kernel- No such file or directory
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2

I used linux- kernel because the rtai patch match with hal-linux-2.6.17-i386-1.3-08.patch

I also have tried using kernel-2.6.18-1.2798.fc6.src.rpm but when I patch it the system asks for a specific file but I have no idea where to find that file. This problem doesn't show up when I use linux-

I'm not sure what to do now any help would be appreciated.
Old 02-16-2007, 03:09 PM   #2
Junior Hacker
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I'm not sure if this will be of any help, but after a fresh install I tried to install kernel update 2.6.19-1.2895, since Fedora 6 had come out there had been prior kernel updates to this one and I kept getting dependency problems, mostly with mkinitrd & nash, and the dependency problems did not stop there, but I did. I decided to just update the kernel to prior version 2.6.18-1.2869 first as I had no dependency problems, then compile my modem drivers and do the rest of the updates including kernel 2.6.19-1.2895 on-line with yum.
I believe that once you go from 2.6.18 to 2.6.19 kernel is when mkinitrd and nash had to be upgraded also (and possibly more), the same may be true for you going down from 2.6.18 to 2.6.17 kernels. As it appears in the error you posted there is a mkinitrd problem, may have to downgrade it to a version compatible with 2.6.17 kernels. And a file was not created "/boot/", may be related.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
make fedoraCore5 to hard real time by RTAI stu_zamani Fedora 3 10-16-2006 02:27 AM
LXer: Real-time Linux gains real-time JVM LXer Syndicated Linux News 0 10-12-2006 10:54 AM
Real time linux install hsuri Linux - General 0 05-18-2003 12:49 AM
What is the version of the real time extension kernel in RH Linux 7.x? sceadu Linux - General 1 01-24-2003 08:39 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:49 PM.

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