Fedora Linux Support Community & Resources Center
  #16  
Old 13th April 2006, 02:25 AM
rahulgandhi Offline
Registered User
 
Join Date: Apr 2006
Posts: 58
Unfortunately the work out given is not working wdgiles. when i type in that command it says

"sed: -e expression # 1 char 23: unknown option to 's'"

I looked into code but i dont know what they are talkin about. I guess this is because there is difference in code I am running the guy who had same error running.

he is running linux-iscsi-4.0.1.11 and i am running linux-iscsi-4.0.2.

when i try same error in google one link has come to match but couldnot be opened.


type this in google and only one link comes up which cannot be opened:

"/usr/src/iscsi/linux-iscsi-4.0.2/driver/iscsi-session.c:481: warning: conflicting types for built-in function 'strdup'"


plz help me wat i need to do...

thquuuuuuuuuuuuu
Reply With Quote
  #17  
Old 13th April 2006, 02:37 AM
rahulgandhi Offline
Registered User
 
Join Date: Apr 2006
Posts: 58
Hey in google i something like this to do if this is problem but could not understand what it is:


When trying to build from cvs I get this:


/usr/src/linux-iscsi/driver/iscsi-session.c:457: warning: conflicting types for built-in function 'strdup'

Adding -fno-builtin-strdup to the gcc flags lets the build continue. Is
there any problem with doing this?
Reply With Quote
  #18  
Old 13th April 2006, 03:52 AM
rahulgandhi Offline
Registered User
 
Join Date: Apr 2006
Posts: 58
Hi I finally worked out that and the make file for it moved to second stage i.e finishe compiling to some extent but now I am getting :

daemon/iscsid.c:986: error: break statement not within loop or switch

and when i try to search in google i get only one link :
[linux-iscsi-users] Problem compiling in kernel 2.6.10daemon/iscsid.c:986: error: break statement not within loop or switch daemon/iscsid.c: At top level: daemon/iscsid.c:989: error: syntax error before "if" ...
copilotconsulting.com/mail-archives/ linux-iscsi.2005/msg00480.html - 14k - Supplemental


but it is not openein
Reply With Quote
  #19  
Old 13th April 2006, 02:42 PM
rahulgandhi Offline
Registered User
 
Join Date: Apr 2006
Posts: 58
Hi I have been trying to install iscsi and after search in google , the link is

http://www.google.com/search?hl=en&l...gz&btnG=Search

in first link pdf doc talks about how to install it but i could not understand step 2 given in it . i donnot know if i already have those libsysfs-dev etc and how do i install if i don't have them. how do we check if we have them?
Reply With Quote
  #20  
Old 13th April 2006, 05:11 PM
rahulgandhi Offline
Registered User
 
Join Date: Apr 2006
Posts: 58
Do u feel that I installed linux correctly ? well how can i install 2.6.10 with cd's i mean 4 cd's from where i installed 2.6.9
Reply With Quote
  #21  
Old 13th April 2006, 09:40 PM
rahulgandhi Offline
Registered User
 
Join Date: Apr 2006
Posts: 58
Hi Guyz plz help me I m goin crazy here. I am no where going...

My primary goals now:

Install kernel 2.6.10 and check if it is installed properly or not?


Install iscsi on linux machines using document and drivers in sourceforge.net?

http://sourceforge.net/projects/linux-iscsi/


Plz somebody helpme.

previously after install of everything i m unable to run iscsi and there are no error messages.
Reply With Quote
  #22  
Old 13th April 2006, 09:59 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 26
Posts: 9,224
Why not just "fresh install" Fedora Core 5 and get the ordeal done with? It would be much faster than dealing with all these bugs and errors...
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #23  
Old 14th April 2006, 03:41 PM
rahulgandhi Offline
Registered User
 
Join Date: Apr 2006
Posts: 58
Fc 2.6.10 release

Hi I do not have any problem in installing 2.6.10 again but I am uable to get that version and i m only able to download latest versions. plz let me know if there is any availability of specific 2.6.10 in fc3 or fc4 or or fc5.

