Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: no options COMPAT_43



On 2019/04/16 6:21, Paul Goyette wrote:
> On Mon, 15 Apr 2019, Paul Goyette wrote:
> 
>> There may be some other option you have enabled which requires COMPAT_43
>>
>> Try to boot your new kernel and use modstat(8) to see what other modules might require the compat_43 module.
> 
> A quick check on my recent amd64 build shows that compat_linux requires
> compat_43.

modstat said:
> NAME                       CLASS    SOURCE   FLAG  REFS    SIZE REQUIRES
> compat_43                  exec     builtin  -        2       - compat_sysctl_09_43,compat_util,compat_60
> compat_linux               exec     builtin  -        1       - compat_ossaudio,sysv_ipc,compat_util,compat_50,compat_43,exec_elf64
> compat_linux32             exec     builtin  -        0       - compat_linux,sysv_ipc,compat_sysv_50,compat_netbsd32_50,compat_netbsd32_43,exec_elf32,compat_netbsd32,compat_netbsd32_sysvipc
> compat_netbsd32_43         exec     builtin  -        1       - compat_netbsd32,compat_43

so I added the following three lines to my config file and worked as I expected:

no options      COMPAT_LINUX
no options      COMPAT_LINUX32
no options      COMPAT_43

Thanks!

> 
>> On Mon, 15 Apr 2019, Masanobu SAITOH wrote:
>>
>>> Hi.
>>>
>>> I tried to make a kernel without COMPAT_43 from conf/GENERIC.
>>> I added "no options COMPAT_43" at the end of conf/GENERIC or
>>> conf/GENERIC.local, but compile/GENERIC/opt_compat_43.h had:
>>>
>>>     #define COMPAT_43       1
>>>
>>> Is this behavior intended? When I added "no options COMPAT_43"
>>> twice, config(8) said:
>>>
>>>     GENERIC:1219: warning: options `COMPAT_43' is not defined
>>>
>>> so my "no options COMPAT_43" lines are at after loading of
>>> sys/conf/compat_netbsd.config.
>>>
>>> -- 
>>> -----------------------------------------------
>>>                SAITOH Masanobu (msaitoh%execsw.org@localhost
>>>                                 msaitoh%netbsd.org@localhost)
>>>
>>> !DSPAM:5cb45ac1290301372017733!
>>>
>>>
>>
>> +--------------------+--------------------------+-----------------------+
>> | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
>> | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
>> | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
>> +--------------------+--------------------------+-----------------------+
>>
> 
> +--------------------+--------------------------+-----------------------+
> | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
> | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
> | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
> +--------------------+--------------------------+-----------------------+


-- 
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index