link_elf_obj: symbol vm_page_lock_queues undefined

From: AN <andy_at_neu.net>
Date: Fri, 16 Nov 2012 21:24:26 -0500 (EST)
FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #38 r243165: Fri Nov 16 
20:53:48 EST 2012     root_at_FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64

Vbox is broken for me after recent upgrade.

# dmesg
Table 'FACP' at 0xc7fb0290
Table 'APIC' at 0xc7fb0390
APIC: Found table at 0xc7fb0390
APIC: Using the MADT enumerator.
MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
SMP: Added CPU 0 (AP)
MADT: Found CPU APIC ID 1 ACPI ID 2: enabled
SMP: Added CPU 1 (AP)
MADT: Found CPU APIC ID 2 ACPI ID 3: enabled
SMP: Added CPU 2 (AP)
MADT: Found CPU APIC ID 3 ACPI ID 4: enabled
SMP: Added CPU 3 (AP)
MADT: Found CPU APIC ID 132 ACPI ID 5: disabled
MADT: Found CPU APIC ID 133 ACPI ID 6: disabled
Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #38 r243165: Fri Nov 16 20:53:48 EST 2012
     root_at_FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff81e8b000.
Preloaded elf obj module "/boot/kernel/amdtemp.ko" at 0xffffffff81e8b200.
Preloaded elf obj module "/boot/modules/nvidia.ko" at 0xffffffff81e8b768.
Preloaded elf obj module "/boot/kernel/linux.ko" at 0xffffffff81e8bd90.
Preloaded elf obj module "/boot/modules/vboxdrv.ko" at 0xffffffff81e8c538.
link_elf_obj: symbol vm_page_lock_queues undefined
KLD file vboxdrv.ko - could not finalize loading
Calibrating TSC clock ... TSC clock: 3100083911 Hz
CPU: AMD Athlon(tm) II X4 645 Processor (3100.08-MHz K8-class CPU)
   Origin = "AuthenticAMD"  Id = 0x100f53  Family = 0x10  Model = 0x5 
Stepping = 3

Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
   Features2=0x802009<SSE3,MON,CX16,POPCNT>
   AMD 
Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
   AMD 
Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>


I rebuilt and reinstalled:
===>  Installing for virtualbox-ose-kmod-4.1.22
===>   Registering installation for virtualbox-ose-kmod-4.1.22

# kldload vboxdrv.ko
kldload: can't load vboxdrv.ko: Exec format error

Log file:
ov 16 21:16:40 FBSD10 kernel: link_elf_obj: symbol vm_page_lock_queues 
undefined
Nov 16 21:16:40 FBSD10 kernel: linker_load_file: Unsupported file type

Any help is appreciated, thanks in advance.
Received on Sat Nov 17 2012 - 01:24:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC