Re: [gentoo-user] Re: Peeve - finding kernel config options

2014-02-28 Thread thegeezer
On 02/28/2014 02:31 AM, walt wrote:
 On 02/27/2014 09:58 AM, thegeezer wrote:
 wow,
 it's been years that i've been staring at it and trying to find device
 drivers with bleary eyes.
 I'm having cataract surgery next month.  Care to join me? ;)
yikes at 39? 
 i can't believe i have missed the obvious for so very long
 thanks! always happy to learn new things
 I just checked the gentoo-user archives and found that you've been
 posting here for many moons, but flying below my radar until very
 recently.

 Why?  Because you've been posting into threads that are way above
 my pay grade, so I haven't been reading them :/

 Anyway, a belated welcome to the mailing list and thanks for the
 valuable info you've been sharing with us.
thanks, very happy to be here as it is also a treasure trove of valuable
information :)
 BTW, based on the content of your posts I'd estimate that you're
 roughly two years older than I am, which would make you about 41,
 right?
good guess, actually ~35




[gentoo-user] Re: Peeve - finding kernel config options

2014-02-27 Thread Grant Edwards
On 2014-02-27, Grant Edwards grant.b.edwa...@gmail.com wrote:
 On 2014-02-27, Alan McKinnon alan.mckin...@gmail.com wrote:

 make menuconfig
 press /
 type CONFIG_FHANDLE
 press enter
 profit!!!

 [Note the lack of ??? in the list]

 works like searching in vi or less

 The issue I occasionally have with that is that it only tells you the
 name of the CONFIG_ variable.  It doesn't tell you what the menu entry
 is.

Doh! I was wrong.  It _does_ show it.  It just doesn't show it where
I've been looking for it to be for the past 20 years:

   Symbol: E1000 [=n]
  Type  : tristate
   Prompt: Intel(R) PRO/1000 Gigabit Ethernet support
Location:
  - Device Drivers
- Network device support (NETDEVICES [=y])
  - Ethernet driver support (ETHERNET [=y])
  (2)   - Intel devices (NET_VENDOR_INTEL [=y])
Defined at drivers/net/ethernet/intel/Kconfig:47
Depends on: NETDEVICES [=y]  ETHERNET [=y]  NET_VENDOR_INTEL [=y] 
 PCI [=y]

The bottom level menu entry is shown at the _top_ rather than where I
always expected the bottom level to be shown (at the bottom):

   Symbol: E1000 [=n]
  Type  : tristate
Location:
  - Device Drivers
- Network device support (NETDEVICES [=y])
  - Ethernet driver support (ETHERNET [=y])
  (2)   - Intel devices (NET_VENDOR_INTEL [=y])
   - Intel(R) PRO/1000 Gigabit Ethernet support
Defined at drivers/net/ethernet/intel/Kconfig:47
Depends on: NETDEVICES [=y]  ETHERNET [=y]  NET_VENDOR_INTEL [=y] 
 PCI [=y]

How embarassing...

-- 
Grant Edwards   grant.b.edwardsYow! I hope I bought the
  at   right relish ... z
  gmail.com...




[gentoo-user] Re: Peeve - finding kernel config options

2014-02-27 Thread Grant Edwards
On 2014-02-27, Alan McKinnon alan.mckin...@gmail.com wrote:

 make menuconfig
 press /
 type CONFIG_FHANDLE
 press enter
 profit!!!

 [Note the lack of ??? in the list]

 works like searching in vi or less

The issue I occasionally have with that is that it only tells you the
name of the CONFIG_ variable.  It doesn't tell you what the menu entry
is.  It's not always obvious what menu entry corresponds to 
CONFIG_whatever, and you sometimes have to work your way down the
menu looking at the help for each one until you find the one you're
looking for.  This seems to a problem I run into regularly for things
like network drivers.  The CONFIG_ variable name usually matches the
module name, but but there's often little or no correlation between
the CONFIG_ name and the menu entry you use to enable/disable it.

