hello folks,
i have built a new kernel today. the system crashed at bootime(couldnt track so far what the message was, as the crashes where ongoing). i disabled nvidia.ko in loader.conf and the system was coming up cleanly. i tried to load nvidia.ko by hand and got:
so i recompiled nvidia driver tried to load it and got the same error.
next i had a look at linux.ko going to /boot/kernel trying to load linux.ko by hand resulted in:
now, having a look onto both modules with file:
which sounds perfectly fine to me. what else can i do to track this problem down?
i have several other modules loaded which work fine.
one last note, some time ago i was playing with /compat/i386 and trying to build an nvidia i386 driver for wine support onto amd64 systems. in the end i am not sure how this should affect new kernelbuilds in /usr/src however - maybe there is some magic constraints.
regards,
i have built a new kernel today. the system crashed at bootime(couldnt track so far what the message was, as the crashes where ongoing). i disabled nvidia.ko in loader.conf and the system was coming up cleanly. i tried to load nvidia.ko by hand and got:
Code:
Jun 9 10:30:08 kern kernel: link_elf_obj: symbol elf32_insert_brand_entry undefined
Jun 9 10:30:08 kern kernel: linker_load_file: Unsupported file type
Jun 9 10:30:08 kern kernel: KLD nvidia.ko: depends on linux - not available or version mismatch
Jun 9 10:30:08 kern kernel: linker_load_file: Unsupported file type
so i recompiled nvidia driver tried to load it and got the same error.
next i had a look at linux.ko going to /boot/kernel trying to load linux.ko by hand resulted in:
Code:
Jun 9 10:32:58 kern kernel: link_elf_obj: symbol elf32_insert_brand_entry undefined
Jun 9 10:32:58 kern kernel: linker_load_file: Unsupported file type
now, having a look onto both modules with file:
Code:
linux.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), not stripped
nvidia.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), not stripped
i have several other modules loaded which work fine.
one last note, some time ago i was playing with /compat/i386 and trying to build an nvidia i386 driver for wine support onto amd64 systems. in the end i am not sure how this should affect new kernelbuilds in /usr/src however - maybe there is some magic constraints.
regards,