Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2012 22:17:12 +0200
From:      Tom Lislegaard <tom@lislegaard.net>
To:        Sergey Kandaurov <pluknet@gmail.com>
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: Problem with isp driver in 8.3-Stable
Message-ID:  <CAFxxQFyxsFsKixetnCuF4RZFrS5Kc80j--tgzzKKgB0KaQfiUA@mail.gmail.com>
In-Reply-To: <CAE-mSOKz3D9JstMQfeQgCLKM8owCpiQrZtcM9YZfuDPkf0cwvg@mail.gmail.com>
References:  <CAFxxQFxk7yBN8RapCNNGTF190yab0Zx5L79F2h2zHdQs2%2BPBPw@mail.gmail.com> <CAE-mSOKz3D9JstMQfeQgCLKM8owCpiQrZtcM9YZfuDPkf0cwvg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 28, 2012 at 3:20 PM, Sergey Kandaurov <pluknet@gmail.com> wrote=
:
> On 28 April 2012 13:37, Tom Lislegaard <freebsd@lislegaard.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFxxQFyxsFsKixetnCuF4RZFrS5Kc80j--tgzzKKgB0KaQfiUA>