kldxref error when installing drm-next-kmod from ports 11.1
Tom Rushworth
tom.b.rushworth at gmail.com
Thu Mar 8 04:52:15 UTC 2018
Hi All,
Sorry for the delay in replying, it's been a very long time since I used
patch and I'm rusty :).
On 07/03/2018 13:25, Jung-uk Kim wrote:
> On 03/06/2018 22:39, Tom Rushworth wrote:
>> Hi All,
>>
>> I'm running X11 with screen saver and the i915kms graphics driver and
>> they seem to work, however I got the following messages when installing
>> drm-next-kmod from /usr/ports:
>>
>> Installing drm-next-kmod-4.11.g20180224...
>> kldxref: error while reading
>> //boot/modules/i915_bxt_huc_ver01_07_1398_bin.ko: Bad address
>> kldxref: error while reading
>> //boot/modules/i915_kbl_huc_ver02_00_1810_bin.ko: Bad address
>> kldxref: error while reading
>> //boot/modules/i915_skl_huc_ver01_07_1398_bin.ko: Bad address
>>
>> and I get them again when I install other kernel module (e.g. virtualbox
>> kmods).
>>
>> The machine in question is a Compulab Airtop, CPU (from boot in
>> /bar/log/messages):
>>
>> CPU: Intel(R) Xeon(R) CPU E3-1285L v4 @ 3.40GHz (3392.22-MHz K8-class CPU)
>> Mar 5 07:45:01 maxwell kernel: Origin="GenuineIntel" Id=0x40671
>> Family=0x6 Model=0x47 Stepping=1
>>
>> and from Xorg.log.0:
>>
>> 9.042] (--) intel(0): Integrated Graphics Chipset: Intel(R) Iris Pro
>> Graphics P6300
>>
>> # uname -a
>> FreeBSD maxwell.mannynkapy.net 11.1-STABLE FreeBSD 11.1-STABLE #0
>> r330126: Thu Mar 1 11:27:24 PST 2018
>> tbr at maxwell:/usr/obj/usr/src/sys/MAXWELL amd64
>>
>> The machine has 32G of memory. I checked out the latest 11.1 STABLE
>> kernel source, built a custom kernel from GENERIC by dropping the
>> network devices not present and the old ATA disk stuff, then checked out
>> the latest stable ports and did "make install" in
>> /usr/ports/graphics/drm-next-kmod.
>>
>> As I said, it seems to be running reasonably well, can anyone tell me if
>> I should worry about the error messages?
>>
>> I have the entire "make install" output saved via the "script" command
>> if more details are needed.
>>
>> Thanks in advance for any info or pointers.
>
> It looks the module names are too long. Please try the attached patch.
> Note you need to rebuild both graphics/drm-next-kmod and
> graphics/gpu-firmware-kmod.
>
> Jung-uk Kim
>
I couldn't quite get "make install" to work but I installed by hand and
things look good.
"make install" gave the following message:
===> Registering installation for gpu-firmware-kmod-g20180206_1
pkg-static: Unable to access file
/usr/ports/graphics/gpu-firmware-kmod/work/stage/boot/modules/i915_bxt_huc_ver01_07_1398_bin.ko:No
such file or directory
plus two more for the other long names.
I used the "make install" to build and stage them, then copied in the
modules by hand and removed the old ones.
It all runs, the graphics look good, and I can run:
xldxref -d /boot/modules
without any erorrs.
Thanks for the patch - in fact, thanks to all involved for all the work
on the i915 driver!
Regards,
--
Tom Rushworth
More information about the freebsd-x11
mailing list