Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 28th August 2009, 06:07
kaza kaza is offline
Junior Member
 
Join Date: Jul 2009
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Building new kernel (FC11): final "rpm -ivh" failed on "kernel-firmware"

Hello,

I attempted (for the first time) to recompile a kernel (to add HPFS support).
I found a step-by-step guide of custom kernel creation on
http://fedoraproject.org/wiki/Docs/CustomKernel
and attempted to follow it. All went well until the kernel install
command: it failed in requiring the kernel-firmware:


<localhost>.../SPECS>rpm -ivh ~/rpmbuild/RPMS/x86_64/kernel-2.6.29.4-167.hpfs.fc11.x86_64.rpm
error: Failed dependencies:
kernel-firmware >= 2.6.29.4-167.hpfs.fc11 is needed by kernel-2.6.29.4-167.hpfs.fc11.x86_64

After some searching I understand that kernel-firmware is a sourceless
package so I need to somehow to link the firmware files with the kernel,
how can I do it? I did the kernel-creation not a a root, and when I see
what kernel packages are installed on my system I see the firmware too:

<localhost>.../rpmbuild>rpm -qa | grep kernel
kernel-2.6.29.4-167.fc11.x86_64
kernel-headers-2.6.29.4-167.fc11.x86_64
kernel-firmware-2.6.29.4-167.fc11.noarch
kerneloops-0.12-5.fc11.x86_64
kernel-devel-2.6.29.4-167.fc11.x86_64

Here is an excert from the history of the commands I used
while attempting to re-compile the kernel (with some "ls" removed
as irrelevant):

108 22:21 uname -m
111 22:28 rpmdev-setuptree
119 22:31 yumdownloader --source kernel
125 22:40 su -c 'yum-builddep kernel-2.6.29.4-167.fc11.x86_64.src.rpm'
126 23:16 su -c 'yum-builddep kernel-2.6.29.4-167.fc11.src.rpm'
127 23:53 su -c 'yum-builddep download/kernel-2.6.29.4-167.fc11.src.rpm'
129 23:55 rpm -Uvh kernel-2.6.29.4-167.fc11.src.rpm
133 23:59 rpmbuild -bp --target=`uname -m` kernel.spec
137 0:03 cd ../BUILD/kernel-2.6.29/linux-2.6.29.x86_64
141 0:07 cp configs/kernel-2.6.29.4-x86_64.config ./config
145 0:08 make oldconfig
146 0:09 make xconfig
149 0:26 uname -i
156 0:30 cp .config ~/rpmbuild/SOURCES/config-x86_64-generic
157 0:30 cd ~/rpmbuild/SPECS
159 0:31 ne kernel.spec & <=== Changed buildid to ".hpfs".
160 0:37 rpmbuild -bb --target=`uname -m` kernel.spec
164 6:23 rpm -ivh ~/rpmbuild/RPMS/x86_64/kernel-2.6.29.4-167.hpfs.fc11.x86_64.rpm

I downloaded the kernel-firmware-2.6.29.4-167.fc11.noarch.rpm package
but I don't know what should I change in the kernel creation process
in order for the kernel-firmware to be used?

Thanks inadvance for any help.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
domains not accessible gillesdevals Installation/Configuration 3 17th June 2009 09:12
Ispconfig IE7 Xen aurelius Installation/Configuration 8 19th October 2008 10:46
Google Apps dayjahone General 19 29th March 2008 17:25
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
WG311v2 almost working with Edgy (w/o ndiswrapper) need help with the rest caudata Server Operation 11 13th November 2006 20:02


All times are GMT +2. The time now is 15:02.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.