Bug 212226

Summary: vesa.ko - fails to detect it's already loaded
Product: Base System Reporter: Sevan Janiyan <venture37>
Component: kernAssignee: freebsd-bugs mailing list <bugs>
Status: New ---    
Severity: Affects Only Me Keywords: crash, regression
Priority: ---    
Version: 11.0-RC1   
Hardware: Any   
OS: Any   

Description Sevan Janiyan 2016-08-28 22:58:48 UTC
Attempting to load the vesa.ko module from a terminal results in the following error being reported.

module_register_init: MOD_LOAD (vesa, 0xffffffff82421000, 0) error 6
sysctl_unregister_oid: failed to unregister sysctl


If vesa_load=YES is defined in /boot/loader.conf, this results in a unbootable system, error being reported as

panic: module_register_init: module named vesa not found.

System is running the stock RC-2 generic kernel & I had not checked that the config file already includes the vesa module.

Attempting to load the vesa module on 10.3-RELEASE results in
module_register: cannot register vesa from kernel; already loaded from vesa.ko
Module vesa failed to register: 17

System boots without isuse if vesa_load=YES is defined in loader.conf