LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-06-2019, 06:12 AM   #1
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Rep: Reputation: 149Reputation: 149
open-iscsi


Anyone built it?

The latest slackbuild doesn't work, fails with:

Code:
/tmp/SBo/open-iscsi-2.0.875/iscsiuio/src/unix/libs/qedi.c:523: undefined reference to `minor'
Which looks like it might have been fixed in later version, according to:

https://bugs.debian.org/cgi-bin/bugr...cgi?bug=908160

However pulling latest release results in:

Code:
/usr/bin/ld: ../libopeniscsiusr/libopeniscsiusr.so: undefined reference to `kmod_module_probe_insert_module'
/usr/bin/ld: ../libopeniscsiusr/libopeniscsiusr.so: undefined reference to `kmod_module_unref'
/usr/bin/ld: ../libopeniscsiusr/libopeniscsiusr.so: undefined reference to `kmod_new'
/usr/bin/ld: ../libopeniscsiusr/libopeniscsiusr.so: undefined reference to `kmod_unref'
/usr/bin/ld: ../libopeniscsiusr/libopeniscsiusr.so: undefined reference to `kmod_load_resources'
/usr/bin/ld: ../libopeniscsiusr/libopeniscsiusr.so: undefined reference to `kmod_module_new_from_name'
Which looks like it requires this patch:

https://git.archlinux.org/svntogit/c...ges/open-iscsi

Leading to:
https://github.com/open-iscsi/open-iscsi/issues/151 . (systemd requirement).

So I decided to pull from source, then build with

Code:
make NO_SYSTEMD=1
But no joy there either:

Code:
iscsid.c:38:10: fatal error: systemd/sd-daemon.h: No such file or directory
   38 | #include <systemd/sd-daemon.h>
      |
Just wondering what the next step is. Maybe try to get the old version working....
 
Old 09-06-2019, 07:34 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
apply this patch to the version on SBo
Attached Files
File Type: txt include_sysmacros.patch.txt (1.3 KB, 33 views)
 
1 members found this post helpful.
Old 09-06-2019, 07:44 AM   #3
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
Ha!! I just made exactly those changes manually. Thanks anyway Matteo :-).

Last edited by bifferos; 09-06-2019 at 08:38 AM.
 
Old 09-06-2019, 09:11 AM   #4
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
Just for info, with that fix, I am up-and-running with my target and initiator, both running slackware-current, nicely saturating my 1GB network.
Code:
hdparm -t /dev/sdb1

/dev/sdb1:
SG_IO: bad/missing sense data, sb[]:  72 05 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 Timing buffered disk reads: 302 MB in  3.01 seconds = 100.43 MB/sec
Thank you Matteo (and thank you Slackware) for such amazing support.

kind regards,
Biff.
 
Old 09-08-2019, 03:34 PM   #5
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
Just to follow-up (and to avoid anyone else bothering him), the maintainer has agreed to add that patch so the fixed version will show up on slackbuilds soon.
 
  


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
[SOLVED] pacemaker - iscsi: how to set up iscsi targets/logical units? eantoranz Linux - Server 9 01-02-2013 08:38 AM
[SOLVED] slow open-iscsi connection starmonche Linux - Virtualization and Cloud 2 03-21-2010 05:59 PM
open-iscsi problem on Slackware tears Linux - Software 0 03-10-2009 12:49 PM
open iSCSI initiator timeout settings athreyavc Linux - Software 0 03-04-2009 11:33 AM
changes on other iscsi nodes attached to an ext3 iscsi target not being seen sldahlin Linux - Server 1 06-07-2008 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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