public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Locating CONFIG_ZONE_DEVICE
@ 2022-12-23  9:50 Michael
  2022-12-23 10:09 ` Peter Böhm
  0 siblings, 1 reply; 6+ messages in thread
From: Michael @ 2022-12-23  9:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

I got this message:

 * Messages for package dev-libs/roct-thunk-interface-5.3.3:

 *   CONFIG_ZONE_DEVICE:         is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.

and stated searching for ZONE_DEVICE in my kernel config, but can't find it:

 $ grep ZONE_DEVICE /usr/src/linux/.config
 $
 $ grep ZONE /usr/src/linux/.config
CONFIG_BLK_DEV_ZONED=y
CONFIG_BLK_DEBUG_FS_ZONED=y
CONFIG_ZONE_DMA=y
CONFIG_ZONE_DMA32=y
# CONFIG_NF_CONNTRACK_ZONES is not set
# CONFIG_DM_ZONED is not set
# CONFIG_ZONEFS_FS is not set
 $

Any idea where it might be hiding?

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Locating CONFIG_ZONE_DEVICE
  2022-12-23  9:50 [gentoo-user] Locating CONFIG_ZONE_DEVICE Michael
@ 2022-12-23 10:09 ` Peter Böhm
  2022-12-23 12:46   ` Michael
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Böhm @ 2022-12-23 10:09 UTC (permalink / raw
  To: gentoo-user

It is in:
Memory Management options  --->

and you will see it only if you have enabled this:

Depends on: MEMORY_HOTPLUG [=y] && MEMORY_HOTREMOVE [=y] && SPARSEMEM_VMEMMAP
[=y] && ARCH_HAS_PTE_DEVMAP [=y]

You can ALWAYS search with a / in make menuconfig (leading CONFIG_ is not
necessary).

Am Freitag, 23. Dezember 2022, 10:50:55 CET schrieb Michael:
> I got this message:
>
>  * Messages for package dev-libs/roct-thunk-interface-5.3.3:
>
>  *   CONFIG_ZONE_DEVICE:         is not set when it should be.
>  * Please check to make sure these options are set correctly.
>  * Failure to do so may cause unexpected problems.
>
> and stated searching for ZONE_DEVICE in my kernel config, but can't find it:
>
>  $ grep ZONE_DEVICE /usr/src/linux/.config
>  $
>  $ grep ZONE /usr/src/linux/.config
> CONFIG_BLK_DEV_ZONED=y
> CONFIG_BLK_DEBUG_FS_ZONED=y
> CONFIG_ZONE_DMA=y
> CONFIG_ZONE_DMA32=y
> # CONFIG_NF_CONNTRACK_ZONES is not set
> # CONFIG_DM_ZONED is not set
> # CONFIG_ZONEFS_FS is not set
>  $
>
> Any idea where it might be hiding?






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Locating CONFIG_ZONE_DEVICE
  2022-12-23 10:09 ` Peter Böhm
@ 2022-12-23 12:46   ` Michael
  2022-12-23 13:30     ` Morgan Wesström
  2022-12-23 17:47     ` Wol
  0 siblings, 2 replies; 6+ messages in thread
From: Michael @ 2022-12-23 12:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 623 bytes --]

On Friday, 23 December 2022 10:09:10 GMT Peter Böhm wrote:
> It is in:
> Memory Management options  --->
> 
> and you will see it only if you have enabled this:
> 
> Depends on: MEMORY_HOTPLUG [=y] && MEMORY_HOTREMOVE [=y] &&
> SPARSEMEM_VMEMMAP [=y] && ARCH_HAS_PTE_DEVMAP [=y]

Thanks!  I found it.  :-)

~ $ grep ZONE_DEVICE /usr/src/linux/.config
CONFIG_ZONE_DEVICE=y

> You can ALWAYS search with a / in make menuconfig (leading CONFIG_ is not
> necessary).

Hidden options do not show up until precedents have been enabled.  I had to 
enable a couple of the HOTPLUG options and then it showed up.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Locating CONFIG_ZONE_DEVICE
  2022-12-23 12:46   ` Michael
@ 2022-12-23 13:30     ` Morgan Wesström
  2022-12-23 17:39       ` Michael
  2022-12-23 17:47     ` Wol
  1 sibling, 1 reply; 6+ messages in thread
From: Morgan Wesström @ 2022-12-23 13:30 UTC (permalink / raw
  To: gentoo-user

> Hidden options do not show up until precedents have been enabled.  I had to
> enable a couple of the HOTPLUG options and then it showed up.

You can press the letter Z to toggle the display of hidden items.

/Morgan


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Locating CONFIG_ZONE_DEVICE
  2022-12-23 13:30     ` Morgan Wesström
@ 2022-12-23 17:39       ` Michael
  0 siblings, 0 replies; 6+ messages in thread
From: Michael @ 2022-12-23 17:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

On Friday, 23 December 2022 13:30:22 GMT Morgan Wesström wrote:
> > Hidden options do not show up until precedents have been enabled.  I had
> > to
> > enable a couple of the HOTPLUG options and then it showed up.
> 
> You can press the letter Z to toggle the display of hidden items.
> 
> /Morgan

Thanks!  I didn't know this.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Locating CONFIG_ZONE_DEVICE
  2022-12-23 12:46   ` Michael
  2022-12-23 13:30     ` Morgan Wesström
@ 2022-12-23 17:47     ` Wol
  1 sibling, 0 replies; 6+ messages in thread
From: Wol @ 2022-12-23 17:47 UTC (permalink / raw
  To: gentoo-user

On 23/12/2022 12:46, Michael wrote:
> On Friday, 23 December 2022 10:09:10 GMT Peter Böhm wrote:
>> It is in:
>> Memory Management options  --->
>>
>> and you will see it only if you have enabled this:
>>
>> Depends on: MEMORY_HOTPLUG [=y] && MEMORY_HOTREMOVE [=y] &&
>> SPARSEMEM_VMEMMAP [=y] && ARCH_HAS_PTE_DEVMAP [=y]
> 
> Thanks!  I found it.  :-)
> 
> ~ $ grep ZONE_DEVICE /usr/src/linux/.config
> CONFIG_ZONE_DEVICE=y
> 
>> You can ALWAYS search with a / in make menuconfig (leading CONFIG_ is not
>> necessary).
> 
> Hidden options do not show up until precedents have been enabled.  I had to
> enable a couple of the HOTPLUG options and then it showed up.

But / should (a) tell you where it is, and (b) tell you what to enable 
to make it appear.

That's what Peter meant when he said / will always find it. / won't make 
it appear, it tells *you* how to make it appear.

Cheers,
Wol


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-23 17:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-23  9:50 [gentoo-user] Locating CONFIG_ZONE_DEVICE Michael
2022-12-23 10:09 ` Peter Böhm
2022-12-23 12:46   ` Michael
2022-12-23 13:30     ` Morgan Wesström
2022-12-23 17:39       ` Michael
2022-12-23 17:47     ` Wol

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox