Date: Fri, 11 Oct 2013 12:15:29 +0100 From: "Mike C." <miguelmclara@gmail.com> To: =?ISO-8859-2?Q?Edward_Tomasz_Napiera=B3a?= <trasz@FreeBSD.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: Can't start iscsid - kldload: can't load iscsi: Exec format error - FreeBSD 10 Alpha 2 Message-ID: <5257DDD1.4070403@gmail.com> In-Reply-To: <A88A00CA-C292-42F4-8E3D-976CDAA03A8D@FreeBSD.org> References: <52571EF6.8010703@gmail.com> <A88A00CA-C292-42F4-8E3D-976CDAA03A8D@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5257DDD1.4070403>