From owner-freebsd-current@FreeBSD.ORG Fri Oct 11 11:15:38 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3E4823E2; Fri, 11 Oct 2013 11:15:38 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A95222B6E; Fri, 11 Oct 2013 11:15:37 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hm2so909327wib.10 for ; Fri, 11 Oct 2013 04:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ofVH28r88WxSLZxkIRL/9pKVCtZUX4nxInJnhIWrkfQ=; b=JHmgLmD/qC1ZPwGvDoVp0RuJ4yumEQrfJQ+a5yzALdNwR2a8dP5flyCl3sUzpJVs2o L3zaSKW67JdUjlAU+Ri2ZCLxztWBojpXmU5bedxYMXuR8FVsm7RYF/Qit/C284qZJtFu rFMOqyrkhV6sDUT3cC+21p2S+0iIDrzjkFm2Bk1FnR7DCyhj7WLF3sT5NiDz4oUZt4LU OVmItr6lmQsvtNMVHvXD4SDat6RtcvLWw5zJa5lSfSv1zLpw8+4WyIZPv4QuFu+LOcQ3 057yrT6IJzupNtLnW9H5utQBdmyoYCxy89NlyrHgy6GM4DFsyqyF62Q/6mAsi7f/WSqE 3xdQ== X-Received: by 10.180.208.2 with SMTP id ma2mr2765463wic.52.1381490136060; Fri, 11 Oct 2013 04:15:36 -0700 (PDT) Received: from [10.10.50.70] (52.91.249.5.rev.vodafone.pt. [5.249.91.52]) by mx.google.com with ESMTPSA id y20sm4117642wib.0.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 04:15:35 -0700 (PDT) Message-ID: <5257DDD1.4070403@gmail.com> Date: Fri, 11 Oct 2013 12:15:29 +0100 From: "Mike C." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: =?ISO-8859-2?Q?Edward_Tomasz_Napiera=B3a?= Subject: Re: Can't start iscsid - kldload: can't load iscsi: Exec format error - FreeBSD 10 Alpha 2 References: <52571EF6.8010703@gmail.com> In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Oct 2013 11:15:38 -0000 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. >