On 28 Jan 2021, at 00:08, John Baldwin <[email protected]> wrote:
> 
> On 1/27/21 1:29 PM, Dimitry Andric wrote:
>> The branch main has been updated by dim:
>> URL: 
>> https://cgit.FreeBSD.org/src/commit/?id=6e26189be406a9a3799074b16925e6cd63cc703b
>> commit 6e26189be406a9a3799074b16925e6cd63cc703b
>> Author:     Dimitry Andric <[email protected]>
>> AuthorDate: 2021-01-27 21:28:43 +0000
>> Commit:     Dimitry Andric <[email protected]>
>> CommitDate: 2021-01-27 21:28:43 +0000
>>     Fix loader detection of vbefb support on !amd64
>>          On i386, after 6c7a932d0b8baaaee16eca0ba061bfa6e0e57bfd, the vbefb 
>> vt
>>     driver was no longer detected by the loader, if any kernel module was
>>     loaded after the kernel itself.
>>          This was caused by the parse_vt_drv_set() function being called 
>> multiple
>>     times, resetting the detection flag. (It was called multiple times,
>>     becuase i386 .ko files are shared objects like the kernel proper, while
>>     this is not the case on amd64.)
>>          Fix this by skipping the set_vt_drv_set lookup if vbefb was already
>>     detected.
>>          Reviewed by:    tsoome
> 
> Does the state get reset if you unload one kernel and then load a different
> one (e.g. via interactive 'unload' and 'load /path/to/my/kernel')?

Ha, good one! I don't think it is.

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to