Thnx in advance. i need it as early as possible.
Reply With Quote
  #24  
Old 14th April 2006, 07:17 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 26
Posts: 9,224
That's what I mean -- Fedora Core 5 has 2.6.16 by default, so would that suit your needs? Or do you mean you need precisely a 2.6.10 kernel?
I'm not sure, but I think a 2.6.16 kernel would do fine even if you needed 2.6.10 as 2.6.16 will have all the features you need of the 2.6.10...
As for only latest versions, you'll have trouble finding a RPM for 2.6.10 if updates have been released as mirrors & download.fedora.redhat.com remove the old RPMS for disk space reasons. (I think only the newest or 2 newest kernels are kept in the mirrors...)
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #25  
Old 15th April 2006, 05:38 PM
rahulgandhi Offline
Registered User
 
Join Date: Apr 2006
Posts: 58
Hi only 2.6.10

My Major problem is because of this document:


Install iscsi on linux machines using document and drivers in sourceforge.net?

http://sourceforge.net/projects/linux-iscsi/

So i need tospecifically install 2.6.10 release only. so can u please find a way to download that version also please go through above procedure and you might get some thought for alternative solution to it.
Reply With Quote
  #26  
Old 15th April 2006, 05:45 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 26
Posts: 9,224
From the page:
Quote:
Drivers and daemon for using iSCSI (SCSI over IP) on Linux. For Linux kernels 2.6.11 and above, use open-iscsi.org.
Install Fedora Core 5 and then try using the drivers from
open-iscsi.org
EDIT: A quote now from open-iscsi.org:
Quote:
NEWS
Linux-iSCSI(sfnet) and Open-iSCSI projects merged!(April 11, 2005)

After a lot of discussions between the teams the conclusion was reached that taking the open-iscsi source as the basis for the "next generation" of linux-iscsi is the best course of action. See the related announcement
So this is the next-generation driver that you need, plus it will be in the all-new Core 5
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #27  
Old 17th April 2006, 11:48 PM
rahulgandhi Offline
Registered User
 
Join Date: Apr 2006
Posts: 58
Help Needed

Hi as per your suggestion i installed FC5 latest version and used 5 cd's given for installation and working good but my actual aim is to install iscsi over the linux and the procedure is documented in link below:

http://www.open-iscsi.org/docs/README

I am having hard time understanding :

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"

And also

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.


what am i supposed to do here? and how do i do them?

Please tell me soon and i would try it ASAP.........


thx in advance..

plz do suggest me soon.
Reply With Quote
  #28  
Old 18th April 2006, 12:43 AM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 26
Posts: 9,224
In that case do
Code:
./configure
make KSRC="/usr/src/kernels/$(uname -r)"
make install
EDIT: It seems all this was unneeded! (Installing FC5 was, but...) Fedora has a RPM package available through yum:
Code:
su -
yum install iscsi-initiator-utils
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #29  
Old 18th April 2006, 12:50 PM
rahulgandhi Offline
Registered User
 
Join Date: Apr 2006
Posts: 58
hi

in which dir should i type the command ./config given by you? and i dont have source rpm for it so where should i dot make command?

also what about changing cryptographic options etc which needs to be changed.


plz explain me clearly(i m novice in linxu). thx for u r help....
Reply With Quote
  #30  
Old 18th April 2006, 02:21 PM
rahulgandhi Offline
Registered User
 
Join Date: Apr 2006
Posts: 58
plz help me soon . thq in advance
Reply With Quote
Reply

Tags
core, fedora, upgrade

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
Upgrade from Fedora Core 1 to Core 5 nava Installation, Upgrades and Live Media 4 21st June 2006 03:54 PM
upgrade via yum frmo fedora core 2 to fedora core 3 ccole Installation, Upgrades and Live Media 1 4th May 2005 05:21 AM
Upgrade from Fedora Core 1 to Core 2 jayeshrode Installation, Upgrades and Live Media 2 8th June 2004 05:30 PM


Current GMT-time: 19:22 (Monday, 21-08-2017)

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