Fedora Linux Support Community & Resources Center
  #1  
Old 30th May 2006, 08:18 AM
Giorabar Offline
Registered User
 
Join Date: May 2006
Location: GMT+ 2
Age: 60
Posts: 12
Question Fedora FC5 kernel files

I have installed Fedora FC5 and now trying to install Iscsi.
during Iscsi install there is a need for kernel files, but I have noticed that the kernel files are missing.
I have both kernels:
2.6.16-1.2122_FC5smp , and 2.6.15-1.2054_FC5smp but no kernel sources were found.

the build link point to /usr/src/kernels/... but kernels dir does not exist in /usr/src

How can I get these source?
Reply With Quote
  #2  
Old 30th May 2006, 08:42 AM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
yum install kernel-devel
Reply With Quote
  #3  
Old 30th May 2006, 11:12 AM
Giorabar Offline
Registered User
 
Join Date: May 2006
Location: GMT+ 2
Age: 60
Posts: 12
Thanks , I ran it successfully.
Reply With Quote
  #4  
Old 30th May 2006, 06:04 PM
whutton Offline
Registered User
 
Join Date: Apr 2006
Posts: 6
so have you had any success with the installation of ISCSI on fc5?

i am about to do the same thing, the yum instructions were useful, as
i had forgot the command line option for the kernal sources

are you refering to the doc www.open-iscsi.org/docs/README ??
i am a bit confused as to what to modify and specifcally which file to make the changes in
still looking. i know the sources are in /usr/srcs/kernels/......

The instructions i have are below..

As of today, the Open-iSCSI Initiator requires a host running the
Linux operating system with kernel version 2.6.11, or later. You need to
enable "Cryptographic API" under "Cryptographic options" in the
kernel config. You also need to enable "CRC32c CRC algorithm" if
you use header or data digests. They are the kernel options,
CONFIG_CRYPTO and CONFIG_CRYPTO_CRC32C, respectively.

Compilation of the kernel Opne-iSCSI modules requires a path
to kernel sources:

make KSRC=<kernel-src>

or cross-compilation:

make KSRC=<kernel-src> KARCH="ARCH=um"


do we need to do this, or is it already done?

the crypto/Makefile has the following

obj-$(CONFIG_CRYPTO) += api.o scatterwalk.o cipher.o digest.o compress.o \
and
obj-$(CONFIG_CRYPTO_CRC32C) += crc32c.o

tks

Last edited by whutton; 30th May 2006 at 06:40 PM. Reason: add more info
Reply With Quote
  #5  
Old 31st May 2006, 06:43 AM
Giorabar Offline
Registered User
 
Join Date: May 2006
Location: GMT+ 2
Age: 60
Posts: 12
whutton,

I did not succeed yet. Yes I use the above doc, Yes as I undertsand you have to issue the make command.
Unfortunatley the make process still fails due to mismatch of the kernel , I havent figure it out yet.
If you do any progress please let me know.
Thanks
Reply With Quote
  #6  
Old 31st May 2006, 07:42 AM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Quote:
Originally Posted by whutton
do we need to do this, or is it already done?
CONFIG_CRYPTO is compiled in
CONFIG_CRYPTO_CRC32C is compiled as a module
See /usr/src/kernels/`uname -r`*/.config
Reply With Quote
  #7  
Old 31st May 2006, 08:04 PM
whutton Offline
Registered User
 
Join Date: Apr 2006
Posts: 6
giulix

although many years with linux i somehow managed to escaped the task of kernel modifications
thank you for pointing out that the config file was hidden.
i assume the instructions are indicating that one should change the settings to 'y'

# Automatically generated make config: don't edit
# Linux kernel version: 2.6.16-1.2122_FC5
# Sun May 21 14:58:07 2006
#

CONFIG_CRYPTO=y
#CONFIG_CRYPTO_CRC32C=m <<changed to y
CONFIG_CRYPTO_CRC32C=y


so we assume that we need to do all this

i got looking at tge /lib/modules directory
should it not have a subdirectory
2.6.16-1.2122

to match the kernal source?

if so where / how does one get these files?
Reply With Quote
  #8  
Old 1st June 2006, 06:20 PM
whutton Offline
Registered User
 
Join Date: Apr 2006
Posts: 6
have you taken the drivers off cd5
iscsi-initiator-utils-5.0.5.476-0.1.i386.rpm
and tried them?
Reply With Quote
  #9  
Old 3rd June 2006, 09:04 AM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
I've found these which seem to install fine on my machine, but I've got a single processor.
Reply With Quote
  #10  
Old 3rd June 2006, 11:05 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
Quote:
Originally Posted by Giorabar
I did not succeed yet. Yes I use the above doc, Yes as I undertsand you have to issue the make command.
Unfortunatley the make process still fails due to mismatch of the kernel , I havent figure it out yet.
The first message shows that you are running a SMP kernel, this means you must install kernel-smp-devel instead of kernel-devel.
Reply With Quote
  #11  
Old 4th June 2006, 10:23 AM
Giorabar Offline
Registered User
 
Join Date: May 2006
Location: GMT+ 2
Age: 60
Posts: 12
I have downloaded the iscsi-smp-devel successfully but still has the same iscsi Install

I have also downloaded the iscsi-initiator-util and this idea looks good thanks whutton. I will notify when/if it works.
Reply With Quote
  #12  
Old 7th June 2006, 11:32 AM
Giorabar Offline
Registered User
 
Join Date: May 2006
Location: GMT+ 2
Age: 60
Posts: 12
Finally succeeded to use the iscsi utils from the install disks.
I also succeded to install a newer version of Iscsi.
I finally succeeded to compile , install iscsi and create a session with iscsci devices
Currently get sporadic conn (1011) problem with uscsi which does not belong to this thread.

Thanks to every one
Reply With Quote
  #13  
Old 7th June 2006, 07:06 PM
karlchilders's Avatar
karlchilders Offline
Registered User
 
Join Date: Jan 2005
Location: Denver
Posts: 22
Updates can be found here

http://download.fedora.redhat.com/pu...2_FC5.i686.rpm
Reply With Quote
  #14  
Old 11th June 2006, 08:26 AM
Giorabar Offline
Registered User
 
Join Date: May 2006
Location: GMT+ 2
Age: 60
Posts: 12
Just an update for my Iscsi connected to INTRANSA IP5500 box.
I got a reply from Intransa support that the dont support open-iscsi yet!!!
therefor I need to get off FC5 until they would support it.
Reply With Quote
  #15  
Old 10th August 2006, 10:27 AM
psyklops's Avatar
psyklops Offline
Registered User
 
Join Date: Apr 2005
Posts: 344
You may want to try different versions of the iSCSI initiator. I've been able to set up and install iscsi-initiator utils (current version) on an FC5 box connecting to an iSCSI to FC router/gateway with good success.
__________________
Intel Core i7-2700K
16Gig RAM
Asus GTX 560 Ti
Fedora 16 x86_64
Reply With Quote
Reply

Tags
fc5, fedora, files, kernel

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
Fedora 11 kernel include files question gss4w Using Fedora 6 21st August 2009 03:01 AM
fedora kernel source files NLS45 Using Fedora 1 2nd December 2007 08:31 AM
fedora 5 kernel header files ilbh Using Fedora 12 2nd June 2006 02:33 PM
Fedora Core 5 - Kernel build files? skudder Using Fedora 15 27th April 2006 03:29 AM
FC4 SMP Kernel files louspag EOL (End Of Life) Versions 3 15th February 2006 01:42 PM


Current GMT-time: 23:04 (Saturday, 25-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