loader can't load vmm.ko after upgrade of -STABLE
George Hartzell
hartzell at alerce.com
Sat Jul 18 18:22:04 UTC 2015
I've filed this as [bug
201679](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201679).
---
I upgraded my 10.2-STABLE system via svn last night, did the build and
install world and kernel dance. Generally everything is as it should
be.
But, I can no longer load `vmm.ko` via the loader, which used to work.
I have these lines in `/boot/loader.conf`:
```
vmm_load="YES"
pptdevs="0/23/0"
```
and/but at the machine boots, I get this on the console.
```
>> FreeBSD EFI boot block
Loader path: /boot/loader.efi
Consoles: EFI console
Image base: 0x78a69000
EFI version: 2.40
EFI Firmware: EDK II (rev 1.00)
FreeBSD/amd64 EFI loader, Revision 1.1
(root at fishy.alerce.com, Sat Jul 18 00:42:15 PDT 2015)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x1396e50 data=0x132738+0x4d7f40 syms=[0x8+0x159d50+0x8
+0x17465c]
/boot/entropy size=0x1000
/boot/kernel/vmm.ko |
elf64_obj_loadimage: read failed
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Start @ 0xffffffff802f9000 ...
```
I am unable to load them by hand via the loader either:
```
OK
OK load vmm
/boot/kernel/vmm.ko -
elf64_obj_loadimage: read failed
can't load file '/boot/kernel/vmm.ko': input/output error
OK
```
Loading `/boot/kernel.old/vmm.ko` (from the old build) also fails.
I can load the module using `kldload` once the system is up and running.
I also noticed that the `if_urtwn.ko` module loaded via the loader, so I think that loading kernel modules is not generally broken.
```
root at fishy:~ # kldload vmm
root at fishy:~ # kldstat
Id Refs Address Size Name
1 9 0xffffffff80200000 1e6fa38 kernel
2 1 0xffffffff82211000 11f42 if_urtwn.ko
3 1 0xffffffff82223000 338ac2 vmm.ko
root at fishy:~ #
```
I'd like to get this working. Suggestions?
More information about the freebsd-questions
mailing list