Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp14763199ybl; Mon, 30 Dec 2019 16:51:45 -0800 (PST) X-Google-Smtp-Source: APXvYqyIWGsJvlB9rYBGlKhcuLy7DKv/cEXxtFdzhND/QaVr3qVwWNC+OxwTWrFFtVn3psoCXk0Q X-Received: by 2002:a9d:6e82:: with SMTP id a2mr75407206otr.336.1577753505114; Mon, 30 Dec 2019 16:51:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577753505; cv=none; d=google.com; s=arc-20160816; b=pz8T9tO7TsIJDZSSR7xjmzmbpllneov2mtyPwJfEViZlLVsgeDqqp9kt7EO97YmpFM ClPhB3WoVrx4Qy3aS8IVyxZorOI4Ch0MALG0lPGCIbtAtO3Tsb+syQUItNEyGuLZum5f 4o+yVPNesN9F2/PAgtBDgoGJiyXCFMdInYcSIcRoaJbYqK647K5gkRTPi2tL6wAK0h7z KGJIF2f7KlGh9HAg2gy/gW2mjO9c5nS2N14oFV2HPVHfJ5cn3nAJPN1KxhKnXJLxUhv4 g4Ffwcv1ScogXGDBy1ufLNsXUxBjahkW8B1Ix1mftZCz+yQJR7Qv4/8rdnp0M3L1Hy5+ BHxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=cGITS8tRV+fFwH1Qa7Ng16oJctRF2u6XAUMtwq6rCrA=; b=lnXKJv35K95jhG0oAbuYFl4XwY8gM/D9xLXu0rEDh1E4WN2VjKZA2qCik7pXBgLWrG +fv7uO9RjJlJIptnswy+2XvhXRd+2OxKnJMtCqOcAtfgwgUIfwC7OvNKV/cyHPRL+Bf2 +o2bWA2EPjkDkFvmQ64gQdEF+lkbSa6KqrUDeVPTaQT0YfPreRu4T9Bs7sO0dHLOe9pZ VqL9n9bj/d9hfAWPAYKHtXa01Dt9iQ3D7zuEaugVqaLVsLqiAa3Jf/kzhi9bSiYui+/2 aTyQ/LSQFjER6s+cHP1/DuEIMcvCzFGzA+9UEFJTX9oAbpJbAIQlXkysiNgiHP6FRyjT DkwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=uyy2S8G4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i15si22693586otl.247.2019.12.30.16.51.34; Mon, 30 Dec 2019 16:51:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=uyy2S8G4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727824AbfLaAtw (ORCPT + 99 others); Mon, 30 Dec 2019 19:49:52 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:43034 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727766AbfLaAtw (ORCPT ); Mon, 30 Dec 2019 19:49:52 -0500 Received: by mail-ot1-f65.google.com with SMTP id p8so11929793oth.10 for ; Mon, 30 Dec 2019 16:49:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=cGITS8tRV+fFwH1Qa7Ng16oJctRF2u6XAUMtwq6rCrA=; b=uyy2S8G49RhmAXYlfJz0Ro/2wrb2Et3NpWXOih+IvhozMpJIlCEXlhCnp3HG3N7D9U AE3WrzvIwI9yR+U1YVal7Gm/Ia0/HVlcna09rdKcNX3/UA9PekSXlF3ypC/EIMeYNiqa bwTmlw9rs1JQTeenSJxnM+DwoF3OfF/AtwuXRB7CiEGMlrVgxYp2AiBt7pVx/EkMvsxN pHeuEpqFGqvw/rUbgnA4J09rlKk9zcIBOOlTNlMfSr8i/KkvreB5AruVrpb7PI04CJtf I5+NzsKQxag/OBAw0UX/yWOiNiwIuukJzHwAM5rPKIbdOdACMOEZ30a2qq1vk9SoJQdu lOMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cGITS8tRV+fFwH1Qa7Ng16oJctRF2u6XAUMtwq6rCrA=; b=Fd3/445/5mck78sdB10AO6JA66IYjPYbO0UgREtnGn0QPkCz6Gk3gYw3v/Epzq9112 DT3OZcIeD03ZXbGAyfqnkvYXI7ewMBnF5V5Ojq/+37lDu3Lizzq4AIj8ShGufhISVR1B xXwXAJ3Gh/3UW6jYCL4WR0JgFBVua4+pFtwBdFT/ge6cGhbnlVGOtTLgPcIMRLVYj25w 6dcphdrNvMU/sEtoliGngEVcLcsV+dWEc+R0bVzUT+rKS6AWgj/s8Ls59NFVHV59qiPi 64GKGPxiZIwniV5u0pmjiomAyQ/akf7JShkrGKFqeWbfWpmXUFUjxkBXvlDU7aQs28LJ VMmQ== X-Gm-Message-State: APjAAAVJmmIGzew6OkADJh23s3JnqQDzZPiJw02tMgKHmwBWhL490fdj zDALpcdP1aSzv94YG8rA+tlaDe/qU1c= X-Received: by 2002:a05:6830:114f:: with SMTP id x15mr75027236otq.291.1577753391278; Mon, 30 Dec 2019 16:49:51 -0800 (PST) Received: from ?IPv6:2607:fb90:d7a:dfab:6680:99ff:fe6f:cb54? ([2607:fb90:d7a:dfab:6680:99ff:fe6f:cb54]) by smtp.googlemail.com with ESMTPSA id a65sm16363253otb.68.2019.12.30.16.49.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Dec 2019 16:49:50 -0800 (PST) Subject: Re: Why is CONFIG_VT forced on? To: Randy Dunlap , linux-kernel@vger.kernel.org References: <9b79fb95-f20c-f299-f568-0ffb60305f04@landley.net> From: Rob Landley Message-ID: Date: Mon, 30 Dec 2019 18:53:44 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/30/19 6:36 PM, Randy Dunlap wrote: > On 12/30/19 4:30 PM, Rob Landley wrote: >> On x86-64 menuconfig, CONFIG_VT is forced on (in drivers->char devices->virtual >> terminal), but the help doesn't mention a "selects", and I didn't spot anything >> obvious in "find . -name 'Kconfig*' | xargs grep -rw VT". >> >> Congratulations, you've reinvented "come from". I'm mostly familiar with the >> kconfig plumbing from _before_ you made it turing complete: how do I navigate this? >> >> I'm guessing "stick printfs into the menuconfig binary" is the recommended next >> step for investigating this? Or is there a trick I'm missing? > > I've never had to resort to that trick. > >> Rob >> > > config VT > bool "Virtual terminal" if EXPERT > depends on !UML > select INPUT > default y > ^^^^^^^^^^^^^^^^^^^ > > That's all it takes ^^^^^^^^^^^^^^^^. Try to switch it off. It won't let you, it's forced on by something else. The help doesn't say what. (That select means it's forcing CONFIG_INPUT on?) > Does that explain it? Maybe I don't understand the problem. It's possible I don't either. I can disable it when when I start from allnoconfig and then switch CONFIG_TTY on (at which point it defaults to y, but can be disabled). Rob