From owner-freebsd-hardware@FreeBSD.ORG Sat Apr 28 20:17:14 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14EE3106566C for ; Sat, 28 Apr 2012 20:17:14 +0000 (UTC) (envelope-from tom.lislegaard@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 991828FC12 for ; Sat, 28 Apr 2012 20:17:13 +0000 (UTC) Received: by weyt57 with SMTP id t57so1398796wey.13 for ; Sat, 28 Apr 2012 13:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zOQ8ZBZogdUqpyOK740J6JJqvvId8J1zHdk3v+M0bNg=; b=l8wwt17B0QxCYxCVpQC21YUZ8uGl5ap6HmGx8E69WPYckg8NQoJXLln73bo5XJEQSf yMCKitJUFWlatyZFxZo/LMe+flAMEDHx/OynAeN3+62a/YsNkf4aS6xbYqRNGEFRUyWL LHzSfJxRwznKYDCNDBTjXLXFyewiqfF9JXr74+1JzxcYUPjjhSHctmSnGjRIyOqug1ig 67bf/azY2tQ6pE4S04sgtevQsH/F7t/kkTP81weulGYr9BeO3JIDHaaTrubCsfhH53Uo KwKmusg0JXKWsDQGesB17VZB+fy7aH40d2KVS2BSL473Uf4K7Q0mjMrGzaMbyGu/l3hJ 6tYQ== MIME-Version: 1.0 Received: by 10.180.81.135 with SMTP id a7mr642410wiy.16.1335644232477; Sat, 28 Apr 2012 13:17:12 -0700 (PDT) Sender: tom.lislegaard@gmail.com Received: by 10.180.82.8 with HTTP; Sat, 28 Apr 2012 13:17:12 -0700 (PDT) In-Reply-To: References: Date: Sat, 28 Apr 2012 22:17:12 +0200 X-Google-Sender-Auth: LbCqI96PyOsq-R7NLgzmgjiN_UQ Message-ID: From: Tom Lislegaard To: Sergey Kandaurov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hardware@freebsd.org Subject: Re: Problem with isp driver in 8.3-Stable X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Apr 2012 20:17:14 -0000 On Sat, Apr 28, 2012 at 3:20 PM, Sergey Kandaurov wrote= : > On 28 April 2012 13:37, Tom Lislegaard wrote: >> I'm trying to utilize a Qlogic 2432 FC card on 8.3-Stable (amd64) >> using the isp(4) driver. >> When I try to load the driver I get this >> >> =A0kldload: can't load isp: Exec format error >> >> and dmesg says >> >> =A0link_elf_obj: symbol firmware_get undefined >> =A0linker_load_file: Unsupported file type >> >> It seems that 'firmware_get' is defined in firmware.ko (is there a >> missing dependancy on this in isp?) >> Anyway, even if I load firmware.ko first I still get the same error. >> >> 'file /boot/kernel/isp.ko' returns >> >> =A0/boot/kernel/isp.ko: ELF 64-bit LSB relocatable, x86-64, version 1 >> (FreeBSD), not stripped >> >> There's nothing special in /etc/make.conf >> >> I'm using 8.3 as of yesterday, but saw the same behaviour on my >> previous install which was 8.2 from a few months back. >> > > I have working Qlogic 2432 FC with 8.2-STABLE (from November) GENERIC amd= 64. > I.e. it is the same configurations like yours. > > Do you have something special/non-standard in your setup like kernel > config or so? > Putting ispfw_load=3D"YES" into /boot/loader.conf should be enough to > make isp work > (both device firmware and device isp are already there in GENERIC). > > -- > wbr, > pluknet > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.or= g" Thanks for the tip. While isp (+ firmware and ispfw) don't seem to work as a loadable module, it works when compiled into the kernel. Adding them to my custom kernel config solved it for me. -tom