[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: in initrd "exec sh /dev/console 2>&1" does not respond to keyboard
From:       Michael Conrad <mconrad () intellitree ! com>
Date:       2019-02-28 2:13:36
Message-ID: ea404c99-8897-724a-ea42-f15f87924c10 () intellitree ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Well, just a guess, but I'd say your problem is with kernel device 
drivers for input.   Usually people have the basic text showing up on 
their console and the complaints are about how to get ^C and other 
tty-specific features to work while using /dev/console.   Your problem 
sounds more like the Linux virtual console subsystem isn't connecting to 
your input devices. I'd suggest poking around in the input drivers 
section of the config and make sure things are compiled as "=y" and not 
as modules.

On 2/27/2019 8:44 PM, David Mathog wrote:
> On 27-Feb-2019 17:37, Michael Conrad wrote:
>> On 2/27/2019 6:00 PM, David Mathog wrote:
>>> On 27-Feb-2019 14:01, David Mathog wrote:
>>>> This is really frustrating!   Perhaps there is some kernel parameter
>>>> for 3.10.108 kernels which needs to be set (or unset)??? These are
>>>> built into the kernel, seems like they should be enough
>>>>
>>>> CONFIG_HID=y
>>>> CONFIG_HID_GENERIC=y
>>>> CONFIG_USB_HID=y
>>>> CONFIG_USB_SUPPORT=y
>>>> CONFIG_USB_COMMON=y
>>>> CONFIG_USB=y
>>>
>>> It is definitely the kernel. If the custom (based on "make 
>>> menuconfig" of boel)
>>> 3.10.108 kernel is replaced with a stock Centos 7 kernel then
>>>
>>
>> What do you get from "grep CONSOLE .config" in each of the two kernels ?
>
> The one where the keyboard does not work:
>
> # CONFIG_NETCONSOLE is not set
> CONFIG_VT_CONSOLE=y
> CONFIG_HW_CONSOLE=y
> # CONFIG_VT_HW_CONSOLE_BINDING is not set
> CONFIG_SERIAL_8250_CONSOLE=y
> CONFIG_SERIAL_CORE_CONSOLE=y
> CONFIG_VGA_CONSOLE=y
> CONFIG_DUMMY_CONSOLE=y
>
> The one where where the keyboard does work:
>
> CONFIG_NETCONSOLE=m
> CONFIG_NETCONSOLE_DYNAMIC=y
> CONFIG_CONSOLE_TRANSLATIONS=y
> CONFIG_VT_CONSOLE=y
> CONFIG_VT_CONSOLE_SLEEP=y
> CONFIG_HW_CONSOLE=y
> CONFIG_VT_HW_CONSOLE_BINDING=y
> CONFIG_SERIAL_8250_CONSOLE=y
> CONFIG_SERIAL_CORE_CONSOLE=y
> CONFIG_CONSOLE_POLL=y
> # CONFIG_LP_CONSOLE is not set
> CONFIG_VIRTIO_CONSOLE=m
> CONFIG_VGA_CONSOLE=y
> CONFIG_DUMMY_CONSOLE=y
> CONFIG_FRAMEBUFFER_CONSOLE=y
> CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
> CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
> CONFIG_USB_SERIAL_CONSOLE=y
> # CONFIG_PSTORE_CONSOLE is not set
> CONFIG_KGDB_SERIAL_CONSOLE=y
>
> That said, there are a zillion other differences...
>
> Thanks,
>
> David Mathog
> mathog@caltech.edu
> Manager, Sequence Analysis Facility, Biology Division, Caltech
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox



[Attachment #5 (text/html)]

<html><body>
<p>Well, just a guess, but I'd say your problem is with kernel device drivers for \
input.   Usually people have the basic text showing up on their console and the \
complaints are about how to get ^C and other tty-specific features to work while \
using /dev/console.   Your problem sounds more like the Linux virtual console \
subsystem isn't connecting to your input devices. I'd suggest poking around in the \
input drivers section of the config and make sure things are compiled as \
&ldquo;=y&rdquo; and not as modules.</p> <p>On 2/27/2019 8:44 PM, David Mathog \
wrote:</p> <blockquote><p>On 27-Feb-2019 17:37, Michael Conrad wrote:</p>
<blockquote><p>On 2/27/2019 6:00 PM, David Mathog wrote:</p>
<blockquote><p>On 27-Feb-2019 14:01, David Mathog wrote:</p>
<blockquote><p>This is really frustrating!   Perhaps there is some kernel parameter \
for 3.10.108 kernels which needs to be set (or unset)??? These are built into the \
kernel, seems like they should be enough</p> <p>CONFIG_HID=y CONFIG_HID_GENERIC=y \
CONFIG_USB_HID=y CONFIG_USB_SUPPORT=y CONFIG_USB_COMMON=y \
CONFIG_USB=y</p></blockquote> <p>It is definitely the kernel. If the custom (based on \
&ldquo;make menuconfig&rdquo; of boel) 3.10.108 kernel is replaced with a stock \
Centos 7 kernel then</p></blockquote> <p>What do you get from &ldquo;grep CONSOLE \
.config&rdquo; in each of the two kernels ?</p></blockquote> <p>The one where the \
keyboard does not work:</p> <p># CONFIG_NETCONSOLE is not set CONFIG_VT_CONSOLE=y \
CONFIG_HW_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set \
CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_VGA_CONSOLE=y \
CONFIG_DUMMY_CONSOLE=y</p> <p>The one where where the keyboard does work:</p>
<p>CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_CONSOLE_TRANSLATIONS=y \
CONFIG_VT_CONSOLE=y CONFIG_VT_CONSOLE_SLEEP=y CONFIG_HW_CONSOLE=y \
CONFIG_VT_HW_CONSOLE_BINDING=y CONFIG_SERIAL_8250_CONSOLE=y \
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_CONSOLE_POLL=y # CONFIG_LP_CONSOLE is not set \
CONFIG_VIRTIO_CONSOLE=m CONFIG_VGA_CONSOLE=y CONFIG_DUMMY_CONSOLE=y \
CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y \
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y CONFIG_USB_SERIAL_CONSOLE=y # \
CONFIG_PSTORE_CONSOLE is not set CONFIG_KGDB_SERIAL_CONSOLE=y</p> <p>That said, there \
are a zillion other differences&hellip;</p> <p>Thanks,</p>
<p>David Mathog mathog@caltech.edu Manager, Sequence Analysis Facility, Biology \
Division, Caltech <em>____________________________________________</em>_ busybox \
mailing list busybox@busybox.net <a \
href="http://lists.busybox.net/mailman/listinfo/busybox">http://lists.busybox.net/mailman/listinfo/busybox</a></p></blockquote>


<img src="https://u8477214.ct.sendgrid.net/wf/open?upn=dCCleNsAjkncO-2BKmpSXMox0Zzgog5 \
t6r-2BJ2aTvk-2FwJrwg4J69g36ID0qozQAbKiTlCaKWnUbhSf9a2Ct70-2Bi9WjYGwl-2FBOAT-2F1uiUyFGk \
v6ZhQ4tu1zJqtMyufiH-2FM-2B4QQexIzeheziU2owAVF9OWOmpNkBV-2B9fjnzjhBMGoplpu8g5X09yGOisIFfd1TYcy7Sakx-2Fz-2Fxbb4-2FnzPorZrqaNd59HUH2ds-2Frloc-2FZZyH8-3D" \
alt="" width="1" height="1" border="0" style="height:1px !important;width:1px \
!important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 \
!important;margin-right:0 !important;margin-left:0 !important;padding-top:0 \
!important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 \
!important;"/> </body></html>



_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic