From owner-freebsd-current@FreeBSD.ORG Fri Oct 11 08:24:50 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 1DFD1C9E for ; Fri, 11 Oct 2013 08:24:50 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-ee0-x22e.google.com (mail-ee0-x22e.google.com [IPv6:2a00:1450:4013:c00::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A9DB32057 for ; Fri, 11 Oct 2013 08:24:49 +0000 (UTC) Received: by mail-ee0-f46.google.com with SMTP id c13so1674341eek.19 for ; Fri, 11 Oct 2013 01:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=OsV2w8NjH2UhUas+IxmPxcZ3ilzP0YZaZa/8T/L1whI=; b=y2nBEFWVXB4K5A3vVCK7tvh4aH9V/b5vKTOjtjdWZjbEwDmoMUOwxXm5ogP70iYKwk Ao02r3NSIfZVB0rUSgBi+SGw5D0+3mi9zWOmPFz0xjIZe9+WXjErdHGYAhHgDgI4WwFQ Ec9kWKR9HpfyG14pruG+QcXXigSYAhAK267h2iKQ9Bc5gV2P34Z4qgMMcp0SgDIDXWAf nc70cdIROSDix63n5J0wvVbv+aMmxnsH7IApQlJ28Ci4YyhEIkOC1agf76Qf7HMXhXk7 TEB0np4nday9gMowT3yNt8DhqsKMesfKSLRvbzzC6HqztfBYfdMkrLD0FtYMk2ITRxTJ THdQ== X-Received: by 10.15.94.201 with SMTP id bb49mr27700447eeb.23.1381479887933; Fri, 11 Oct 2013 01:24:47 -0700 (PDT) Received: from strashydlo.home (adga102.neoplus.adsl.tpnet.pl. [79.184.130.102]) by mx.google.com with ESMTPSA id n48sm111940173eeg.17.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 01:24:46 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Subject: Re: Can't start iscsid - kldload: can't load iscsi: Exec format error - FreeBSD 10 Alpha 2 Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-2 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= In-Reply-To: <52571EF6.8010703@gmail.com> Date: Fri, 11 Oct 2013 10:24:39 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <52571EF6.8010703@gmail.com> To: Mike C. X-Mailer: Apple Mail (2.1283) 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 08:24:50 -0000 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?