Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st January 2012, 06:56 PM
studentbob Offline
Registered User
 
Join Date: Jan 2012
Location: In a house.
Posts: 2
macosfirefox
Firmware and Kernel Source Mismatch

I am trying to build a new kernel, just for fun. But I must be an idiot because I cannot seem to figure out how to make the source files match my installed and running system.

I follow the instructions in http://fedoraproject.org/wiki/Building_a_custom_kernel. uname -r tells me that my running kernel is 3.1.0-7.fc16, and the arch is x86_64. I downloaded all the source etc, and built everything for this target, including firmware.

I then try to install everything, and I get an error that says:

Kernel-firmware < 20110731 is obsoleted by (installed) linux-firmware-20110731-2.fc16.noarch

OK. I understand what it says. But how do I:

a) download source for 3.1.0-7.fc16 that includes the "-2" firmware?

Note: I am just doing this so that I can play with adding system calls (again for my own interest), and so that I can write a driver for an obsolete usb device that I have. I know from experience that I need matching headers and firmware and everything or my modules won't be loaded.

I am not sure what instructions I am missing.

Any help appreciated.
Reply With Quote
  #2  
Old 27th January 2012, 01:58 PM
onebarman Offline
Registered User
 
Join Date: Jan 2012
Location: France
Posts: 1
windows_7firefox
Re: Firmware and Kernel Source Mismatch

I have the exact same problem after trying to use the same guide to build a patched 3.2.2 kernel from koji.

Did you have any luck with this issue since posting ?

EDIT: Supplying the "--nodeps" argument to rpm at install time seemed to do the trick. I managed to reboot into my new kernel.

Last edited by onebarman; 27th January 2012 at 03:00 PM.
Reply With Quote
  #3  
Old 27th January 2012, 02:50 PM
vallimar Online
Registered User
 
Join Date: Jul 2008
Posts: 806
windows_xp_2003chrome
Re: Firmware and Kernel Source Mismatch

Ignore it.. you don't need to compile (or install) that kernel-firmware package.
The newer linux-firmware one is all you need right now.
Reply With Quote
  #4  
Old 27th January 2012, 06:27 PM
studentbob Offline
Registered User
 
Join Date: Jan 2012
Location: In a house.
Posts: 2
macosfirefox
Re: Firmware and Kernel Source Mismatch

Sorry, I should have posted my results.

I just decided not to install the firmware, ie, I only installed the new kernel and header files with

su -c "rpm -ivh $HOME/rpmbuild/RPMS/<arch>/kernel-<version>.<arch>.rpm \
$HOME/rpmbuild/RPMS/<arch>/kernel-headers-<version>.<arch>.rpm \
$HOME/rpmbuild/RPMS/<arch>/kernel-devel-<version>.<arch>.rpm"

Everything seems to be OK (I can boot the kernel, create/install new system calls, and build driver modules and load them - which was my goal).

What I do not understand though is why there is a firmware version mismatch between the kernel source and the installed firmware (firmware must have come with either yum upgrade, or the initial iso that I installed from).

One would think that the current kernel rpm should have the most up to date firmware... or maybe there is a separate download or something. I don't get it - but since my stuff works now I don't really care either.
Reply With Quote
Reply

Tags
firmware, kernel, mismatch, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Kernel/modules mismatch ? coyoteboy Using Fedora 1 28th January 2009 11:12 AM
kernel-devel mismatch soulbreak Using Fedora 2 9th December 2007 06:38 PM
kernel and X module mismatch tron_thomas Using Fedora 5 11th December 2006 07:21 PM
FC/kernel version mismatch ls100871 Using Fedora 1 8th January 2006 03:59 AM


Current GMT-time: 22:30 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat