in initrd "exec sh /dev/console 2>&1" does not respond to keyboard
Michael Conrad
mconrad at intellitree.com
Thu Feb 28 02:13:36 UTC 2019
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 at caltech.edu
> Manager, Sequence Analysis Facility, Biology Division, Caltech
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190228/66a05f14/attachment.html>
More information about the busybox
mailing list