Re: Can't start iscsid - kldload: can't load iscsi: Exec format error - FreeBSD 10 Alpha 2

From: Edward Tomasz Napierała <trasz_at_FreeBSD.org>
Date: Fri, 11 Oct 2013 10:24:39 +0200
Wiadomość napisana przez Mike C. w dniu 10 paź 2013, o godz. 23:41:
> Hi,
> 
> I'm running Alpha-2 and wanted to test with iscsi but it seems I can't
> start iscsid.
> 
> 
> $ sudo service iscsid onerestart
> kldload: can't load iscsi: Exec format error
> /etc/rc.d/iscsid: WARNING: Unable to load kernel module iscsi
> /etc/rc.d/iscsid: WARNING: failed precmd routine for iscsid
> 
> 
> dmesg shows:
> interface icl.1 already present in the KLD 'kernel'!
> linker_load_file: Unsupported file type

Do you have "device ctl" in your kernel config?  If so,
either remove it (ctl.ko module is automatically loaded
by ctladm), or add "device iscsi".

The problem here is that part of the code (icl) is shared
between the target (which is part of CTL) and initiator
(iscsi.ko); compiling CTL into the kernel pulls that part
in, and the iscsi.ko can't get loaded because, well, "icl
is already present in the kernel", as the error message
says.

Let me know how it works for you.

-- 
If you cut off my head, what would I say?  Me and my head, or me and my body?
Received on Fri Oct 11 2013 - 06:24:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC