Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2013 10:24:39 +0200
From:      =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= <trasz@FreeBSD.org>
To:        Mike C. <miguelmclara@gmail.com>
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:  <A88A00CA-C292-42F4-8E3D-976CDAA03A8D@FreeBSD.org>
In-Reply-To: <52571EF6.8010703@gmail.com>
References:  <52571EF6.8010703@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Wiadomo=B6=E6 napisana przez Mike C. w dniu 10 pa=BC 2013, o godz. =
23:41:
> Hi,
>=20
> I'm running Alpha-2 and wanted to test with iscsi but it seems I can't
> start iscsid.
>=20
>=20
> $ 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
>=20
>=20
> 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.

--=20
If you cut off my head, what would I say?  Me and my head, or me and my =
body?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A88A00CA-C292-42F4-8E3D-976CDAA03A8D>