-- 
Grant Edwards   grant.b.edwardsYow! I know th'MAMBO!!
  at   I have a TWO-TONE CHEMISTRY
  gmail.comSET!!




Re: [gentoo-user] Re: Peeve - finding kernel config options

2014-02-27 Thread Alan McKinnon
On 27/02/2014 20:32, Grant Edwards wrote:
 On 2014-02-27, Grant Edwards grant.b.edwa...@gmail.com wrote:
 On 2014-02-27, Alan McKinnon alan.mckin...@gmail.com wrote:

 make menuconfig
 press /
 type CONFIG_FHANDLE
 press enter
 profit!!!

 [Note the lack of ??? in the list]

 works like searching in vi or less

 The issue I occasionally have with that is that it only tells you the
 name of the CONFIG_ variable.  It doesn't tell you what the menu entry
 is.
 
 Doh! I was wrong.  It _does_ show it.  It just doesn't show it where
 I've been looking for it to be for the past 20 years:
 
Symbol: E1000 [=n]
   Type  : tristate
   Prompt: Intel(R) PRO/1000 Gigabit Ethernet support
 Location:
   - Device Drivers
 - Network device support (NETDEVICES [=y])
   - Ethernet driver support (ETHERNET [=y])
   (2)   - Intel devices (NET_VENDOR_INTEL [=y])
 Defined at drivers/net/ethernet/intel/Kconfig:47
 Depends on: NETDEVICES [=y]  ETHERNET [=y]  NET_VENDOR_INTEL [=y] 
  PCI [=y]
 
 The bottom level menu entry is shown at the _top_ rather than where I
 always expected the bottom level to be shown (at the bottom):
 
Symbol: E1000 [=n]
   Type  : tristate
 Location:
   - Device Drivers
 - Network device support (NETDEVICES [=y])
   - Ethernet driver support (ETHERNET [=y])
   (2)   - Intel devices (NET_VENDOR_INTEL [=y])
   - Intel(R) PRO/1000 Gigabit Ethernet support
 Defined at drivers/net/ethernet/intel/Kconfig:47
 Depends on: NETDEVICES [=y]  ETHERNET [=y]  NET_VENDOR_INTEL [=y] 
  PCI [=y]
 
 How embarassing...

Don't worry too much about it, you're in excellent company. Another 6
old timers had the same doh moment higher up in the thread :-)

looks like we're all having a mea culpa day here in gentoo-land!


-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Re: Peeve - finding kernel config options

2014-02-27 Thread walt
On 02/27/2014 09:58 AM, thegeezer wrote:
 wow,
 it's been years that i've been staring at it and trying to find device
 drivers with bleary eyes.

I'm having cataract surgery next month.  Care to join me? ;)
 
 i can't believe i have missed the obvious for so very long
 thanks! always happy to learn new things

I just checked the gentoo-user archives and found that you've been
posting here for many moons, but flying below my radar until very
recently.

Why?  Because you've been posting into threads that are way above
my pay grade, so I haven't been reading them :/

Anyway, a belated welcome to the mailing list and thanks for the
valuable info you've been sharing with us.

BTW, based on the content of your posts I'd estimate that you're
roughly two years older than I am, which would make you about 41,
right?









[gentoo-user] Re: Peeve - finding kernel config options

2014-02-26 Thread »Q«
On Wed, 26 Feb 2014 14:58:44 -0500
Tanstaafl tansta...@libertytrek.org wrote:


 I had to find the first one (CONFIG_FHANDLE) by:
 
 1. grepping .config, seeing it wasn't enabled,
 2. running make menuconfig and searching for 'FHANDLE',
 3. seeing it is located in 'General setup',

And seeing that the prompt for it is open by fhandle syscalls.

 4. scouring the General setup options, finding no 'FHANLDE' anywhere,
 5. finding something in all lowercase named 'open by fhanlde
 syscalls', 

The prompt we've been looking for since step 3.

 Would be nice if the news item had something like
 CONFIG_FHANDLE (General setup  'open by fhandle syscalls')

The menuconfig paths are subject to change, and the news item will be
around for a while.