PDA

View Full Version : where's the source rpm?


haldara
2004-09-25, 11:51 PM CDT
Hey:

SO I just installed Fedora Core 3, Test Release 2 and it's running great. Only gripe is that I can't seem to locate the kernel source RPM on any of the CDs or on the web. My kernel is 2.6.8-1.541, so
I assumed the right file to search for would be

kernel-source-2.6.8-1.541.i386.rpm <or something similar>

I guess I forgot to install it before since it's not showing up in my /usr/src.

I need the sources for a couple of applications that I'm installing (namely VMWare), as well as for building NTFS support for this kernel.

Anyone got any suggestions?

superbnerd
2004-09-26, 12:03 AM CDT
the source rpm is called kernel-sourcecode. look for that.

sailor
2004-09-26, 01:46 AM CDT
is this what you are looking for? kernel-2.6.8-1.541.src.rpm
http://ftp.freshrpms.net/pub/fedora/linux/core/test/2.91/SRPMS/kernel-2.6.8-1.541.src.rpm

consent
2004-10-03, 01:02 PM CDT
haldara,

did you find the source package ? was the above link posted by sailorsgh correct? were you able to install ntfs support? i am also stuck up with the same problem.

thanks,
senthil

foolish
2004-10-03, 03:58 PM CDT
You only need the sourcecode to create your own kernel based on the fedora kernel. All the headers and stuff needed to create kernel modules are included in the kernel or the glibc-kernheaders package.

consent
2004-10-06, 10:56 PM CDT
can someone point to a help page or a document where you create kernel modules using the kernel or the glibc-kernelheaders as suggested by the above user?.

thanks
senthil

jale2ice
2004-10-11, 03:33 AM CDT
Has anyone found the source kernel packages? Are they putting them out?

I need them for my NVIDIA drivers...

Crashoverride
2004-10-14, 11:42 AM CDT
I haven't found it yet, this is really bad, I expect this from Mandrake but not Fedora. So dissapointed.

jrittvo
2004-10-14, 11:55 AM CDT
This is the "new way" to make a source tree with Fedora. Substitute the actual number for XXX noted below. . . . Go to:

http://download.fedora.redhat.com/p...elopment/SRPMS/

and get the kernel-2.6.8-1.XXX.src.rpm package.

Then run:

rpm -i kernel-2.6.8-1.XXX.src.rpm

and then run (maybe need to be root?):

rpmbuild -bp --target noarch /usr/src/redhat/SPECS/kernel-2.6.spec

and the sourcecode tree will end up in:

/usr/src/redhat/BUILD/kernel-2.6.8-1.XXX

You'll probably need to move the folder linux-2.6.8-1.XXX from inside /usr/src/redhat/BUILD/kernel-2.6.8-1.XXX to be right in /usr/src/ for the nvidia (or other) stuff to find it.

Note: Some people are having trouble getting the nvidia module to compile or install against these new kernels. So they have been using a version you can get from here, which has a patch applied:

http://ngc891.blogdns.net/index.php...-nvidia-drivers

jale2ice
2004-10-15, 03:27 PM CDT
Yeah, I got it now... I didn't need the kernel source package... I read the udev problem thing in fedoranews.org.