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

Mike C. miguelmclara at gmail.com
Fri Oct 11 11:15:38 UTC 2013


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.
> 


More information about the freebsd-current mailing list