Discussion:
Problem with isp driver in 8.3-Stable
(too old to reply)
Tom Lislegaard
2012-04-28 09:37:46 UTC
Permalink
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

kldload: can't load isp: Exec format error

and dmesg says

link_elf_obj: symbol firmware_get undefined
linker_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

/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.

-tom
Sergey Kandaurov
2012-04-28 13:21:03 UTC
Permalink
Post by Tom Lislegaard
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
 kldload: can't load isp: Exec format error
and dmesg says
 link_elf_obj: symbol firmware_get undefined
 linker_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
 /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 amd64.
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="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
Tom Lislegaard
2012-04-28 20:19:09 UTC
Permalink
Post by Sergey Kandaurov
Post by Tom Lislegaard
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
 kldload: can't load isp: Exec format error
and dmesg says
 link_elf_obj: symbol firmware_get undefined
 linker_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
 /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 amd64.
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="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
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
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

Loading...