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

From: Mike C. <miguelmclara_at_gmail.com>
Date: Fri, 11 Oct 2013 12:15:29 +0100
On 10/11/13 09:24, Edward Tomasz Napierała wrote:
> 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".

device          ctl             # CAM Target Layer

Seems that GENERIC has it by default! I'll remove and recompile!

Thanks

> 
> 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.
> 
Received on Fri Oct 11 2013 - 09:15:38 UTC

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