LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2011, 07:01 AM   #1
mvkrishna86
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Rep: Reputation: 0
Kernal source files are not found in FC-12


Hi,

I am Vamsi from Alcatel-Lucent. We have a software to configure the wireless broadband devices to the Linux machine. Till now, it was running on FC-5. When we need to add any new device, we used to add it in airprime.c, sw.h and usb-serial.c under /usr/src/linux/drivers/usb/serial directoy.

Now we are trying to upgrade the system to FC-12. But I am not able to find any kernal files under /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/drivers/usb/serial directory. I saw in some websites that the kernal files can be found at: /root/rpmbuild/SOURCES/linux-2.6.31/drivers/usb/serial. But in my system, there is no rpmbuild directory.

Please help me how can I get the source files.

Thanks a lot in advance.

-Vamsi Krishna
 
Old 01-07-2011, 08:10 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by mvkrishna86 View Post
Hi,
I am Vamsi from Alcatel-Lucent. We have a software to configure the wireless broadband devices to the Linux machine. Till now, it was running on FC-5. When we need to add any new device, we used to add it in airprime.c, sw.h and usb-serial.c under /usr/src/linux/drivers/usb/serial directoy.

Now we are trying to upgrade the system to FC-12. But I am not able to find any kernal files under /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/drivers/usb/serial directory. I saw in some websites that the kernal files can be found at: /root/rpmbuild/SOURCES/linux-2.6.31/drivers/usb/serial. But in my system, there is no rpmbuild directory.

Please help me how can I get the source files.
Why would you upgrade to Fedora 12, when the latest is Fedora 14?? And since you're doing an upgrade, I'm assuming you downloaded the ISO, and have it accessible, either via network or on DVD. Look on the installation media, and the kernel source is on it. Install it via RPM or YUM.
 
Old 01-07-2011, 08:47 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Fedora 12 was obsoleted 02-Dec-2010, is unsupported, and will quite soon be found
in the old archive only http://download.fedora.redhat.com/pu.../fedora/linux/

"/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/" :
This is from the package 'kernel-devel' : Almost no files are included.
Meant for building 3rd party drivers, that come with its own files.


The complete source package(s) : Available as SRC.RPM only :
"Release" version
http://download.fedora.redhat.com/pu...7.fc12.src.rpm
> kernel-2.6.31.5-127.fc12.src.rpm

Latest is ( from the updates 01-Dec-2010 )
http://download.fedora.redhat.com/pu...5.fc12.src.rpm
> kernel-2.6.32.26-175.fc12.src.rpm

Suggest :
Install the long term supported free version of Fedora 12 :
Soon to be released as CentOS 6.0. ( Copy of RHEL 6.)
..

Last edited by knudfl; 01-07-2011 at 08:51 AM.
 
Old 01-08-2011, 11:35 AM   #4
mvkrishna86
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Original Poster
Rep: Reputation: 0
TB0ne and knudfl,

Thanks a lot for your help.
First I will try to install the FC-12 package suggested by knudfl. If that also did not work out, I will go for FC-12.
I will let you know the result ASAP.

Thank you,
Vamsi Krishna
 
Old 01-08-2011, 12:14 PM   #5
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Rep: Reputation: 15
You can also get kernel files from www.kernel.org for the same kernel. If FC12 has modified the source files, then you would need to use theirs.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernal panic after update redhat enterprice 4 from kernal(2.6.9-5) to kernal(2.6.9-42 TAREK-SALAMA Linux - Enterprise 3 09-10-2006 09:07 AM
kernal source phoneix Linux - Hardware 13 07-16-2005 07:33 AM
kernal panic: no init found suguname Mandriva 1 03-05-2005 04:45 AM
which of these is the kernal source? pharmd Linux - Newbie 2 02-26-2005 04:30 PM
kernal panic: No init found??? s9722 Linux - General 14 06-11-2003 09:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:54 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